What does the
Consider this code:
which, due to short circuiting, is equivalent to:
btw this won't work in C++17 and newer.
??!??! operator do in C? (link)Consider this code:
!ErrorHasOccured() ??!??! HandleError();
??! is a trigraph that translates to |. So it says:!ErrorHasOccured() || HandleError();
which, due to short circuiting, is equivalent to:
if (ErrorHasOccured())
HandleError();
btw this won't work in C++17 and newer.
👍2 2
I guess everyone at some point in their life have encountered such an error message:
"The truth value of a DataFrame is ambiguous."
(I still encounter it every now and then)
"The truth value of a DataFrame is ambiguous."
(I still encounter it every now and then)
👍1
config example to debug client-side code of a project which is using VueJS (will typescript too) in vscode:
make sure you have the files served on the url (e.g. by running😭 )
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
]
}make sure you have the files served on the url (e.g. by running
npm run dev), then just click on the debug option and test a breakpoint. (this took me half of an hour to figure out btw Please open Telegram to view this post
VIEW IN TELEGRAM
Announcing Gemma 3n preview: powerful, efficient, mobile-first AI
docs: https://ai.google.dev/gemma/docs/gemma-3n
Gemma 3n leverages a Google DeepMind innovation called Per-Layer Embeddings (PLE) that delivers a significant reduction in RAM usage. While the raw parameter count is 5B and 8B, this innovation allows you to run larger models on mobile devices or live-stream from the cloud, with a memory overhead comparable to a 2B and 4B model, meaning the models can operate with a dynamic memory footprint of just 2GB and 3GB. Learn more in documentation.
docs: https://ai.google.dev/gemma/docs/gemma-3n
jules.google
An Asynchronous Coding Agent.
Jules fetches your repository, clones it to a Cloud VM, and develops a plan utilizing the latest Gemini 2.5 Pro model.
Do It by Code
jules.google An Asynchronous Coding Agent. Jules fetches your repository, clones it to a Cloud VM, and develops a plan utilizing the latest Gemini 2.5 Pro model.
looks like people are flooding it kek
Jules is currently experiencing high load. You can view your existing tasks. Come back in a bit to create more tasks.
This media is not supported in your browser
VIEW IN TELEGRAM
⚪️ Showing the simultaneous translation capability of Android XR with Persian language
🔸 To showcase the real-time translation feature of Android XR, Google translated Persian into English at the I/O 2025 event.
#GoogleIO
🔸 To showcase the real-time translation feature of Android XR, Google translated Persian into English at the I/O 2025 event.
#GoogleIO
This media is not supported in your browser
VIEW IN TELEGRAM
NO WAY. It did it. And, was that, actually funny?
Prompt:
【QRT of fofr (@fofrAI):】
sauce
#veo
Prompt:
a man doing stand up comedy in a small venue tells a joke (include the joke in the dialogue) https://t.co/LrCiVAp1Bl
【QRT of fofr (@fofrAI):】
sauce
#veo
This media is not supported in your browser
VIEW IN TELEGRAM
microsoft/edit
A simple editor for simple needs, written in Rust.
#editor #rust
A simple editor for simple needs, written in Rust.
This editor pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.
#editor #rust
Is
So I just noticed this:
However, I just found out
and it seems like it's not totally recommended to use it instead of
so, what's the true purpose of
according to docs:
Purposes:
-
-
Compatibility:
-
-
So...yeah, it's in fact a useful feature, but don't just go use it randomly anywhere, otherwise you might encounter weird logical error
- Related Stackoverflow question
pd.NA same as np.NAN?So I just noticed this:
import pandas as pd
import numpy as np
pd.isna(np.NAN) # True
pd.isna(pd.NA) # True
However, I just found out
pd.NA is still experimental (yes, it has been experimental since release 1.0):Experimental: the behaviour of NA can still change without warning.
and it seems like it's not totally recommended to use it instead of
np.NAN everywhere.so, what's the true purpose of
pd.NA if we already have np.NAN?according to docs:
Starting from pandas 1.0, an experimental NA value (singleton) is available to represent scalar missing values. The goal of NA is provide a “missing” indicator that can be used consistently across data types (instead of np.nan, None or pd.NaT depending on the data type).
Purposes:
-
pd.NA: Pandas-specific missing value marker for its nullable dtypes-
np.nan: NumPy's floating-point "Not a Number" value (IEEE 754)Compatibility:
-
pd.NA: Works across multiple data types (integers, strings, floats)-
np.nan: Only works with floating-point data typesSo...yeah, it's in fact a useful feature, but don't just go use it randomly anywhere, otherwise you might encounter weird logical error
- Related Stackoverflow question
Google's AI Studio now supports TTS (it supports lots of voices, but they are not that good)
https://aistudio.google.com/generate-speech
https://aistudio.google.com/generate-speech