Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shultays
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
shultays
2y ago
Recently I asked an AI following question const MyClass& getMyClass(){....} auto obj = getMyClass(); this makes a copy right? And it was very confident about it not making a copy. It thinks auto will deduce the type as a con
62.
▲
by
shultays
2y ago
It should be able to figure out what an average joe would understand from such questions. I think any human would interpret "easy battery replacement" as "you can just remove the old battery out and put the new one in".
63.
▲
by
shultays
2y ago
You can just type randomly and finish it up. It displaying correct letters and locking them when you enter one makes it a bit easy to cheat
64.
▲
by
shultays
2y ago
For some reason we are using 20 instead of 21. I didn't even bother asking why
65.
▲
by
shultays
2y ago
Do you need SSN for voting? I heard that you don't need an ID (at least in some states) which was very weird for me but if they ask SSN instead, that is at least something I guess?
66.
▲
by
shultays
2y ago
#ifdef _cplusplus #include <iostream> #define print() int main(){cout << "Hello world! -- from C++" << endl;} #elif (defined __STDC__) || (defined __STDC_VERSION__) #include <stdio.h&g
67.
▲
by
shultays
2y ago
I can't find the explanation on why noexcept could hurt performance. One reason I can see itt is some containers like unordered_map can inline the hash along with the key with noexcept, which may not worth additional memory overhead if
68.
▲
by
shultays
2y ago
Unfortunately it is not just youtube that have ads. Some TVs puts ads on your homepage. Which are still removable (for now) albeit even more tricky
69.
▲
by
shultays
2y ago
I am not sure if any brand is safe from that. I have a Philips that did the same. I recently started using Projectivy Launcher, which is a different home app for android tvs.
70.
▲
by
shultays
2y ago
Honestly sounds like it would do better than a horizontal one. It is always a struggle to plug usb to boards on breadboard
71.
▲
by
shultays
2y ago
I am a bit confused, in another post you mentioned The C spec only requires that integer constant expressions that have zero value are nullptrs. The moment you assign it to an int variable, it's no longer a constant expression as f
72.
▲
by
shultays
2y ago
the dereference itself is UB My point was the dereference itself could be a valid dereference depending on architecture. You can have a pointer to address 0 or 42 or whatever and it all depends on what is mapped to that address. Coul
73.
▲
by
shultays
2y ago
int i = 0; // nullptr dereference int ub = *(int*)i; It is implementation defined I think, not UB. 0 could be a valid address
74.
▲
by
shultays
2y ago
Some powers are not to be trusted to AI
75.
▲
by
shultays
2y ago
Slider for the song position needs to go both ways: You can move it to change current time or it moves automatically along with the song
76.
▲
by
shultays
2y ago
Voyager 1 was sent using a slingshot that made it possible to achieve its speed. It was a rare opportunity during that time (I did a quick google but couldn't find how rare it was or when we would get such another opportunity)
77.
▲
by
shultays
2y ago
Do you have a number for "that many enemies"? If article is giving one, I couldn't find it. There are plenty of modern games that is multiplayer and supports enemy numbers that I would consider "massive". Or massive
78.
▲
by
shultays
2y ago
Twitter charges corporates for using Twitter? If anything, the consoles should charge Twitter, for bringing in users and content
79.
▲
Regions – Linking Prompts to Paint Layers – Krita AI Plugin [video]
(youtube.com)
1 points
by
shultays
2y ago
|
0 comments
80.
▲
by
shultays
2y ago
Finally. I am all for this AI if it is going to learn and suggest my passive aggressive "here" emoji that I use when someone @here s on a public channel with hundreds of people for no good reason.
81.
▲
by
shultays
2y ago
https://core.telegram.org/reproducible-builds
82.
▲
by
shultays
2y ago
3 seems to be a bit wrong based on Laurence's post on github https://github.com/google/project-gameface/issues/1#issuecom... So why didn't you help and why did you ghost me when I asked? <<
83.
▲
by
shultays
2y ago
In (game) Rust, the players can use 4 digit keylocks to secure their bases and brute forcing is indeed a strategy. The lock zaps and eventually kills you but even with that, a determined player can eventually get in.
84.
▲
by
shultays
2y ago
Because (I imagine) you can't really brute force it. If you only have 3 or something tries, it doesn't really make that much of a difference. And the person that stole your card would just try 123456 instead of 1234 etc and roughl
85.
▲
by
shultays
2y ago
What I don't get is, why are we still adding more undefined behaviour to the standard? Because it allows flexibility for compilers to implement features efficiently on various platforms. You can define undefined behavior if you
86.
▲
by
shultays
2y ago
Oh wow, I had no idea it took 3 years for things to land. Thanks
87.
▲
by
shultays
2y ago
My question was, is it not better to just "aim" for an ocean.
88.
▲
by
shultays
2y ago
Can't they aim a bit better while jettisoning stuff or is re-entry that chaotic? It looks like they are relying on stuff burning off as they go through atmosphere but I don't see how that can happen for a roundish chunk of metal.
89.
▲
by
shultays
3y ago
For video games there are also holiday seasons that you may not want to miss. So even if you are using digital stores, there are deadlines that might matter
90.
▲
by
shultays
3y ago
People are promoted to their level of incompetence
More ›