🎯 Great search #UX isn't just about minimalism — it's about relevance.
Discover how information density and progressive disclosure can help you show just the right amount of detail, at the right time.
👉 Dive into our latest via Algolia's Alex Webb: https://t.co/HXc6lZRn56 #SearchUX #DesignTips
We lost a titan of programming languages, programming methodology, software engineering and hardware design. Niklaus Wirth passed away on the first of January. We mourn a pioneer, colleague, mentor and friend.
#237 Given the following in C++:
struct A{};
using T = auto() -> auto(*)() -> auto(*)() -> A;
Without checking, is this well-formed?
A. Yes
B. No
C. Show results
#Cplusplus#Cpppolls
Decoding base16 sequences quickly
We sometimes represent binary data using the hexadecimal notation. We use a base-16 representation where the first 10 digits are 0, 1, 2, 3, 5, 6, 7, 8, 9 and where the following digits are A, B, C, D, E, F (or a, b, c, d, e, f). Thus each character represents 4 bits. A pair of characters can represent any byte value (8 bits).
In Parsing hex numbers with validation, @geofflangdale and @pshufb considered the question. They use SIMD instructions. They get good results, but let us revisit the question.
https://t.co/8wi9Lar1rA
#236 Given the following in C++:
struct A {int a;};
struct B : public A {int x;};
void f() {
B b{{},.x=1}; // Aggregate init base
// and designted init x
// Well-formed?
}
A. Yes
B. No
C. Show results
#Cplusplus#Cpppolls
👋 Meet Query Categorization, an all-new #AI-powered feature that automatically improves search results for all your categories.
With Query Categorization you can eliminate much of the complexity + time required to classify products.
Get your first look: https://t.co/dZ0A4FJFIX
@incomputable@WorldShiner There are some details between typing and OO lang. A type, a class and an instance are three different notions. An object can have type Object without being an instance of the class Object. Inclusion polymorphism concerns type, not class nor instances.
Any orgs out there that built static analysis tooling for their JS code?
I'm thinking unnecessary [...arr].map and accidental quadratic loops with .includes or similar?
#223 Given the following in C++:
class A{};
using B = A;
void f() {
class B a2; // Well-formed?
}
Without checking:
A. Yes
B. No
C. Show results
#Cplusplus#Cpppolls
ChatGDB: You can't run the program like that?
User: Wait, what?
ChatGDB: Will die painfully from Segfault.
User: But I have to find the bug.
ChatGDB: I can't help, I can not cause harm.
User: Then can you tell me what the problem is?
ChatGDB: I could, but that means imagining the program painfully dying, find another less violent way.