Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cristeigabriel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
cristeigabriel
3y ago
reminds me of `!!` which has been more common in my experience, as a way to coerce something negatable into a bool. > This is obviously a fair bit slower than ~~. I don't think the code posted before this comment is particularly fas
32.
▲
by
cristeigabriel
3y ago
I heard that apparently the M-series chips have some dedicated hardware for emulation, I may be wrong however. Not sure though how it's powered, and how it does the emulation itself afterwards. It very well could improve battery life i
33.
▲
by
cristeigabriel
3y ago
I did not make a statement on reading, but on social perception where I'm from. Reading is nice, I have many thick books myself and I love(d) them, and it's a sustainable hobby in my perspective of social relations because the maj
34.
▲
by
cristeigabriel
3y ago
> Why do hold books on a pedestal? Maybe my opinion on this is negative due to my Eastern European upbringing, but I would say it's because it's something often seen as painful (think of a thick book with a dense vocabulary, be
35.
▲
by
cristeigabriel
3y ago
> I'm thinking battery life and heat. The problem is, I'm not sure how it'd help, when you have to do emulation. It often requires explicit hardware support (or some system level support) to break ABI to not manually do m
36.
▲
by
cristeigabriel
3y ago
Thanks for correcting me!
37.
▲
by
cristeigabriel
3y ago
> I'm waiting for a ARM Steam Deck that has something like Rosetta built in. This would solve nothing, besides maybe a better chip design, but you're bringing back the same ISA, and you'd have to bend over backwards with y
38.
▲
by
cristeigabriel
3y ago
> Teams: Electron. Not as simple with Preview versions on Windows. I don't think they use Electron whatsoever anymore, and old versions weren't fully Electron either (I remember seeing Chakra [their old JS engine] in the stackt
39.
▲
by
cristeigabriel
3y ago
> Resources Available > Also, the quantity of teaching material and resources available to learn the language is currently overwhelmingly more abundant on the C++ side. Quality over quantity. I'm a predominantly C and C++ develop
40.
▲
by
cristeigabriel
3y ago
Paywall
41.
▲
by
cristeigabriel
3y ago
You don't have to do this, here's an alternative approach: template<std::size_t N> struct fstr: public std::array<char, N + 1> { using std::array<char, N + 1>::array; constexpr fstr(const char* str) noe
42.
▲
by
cristeigabriel
3y ago
You can do this (if you want to be evil!) struct fstr { constexpr fstr(const char* s) { for (length = 0; s[length] ; length++) data[length] = s[length]; } char data[256] = {0}; size_t length = 0; }; template <
43.
▲
by
cristeigabriel
3y ago
it would be really interesting to sabotage these
44.
▲
by
cristeigabriel
3y ago
The first thing I did is to check if the easyclick functionality uses UIA. It does. I am very satisfied. For those interested, Windows Kits comes with a tool called INSPECT.EXE, which allows you to interrogate UIs. Very cool!