Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mharig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
mharig
4y ago
Best practice is to NOT store them. At least not on server side.
272.
▲
by
mharig
4y ago
And the ventilation ducts and filters are nice hotbeds for mold and bacteria.
273.
▲
by
mharig
4y ago
'Distributed SQLite'. There are so many projects to make SQLite replicable/ horizontally scaling (dqlite, rqlite, sqlfs, litestream, ...), there must be a great need for a simple to administer SQL DB with more horses than the
274.
▲
by
mharig
4y ago
I am working on a Python progrämmchen (little program) that uses a block based approach to store files in a SQLite DB. I guess I can push an alpha version to github during the next 2 weeks.
275.
▲
Young chimpanzees and human teens share risk-taking behaviors
(phys.org)
2 points
by
mharig
4y ago
|
0 comments
276.
▲
by
mharig
4y ago
Is this really necessary? The antiviolence should be clear reading the most comments to the original post. Denying the violent part of the nature of the monkey horde Homo sapiens is pathetic. And that in all industrialised nations - if not
277.
▲
by
mharig
4y ago
I got beaten once in school by a teacher, and it was well deserved and fixed the problem at hand. But my mother told me once, that when she was in school her teacher was fixated at one girl and did beat her often and mostly for no good reas
278.
▲
by
mharig
4y ago
Foundations and Fundamental Concepts of Mathematics, by Howard Eves
279.
▲
by
mharig
4y ago
Most used: f-Strings Second: pattern matching and dataclasses If I ever could wrap my brain around asyncio, it would be an appreciated third. I never used the walrus operator, IIRC, and I find type hints not so useful. Somewhere in the futu
280.
▲
by
mharig
4y ago
Nearly the same here. The only type error I make a little bit more than I would like, is expecting an iterable and passing a string instead, because I forgot parentheses around arguments. But I made way more type errors when programming in
281.
▲
by
mharig
4y ago
You may also use asciinema.org to record replayable tutorials. For adding notes, you can use a markdown file with the asciicast (the file format of asciinema) embedded. Edit: But I do not know of an integrated, comfortable way to combine as
282.
▲
by
mharig
4y ago
Go to Slovakia. Relative cheap and relative good health care. At least some years ago. Language may be a problem.
283.
▲
by
mharig
4y ago
The cowboys were of course informed, but I think it was Poland together with GB.
284.
▲
by
mharig
4y ago
beej.us/guide is the first hit
285.
▲
by
mharig
4y ago
The small next-generation nuclear reactors are all breeder reactors, IIRC. You do not want them in the hands of religious or political fanatics. And small reactors are more dirty than big reactors. And nuclear power is most of the time more
286.
▲
by
mharig
4y ago
Do you know of the cooperative company Mondragon (Spain, Basques) and the autonomous zone Rojava in Syria? You may get inspiration from them, they figured already out what works and what doesn't.
287.
▲
by
mharig
4y ago
If you want to get the most out of your addiction, condense the information and your thoughts in a Zettelkasten system.
288.
▲
by
mharig
4y ago
You seem to not understand duck typing. Functional tests will test the correct types, too. Edit: If you need an object that swims and quacks, you don't need to care if it is a rubber duck or an animal.
289.
▲
by
mharig
4y ago
Real-time is a vague term. Webassembly is a compile target for SQLite, AFAIR, so you might use that in the client to get the fastest possible response without using too much other libraries/services. But without more information, it is
290.
▲
by
mharig
4y ago
Since I'm programming in Python, I experienced invalid code only in very few cases, more or less just where the function expected an iterable and I gave a string instead of a list of strings (typing errors are well prevented by the col
291.
▲
by
mharig
4y ago
You're right, but all the industrialized countries are similar. Too many laws, nanny states. Children have to explore their environment and learn from their experiences to grow up. If you leash them, you steel of them their childhood a
292.
▲
by
mharig
4y ago
Oh, I missed the Protocol class of the typing module. Have to further investigate the usage of this. Thanks to you and baq!
293.
▲
by
mharig
4y ago
The Hitchhiker's Guide To The Galaxy, by Douglas Adams All you need to know about the universe. And mankind.
294.
▲
by
mharig
4y ago
> firefighter paramedic Are you neutral good or chaotic good? And can you achieve a third class when you level up? Sorry, couldn't resist.
295.
▲
by
mharig
4y ago
The art is to know when to do what. I didn't write 'best to avoid all doctors under any circumstances'. I am just pissed by the people nowadays running to doctors with the slightest symptoms or tiniest wounds. If you have see
296.
▲
by
mharig
4y ago
And so you end up writing climb_the_wooden_ladder(l: WoodenLadder) plus climb_the_aluminium_ladder(l: AluminiumLadder) or press all into an OO hierarchy instead of climb(thing): '''Climb a thing with steps''' #
297.
▲
by
mharig
4y ago
Never experienced that. Maybe you should make your code more modular.
298.
▲
by
mharig
4y ago
Which suits duck typing better than type hints.
299.
▲
by
mharig
4y ago
I find they clutter the code more than they help. Good names and docstrings and comments are more valuable. And static types are for people who are too lazy to write test code.
300.
▲
by
mharig
4y ago
I do not see the benefit of type hints. Good docstrings (and naming of the function and arguments) are superior, at least for the human. Type hints are too much clutter.
More ›