Júlíus

1

votes
0

answer
1.5k

views

Android Studio NDK Build command failed (Missing c Compiler?)

I have tried several days installing the NDK into Android Studio but it always gives me an error message saying that the build failed and I should install a c compiler. I installed the NDK via the SDK Manager by checking the NDK and C Make. I have already tried completely reinstalling Android Studio...
Julius Debus
1

votes
0

answer
123

views

Store Bitmap into array

I want do make an image classifier using android. To classify the image Tensorflow(the classifying library) needs a 1 dim float array. To save processing time I have written a function that takes the bitmap greyscales it(to make it 1dim), cuts the middle square from it(to take away unnecessary parts...
Julius Debus
1

votes
0

answer
62

views

Dygraphs format date issue

I'm trying to format date in Dygraphs on mouseover from Y-m-d to d-m-Y. I've seen some pages about this question and it seems that the right answer is to put under the Dygraphs options: axes: { x: { valueFormatter: function(ms) { new Date(ms).strftime('d-m-Y'); } } }...
Julius Barra
1

votes
0

answer
81

views

Compilation errors when including <regex> using Clang 3.x with --std=c++11

I've been trying to compile the Catch2 header as part of a larger existing project where I used to rely on googletest. I've been able to get the port working nicely on Windows, but I'm struggling to get the library compiled on Ubuntu using Clang. I've tested versions 3.5 through 3.7. I've included t...
Julius
1

votes
2

answer
162

views

how to verify a signature in php using openssl_verify that was generated in iOS using SecKey concepts

my iOS app, written in swift, generates a key pair using SecKeyCreateRandomKey for private key (with kSecAttrKeyTypeRSA and 2048 bits attributes), and SecKeyCopyPublicKey to retrieve the public key. I use SecKeyCreateSignature to sign my data, using the private key. I convert the signature into a s...
julius patta
1

votes
0

answer
42

views

Rendering 300k records in crystal report shows only 1 record

I'm new in Crystal Reports and I'm trying to render rows from database. When I try less than 100k rows, the reports works fine, but when I try it with more records, the report only shows one row. If I look at the rows of the data-source, it has 300k rows: But the output of this reports has only one...
Julius Morcilla
1

votes
0

answer
56

views

Mongoose search subcategories

I'm stuck with this one, been struggling for 2 days, tried a lot of things, but it just doesn't work. So I have db from this json { '_id': { '$oid': '5172d1daffdd81f3234d5f88' }, 'categories': [{ 'categories': [{ 'id': 'mens-clothing-suits', 'image': 'categories/mens-clothing-suits.jpg', 'name': 'Su...
Julius Shred
1

votes
2

answer
49

views

Load twitter posts from different users

Hi need to load twitter posts from different users. I know how to load post from single user. Perform request with search query FROM:. Do you know the way how to load posts from different users? I tried something like this FROM:&& - but it doesn't work. Any ideas?
Julius
1

votes
0

answer
34

views

Server Client Communication via Internet (Java)

I have written a simple Java TCP Server and a Client (See below). The idea is quite simple: the Client sends a message to the Server the Server reads it, modify it and sends it back to the client. import java.io.*; import java.net.*; public class ServerTest2 { public static void main(String[] ar...
Julius Debus
1

votes
1

answer
260

views

Xamarin Forms ValueConverter with Bindable Property

I have a Xamarin project, and I am trying to get a binding on my ValueConverter. I accomplish this in my UWP project, but in Xamarin I am getting a compilation error: No property, bindable property, or event found for 'UserData', or mismatching type between value and property. The purpose of this is...
Julius
1

votes
2

answer
79

views

Converting Curl command line to python

I am using the Fiware Orion Context Broker and I want to POST some data using a python script. The command line (which works fine) looks like this: curl -X POST -H 'Accept: application/json' -H 'Fiware-ServicePath: /orion' -H 'Fiware-Service: orion' -H 'Content-Type: application/json' -d '{'id': 'Je...
Julius Morandell
1

votes
0

answer
277

views

How to join two metrics by some column in prometheus promQL (for grafana dashboard)

How to join two metrics to have it on single row in grafana column? I have two metrics: deployments{label='xyz', deploy_time='2019',job='deployments'} metric1{app='abc', deploy_time='2019'} How to join these two by deploy_time in promQL in grafana dashboard that it will look like this: DeployTime la...
Július Marko
1

votes
1

answer
72

views

Postgresql db materialised view refreshing on replication

I got three servers with postgresql, one is the main db, other two is replication of the main server. I got 5 sql files with droping and recreating materialized views on the main server. My question is how will cope those replication servers? Do i need to restart them to accept changes, or they a...
Julius Grybinas
1

votes
3

answer
395

views

SpringBoot, controller return data through ResponseBodyAdvice occur an error (class can't cast to string)

I want format controller's result by using ResponseBodyAdvice. For example, controller method return a string ('hello'), the ResponseBodyAdvice format it as a Json data {code:1, data:'hello'}. Here is my controller method code: @PostMapping('login') public String login(String username, String pwd) t...
Julius Wang
1

votes
1

answer
75

views

RCPTT - Can't accept return from procedure as if condition

When I try to use the procedure in the if-condition below, it doesn't work. proc 'isAvailable'{ bool false } loop[val index [int 0]]{ if[isAvailable]{ show-alert 'Test' } else { show-alert[ $index |str] } if [$index | lt 200 ]{ recur [$index | plus 50] } } The error message is Cannot match given par...
Julius L.
1

votes
0

answer
19

views

permission to access another frame

if i delete one of the permission, the GUI will show, but if I added both of them, the GUI won't show and this error came : Exception in thread 'AWT-EventQueue-0' java.lang.InternalError: The current process has used all of its system allowance of handles for Window Manager objects. I have a jframe...
Julius Chandra
1

votes
1

answer
46

views

Select item by probably

I am currently trying to make a probably based choose system in java, but it doesn't seem to work that well, my current code looks like this: private ArrayList obs; obs = new ArrayList(); obs.add(new SelectableObjekt('hello, with 3% probably', 30)); //Will be devied in the SelectableObjekt class by...
Julius mauser
1

votes
0

answer
57

views

Web Speech API “making up” whole word out of single letter (“p”->“police” in German)

var utterThis = new SpeechSynthesisUtterance('kohp'); utterThis.lang = 'de-DE'; speechSynthesis.speak(utterThis); https://jsfiddle.net/bawzr0f4/ Why does this code produce the spoken word 'kohpolizei' instead of 'kohp'? 'Polizei' is the German word for 'police', btw. Edit after some experimentation...
Julius S.
1

votes
1

answer
34

views

How to reduce slow start for picocli apps due to reflection

Picocli has to introspect the command tree. Doing so it needs to load the domain object classes for every Command which slows down the jvm startup. What options are there to avoid this startup lag? One solution I've come up with is described in https://github.com/remkop/picocli/issues/482: I am usin...
julius
1

votes
1

answer
59

views

Sending a Webhook Response to a Conversation using session.send in Azure Bot Framework (Nodejs)

Currently attempting to integrate Azure Bot Framework with external platforms like Integromat. I am using the code snippet below to send the first name and mobile number submitted by the user. The user input is sent to an integromat webhook, which sends a webhook response. bot.dialog('WebTest', fun...
Julius
1

votes
1

answer
44

views

Flask forgetting Routes on POST

I am trying to run a very simple flask-application on a (shared) WSGI server. The code works fine when I run it with the build-in server, but if I try to POST to the URL on the production WSGI server, I receive a 404, The requested URL was not found on the server error. This only occurs for POST req...
1

votes
1

answer
40

views

“next” and “for” functions wont work correctly

Sub Hinnan_korotus_välilehti_makro() Dim tulostusrivi As Integer Dim lukurivi As Integer Dim lukurivi_tausta As Integer Dim uusihinta As Double Sheets('Nimikkeitä').Select For lukurivi = 75 To 400 If Range('F' & lukurivi) = 'Hawle' Then nimike = Range('A' & lukurivi) Sheets('Taul1').Select For tul...
Julius Anttila
1

votes
0

answer
28

views

Contrast feature of ImageMagick convert

I just want to use the convert command in a way, so that the pictures get in colorspace gray, negated and with a higher contrast. The colorspace and negation are not a problem, but the contrast is one. I use the following bash script: for i in * do echo $i convert $i -colorspace gray gray/$i convert...
Julius
1

votes
1

answer
59

views

There is Error Message While Installing Golang Kafka Client (Confluent)

I want to ask about my problem in installing confluent golang kafka client on Mac OS Mojave. Why is there always error message while installing golang kafka client go get -u github.com/confluentinc/confluent-kafka-go/kafka even the librdkafka already installed? The error message: $GOPATH/src/github....
Julius Bernhard
1

votes
2

answer
15

views

What actor for a use-case of a system interacting with itself?

I am creating a use case diagram and the system interacts with itself. For instance, it is a patient monitoring system, which reads information and feeds it to the station monitor. Would it be too vague or too broad to have the use case's primary actor to be 'System' ? Should I elaborate and specif...
Julius Velvet
1

votes
0

answer
15

views

Execution order of metal thread groups

I am trying to use metal to implement a hardware-accelerated image filter (seam carving for anyone interested) . One step involves running code row by row, with calculations for each row depending on calculations on the above row. However, the calculations for each row can be parallelized by pixels....
Julius Naeumann
1

votes
2

answer
2.5k

views

Installing Ms-Access 2003 standalone?

Anyone knows if it is possible to install Access 2003 standalone without the rest of the Office 2003? I seem not to locate my installation disks to test this out, but thought someone might have an answer...
Julius A
1

votes
1

answer
281

views

YUI Uploader in jQuery Draggable

I have a YUI-Uploader lying in some Element, which is a jQueryUI-Draggable. After clicking the Uploader-Button which opens the File-Select-Dialog, the Draggable got a MouseDown-Event => is sticky at my mouse. How can I prevent the YUI-Upload-Button from bubbling the MouseDown-Event? In Webkit the Up...
Julius Eckert
1

votes
1

answer
125

views

empty file problem

REWROTE: SOLVED Hi there, I currently worked on a simple application with a database, a bunch of controllers, views and a model class. I coded the controllers and inserted the db connections directly E.g. Each controller method has his own PDO to connect to a specific database+table. I refactored th...
Julius F
1

votes
1

answer
929

views

Model & Mapper relationship

I currently work on a small application with models, mappers and controllers. My question is, (because I did not found any matching answer), how does the mapper interact with the model (& the controller), when we have the following situation. $user = new UserModel(); $user->setId('21'); $userMapper...
Julius F
0

votes
0

answer
7

views

Rejecting mapping update error in firebase when pushing data to elastic search index

I am trying to use Firebase cloud functions to push data to my ElasticSearch index and am experiencing some error in the Firebase. Where could the problem be? Here is my index.js function code const functions = require('firebase-functions'); const request = require('request-promise') exports.index...
Julius Elvis
1

votes
1

answer
80

views
0

votes
0

answer
4

views

Autopaging jspdf when content increases

I'm trying to create a pdf that auto-pages when a content increases. This is my sample code. Any help would be greatly appreciated :) HTML code Preview Javascript preview(data) { var doc = new jsPDF(); let bodyContent = doc.splitTextToSize(data.body, 250); let lineheight = 6; let offsety = 5; this....
Julius
1

votes
3

answer
3.4k

views

Applescript setting ip address

I wanted to automate the process of changing my ip address using apple-script. So i wrote a script that will automatically do that, But i have problems in setting up the ip address. set ipAddress to '192.168.110.48' tell application 'System Preferences' activate set current pane to pane id 'com.appl...
Julius Canute
1

votes
1

answer
505

views

jQuery Preloader Animation

I want to 'preload' the start page of my website with a little gif-animation. Its a 3-frame-piece and I want to show it right before the first page. Are there plugins to preload a page with a specific animation shown?
Julius Koroll
1

votes
1

answer
83

views

Seamless Image alignment, no matter what orientation with CSS?

my brother wants his archive like Terry Richards (or simply tumblrs) archive http://www.terrysdiary.com/archive on his site: http://www.davidgoltz.de/2011/blog-page/ I tried to do a little stuff with floats and stuff but it doesnt work. Is this hard work? :-)
Julius Koroll
1

votes
1

answer
261

views

Open accordion-menu on demand

I'm using this accordion-menu on this site here: http://www.davidgoltz.de/2011/killer-exhibitions-berlin-ii/ Now I'M working on some php-lines to open the specific tree, from the current post you're watching but I cant reach the accordion to open! This is what I've tried to open something in this ac...
Julius Koroll
1

votes
2

answer
1.3k

views

How to properly encode terms in a Solr facet search

When I perform a search with the following Solr query I get what I want: 'courses' that have been tagged with the terms 'PHP' or 'Programming'. q=[* TO *]&facet=on&facet.field=facet_contenttype&fq=facet_contenttype:mediaitems_course&facet.field=facet_wmterm&fq=(facet_wmterm:PHP OR Programming) Now,...
Julius
1

votes
1

answer
733

views

Creating an “IN” query with JPA 2.0 Criteria api

I am using tje JPA criteria API to create an 'IN' query. I want to select Courses that are in certain Categories. The Categories are supposed to end up in the IN part of the query. This is the Course entity. It has a reference to a Category entity, because each Course is in one Category. @Entity pub...
Julius
1

votes
1

answer
1.4k

views

TransientObjectException when searching 'by entity'

I have a two-part question about my Spring MVC 3 with JPA/Hibernate setup. First, it doesn't matter whether I put a @Transactional annotation on my service methods, it just always works and I find that rather strange. I am used to methods complaining they don't have a transaction when I forget to ad...
Julius

View additional