标签云

微信群

扫码加入我们

WeChat QR Code

I am using requests to login to Facebook, and then sending users messages when it's their birthdays. I was able to log into Facebook just fine. I then went to their birthday page (https://www.facebook.

i have created a fragment and I'm trying to get items from firebase and display them in a recyclerView on a fragment, however it is not showing anything, the fragment is blank. the code of the

I'm not a developer and I will post a job in a Freelancer website but I need help to know exactly what to ask. So what I need: - I need to scrape, every 5 minutes, data from dynamic tables and from

i'm new in python however,I want to convert a formula to cnf. So i'm asking for a library to directly convert the formula in python or any idea to complete my code this is my code i created

I'm working on a simple project with node.js and nest.js. I want to run a function from a service when server is starting. While the service is a @Injectable you have to pass it by the constructor but

I am trying to build a simple list details app using Vue.js but I can't even get the fundamental page transitions to work. Here is what I have so far: In App.vue: <template id="app"> <v-

The following makefile works correctly: name=lucas all: test .PHONY: test test: echo $(name) # outputs variable correctly But when I try defining the variable using the "define" directive it

I am running a model on NetLogo but because I'm so new sometimes my procedures take FOREVER to load. After a certain amount of time I don't really care if the procedure works or not, I just need

How can I calculate the derivative based on the values from Python3? I don't have the function to calculate the derivative.

Hello i need to calculate the following loop in R: for (i in seq(0.004, 0.009, by=0.001)) { M[i] <- mvdc(copula=tCopula(i,dim=2,df=df), margins=c("norm","norm"),paramMargins=list(list(mean=

I am trying to use a disabled control (TextBox or Combobox) within a ScrollViewer with WPF, but I encountered some interessting behavior when using HorizontalScrollBarVisibility="Auto". If I start

I've a problem sending an email with chronoforms V5 with a static attachment using some variables for the path: THIS WORKS (no variables) <?php $path = JPATH_SITE.'/avvisi/B/'; $form->files['

Here I am trying to make a simple platformer game in 2D. I try this youtube channel (https://www.youtube.com/watch?v=cwcC2tIKObU) tuts series for this. After doing same in video, I can not able to

my program works as follow, once the program been run a tableview with one location on it will appear. once the location been clicked it moves to another controller which shows the location on the map.

I'm trying to make a code that sends emails using a gmail with php using PHPMailer library. And when I run I get the error "this site isn't working". HTTP Error 500. The operating system is Fedora and

I was reading this article on Finding Peaks in Noisy Data and stumbled upon an oddity in the examples: for(int i=d;i { /* for this example, not important code */ } Since I am implementing their

I can't find anywhere how to subplot two graph next to each other with differents functions plotting them. Can anyone help me please? I work with Jupyter Notebook. First function: def

Hi I have some problems triying to send the Score of my game to the Bot in telegram .I am using the framework called Telegraf. This is the code const Telegraf = require('telegraf') const config =

if(objectsToRotate[i].tag == "RotateAutomatic") { if (a_Speed == 100) a_Speed -= 1; a_Speed += 1; objectsToRotate[i].

I am developing an algorithm to solve the rule placement problem in SDN , and I want to compare my algorithm with already-proposed . In order to do that, I want to conduct a simulation for geting

I am copying a cURL from the google chrome console, I paste it in my R script between "" and when I am trying to save it to an object, R says there is an unexpected symbol in it. Can someone explain

I'm using TIBCO Jaspersoft® Studio 6.6.0 - Visual Designer for JasperReports 6.6.0. for sometime now i been trying to auto fit width when exporting to XLSx. My textField looks like this: <

I am a beginner in py2neo and Neo4j. I have installed py2neo latest version. I downloaded Neo4j server and started it using command(I am using mac) ./bin/neo4j console I waited until the following

I have a problem with my modular JavaFX application. I created JavaFX project and added the JavaFX lib and JavaFX modules get recognized. However, i keep getting these error message: Error occurred

I searched a bit here and in google, but I didn't find any solution for this issue. Probably I am not searching with right phrases, but hope you get what I mean. I am using Ubuntu 18.04. My NumLock

How to get id of elements in map? export default class PhotoSlider extends Component { handleSort (value) { console.log(value) } render () { return(

I have this code work well in iOS app but don't work in TVOS Swift here is my code import StoreKit SKProductsRequestDelegate, SKPaymentTransactionObserver let product_id: NSString = "ProductID"

im tracking attendance of courses. There is a user dimension, course dimension and a fact table. I need to track if a user attended a course and if they did not attend a course. I was thinking of

What is the difference between hasAll and hasOnly in Firestore Security rules? request.writeFields.hasOnly(['img', 'name']) is not working. I want to check in firestore rules that my field should

I have a problem with the fade effect of the Windows Form. This form should read the value of a file and store it in a variable and then start a timer that should increase the opacity of the form up

I have a string a bunch of crap Dec 12 1:24 file/path/data.txt and I want to use awk to output just file/path/data.txt. This is the awk I am trying. I can't tell why but it's not working. echo "a

I have made a c++ game using a class in CLI. Now I want to make convert this CLI into form in which pressing button start the game. So how can I do this easily? I know a little bit about c# form

I have multiple pictures that look exactly like the one below this text. I'm trying to read the digits, but I would love to get rid of the string on the left-hand side of the digits also removing that

I'm trying to animate listview items when I scroll the listview with something like this in my custom adapter: @Override public View getView(int position, View convertView, ViewGroup parent) {

i am using vue.js and found some good examples how to realize this. Currently my API is returning a test-pdf: $snappy = App::make('snappy.pdf'); $html = '<h1>Bill</h1><p>

iam creating an image resource from url and merging it into another image as a frame but it won't be centered so please tell me how can i center it here is my code switch (

When I first open my site, the DOM request is 78 including images and links for fonts and transferred only a 70.0KB. I have many independent div that calls ajax. And I learned that I shouldn't load/

I obtained the attached uplift plot for my data (using uplift R package) Basically i am looking at finding certain % of population for which the treatment is effective and will not have any chronic

How can I find the last time, the day and year combination has happened. So, I have long list of date and I need output of last occurring year. For example, 31/12 has not happened in 2018 yet I want

I am trying to set up an inexpensive development environment on the cloud to participate in machine learning exercises from online classes (no authority to install software on my work computer).

I am trying to train a cnn network with an array of images and an array extracted from a csv file, with the following problem: AssertionError This is my code: cnn = Sequential() cnn.add(#creamos la

I'd like to use IllegalArgumentExcpetion in mmy script but i don't find any information anywhere. I show what i already have: public int getId() { return id; } public void setId(int

I have a function that appends elements to a global array. The problem is that the table view functions are loading while the array is empty. How to solve this? var testArray = [String]() override

I am trying to make a script that asks from the user to type a date. This date should be typed like this : DDMMYYHHMM. For example if it's 15-12-2018 13:05. It should be written like this 1512181305.

I've created some data in json format at myjson.com. I want to start using this data. I understand I need to do axios.get(url) to use the data in my code but once I've manipulated that data some way

I just tried to playing music in Service and at the same time, Seekbar progresses with the thread. I totally don't know how to get the music's current Position at the new thread.

I want to solve an optimization problem in Python. I am trying to define a variable x_{g,h} where the index g belongs to the set G and the index h belongs to the set H(g), i.e., the set of indices h

In my project I capture photo to buffer using QCameraImageCapture::CaptureToBuffer . But it also saves images to the file. Since I am planning to capture images continuously I want to prevent it from

In flutter I may link to a Git repo in my pubspec.yaml, by pointing it to a git location dependencies: package: git: url: https://github.com/somerepo/something.git Now, supposing I look

Just learning tkinter and finding some odd behavior. My vertical scrollbar is light gray and contains the dark gray rectangle that travels up and down the bar to show progress, When this code first

3

8

1970年01月01日00分02秒