Good day. I would like to know if someone can help me to recognize specific characters on an image. I'm trying with Tesseract but I don't get a perfect result back. Thanks in advance
@ClintTheron Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
I have a jquery click on list-group-item event code and multiple list-group-items if I click on anyone I get the same result how I can specify the action by loop for example for specific list-group-item
@MaximTroitsky Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@MaximTroitsky Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@MaximTroitsky Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
I have a Button in form Post Upload in Html which takes the image and with use of Filereader read the file using readAsDataURL and save the reader.result save in array
<mat-card>
<mat-spinner *ngIf="isLoading"></mat-spinner>
<form [formGroup]='form' (submit)="onSavePost()" *ngIf="!isLoading">
...
say, what is this Java Script everyone's talking about? Some kind of coffee you drink in theaters?
in a more serious tone ... what does it do when I do, say > const [ value, setValue ] = useState(). is this setting an unnamed array whose two parameters are value and setValue? Ignore the useState for now ... let's say it's just let [x, y, z].
@Neil so useState returns some data plus a function. And that's what you store via that array, right? So you can reference it further down in the code.
Someone an idea what's the best way to go into such a svg picture and count the free seats? What is the best way/method to do this? It is a stadium plan and in the plan, there are sectors, the sectors have seats and I want to count them.
@Sathishkumar Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
Someone an idea what's the best way to go into such a svg picture and count the free seats? What is the best way/method to do this? It is a stadium plan and in the plan, there are sectors, the sectors have seats and I want to count them. https://tickets.fk-austria.at/shop?shopid=2&wes=empty_session_2&language=1&query_pos=0&query_rows=1000&set_query_pos=0&houseid=436&performanceid=1820&state=3&nextstate=4
Someone an idea what's the best way to go into such a svg picture and count the free seats? What is the best way/method to do this? It is a stadium plan and in the plan, there are sectors, the sectors have seats and I want to count them.
going through that html with a lot svg's with js is just too much work instead of just getting the statistic data (which is essentially re-using code since it is used to generate that page)
actually I'm looking at my repos now, because one of the jobs I applied to asked me to do a coding project. But I could also link them my repo and show them some other project "I was proud of".
thing is my past code is complete utter crap...
I don't think any of my projects even work anymore.
They seem to like Angular a whole lot.. so I figured I'd send them a project I did 3 years ago... but I must've F'ed it so bad there's merge conflicts in the README 😰
@KarelG actually the pull request was to fix some links in a repo that never really was. It was from r/progether - reddit banding programmers together to build stuff... in a massively overly ambitious machine learning project none of us really knew how to tackle, and thus just left it there to die... I think I'll delete it, because it's shameful to keep a repo with only a REAMDE and a license
hi everybody I am newbie in angularjs.I want to add a ui-mask to my input element but I have some problem with it .my ui-mask is 1999/99/99 I want it start by 1 but it dont work correctly
Pfff, today it's not my day ... I miss something to accomplish the following result (see comment section) that's what I try to achieve: jsfiddle.net/8pbx72fj/3
Do you think is a good idea post a question about "how does window object exactly works?" I havent found a good post well explained speaking about this.
Yes, I was just thinking in a good post with a detailed explanation like "other things" have it. But if the question it will be considered trash better not do it.
Still having trouble doing a get on a URL. In fact I am not seeing console.log('2')
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class WebUrlPreviewService {
fakeUrl = 'https://www.cnn.com';
returnHeaders: Observable<Headers>;
constructor(private http: HttpClient) {}
getData() {
console.log('1');
this.http.get(this.fakeUrl).subscribe(res => {
console.log('2');
@codebeginner1 Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
Does anyone know if I can get response headers in angular using this approach I am trying to get working?
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class WebUrlPreviewService {
fakeUrl = 'https://www.cnn.com';
returnHeaders: Observable<Headers>;
constructor(private http: HttpClient) {}
getXFramesOption(): boolean {
console.log('2');
this.getData();
All the examples on the web are for calling /api/ I am trying to check a URL to see if it can be loaded in an IFrame
@NevilSaulBlemuss Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
Uncaught (in promise) DOMException: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate this is the error I am getting
when sending initiating a call from firefox and the receiver is using chrome this error is displayed Uncaught (in promise) DOMException: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate
Yes. I'm using Tesseract.js and all the characters doesn't get recognized so I tried to use a traineddata language but I'm not sure if my code uses it. Let me send you a image @JoJo then you can tell me what would be the best solution. If you agree how do I send you a image
no money now. start new job next week. I thought you guys do this for free. I would tell you for free how to create your own $200 though: Imagine for 68seconds you have it in your hand, imagine how it would feel like if it's already true, then for an additional 68 seconds imagine what you do with it (like what you would buy, give away etc), then when you are done release the thought and get out of that expectation => focus on something else. @JoJo
how do I know the tesseract.js used my traineddata to recognized the characters? there's nothing that tells me so in the network tab (ctrl + shift + c)
@KevinB You (https://stackoverflow.com/users/400654/kevin-b) have 87369 reputation, earned 22 rep today, asked 7 questions, gave 2313 answers, for a q:a ratio of 7:2313. avg. rep/post: 37.65. Badges: 13g 146s 163b
It's not great either. Reminds me of the first framework I build. called it PINE. It was dud. Wrong approach.
Honestly, I'd generally rather just go vanilla.
Use mobx for state management. Those two are enough to do more than React can.
I was working at a company where we had a web app IDE written in vanilla, and a website written in React. So I did a lot of switching between the two. Always preferred working on the IDE.
I rather something with more of a... well, "expected" structure. I'm leery of going the full vanilla route.
it's not much different than trying to build an entire application with just jQuery, you're left relying on the developer's ability to structure the code/flow etc such that it is maintainable long-term, else being left with an app that needs to be replaced a year or two later
but there's no way we upgrade that to a more recent version, it'l end up being nearly a full rewrite.
With the react apps we've built since, our reliance on 3rd party packages/modules has been significantly reduced, making keeping everything up to date very easy
yeah, i mean, everyone has their favorite way of doing things, lib/framework authors too. It very well might prove to be one enough people agree with that it picks up some steam
personally... I prefer something that i can change. something that doesn't force me to do things a specific way
react, i don't understand this whole... "hook" push they're doing. i don't get the point, or how a complex page, requiring a bunch of related functions, would look using them. so i just don't use them
mobx is likely making them redundant to my purposes anyway
I've totally checked out on what React is doing. My friend was telling me about hooks a bit, and how they're weird and they don't really get them.
Most of React feels like a band-aid on a band-aid to me. Like they really wanted to have this state object turn into a ui, and have just sort of approached it from there.
Starting with making it functional, and immediately shooting themselves in the foot on how that was done.
So then some people made state managers to help with it.
But a that point the virtual-dom had already been created, forcing people into this strange kind-of-functional but not really territory.
I'm just speculating here though.
.... I could talk about this all day though.
I came here for a purpose, and it was to see if anyone had objections to me dropping loopback and moving over to feathers.