« first day (4272 days earlier)      last day (659 days later) » 

5:47 AM
> You can use IFFY function:
I'm uncertain how I feel about IFFY functions.
 
 
5 hours later…
10:32 AM
@VLAZ I heard YEEKY functions are more expressive :)
 
 
4 hours later…
2:05 PM
Hi All
in my mongoDb server, Im getting critical notification as Examined: Returned Ratio > 1000
return objects ratio going above 1000
there are indexes on my collections, how do I find, where is problem in my query
and optimize it
 
2:20 PM
o/
 
🚽
 
3:20 PM
guys hello
    fetch('http://localhost:3333/qrCode', {
        method: 'POST',
        body: JSON.stringify({ base64: base64.split("data:image/png;base64,")[1], mindFileBuffer: mindFileBuffer, cardId: cardId }),
        headers: { "Content-Type": "application/json" },
    })
I have a uint8Array buffer [23, 324, 234, 6546.... ]

I want that exactly as an array on the server.

but when I do json.stringify({myBuffer:buffer})

it converts the buffer into an object {0:23, 1:324, 2:234, 3:6546.... }
how can json.stringify, but convert it back again on the server? Json.parse() won't work I guess
 
3:59 PM
JSON is a string format
store in base64 a string value that is convenient for your server to receive
that code should result in a string value in base64, not an object
if you want it to be an array of integers, you should make it an array of integers. but keep in mind, the json format doesn't handle anything outside of strings, numbers, and booleans. it can't handle special number formats.
 
4:13 PM
@Suisse JSON.stringify does not know how to handle typed arrays, it predates them - for it, they are just objects with indices as keys. You can use Array.from to convert to an array of "ints", but it's always on you to interpret the resulting array as a buffer view server-side - JSON.parse will, ofc, see it as a normal array
 
4:27 PM
Hello
I have one question
I want to fetch posts data from jsonplaceholder fake api
 
that's not a question
 
I know how to do that
but is it necessary to use useEffect
?
if I have
const sendGetRequest = async () => {
    try {
        const resp = await axios.get('https://jsonplaceholder.typicode.com/posts');
        console.log(resp.data);
    } catch (err) {
        // Handle Error Here
        console.error(err);
    }
};
Do I need to call sendGetRequest inside of useEffect(() => sendGetRequest()
 
depends on the goal
it certainly doesn't belong in the render
 
 
1 hour later…
5:55 PM
I have another question
I am trying to create .tsx version of MUI Table
import IPostData from "../types/Post";

function createData(id: number, title: string, body: string) {
  return { id, title, body };
}

interface RowProps {
  row: IPostData;
}

// const Title = ({ title }: TitleProps) => {
const PostsTable = ({ rows }: RowProps) => {
  return (
    <TableContainer component={Paper}>
But I am getting an error - Property 'rows' does not exist on type 'RowProps'.
and this is my IPostData
export default interface IPostData {
  userId?: number;
  id: number;
  title: string;
  body: string;
}
I will fetch data from jsonplaceholder fake api
and want to display in the table
Can you help me ?
 
Why Array.length value is always 1?
 
6:10 PM
@DamodaraSahu || mdn function length
|| status
 
I am currently alive!
 
|| mdn function length
 
^ that's why. The Array constructor declares one parameter.
You can call it with more, but they are not declared, therefore they don't get counted towards length
 
 
1 hour later…
7:15 PM
@MileMijatović take a deep breath and look at the name of the property you restructured. Then take another one and look at the shape of RowProps. It should click.
 
7:32 PM
posted on June 27, 2022 by Srinivas Sista

 The Stable channel has been updated to 103.0.5060.66 for Windows. 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 about common i

 
 
1 hour later…
8:32 PM
posted on June 27, 2022 by Release Managers

The Dev channel is being updated to 104.0.5112.23 (Platform version: 14909.26.0) for most ChromeOS devices. This build contains a number of bug fixes and security updates. If you find new issues, please let us know through one of the following ways File a bug Visit our Chromebook Help CommunityReport an issue or send feedback on Chrome Google ChromeOS.

 
 
2 hours later…
10:50 PM
posted on June 27, 2022 by Daniel Gagnon

The Stable channel is being updated to 103.0.5060.64 (Platform version: 14816.82.0) for most ChromeOS devices and will be rolled out over the next few days. This build contains a number of bug fixes and security updates including the following: [$3000][1330042] High: Heap Use-after-free in Window Manager[$3000][1327087] High: Heap Use-after-free in Window Manager[$TBD[13192

 
11:37 PM
im so done with the js environment
such garbage
 

« first day (4272 days earlier)      last day (659 days later) »