Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ddejohn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
151.
▲
by
ddejohn
3y ago
Is there something specific about airport security you think could change to make you feel less like you're being treated like a criminal?
152.
▲
by
ddejohn
3y ago
Not sure about the 5, but I have a heatsink and fan on my 4 and while it was designed to fit inside the official pi case (there is no evidence of active cooling from the outside), it is very noticeable in terms of sound.
153.
▲
by
ddejohn
3y ago
>> carbon tax > big fat scam Care to elaborate?
154.
▲
by
ddejohn
3y ago
> You are not treated like a criminal before you can board a train. Is this a reference to airport security? Edit: not sure why I was downvoted -- I genuinely don't understand this statement.
155.
▲
by
ddejohn
3y ago
Python is strongly typed
156.
▲
by
ddejohn
3y ago
>> There are advantages to not using types, such as a faster development speed > In my experience, not even that. Static typing speeds up my day to day programming. Completely agreed. It also completely blows past the whole maintai
157.
▲
by
ddejohn
3y ago
Absolutely fascinating. I found a link in one of the linked discussions which is quite a bit more in depth than the ieee article, for those interested: https://www.cryptomuseum.com/covert/bugs/selectric/
158.
▲
by
ddejohn
3y ago
> And there is a large amount of advocacy for the USPS to take over consumer banking. No thanks. Where are you hearing this? Only thing I've heard in the last few years is that the USPS used to handle simple banking for people, and
159.
▲
by
ddejohn
3y ago
Not sure why you're getting downvoted. It was also a single click for me, in a browser.
160.
▲
by
ddejohn
3y ago
Even better when the docstring doesn't even match the signature.
161.
▲
by
ddejohn
3y ago
> none of the benefits Autocomplete and type-checking are massive boons to writing "type-correct" code, fast. It doesn't guarantee that your code won't explode at runtime or is logically correct (that's what te
162.
▲
by
ddejohn
3y ago
I would have loved to have kids. I'm 33 and will never have children. I consider it morally irresponsible to bring children into a world where they will have to deal with the worst of the changing climate. That's it, that's t
163.
▲
by
ddejohn
3y ago
That is an entirely different use-case than a function signature allowing arbitrary keyword arguments. Arbitrary keyword args are different than arbitrary positional args like you have in your example. GP is suggesting that one should only
164.
▲
by
ddejohn
3y ago
For anybody else curious (maybe this was just new to me), the abbreviation CL (used all over the place in the linked docs but never actually defined anywhere I could find) stands for change log, or change list, near as I can tell. Am I the
165.
▲
by
ddejohn
3y ago
> We live on a planet with 6 Billion people Hate to be the bearer of bad news buddy, but we're at 8 billion...
166.
▲
by
ddejohn
3y ago
On the landing page, there's a little blurb about a blogging platform (called "re:" I guess?) built on markwhen. But there's no link to any such platform and, well... trying to google "re blogging platform" is
167.
▲
by
ddejohn
3y ago
You shouldn't. Author seems pretty tongue-in-cheek about it: > lambda has the benefit of making the code compact and foreboding. Plus, it prevents people from trying to add meaningful names, documentation or type-hints to the thing
168.
▲
by
ddejohn
3y ago
I googled it but didn't really see anything obvious -- what is "workaday code"?
169.
▲
by
ddejohn
3y ago
Python is a shit show, absolutely. However, all you have to do to get around things like arbitrary line lengths making code objectively worse is to either, 1) increase the line length something more reasonable/modern, like 100 or even
170.
▲
by
ddejohn
3y ago
Thanks for the links -- I understand the concept; I was asking more about specific examples related to "clean code". When I think of "clean code", I think "programming to interfaces" and "keeping domain&#x
171.
▲
by
ddejohn
3y ago
I suppose it depends on what kind of tooling you specifically are talking about, but I strongly disagree in the case of Python. When you have such an "anything goes" language, it really helps to have a tool that enforces consisten
172.
▲
by
ddejohn
3y ago
Can you elaborate?
173.
▲
by
ddejohn
3y ago
> they'd be the ones liable for not taking a clear imminent threat to life seriously Cops aren't liable for shit. We have real evidence of cops doing fuck all to "save the lives of children" or take "a clear immi
174.
▲
by
ddejohn
3y ago
You might be onto something: https://economictimes.indiatimes.com/thumb/msid-99511498,wid... PS -- is there a better or more appropriate way to share images here? I know they're not really conducive to discussion,
175.
▲
by
ddejohn
3y ago
I find that approaching tasks from the type-first perspective can really help illuminate the problem. I can't imagine trying to code without having both types at the forefront of my mind and all of the IDE's helpful type-related f
176.
▲
by
ddejohn
3y ago
My current role is at a company with a few hundred thousand lines of un-typed, undocumented, mostly un-tested Python. I get a small allowance of "tech debt busting" time, and it's absurd how many bugs I find just by trying
177.
▲
by
ddejohn
3y ago
I specifically really enjoy using HackMD because you get a naked markdown editor on the left, and the rendered version on the right. I haven't used it for a while, so I'm not sure if these features have been added, but at the time
178.
▲
by
ddejohn
4y ago
I'm amazed you put this much effort into poking holes in an onion article. You entirely missed my point. This thread isn't about plastic recycling. It's about the GP saying "I'm doing my part" and you condescen
179.
▲
by
ddejohn
4y ago
https://www.theonion.com/how-bad-for-the-environment-can-thr...
180.
▲
by
ddejohn
4y ago
Interesting. Another commenter made the point that retail stores already have massive surveillance systems in place, and that it was a good thing that they're being used non-punitively for once. Me, I'm not so sure. I don't t
More ›