Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Felk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
Felk
6y ago
Are you talking about their backend tech specifically? Because the MS Teams frontend is lacking far behind Discord in terms of polish. It has 5% of the features and already performs like a bloated mess. It's hard to tell how robust the
32.
▲
by
Felk
6y ago
Yep, it's a direct quote I remembered from the Changelog Podcast #201 "Why SQLite succeeded as a database" starting at timestamp 15:58 https://changelog.com/podcast/201
33.
▲
by
Felk
6y ago
> SQLite is called ‘lite’ for a reason. If you need functions, add them yourself. Most people I know, myself included, pronounce it that way. But Richard Hipp, the creator of SQLite, actually pronounces it SQL-ite, like a mineral.
34.
▲
by
Felk
6y ago
Technically deleting a directory is done with the rmdir command. But rm with flags is flexible enough that I've seen very few people use rmdir
35.
▲
by
Felk
6y ago
I got a function that assigned the same expression to three variables. Then it declared a void function with documentation stating "returns true on success, false otherwise". Apparently that code was written by a human, which make
36.
▲
by
Felk
6y ago
Source code is on GitHub: https://github.com/netflix/dgs-framework
37.
▲
by
Felk
6y ago
I've used online diff checkers in the past for their convenience, but in the end I went out of my way to find a convenient way to quickly diff two texts locally. It's not that I believe that online diff checkers upload the content
38.
▲
by
Felk
6y ago
The same could be achieved by having the server return different views of the data for different HTTP Accept headers, although not as convenient as appending a file extension. I once did this to interpolate REST API responses into dedicated
39.
▲
by
Felk
6y ago
I think having a backup solution is the better choice here. You can use your SSDs until they die or become too slow, and you won't lose your data if it breaks before you replace it after a year
40.
▲
by
Felk
6y ago
Is that demo of yours available somewhere? It sounds interesting and I'd love to read up on it
41.
▲
by
Felk
6y ago
> either up-arrowing until I found the last time I ran tests just as a substitute for up-arrowing, have you tried ctrl-r/reverse-i-search? (if that's a thing in fishshell) edit: I see wodenokoto already mentioned this workflow
42.
▲
by
Felk
6y ago
For me one of the biggest advantages of using GraphQL is that clients consuming data can directly express what they want. The backend implementation can then do all sorts of magic to turn intent into execution. Regarding the n+1 problem: of
43.
▲
by
Felk
6y ago
It sounds like you interpreted malux85 suggestion as cutting the bot off from putting things in the cart altogether. What I understood is that, given it's recognizable by user agent, those carts can be marked as created by a bot to exc
44.
▲
by
Felk
6y ago
The modal that pops up is not in the dom until you click the "See details" link, which has target="javascript:;". The "Add to cart" button is an actual link. I wouldn't be surprised if Google just doesn&#x
45.
▲
by
Felk
6y ago
JSON generally requiring the entire document to be present before parsing can indeed be a problem. However, for one common use case there is a pseudo-standard, namely "JSON lines". "JSON lines" extends JSON by a) not all
46.
▲
by
Felk
6y ago
Regarding metadata: Considering windows already lets you strip metadata from images directly from the properties menu, is there anything this tool or other metadata stripping tools do that goes beyond what windows offers? Is it risky to rel
47.
▲
by
Felk
6y ago
Isn't that a good thing? If a thing does X, I'd very much like to know what other things do X as well to try and understand how they differ.
48.
▲
by
Felk
7y ago
I found myself using msgpack as a drop-in alternative for acceptable mimetypes for HTTP responses in a flask app. Browsers would get the response data with the pretty-printed json embedded (or even a custom template with the data fitted in,
49.
▲
by
Felk
7y ago
If you want to see Herb Sutter's take on exceptions (and RTTI), I can really recommend this talk where he explores his Result-esque (like in Rust) solution that he wrote a paper about and proposes for standardisation: https:/
50.
▲
by
Felk
7y ago
httpx makes a pretty good first impression on me. The homepage provides examples, key selling points, install instructions, and links to any further reading one could hope for. However, I am missing one thing: The features this offers over
51.
▲
by
Felk
7y ago
I had to use ffmpeg from within python once and gave ffmpeg-python a shot. It works very nicely for a lot of things, but had some limitations that made me write a very lightweight, somewhat OO wrapper around ffmpeg filters. Using it to e.g.
52.
▲
by
Felk
7y ago
Is that a freudian typo?
53.
▲
by
Felk
7y ago
If you're into reading C code, you could probably check how git's `git log --graph` is implemented: https://github.com/git/git/blob/master/graph.c
54.
▲
by
Felk
7y ago
A tool that lets me do code reviews, but like really good and integrated. I use gitlab on a daily basis, but it's painstakingly slow and basically just lets me stare at text. Some of the below features may be available, but not satisfa
55.
▲
by
Felk
7y ago
but why would it work with a revealed password then? and why would typing one of those characters, hiding the password and then typing anything else clear the entire password? I'd really like to know what the heck is happening here
56.
▲
by
Felk
7y ago
I suppose they count the whole transaction as malicious if one party acts fraudulently
57.
▲
by
Felk
7y ago
Which works if you either expect a dictionary with a predefined set of fields (which isn't really a dictionary then), or parse your xml in a way that handles arbitrary tags. For a generic dictionary the shown approach is still the way
58.
▲
by
Felk
7y ago
Oh wow, I click on stuff and it just loads another boring html page in a few milliseconds. One request, 4-10KB HTML, and it's absolutely beautiful. It really speaks volumes when a website deliberately sticking to over 20 years old tech
59.
▲
by
Felk
7y ago
There are cases where I very much prefer a declarative style. Multiplying matrices for example. Depending on the context, I will know what it does conceptually, but don't want to see the implementation, as it probably won't matter
60.
▲
by
Felk
7y ago
I don't know the reasons behind that policy, but I'd guess with the exploit already being used, there is less incentive to keep silent about the issue. The opposite is true: putting more pressure on the vendors to provide patches,
More ›