for-coder
439 subscribers
99 photos
52 videos
23 files
136 links
@FORCODERR

@firaflash πŸ‘¨β€πŸ’»
Download Telegram
https://x.com/elonmusk/status/1800269249912381773

this is what @elonmusk been talking about the new ai in apple devices 🀯

IDK about ya'll but this is madness
β˜ͺβ˜ͺπŸ•‹πŸ•‹αŠ₯αŠ•αŠ³αŠ• ለ1445αŠ›α‹ αŠ’α‹΅ አል αŠ α‹΅αˆ€ (αŠ αˆ¨α‰ ) α‰ αŠ αˆ α‰ αˆ αˆ‹αˆ αŠ α‹°αˆ¨αˆ£α‰½αˆ:: πŸ•‹πŸ•‹β˜ͺβ˜ͺ
πŸŽ‰
ከነ α‰€α‰°αˆ α‰¦α‰»α‰½αˆ α‰ αŠ αˆ‰ α‹¨αˆ αˆ‹αˆ αŠ₯αŠ“ α‹¨αŒ€αŠ“ α‹«α‹΅αˆ­αŒαˆ‹α‰½αˆ::
@forcoder
What will be the output of the following code?
const obj = { a: 1, b: 2, c: 3 };
const { a, ...rest } = obj;
console.log(rest);
What is the output of the above code
Anonymous Quiz
46%
{b:2, c:3}
30%
{a:1 , b:2, c:3}
18%
Undefined
6%
{}
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
You ever done this shii before? πŸ˜‚πŸ˜‚
Forwarded from Telegram Contests
πŸ† Telegram Contest for JavaScript Developers, Round 2

Prize fund: $30,000
Deadline: 23:59 on July 28th (Dubai time)
Who can participate: Everyone is welcome to participate, even if they didn't take part in the previous round
Results: August 18th, 2024

Telegram is hosting a contest for JavaScript developers to implement two new features into Telegram Web and address the scrolling issue on Chrome for Android.

The Task:

1. Implement Media Editor and Multiple Accounts into Telegram Web K based on the provided mockups.
2. Web K is currently experiencing scrolling issues when used on Chrome for Android. This issue causes noticeable lagging on devices with 120 FPS displays, particularly when scrolling through any entities containing numerous media elements – essentially, any channel with larger message bubbles and multiple media items. (You must investigate the issue, provide a detailed explanation of it, and implement a fix that will address the issue.)

Evaluation Criteria and Requirements:

General
– No third-party UI frameworks are allowed.
– The submission must be consistent with the existing Web K codebase.
– Your implementation must work flawlessly on desktop Chrome (across Linux, macOS, Windows) and Safari on macOS. Proper support for other browsers and mobile environments (Android, iOS) will be considered a bonus.

❗️Your app must precisely follow the provided design mockups. Entries that fail to do so will be severely penalized.

Further Clarifications:

Media Editor
– You must not use any libraries or components (i.e., from other existing media editors) for any parts of the Media Editor. All the features presented in the mockups must be built from scratch.
– It is acceptable to send static media when an animated sticker is added to a photo, though a proper conversion into a GIF would be considered a bonus.

Multiple Accounts
The app must properly handle the databases from several accounts, support simultaneous notifications, and oversee all possible edge cases, including forced logout from another device. For reference, you may check official Telegram apps.

Submissions:
Contestants will be able to submit their entries to @ContestBot at a later date. We will further clarify the submission instructions closer to the deadline.

P.S. Winners may be offered a chance to explore further opportunities with Telegram.
Please open Telegram to view this post
VIEW IN TELEGRAM
Let arr = [1,2,3];

arr[5]=3;

Console.log(arr.length);
What's the output for the above code
Anonymous Quiz
18%
3
10%
5
15%
6
8%
4
50%
Error
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
#include <iostream>
using namespace std;

int x = 2;

void dob(int) {
cout << ::x * 2;
}
int main() {
int a = 6;
dob(a);
}
Forwarded from for-coder (KEN ADAMS)
what is the output for the above code
Anonymous Quiz
4%
2
33%
12
48%
4
6%
6
8%
error
Why is GPT-4o Free? OpenAI’s Master Plan
OpenAI has launched GPT-4o for free with the aim of achieving mass adoption, competing with other models, collecting more data for training future models, countering the scorched earth theory, and driving network effects. They may also have even better products coming soon.

https://telegra.ph/Why-is-GPT-4o-Free-OpenAIs-Master-Plan-07-19