Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Galanwe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
571.
▲
by
Galanwe
3y ago
It's not really the ads that killed Google search for me. it's more the over agressive minmaxed SEO that makes most of results garbage.
572.
▲
by
Galanwe
3y ago
> At medium levels of wealth (more than $1m and under $50m), you are likely unable to access good advice What the actual f... According to the "Global Wealth Databook 2021" by Credit Suisse, page 129, there are in the US: - $1-
573.
▲
by
Galanwe
3y ago
Right, but you are bending the argument to your will. What is a "decently complex one liner"? If it's decently complex, then it's probably not a one liner, so indeed chatgpt may be faster. If it's a one liner, then
574.
▲
by
Galanwe
3y ago
More importantly it's just mega slow. The whole point of bash one liners is not to write short bash, it's to type it in your shell to get a result quickly. Just typing the url to chatgpt in my browser I would have had the time to
575.
▲
by
Galanwe
3y ago
> Sorry about that, English is not my first language so i might sound rude sometimes No offense taken, not a native here either ;-) > if you used it you know its flaws Indeed, I've been using C for almost 20 years now. I won'
576.
▲
by
Galanwe
3y ago
Neat, but both your tricks (rev and xargs) are more for getting the last word than getting the nth word. For the sake of the argument, say I have the following fixed output and want the sizes: $ ls -l -rw-rw-r-- 1 userAAA group
577.
▲
by
Galanwe
3y ago
I know berating C is trendy, but it feels a bit gratuitous and uncalled for in your comment... > Ada is better than C > lack of dumb C stuff Back to your comment, strong types and generics look super nice for embedded. Not sure I wou
578.
▲
by
Galanwe
3y ago
It's difficult for someone with 0 knowledge of the language to really understand representation clauses. It does seem to be similar to enum values in C++? // Ada for Day use (Mon => 2#00000001#,
579.
▲
by
Galanwe
3y ago
99.9% of my awk use case is to split a line (a la "cut - d\ - f) while discarding successive spaces. e.g.: $ echo "key: value" | awk '{print $1}' value Open to a simpler replacement :-)
580.
▲
by
Galanwe
3y ago
This is absurd. > According to the Pareto distribution, 80% of your revenue will come from 20% of your users. A distribution is something that is _observed_, it's not a law of nature that you can drop anywhere you want. At most you
581.
▲
by
Galanwe
3y ago
> Ada gets all the things about bare-metal right that C got wrong I'm curious, never had a look at Ada, can you elaborate?
582.
▲
by
Galanwe
3y ago
> it has to make assumptions about what's going to happen before it knows it, and those assumptions are going to be wrong. How wrong Speculative/optimistic techniques are not limited to branch prediction, you encounter various
583.
▲
by
Galanwe
3y ago
Damn you're right. I should have stayed in bed today.
584.
▲
by
Galanwe
3y ago
I guess the use case is to quickly try out some C/C++ code snippet. Typically I can think of checking binary arithmetic operations behavior. Say you have some buffer that you need to align on 4K blocks, you could quickly try out your &
585.
▲
by
Galanwe
3y ago
Right, right, you're 100% correct. To further explain, in most financial jargon, one often call an index by its (historically) most traded tracking fund. That is, the NASDAQ 100 is often called the QQQ, the S&P 500 is often called
586.
▲
by
Galanwe
3y ago
> Is there more global access to the US market? Does capital flow with less friction to it? Yes, and yes. > What about indexes? If they qualify for NASDAQ or some other major index, there's some "mandatory" investment t
587.
▲
by
Galanwe
3y ago
> Does it also come naturally to you to prononce "tuohguorht" as the reverse of "throughout"? I'm not a native English speaker so the pronunciation of that kind of word (with gh and th) is not immediate to me. I
588.
▲
by
Galanwe
3y ago
> Which is irrelevant, because there is barely any functional difference between the two Well it is relevant, it tells that you're not familiar with the subject and most likely googled what looked related and found outdated man page
589.
▲
by
Galanwe
3y ago
I can do this as well. I thought everyone could do it, and just realised it's not the case. I think it has to do with how you represent the words in your mind. For me there is no difference between "a word" and "a stream
590.
▲
by
Galanwe
3y ago
No but seriously, are you actually trying to understand and learn, or just stuck trying to google your way out of your mistakes? 1) You linked the man pages of sys5 shared memories. Everyone switched to posix shared memories since literally
591.
▲
by
Galanwe
3y ago
> I am talking about a context switch to kernel code simply to access the shared memory. All interactions with SM require syscalls. Please enlighten me with the syscall you use to access a shared memory... because there are none. As far
592.
▲
by
Galanwe
3y ago
You are talking nonsense... > It still requires context switching into the Kernel. There is no less context switching between two threads than between two processes. > It still poses problems that threads don't have. Hu, no, it&#
593.
▲
by
Galanwe
3y ago
1) GIL or no GIL does not make a single visible difference in terms of your Python code, how it works, what it can or cannot do. It's only a matter of whether the interpreter internally use locks or not. 2) There is no more copy in mul
594.
▲
by
Galanwe
3y ago
Agree 100%. If you need concurrency at the moment, you have already switched to using multiprocessing, so having a no-GIL multithreading is useless. The only issue with Python/multiprocessing, is that sometimes you don't want queu
595.
▲
by
Galanwe
3y ago
I don't get it as well. The color dimension is configurable, so it makes sense. But I don't get what the 3 dimensions of spatial coordinates are, and how to change them. --- Edit Alright my bad it's actually explained in the
596.
▲
by
Galanwe
3y ago
It doesn't do much extra I guess. In standard multiprocessing, all arguments are pickled and pushed to a queue for processes in the pool to use. To pass heavy arguments, the trick to using CoW was to place them as global variables befo
597.
▲
by
Galanwe
3y ago
Are you unable to get out of the hole of vocabulary appropriation and lobbying created by some activist groups? You are perpetrating the mind washing game of zealots that try to convince you they have the right to define what is and is not
598.
▲
by
Galanwe
3y ago
It does definitely count as open source. I don't care what a California-based "Open Source Initiative" group try to define as "Open Source Definition". That is all lobbying to me. If I can see the source, then it&#x
599.
▲
by
Galanwe
3y ago
Why? "Open source" has a clear meaning: the source code is open. It does not imply that the source is free to see, free to modify or free to fork. I'm pro open source, but I also have no problem that said source is not copyab
600.
▲
by
Galanwe
3y ago
> And then we have what Google is offering: > From the screenshots, I think it is only a fake wet signature. I'm not sure how valid that is Welcome to 2023! I've bought a house, incorporated a company, signed a work contract
More ›