Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_gabe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
_gabe_
3y ago
I should have been more specific, the way Bob Martin phrases it in the book is functions should have 0 side effects. Then he shows an example at the end of the chapter where the entire example works by creating a giant class full of member
152.
▲
by
_gabe_
3y ago
There’s so much conflicting advice in this book (like saying functions should be immutable then also saying the ideal function has 0 arguments, apparently mutating the class doesn’t actually make the function mutable to Bob Martin!), and
153.
▲
by
_gabe_
3y ago
> But GameWorks' capabilities are necessarily Nvidia-optimized; such code may perform poorly on AMD GPUs. From the arstechnica article about Witcher 3. How dare Nvidia optimize their game enhancing effects for Nvidia hardware and fo
154.
▲
by
_gabe_
3y ago
Good point! I’m not a mathematician so the pedagogy here doesn’t really irk me. But, I do also believe that teachers should be held to a higher standard, especially when writing out educational text. Thanks for the clarification! Also, I be
155.
▲
by
_gabe_
3y ago
Isn’t this technically true though? Fractions are just rational reals. The examples listed are still reals, just irrational.
156.
▲
by
_gabe_
3y ago
This article was great! I think the overall premise is probably more useful for graphic designers than programmers, because I believe many programmers kind of implicitly know this advice. However I’ve worked with graphic designers in the pa
157.
▲
by
_gabe_
3y ago
I would argue that it’s never been easier to be a full stack developer. You can manage all this complexity with one programming language, Typescript, with some HTML/CSS sprinkled in. You can literally define your infrastructure using A
158.
▲
by
_gabe_
3y ago
I can just as easily make the counter claims to all the proposed areas of pseudoscience and then make the same argument you just did: “it’s not about the authority of the person making the argument, it’s about the weight of the argument its
159.
▲
by
_gabe_
3y ago
While I appreciate a fair dose of skepticism, why should I trust your claims that these are all pseudoscience as opposed to the people that claim to be experts in those fields? How are you sure that your understanding isn’t simply a dunning
160.
▲
by
_gabe_
3y ago
Thanks for the recommendation! I’ll have to workshop it a bit more, when I see this I almost read AntiMath which would be an unintended mistake haha.
161.
▲
by
_gabe_
3y ago
This Red Rising sounds like something I would like, and I’ve been wanting to get back into sci-fi. Thanks for the recommendation! I’ll check it out once I finish up WoT :)
162.
▲
by
_gabe_
3y ago
I’m really curious what this article would look like if it was written from the perspective of one of the “boots on the ground” developers that spent 8 months on the original PoC, rewrote it in the 7 weeks, and is still maintaining it today
163.
▲
by
_gabe_
3y ago
I thought I would give medium one more chance, thinking that maybe it has gotten better, it hasn’t. The author starts off with a self aggrandizing tweet from themself: > We kernel and database people think this discussion about whether
164.
▲
by
_gabe_
3y ago
> check that the compiler really does work on that basis, and then continue writing things in C++ anyway. Wild. My compiler (MSVC) doesn't do that[0]. Clang also doesn't do this[1]. It's wild to me that GCC does this optim
165.
▲
by
_gabe_
3y ago
I’ve also been getting back into fantasy and sci-fi. I’m reading through the Wheel of Time series right now and it’s the best series I’ve ever read. I’m on book 7 and really glad there’s still 7 books left. If you liked Eragon, then you’ll
166.
▲
by
_gabe_
3y ago
Ah thanks! And yea, naming things has never been a strength for me. I’ll have to come up with something more memorable once it’s ready for an alpha release :)
167.
▲
by
_gabe_
3y ago
https://github.com/ambrosiogabe/MathAnimation If you’ve ever tried to make a mathematical animation (think 3Blue1Brown), it’s a real pain. I was using manim for awhile to make animations for my YT channel, but the whol
168.
▲
by
_gabe_
3y ago
> Repetitive use of same IP over 30+ years, 100%. Its like Fast N Furious or other movie franchises that just publish a slightly different version on some cadence. Go play the original Super Mario Bros, then Mario N64, then Mario Sunshin
169.
▲
by
_gabe_
3y ago
What’s the difference between producing something measurable that gets scrapped before ever hitting prod regardless of the several months spent working on it and not producing anything measurable at all? Unfortunately, these are the thought
170.
▲
by
_gabe_
3y ago
And I'm also sure if Joel Spolsky created a company today it would most likely have a remote first policy. At least, I'd be disappointed if I found out he didn't support it with how forward thinking his companies have been.
171.
▲
by
_gabe_
3y ago
>> avoids ... C++ headers > Same question for this point - but is it the same reason as for avoiding STL containers or something else? ABI compatibility and the ability to easily create FFIs for other languages are the strongest ap
172.
▲
by
_gabe_
3y ago
Thanks for the info! This all makes sense to me intuitively , but I know I've been bitten in the butt several times by implementing clever caching schemes or something that end up slowing the app down more than I thought it would sp
173.
▲
by
_gabe_
3y ago
I've always wondered why this notion is so popular (is it just because of what react does)? Wouldn't the native browser be expected to handle a DOM re-render much more efficiently than an entire managed JS framework running on
174.
▲
by
_gabe_
3y ago
Win32 definitely has some stinkers. But, video encoding APIs definitely take the cake for me. I've only tried a couple of FFmpeg's APIs and AV1's API, but my God, these are the worst API's I've ever had to deal with
175.
▲
by
_gabe_
3y ago
> Instead you're prolonging the last vestiges of their innocence and making them less-aware as a result. By making unknown things a reward for them, how do you think they will react in the future? My parents had parental controls on
176.
▲
by
_gabe_
3y ago
> Not the spirit of the 'community', the spirit of the company. The spirit of the company aligns with most people's basic ethics and morality. When that's the case, having an exemplary moderator just reemphasizes the
177.
▲
by
_gabe_
3y ago
I'm only talking about JavaScript because it was the most difficult language to correctly parse so far. The examples I chose highlight that it's not as simple as a couple regexes. Notice how curly brackets can indicate: additional
178.
▲
by
_gabe_
3y ago
> “You didn’t actually want to do X, here’s how to do Y instead” may indeed be helpful for the beginner who initially asked the question Stack Overflow isn't a site for beginners, it's for "professionals". At least, t
179.
▲
by
_gabe_
3y ago
Consider: `5 + 3 = ${5 + 3}`; const foo = async () => {} const foo = async function () {} const foo = { 'PI': 3.14 } // etc. And then also remember that HTML can embed that, and CSS. And then highlighti
180.
▲
by
_gabe_
3y ago
Yes. Let me know if you see any bugs[0], I'll add it to my regression tests. [0]: https://github.com/ambrosiogabe/CppUtils/blob/master/single_...
More ›