Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
derriz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
State Department will delete X posts from before Trump returned to office
(text.npr.org)
13 points
by
derriz
8mo ago
|
1 comments
92.
▲
by
derriz
10mo ago
The alternative to what? Using mocks? For example, one alternative is to let my IDE implement the interface (I don’t have to “write” a complete implementation), where the default implementations throw “not yet implemented” type exceptions -
93.
▲
by
derriz
10mo ago
I used ResultSet because the comment above mentioned it. A clearer example of what I’m talking about might be say you replace “x.size() > 0” with “!x.isEmpty()” when x is a mocked instance of class X. If tests (authored by someone else)
94.
▲
by
derriz
10mo ago
That’s the seductive power of mocking - you get a test up and running quickly. The benefit to the initial test writer is significant. The cost is the pain - sometimes nightmarish - for other contributors to the code base since tests depend
95.
▲
by
derriz
10mo ago
Drives me crazy as I travel a lot. Even if I‘m logged into Google and it’s been tracking me for years and it‘s still targeting me with obviously personalized ads but it will assume I’ve suddenly acquired temporary proficiency in French, Ger
96.
▲
by
derriz
10mo ago
Patrick Boyle eventually comes to a similar conclusion in his video about global population decline - https://youtu.be/ispyUPqqL1c?si=7jUgVBkOvLHluPAR - but includes lots of graphs and other interesting factlets. * warning
97.
▲
by
derriz
10mo ago
I don’t see the relevance to the topic. I could preface your list with something like “The monkey wrench is not the best tool for the following situations:”. It’s kinda vacuously true in a meaningless way but without expansion adds nothing
98.
▲
by
derriz
10mo ago
> Most local hackerspaces I visited are basically green and leftist queer safe spaces where adults run around with stuffed animals. So what? You’re not being asked or expected to feel empathy - just show tolerance. Which is the easiest
99.
▲
by
derriz
10mo ago
> Important note: the strange magic requires the official git completion script. I dislike the official git completion script because it’s so slow when working with large repos. On macOS - because of vagaries of the way its file system
100.
▲
by
derriz
10mo ago
What puts me off the Amiga scene is how little of the 30 or 40 year old software has been released into the public domain. I have no issue with charging for new software for retro platforms in order to support the scene but find it slightly
101.
▲
by
derriz
10mo ago
Also banned: “Imran Ahmed, the British CEO of the US-based Center for Countering Digital Hate; Anna-Lena von Hodenberg and Josephine Ballon of the German non-profit HateAid; and Clare Melford, co-founder of the Global Disinformation Index”
102.
▲
by
derriz
10mo ago
Fair enough - I didn’t really fully consider the effect of retransmission and segmentation on the receiver view.
103.
▲
by
derriz
10mo ago
I don’t understand your point here or maybe our understanding of the admittedly vague term “message oriented” differs. I’m not suggesting exposing retransmission, fragmentation, etc to the API user. The sender provides n bytes of data (a me
104.
▲
by
derriz
10mo ago
For me, the “whole point” of TCP is to add various delivery guarantees on top of IP. It does not mandate or require a particular API. Of course, you can provide a stream API over TCP which suits many applications but it does not suit all
105.
▲
by
derriz
10mo ago
Yeah, I’ve always felt that the stream API is a leaky abstraction for providing access to networking. I understand the attraction of making network I/O look like local file access given the philosophy of UNIX. The API should have been
106.
▲
by
derriz
10mo ago
Yes but you’re not paying for the area the blade covers - you’re paying for the blade. Simplifying (to an extreme) for the sake of illustration - a 20m blade costs twice as much as a 10m one but produces 4 times the energy. Obviously, cost
107.
▲
by
derriz
10mo ago
It’s not about agreeing or disagreeing with Chomsky on specific points. It’s about the validity and strength of his arguments. I could continue to agree with Chomsky on some point but now dismissing his argument. Or if I was undecided abou
108.
▲
by
derriz
10mo ago
Agree that Pandas is horribly irregular - the only worse query language I’ve had to work with is Mongo’s. After about a decade of regular Pandas use, switching to Polars was such a relief. It’s not perfect since it’s slightly limited by b
109.
▲
by
derriz
10mo ago
With support for Common Table Expressions (CTE), SQL becomes a Turing complete language. To be honest, it makes me somewhat uncomfortable that a query sent to a DB server could be non-terminating and cause a server thread to enter an infin
110.
▲
by
derriz
10mo ago
Sadly wind turbines don’t really scale down like PV panels. The energy produced by PV panels is a linear function of their surface area. For wind turbines, it scales with the square of the blade length.
111.
▲
by
derriz
10mo ago
Why? There are some of Chomsky’s positions I’m sure I agree with and some I disagree with. What’s the relevance to my point?
112.
▲
by
derriz
10mo ago
Moral arguments for me don’t stand alone like a mathematical proof or scientific findings which can be examined as some sort of platonic form. Morality arguments are social and contextual. That 2+2 is 4 won’t change and captures some sort
113.
▲
by
derriz
10mo ago
I am not a fan of Chomsky - the opposite in fact. I was deliberately avoiding judging his actual arguments - to make the point that his own morality undermines his lecturing others on their moral failings.
114.
▲
by
derriz
10mo ago
A lot of Chomsky’s appeal I believe is due to his politics as his universal grammar theories turned out to be an academic dead end. But his politics centers around the moral failings of the West so I think yes, if he was involved in the sex
115.
▲
by
derriz
10mo ago
There is no mention that these drivers were ONLY impaired by weed. But I can’t believe a paper would not look at the confounders. I know quite a few who are not regular smokers but will imbibe after a few beers if it’s being passed around.
116.
▲
by
derriz
10mo ago
“Never use a longer word when a shorter one would suffice” - a “joke” repeated many times by one of my high school English teachers.
117.
▲
by
derriz
10mo ago
> Your comment mentioned "studies" plural. Yes? I mentioned them because the article was about a bunch of studies? I was asking the poster why you would not be interested in the validity of such studies and just decide that &
118.
▲
by
derriz
10mo ago
Yep - exactly what I’ve experienced. Calibrate the compass and at least it’s within a right angle of being correct. But the problem returns.
119.
▲
by
derriz
10mo ago
The most annoying thing about iPhone Maps for me is the inaccuracy of the direction indicator. I've googled and it doesn't seem to be a universal complaint even though I've experienced this on multiple devices over the years
120.
▲
by
derriz
10mo ago
I don't understand why you are challenging me here? Isn't your question exactly that addressed by the (admittedly too long) article? That the graph Paul Graham presented proving the dominance of inheritance wasn't based on
More ›