« first day (4113 days earlier)      last day (818 days later) » 

1:58 AM
posted on January 19, 2022 by Cole Brown

The Stable channel is being updated to 97.0.4692.91 (Platform version: 14324.72.0) for most Chrome OS devices. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback using ‘Report an issue...’ in the Chrome menu (3 vertical dots in the upper right corner of t

 
 
5 hours later…
6:50 AM
Is there anyone having experience in Sequelize ORM?
 
@HassamSaeed 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.
 
hello folks
i am looking for a solution where i can prevent browser prompt for save password
i have tried many solution but they aint working
any idea?
 
7:17 AM
@VishnuBhadoriya Create custom password field. Don't use type="password" in your input field instead use type="text". Manage input value manually, instead of showing user text, display '*' character and save user typed password in a variable. The browser would have no idea that the user has typed a password.
 
@Raja 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.
 
 
2 hours later…
9:18 AM
Hi, I am studying react-native with typescript, and I would like to know where to find documentation regarding this syntax (I'm talking about the use of tags after React Object): export const ref: React.RefObject <PagerView> = React.createRef ();
 
 
1 hour later…
 
4 hours later…
2:31 PM
anybody know of a preferred npm lib to handle JUST the js floating point issue?
looking for a fast and small solution to only that problem
 
2:51 PM
sorry... meant to say addition only... decimal.js is cool, but it does way more than I need for this and tiny is important
 
3:12 PM
Anyone know how in VSCode to remove an element wrapping another element, but keep the inner element?
 
3:37 PM
@VLAZ thanks!
 
emmet: remove tag, found it
 
3:55 PM
hello, I have a doubt what happens is that when doing a multiplication the result does appear in the console, but to see it in the browser input, the result does not appear, I am passing it like this document.getElementById("id_form-0-total_price" ).value =total_price0; total_price0 in the browser appears white but in the console total_price0 if its result appears
does anyone know why?
 
in the "Elements" section of the console? or the actual console
 
in console if it is seen but neither in elements nor in the browser is the result seen
what interests me is that it is seen in the browser not so much in elements
 
 
2 hours later…
5:55 PM
how did redux become so popular? was it just first? i've never heard of anyone preferring redux when they try another library
 
 
1 hour later…
7:07 PM
marketing
some big name made an article praising it as the future, it got picked up across the web, and people began using it
 
7:38 PM
thats dumb
 
that's why i hate the SO blog
they do it weekly, if not more
 
7:51 PM
Hello
How to separate my logic into two files (vanilla JS)
for example, request.service.js will contain business logic
where I will retrieves the data for all films by calling the endpoint
with try catch and axios
and other file, stats-generator.js where I want to include that service
 
thats a good question
i'd declare a class in request.service.js, that accepts an endpoint url in the constructor, each method parses arguments, makes an api request, parses response, and returns the proper values or errors
 
prior to modules, aka supporting browsers that don't have module support, you'd just make one available to the other through window
 
stats-generator.js, constructs this class with the appropriate url and then calls the methods
as for what kevin is saying, the usual approach is somthing like:
window.Foo = (() => {
   class Foo {};
   return Foo;
})();
 
this is my request.service.js code
import axios from "axios";

export class FilmsAPIService {
  static filmsEndpointUrl = "https://jsonplaceholder.typicode.com/comments";

  // Your API token. Needed to successfully authenticate when calling the films endpoint.
  // This needs to be included in the Authorization header in the request you send to the films endpoint.
  static apiToken = "xxx";

  // Retrieves the data for all films by calling the app.codescreen.dev/api/assessments/films endpoint.
  async getFilms() {
    //TODO Implement...
 
> that accepts an endpoint url in the constructor

Also the api token or whatever
also i've never found fetch to be inadequate but people love axios
 
8:00 PM
i've never used axios
 
fetch works fine also
So, my idea is to import request.service.js in stats-generator.js
 
@MileMijatović there's a lot you can improve here, but that depends on how complicated you want to make it, don't over engineer
e.g. custom error types, custom return types, helper methods, etc.
 
Yes, I know
but this is just a practice
 
!!mdn modules
 
8:05 PM
i've personally never used this functionality
but it seems pretty straight forward
 
neither do I
 
can they add dom api's to wasm already
 
8:22 PM
What's wasm
 
|| mdn wasm
 
I don't know anything about that
 
there's an article there that helps resolve that problem
 
wtf, f*king IE, is not compatible with a lot of useful stuffs
hahah
 
8:31 PM
IE stopped being updated with IE11, which was... years ago
 
Yes, I know
I am curious , why anyone wants to use VanillaJS today
when we have React , Angular, Vue
 
it's sometimes easier for a small solution to just write up some simple js
it's often common for small things to become big things
 
Ok
Good to know
 
I have a single page who's only purpose is to provide a search, and a paged interface. Yes, react could do that. but that'd mean setting up a data source, components, state, etc... when i could just have a url param and a little backend logic
sprinkle in some javascript for usability
 
Got it
 
8:39 PM
there's always a risk when taking the simpler route that you'll need to start over when it becomes too complex for the simpler route, it's a trade off you learn to make judgement on with experience
hopefully
 
Thank you for sharing your knowledge and experience
 
@MileMijatović i built my website in vanilla, it worked perfectly, no issues. Then I switched to react, many hours and 100 dependencies later, it was the exact same site just with react.
 
there's... also different forms of development
both in programming and engineering in general
as far as where you spend your time
planning, documenting, iterating, testing,
whether your a measure twice cut once kind of person or more iterative with cut rough then trim till correct, etc
i'm completely in the camp of iterative/testing more so than planning/documenting
so having to start over when things grow out of the simpler approach isn't a real concern
 
I am looking for a full-time remote job opportunity, currently I am not employed. I love challenges , but everything that you mentioning Kevin , I couldn't apply on the real project, because I don't have a job
 
those philosophies can be applied to any project, and what side of the lane you lean toward doesn't really matter, only that you learn to understand where you fall so that you can play to your strengths
 
8:52 PM
posted on January 19, 2022 by Ben Mason

Hi, everyone! We've just released Chrome 97 (97.0.4664.98) for Android: it'll become available on Google Play over the next few days. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Ben Masin Google Chrome

 
Ben Mason - This release includes stability and performance improvements as always :D
Probably better speaker, so you can hear us much better
Speaker improvment
 
i wonder if any releases don't include stability and performance improvements
 
I have Android OS , and every but every release is the same
There are no improvements , but just more RAM consumption
 
9:11 PM
I have a variable called multiplicarTotal_Price that returns numbers, I want to assign it to an ID called total_price, in jquery I did this $('#'+total_price).val(multiplicarTotal_Price); but in the total_price console only its ID appears, not the value that I want to assign to multiplyTotal_Price, how can I make it have a value and not just the id
 
if that's putting the ID in the input value, then multiplicarTotal_Price contains the id, not the numbers.
 
9:30 PM
mmmm and then so that total_price has the value of multiplyTotal_Price? do I have to invest something? I don't understand what I'm doing wrong, so you say multiplyTotal_Price has the value of the id
 
i'm saying $("#foo").val("bar") will make "bar" the value of #foo
if you aren't getting bar, then bar isn't what you are passing in.
 
@KevinB ok i get it, thank you :D
 
 
in essence what i'm saying is, the code isn't doing anything special behind the scenes
if you tell it to do X, that's what it's going to do
if you think you're telling it to do X, but it's doing Y, you're actually telling it to do Y, so you should inspect your instructions
in your case that can be as simple as console.log(multiplicarTotal_Price) before or after that line
next would be looking at what creates that value and assigns it to that variable
 
10:16 PM
posted on January 19, 2022 by Prudhvikumar Bommana

The Stable channel has been updated to 97.0.4692.99 for Windows, Mac and Linux which will roll out over the coming days/weeks. Extended stable channel has also been updated to 96.0.4664.110 for Windows and Mac which will roll out over the coming days/weeks A full list of changes in this build is available in the log. Interested in switching release channels? Find out how here. If you find a new

 
 
1 hour later…
11:40 PM
posted on January 19, 2022 by Srinivas Sista

The Extended Stable channel has been updated to 96.0.4664.174 for Windows and Mac which will roll out over the coming days/weeks. A full list of changes in this build is available in the log. Interested in switching release channels? Find out how here. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn abou

posted on January 19, 2022 by Harry Souders

Hi, everyone! We've released Chrome Beta 98 (98.0.4758.63) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome

 

« first day (4113 days earlier)      last day (818 days later) »