Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
da39a3ee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
301.
▲
by
da39a3ee
3y ago
Thanks. I wonder what it would be like if Python had syntax for modules instead of them being tied to separate files. I would prefer being able to create this container in the same file as other code.
302.
▲
by
da39a3ee
3y ago
Here's a long-running question I have; please tell me if I'm confused / missing something obvious. Say I want to model in Python some collection of key-value pairs. It's a singleton -- I don't need a class or namedt
303.
▲
by
da39a3ee
3y ago
Suttree
304.
▲
by
da39a3ee
3y ago
I think that's a good comment on Nushell. I agree that it's doing lots of things right and is at the very least an excellent proof-of-principle regarding how our shells _should_ behave, but at a very high cost of lost interopabili
305.
▲
by
da39a3ee
3y ago
This is neat! img = ["r", "g", "b"] * 10_000_000 iterator= iter(img) groups= zip(iterator, iterator, iterator) I've been writing Python for 15 years and it had never occurred to me that I could
306.
▲
by
da39a3ee
3y ago
Really? I'm not too knowledgable about 8-yr olds and I'm certainly not telling you what to do with yours, but if you were to get them to explain what they learned about the binary counting system you feel that it would make sense
307.
▲
by
da39a3ee
3y ago
This is madness. I'm trying the demo and it is completely incomprehensible to me. This would have been incredibly frustrating to me as a child -- I would want them to stop speaking in metaphors and tell me what the fuck they were tryin
308.
▲
by
da39a3ee
3y ago
Dude... an argument can certainly be made that English evolves by consensus; you're right about that. At the same time, that doesn't mean anything goes! It perhaps would be going too far to say that something is "correct"
309.
▲
by
da39a3ee
3y ago
Yes I think I have a similar sentiment. Articles like these would do better to take the approach of "Oh shit, something huge is happening and we might not be intelligent enough to see the ramifications, but here's a humble attempt
310.
▲
by
da39a3ee
3y ago
Consensus where? In your chair? It's obviously weird if by that you mean non-standard.
311.
▲
by
da39a3ee
3y ago
Excellent article. The point he makes about the benefits that would come from everyone keeping their new cars for more years seems very strong.
312.
▲
by
da39a3ee
3y ago
They are implying that illegal immigration is relevant to the grotesque problem with hundreds of drug-addicted, mentally ill Americans living in squalor in SF in a way that makes America look like a third-world country. That sort of shamele
313.
▲
by
da39a3ee
3y ago
OK, I don't go to the Mission much. What I was trying to say was that putting that anecdote out there risks being a bit misleading, since obviously the vast majority of homeless people on Market St / Tenderloin, and in the East Ba
314.
▲
by
da39a3ee
3y ago
Even supposing that is true, which seems very unlikely, it is clearly untrue of the SF homeless population in general and of the East Bay homeless population.
315.
▲
by
da39a3ee
3y ago
> San Francisco’s climate and permissive camping policies help absolve a lot of the housing related issues that are involved with being homeless. Of course they don't. Living out of a tent on a street makes it extremely hard to get
316.
▲
by
da39a3ee
3y ago
You buy a ticket to a reclining seat. You have no obligation to act morally; it is legal to recline. End of story.
317.
▲
by
da39a3ee
3y ago
Nice! Definitely agree with the sentiment! Might be worth investigating git log -p | gpt4 if management starts requiring something more organic-looking.
318.
▲
by
da39a3ee
3y ago
> it was (and still is) a pain to version control notebooks in a way that’s conducive to collaboration. For practical purposes, you cannot perform code reviews of notebooks on GitHub without purchasing a tool called ReviewNB. I have alwa
319.
▲
by
da39a3ee
3y ago
Thanks! I wonder if it would work better on proofs expressed in a formal proof-assistant language. Like, if we took something with GPT's training but also specifically exposed it to large amounts of Lean/Agda/Coq/whateve
320.
▲
by
da39a3ee
3y ago
Can you summarize what you are saying?
321.
▲
by
da39a3ee
3y ago
Right, so perhaps the answer to that is not to make your software "Enterprise". There are a lot of idiots in management; do not give them what they ask for if you want your product to retain any vestiges of quality.
322.
▲
by
da39a3ee
3y ago
I think one of the biggest problems with Jira is that it's taken the approach of so many other "Enterprise" products made by talentless teams: they just add all functionality into the app that anyone ever asks for. The result
323.
▲
by
da39a3ee
3y ago
You haven’t shown how it’s “very annoying” in R, Fortran, and Julia.
324.
▲
by
da39a3ee
3y ago
The article notably avoided the topic of WHY the technical talk was objected to. Are we to surmise that some people in the Rust leadership felt that the speaker was invited because of their race/skin color, and objected on this basis?
325.
▲
by
da39a3ee
4y ago
I hope this is satire. If it is not, then the author is a disgusting narcissist with no understanding of people or of human dignity. It's very depressing that HN readers are genuinely responding with approval and encouragement.
326.
▲
by
da39a3ee
4y ago
IMO Python typing really became good with the advent of Microsoft's type checker in VSCode, and probably PyCharm too, although I've never used it. Typing with mypy during development never quite cut it because it's optional (
327.
▲
by
da39a3ee
4y ago
Your writing (in a second language I assume) shows that you are mature, intelligent, emotionally sophisticated and sympathetic. This is going to be highly appreciated by employers when you go back to work! Can you pick an area that's s
328.
▲
by
da39a3ee
4y ago
> This is San Francisco we're talking about, psychedelics already weren't a priority for the police in any practical sense. Whenever someone says something like that, you know they don't have much experience trying to get
329.
▲
by
da39a3ee
4y ago
> Here at fast.ai we use Jupyter for everything. All our tests, documentation, and module source code for all of our many libraries is entirely developed in notebooks That sounds like a nightmare. Why would you want to develop a library
330.
▲
by
da39a3ee
4y ago
> with a little bit of order it's perfect for in-person working It's not perfect for in-person working because a single person should always keep their work under version control, and they should be able to view meaningful diff
More ›