Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MrJohz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
961.
▲
by
MrJohz
4y ago
I like the concept of C4, but when I was using it, I struggled a lot with the feeling that we never really ended up creating diagrams that we'd later use. As in, we'd have a diagram in the documentation, and maybe I'd look at
962.
▲
by
MrJohz
4y ago
Sorry, I think we're talking cross purposes somewhat. I don't think that what you've described is in of itself harmful, and I don't think I've made that claim. I do think that the language used in the original twe
963.
▲
by
MrJohz
4y ago
I don't know why you think it's obviously false. The problem is that the child sees chores as arbitrary labour without value to the themselves, not realising that by serving the family they help themselves as well. That's som
964.
▲
by
MrJohz
4y ago
This is an interesting anecdote, but I think the author is talking somewhat cross-purposes with the original tweet. The tweet seems to be talking about the idea that every house needs to have a man in charge, so that when the man of the hou
965.
▲
by
MrJohz
4y ago
A refresh/access token flow definitely can help by reducing the number of long-lived tokens floating around, but it's not really related to the type of token you use. The access token could be a JWT token, but it could also just b
966.
▲
by
MrJohz
4y ago
But that's true of session auth as well. The only necessary check is "does this session token exist and have a creation date within the expiry period", which should be a single, fairly quick database query for all but the mos
967.
▲
by
MrJohz
4y ago
In practice, that's very rarely used, partly because inheritance is so uncommon in Javascript programs. However, for a long time, Javascript lacked anything like the __getattr__/__setattr__ methods, it has no real operator overloa
968.
▲
by
MrJohz
4y ago
As an alternative perspective, I've found mypy to be pretty poor in comparison to other rich type schemes. Particularly in comparison to the Javascript/Typescript ecosystem, it really feels like taking a huge step backwards. Partl
969.
▲
by
MrJohz
4y ago
I've heard this a few times before, but I think it says more about the quality of meat that people are eating here. Particularly the "Lyoner"-style ham - it feels just as artificial and processed if you buy it with or without
970.
▲
by
MrJohz
4y ago
That works if the only ethical decisions relate to the workers, but there are still ethical decisions that relate to external factors like climate change or to customers. For example, a worker-run coal mine will probably be much better at m
971.
▲
by
MrJohz
4y ago
The other part of the jigsaw that a lot of people don't realise at first is that sign languages are distinct languages from spoken languages. Or to put it another way: ASL is to American English as Portuguese is to Korean.
972.
▲
by
MrJohz
4y ago
There's a big leap there though from "non-traditional" to "not necessary". A colleague of mine is working on a project involving ensuring that farmers can track their feed and illness statistics correctly to improve
973.
▲
by
MrJohz
4y ago
It depends on the context. * If the package.json file can be satisfied by the lock file (i.e. if the two files match) then the lock file will be used unchanged, even if there are newer versions available. This is (mostly) identical to the `
974.
▲
by
MrJohz
4y ago
Wasm doesn't need to be interpreted, it's designed to be compatible with streaming compilers to produce machine code as the file is being downloaded, which can then be optimised more completely later on. In a Docker-like situation
975.
▲
by
MrJohz
4y ago
My wife (German) and I (British) were in Prague, and every time we came across a loud, antisocial stag party, it ended up as a competition to see which of our countries was to blame. Beautiful city, depressing tourists...
976.
▲
by
MrJohz
4y ago
The popular Rust tool "ripgrep" uses a lock file for development (you can see it in the GitHub repo), and yet is in the official repositories for homebrew, various Windows package managers, Arch, Gentoo, Fedora, some versions of o
977.
▲
by
MrJohz
4y ago
A lot of modern open source projects include a lock file or some other mechanism that ensures that all contributors use the same versions of certain key tools. Obviously there are still going to be some differences in the environment, but f
978.
▲
by
MrJohz
4y ago
> I'll point out that if you can't hear by ~11 years old, you won't be able to understand language I don't know the specifics of this claim, so I won't talk about the argument that I assume you're trying to
979.
▲
by
MrJohz
4y ago
This stuff is present in a lot of hip-hop. The classic ("your favourite rapper's favourite rapper") is probably MF DOOM. Each line is so full to the brim with rhymes that it almost feels like each syllable matches with either
980.
▲
by
MrJohz
4y ago
I completely agree, I say all that as someone who is happy to pragmatically work with Python, but who is also very tired of the ecosystem and wouldn't choose it for much outside of data science. Which is unpleasant to admit, because it
981.
▲
by
MrJohz
4y ago
Yeah, and it's pretty good, although if you like the idea, I'd recommend just reading the book. It's very different from Neuromancer, it feels like a very different Gibson has written it (more considered, but perhaps less agi
982.
▲
by
MrJohz
4y ago
> Poetry struck me as one of those 80% solutions that might get in the way of a 100% solution. I used it for a number of little projects and felt it was good enough but my analysis was that its dependency resolution strategy was pretty s
983.
▲
by
MrJohz
4y ago
Because I am very often (temporarily at least) a bad developer. I am tired, or sloppy, or unmotivated by a particular project, and I make mistakes. I want my tools to help me. Most people, in my experience, are both good and bad developers
984.
▲
by
MrJohz
4y ago
FWIW, often statistics talking about CO2 are actually talking about CO2 equivalent, which is a way of normalising the harm levels of different pollutants. Typically this is used to compare things like farming and fossil fuels, which produce
985.
▲
by
MrJohz
4y ago
The difference is that the information we're talking about here is already completely public information, repackaged in a different format. It would be more like an account that tweets the nearest homeless shelter to you - open informa
986.
▲
by
MrJohz
4y ago
WeakMap also works really well for that, because it means you don't add any extra properties or symbols to the object itself. Instead you store it in the WeakMap with the object as a key, and it'll still get garbage collected with
987.
▲
by
MrJohz
4y ago
Different problems also have different scales. The road that they've repaved outside my house has had far less scrutiny than the new bridge they've built down the road. And NASA have very different coding guidelines to Shopify.
988.
▲
by
MrJohz
4y ago
In general, I agree. It surprises me that it's possible to follow Musk's whereabouts in this way, and I'd be uncomfortable if someone did this to me. That said, I think there are some mitigating factors here. Firstly, the acc
989.
▲
by
MrJohz
4y ago
Another issue is passing those CSV files across international borders - a CSV file that works in the UK (commas as separators and a decimal point) may not be readable in Germany (semicolons as separators and decimal commas) without some con
990.
▲
by
MrJohz
4y ago
What are you wanting to build from scratch? I've not really had that experience in Rust so much, maybe that's just a case of working in different domains though.
More ›