« first day (3448 days earlier)      last day (1495 days later) » 

1:08 AM
thoughts?
 
That's pretty neat, well organized. Nice.
 
thanks
 
2:02 AM
might be me, but I want to scroll further down...
but I also want to scroll further up, so not sure if my thoughts there are remotely common
 
2:32 AM
@Wietlol yes, down, not up for me
 
 
1 hour later…
Rob
3:48 AM
@forresthopkinsa There's always this to look forward to:
 
@Rob 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.
 
Rob
-2
Q: Would a user capping their own reputation at 99k have any user experience downsides?

uhohA comment roughly along the lines of "you're just posting this question to get rep" left me challenged how best to answer beyond "no I'm not." Of course rep does offer us some guidance about our posts since it comes primarily from community voting and so there isn't anything necessarily bad about...

 
 
2 hours later…
5:42 AM
0
Q: Reading File, Segregating and Tesseract.js Performance

marukobottoI'm trying to read a file whose content is a bunch of Multiple Choice Questions jot down together like below: SCHOOL NAME NAME OF EXAMINATION sto-vit TIME ;2 HOURS MAXIMUM MARKS 50 LFill in the blanks Marks -15 1 =0 2 (D157 39k IL True of false Marks -5 1. Integers are closed under subtra...

Any inputs would be quite helpful
 
 
2 hours later…
7:55 AM
@OblicionA Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
1 message moved to Trash can
 
    guys! why this does not work?
```
const kat = data.kategori
                const dat = {
                    data.kategori = {
                        bildLank: '',
                        mk: data.mk
                    }
                    }
```
 
@OblicionA Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
 
1 hour later…
9:08 AM
jsfiddle is all blank :(
 
o.o?
@MirkoCianfarani what do you mean with that?
 
 
2 hours later…
10:53 AM
@KarelG idk.. I got this
but now work... was temporary problem.. idk
 
 
2 hours later…
12:33 PM
morn
 
1:01 PM
posted on March 25, 2020 by Ben Mason

Hi everyone! We've just released Chrome Beta 81 (81.0.4044.71) for Android: it's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Ben Mason Google Chrome

 
1:21 PM
whats the simplest way to copy automate copying assets to build folder in a typescript project? do i need webpack/gulp for something so simple?
 
 
1 hour later…
2:33 PM
the simplest way would likely be gulp, but you could also just create a .js file and make it an npm script
or do it with cmd line in the npm script
 
Morning
 
is there any way to display a pdf file in the browser based on a File Buffer? I cannot store any file temporary on the filesystem, therefore I can only use a Buffer. The pdf should be shown in a html element like an object. Any ideas, I´ve found almost nothing..
 
@forresthopkinsa jitsi.org?
@KevinB I set it up this way (cp command), however windows users won't be able to run.
 
if you had to store each days data in an object, like let's say all the things you bought today in one key, all the things you bought yesterday in another key, what would the key be. we have to get each days things easily
 
There any libraries for importing excel files renaming the columns on the fly before importing.
 
3:24 PM
@SalOrozco can you use csv?
 
yes
 
@illiteratewriter date in miliseconds? i would just use an array and then in the object have a timestamp
@SalOrozco then just lookup a csv parser. there are many libs out there for that.
 
 
user8729657
3:41 PM
Soo much work :(
 
3:54 PM
@illiteratewriter how about... date?
 
4:05 PM
@JBis, then you'll have to parse through the array each time to find a date, @Wietlol, currently I decided to use epoch as key and an array of items
 
@illiteratewriter sort it and then use an efficient algo
also how large is your array?, shouldn't matter
 
morning o/
 
@JBis I am lazy.. :/
it's small, but still...
thanks :)
 
why epoch?
ignoring the fact that none of the 19 date libraries in JS can properly do dates...
 
4:21 PM
@Wietlol moment works great
whats your problem with it
 
does it work well on date level?
 
..yeah
 
it appears moment only works on zoned date time level
a date isnt a moment in time
 
huh?
you can use timezones if you wnant but you dont have to
 
this might be interesting tho
@JBis even if you dont use times or timezones, dates are not substitutable by moments
 
4:32 PM
wdym by that?
 
moments behave different than dates
most of it is subtle difference, but as any self respecting developer, I could not accept such differences
similar to time without dates
 
 
1 hour later…
5:39 PM
Hi
eslint is suggesting to destructure the following, but I don't quite understand how. any ideas?

errorMessage = error.response.data.errors[0]
 
6:01 PM
Anyone ever used passportjs/passport-saml behind a caddy server (or any reverse proxy)?
Am i correct in that the reverse proxy shouldnt be an issue with passport redirecting to an SSO login? (unless the reverse proxy is misconfigured)
 
 
1 hour later…
7:28 PM
@Wietlol wtf is a moment
i was talking about the library
 
I know
and momentjs has a single representation, which is commonly named a moment or instant in time
it is bad at doing local date times, dates or times, it is only good at doing moment/instant level operations
you should try that js-joda and you will understand the differences
 
@user8652270 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
@user8652270 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.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
 
@Wietlol you can do time zones with moment
what can't you do?
 
7:44 PM
local date times are exactly not with time zones
those would be zoned date times or instants
 
they do those also, so does js natively
 
-_-
I dont think you entirely understand what I am writing
 
i don't
 
> you should try that js-joda and you will understand the differences
 
||> (new Date()).getTimezoneOffset()
 
7:50 PM
@JBis "SyntaxError: Unexpected token ')'" Logged: ``
@JBis 240 Logged: ``
 
8:45 PM
Not a js question, but nowhere else to ask, I am trying to make this a growable list, but don't exactly know how. Here is a link to the docs api.flutter.dev/flutter/dart-core/List/List.generate.html
When I try doing so, it says that generate only accepts 2 arguments, but having the growable to true makes it 3 so it throws an error
I have done a short hand way, but nowhere to put growable :/
classes: List<Map<String,dynamic>>.generate(
      snapshot.data["classes"].length,
      (int index) => Map<String, dynamic>
                     .from(snapshot.data["classes"].elementAt(index)))
 
that's odd
docs clearly list it as an optional param,
 
Exactly this is messed up lol
I went on ahead and did the bottom implementation that was given as an example, but thats where it goes wrong...
 
9:03 PM
hmm
{bool growable: true}
the default value is true
so...
that makes no sense
> The created list is fixed-length unless growable is true.
 
On the docs it does say 'The created list is fixed-length unless growable is true.'
yep
 
that's so... wishy washy
 
 
3 hours later…
11:48 PM
why in the name of god is
if (mouse{1] >= margin.left || mouse[1] <= 1000 + margin.left*2) { ... }
throwing "missing ) after condition" ?
it clearly isn't
 
> mouse{1]
@Wietbot evalNode
const mouse = {};
const margin = {};
if (mouse{1] >= margin.left || mouse[1] <= 1000 + margin.left*2) { }
 
@Wietlol SyntaxError: Unexpected token '{'
 
god damnit
thank you @Wietlol
 

« first day (3448 days earlier)      last day (1495 days later) »