Quantcast
Channel: User Jack - Stack Overflow
Browsing latest articles
Browse All 40 View Live
↧

Comment by Jack on I am getting Failed to load resource:...

In my case I was getting this error because I was using Brave browser that does have a native ad blocker so I just switch to Firefox to run the tests and it was all ok

View Article


Comment by Jack on Why can't I use the component directly?

doesn't work with swiper: codesandbox.io/s/swiper-autoplay-react-forked-idh118?file=/s‌​rc/…

View Article


Comment by Jack on Why can't I use the component directly?

this would be better off as comment... but yeah I think it's really the case, swiper needs it to be a child but i don't know how to silve it either.

View Article

Comment by Jack on How can I set a CSS keyframes in Javascript?

How can I set @keyframes scroll using this?

View Article

Comment by Jack on How do I make the text scroll continously

@SigurdMazanti the effect is just like this but I'd like to make it work with variable content (so the fixed sizes seems to not solve my issue)

View Article


Comment by Jack on How do I click on button on firefox?

I see, post it as answer so I can asnwer then. I'll try luck with Playwright and whatnot

View Article

Comment by Jack on How do I pass arguments to makecontext()'s start routine?

@JohnBollinger typedef void (*start_routine_t)(); I'll also add to the question

View Article

Comment by Jack on How do I pass arguments to makecontext()'s start routine?

this is safe, i.e. not will not cause undefined behavior or something like that, right?

View Article


Comment by Jack on Why is not this switch to the point (context) where it was...

@AndreasWenzel to stderr, i'll edit and include the function definition

View Article


Why a function with protected modifier can be overridden and accessible every...

I'm C# programmer new to D language. I'm a bit to confused with OOP in D programming language.Assuming that I have the following class:public class A { protected void foo() { writefln("A.foo()...

View Article

Quick way to convert a Collection to Array or List?

For every *Collection (HtmlNodeCollection, TreeNodeCollection, CookieCollection etc) class instance that I need to pass to a method which accepts only an array or list (shouldn't have a method that...

View Article

DIsplay actual error instead of http 500error

I'm getting an error on page but I can't figure out what the error is because i'm getting a http 500 page instead of the error. In the very top of the PHP file I wrote:ini_set('display_errors',...

View Article

Can I pass a type as parameter in PHP?

I'd like to pass (any type, not only PHP's primitives) Type as a function parameter. More like a C++'s template. Is it possible in PHP? imaginary code:function foo(T a){ $output = new T(); //do...

View Article


How do I make only the container to move?

I'm trying to make the only container its contents to move but its move also its parent, that contains the background, which is supposed to be fixed (like the whole parent div). How can I fix that?my...

View Article

How do I hide the text that get out the div and get back to the start once...

I need to hide the text that got out the div, I've tried overflow: hidden; but it doesn't works... I also need to when the text reach the end, i.e., is seen <a href="'#">link8</a> some text...

View Article


Image may be NSFW.
Clik here to view.

Error: A dynamic link library (DLL) initialization routine failed on electron...

I'm trying to load a custom module in electron written in D with node_dlang package, which is fine with node, but it fails within electron.the test with node, that runs just fine, goes like this:const...

View Article

show navigation buttons only on mouse over

I'm tring to do that with CSS but it isn't working. I've tried using:.swiper-button-prev { display: none;}.swiper-button-prev:hover { display: block;}but it doesn't effect at all. if I do add some rule...

View Article


Why can't I use the component directly?

I'm trying to use my component within SwiperSlide: using this directly inside it does work:<Swiper><SwiperSlide><img src="https://swiperjs.com/demos/images/nature-1.jpg"...

View Article

Why is this application being closed?

Does handling signals make the application close in anyway? my goal is to do some action when time run out but get stuck in the loop, until the user enter q or EOF is found but for some reason as soon...

View Article

Image may be NSFW.
Clik here to view.

what's the proper way to make openALPR to read plates in different angles?

I'm using openALPR library to read plate licenses but I'm having issues reading the plates in different angles, like below image. My question is: what's the proper way to do that? Image processing to...

View Article

detect change on navigator.online

How can I detect if the navigator changed your state to online/offline?something like: var oldState = navigator.onLine; window.navigator.onlinechange = function(evnt,newState) { alert('your changed...

View Article


How to know the end of int* array?

I'm making a dynamic array with int* data type using malloc(). But the problems is, how to know end of array?There no an equivalent to \0 for int* data type,so, how to do this? Pass size as out...

View Article


How to put a widget into any column inside a grid?

I'm writing by hand an application that use Gtk+. I'm using a GtkGrid to hold my GtkWidgets, but I can't put a GtkWidget into specific colum, as the second parameter of gtk_grid_attach() function says....

View Article

I can't rename filename in VS

I have a file called Default2.aspx that I'm trying rename to Default.aspx, but when I try to do it, the visual studio just rename back to Default2.aspx name. Don't give even any error message. I don't...

View Article

Cannot find namespace 'System.Data.SqlServerCe'

I did include the System.Data.SqlServerCe dll, put using System.Data.SqlServerCe; in my code, but when I open the .NET page I get: The type or namespace name 'SqlServerCe' does not exist in the...

View Article


what is best way to sort lines in RichTextBox

I'm looking for the best way to sort lines of RichTextBox, I'm using this at moment:public void SortLines(object sender, EventArgs e){ TextPointer pStart = TextInput.Document.ContentStart; TextPointer...

View Article

How do I run clean from qmake?

How do I run clean (as right click on my project name -> clean) from qmake? Is a binary utility that does the clean? I'd like to run this on release, somethig like:CONFIG(release, debug|release):...

View Article

How do I "save and restore" the context of a xterm.js instance?

In my electron application, I have an xterm.js terminal emulator, in one of my react tabs. How do I preserve the state of this terminal so that when the use go out and back the text, cursor position...

View Article

How to list all contacts of email without the Oauth API?

I'm looking for an example code how to list all contacts of gmail using C#.NET and one API.I need do it fast and no complications as using the Oauth API. The OAuth API is my last alternative.

View Article



error: pasting "." and "red" does not give a valid preprocessing token

I'm implementing The X macro, but I have a problem with a simple macro expansion. This macro (see below) is used into several macros usage examples, by including in this article. The compiler gives an...

View Article

How to remove warning: link.res contains output sections; did you forget -T?

I'm using fpc compiler and I want to remove this warning. I've read fpc's options but I can't find how to do that. Is this possible?it appear when I run command:fpc foo.pasout:Target OS: Linux for i386...

View Article

How to get Adobe Reader full path(including executable file name)?

it's possible? I need to get the full path of Adobe Reader including the executable name. I'm looking for on windows registries, the closer that I did was found the full path without executable name....

View Article

How to change the compiler of VS?

I'm using VS 2010. I have changed the settings for compiler C code instead of C++. It works fine, but the problem is MS compilers don't supports C99 standard, for this reason I'm looking for a C...

View Article


How do I get the current selected item in the TreeView from the context menu?

I need to add a Context Menu to my TreeWiew. I managed to do this with this mui.com's Menu but I don't know how to get the selected item in the tree where the user did the right click to open the...

View Article

How to the compiler translate while(foo)?

If I omit the operators from statement, something like this: while(foo) will the compiler turn it in while(foo != NULL || *foo != '\0' || foo != 0) or while(!foo) or something like this? how to it is...

View Article
Browsing latest articles
Browse All 40 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>