Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nikeee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
nikeee
4y ago
For a long time now, I feel like it may not be a good idea to choose a MS UI. It seemed they just start a new framework every other year or so. For example, there is WinForms, WPF, UWP, Metro (don't know what it was called back then, b
152.
▲
by
nikeee
4y ago
The reason for that being not that good basically has the same reason as with coercion rules in weakly typed languages like JavaScript. If I'm passing a string to an int column, there is most likely an issue in my application code. If
153.
▲
by
nikeee
4y ago
I know about STRICT tables [0], but they still follow the quirky coercion rules. The reasoning seems to be that other DBMs have a similar behaviour. However, I want _errors_ if I insert '123' into an INT column, so it's easie
154.
▲
by
nikeee
4y ago
I really like SQLite and I use it a lot. There are only two things that are missing to make it near-perfect: - A type for Instants / time handling - being strict with types. No inserts of ints into a string column
155.
▲
by
nikeee
4y ago
I'm using it since it was launched. For my use case, it lacked the ability to use a different container for a page based on the entire URL, not just the domain. For example, I've certain GitHub orgs that I'm using a separate
156.
▲
by
nikeee
4y ago
GitHub recommends using GH Pages for that. Raw links cause a higher server load and aren't even being served with the correct mime type.
157.
▲
by
nikeee
4y ago
You can use these template literal types + infer to build an entire SQL parser. I did a POC that infers SQL query types by parsing the SQL query on a type level: https://github.com/nikeee/sequelts Building this parser
158.
▲
by
nikeee
4y ago
In Germany, there is "giropay" [1], which is a service offered by most banks. The Wikipedia article states that it's similar to iDEAL. Giropay is some kind of federalized solution where you enter your BIC on a landing page an
159.
▲
by
nikeee
4y ago
This seems similar to the way command like arguments work on windows. On Linux, the system call für spawning a process uses a string array for them. On windows, it's a single string. The string needs to be parsed by the application, ma
160.
▲
by
nikeee
4y ago
I've been using unp ( https://manpages.ubuntu.com/manpages/focal/man1/unp.1.html ), which is just a wrapper around standard cli tools for unpacking things (tar, xz, unzip, etc). It seems pretty dated by no
161.
▲
by
nikeee
4y ago
Enjoy it as long as you can. As soon as this kind of hardware is close to becoming commodity, software will get as slow as it is currently on commodity hardware. It's part of Wirth's law: https://en.wikipedia.org/w
162.
▲
by
nikeee
4y ago
I understand the desire to just use the default app. I feel the same for most of the stuff I use. However, being based on standards is more like being based on the lowest common denominator. Moxie describes the issue pretty good in his post
163.
▲
by
nikeee
4y ago
One important thing about containers is that they isolate the process and it can not access files it is not explicitly allowed to. If I'm getting this right, WASI is basically just POSIX for WASM. This means that it does not provide so
164.
▲
by
nikeee
4y ago
GitHub does this with the tokens they issue. They even have a checksum in the token, so they can check if the token is syntactically valid: https://github.blog/2021-04-05-behind-githubs-new-authentica... They have a list of
165.
▲
by
nikeee
4y ago
You can so use pgnotify for a simple pub/sub.
166.
▲
by
nikeee
4y ago
You can sue Tagged/Branded types for that: https://medium.com/@KevinBGreene/surviving-the-typescript-ec... It's a simple hack that takes a type and adds an additional field to it. You can then use a User-Defi
167.
▲
by
nikeee
4y ago
Telegram supports Tags by using Hashtags which are linked an can be clicked on. When clicked, it just invokes the normal search. I mostly use it with the "Notes to myself" feature, where I can write down a quick note. Telegram als
168.
▲
by
nikeee
4y ago
> How does the "imports" feature supposed to work and how does it help modelling more complex workflows? If hurl had something like an import feature, one could re-use HTTP requests. For example, one could create a file that lo
169.
▲
by
nikeee
4y ago
I've recently used Hurl [1] in some projects. It seems to have a similar goal and I like i a lot though it misses "imports" which makes modeling of more complex workflows hard. [1]: https://hurl.dev
170.
▲
by
nikeee
4y ago
Did you post about this previously? I feel like I've read that part with the memory leak before.
171.
▲
by
nikeee
4y ago
One could also build a FUSE file system that represents each post as a file and mount that.
172.
▲
by
nikeee
4y ago
There was a lawsuit that involved stealing intellectual property in Germany. A company accused google of stealing lyrics from their page [0]. They managed to prove in court that google actually took their texts by embedding a Morse code. Th
173.
▲
by
nikeee
4y ago
The author mentions iterator helpers [1], which could make stuff easier. However, there is also a different proposal that touches different similar issue which might fix this too: The bind operator proposal [2]. Like the name implies, it al
174.
▲
by
nikeee
4y ago
These blurry images look like they are composed of a couple of gradients. Wouldn't it be possible to generate a tiny SVG or some CSS that reproduces these gradients? In that case, basically no decoding step is needed and integration is
175.
▲
by
nikeee
4y ago
I'm curious on how to make such a change in such a large and living code base. Did you consider _not_ re-indenting the entire code base and rely on the auto formatters of contributing people? Did you consider re-formatting parts of the
176.
▲
by
nikeee
4y ago
This instantly reminded me of this: https://i.imgur.com/nAoc3cO.jpeg
177.
▲
by
nikeee
4y ago
It's not just cookies, it affects all client-side storage that can be used to track people. This means that this kind of API would also be needed for localStorage etc. This is where it things will get complicated. I don't know if
178.
▲
by
nikeee
4y ago
There is Fischertechnik, a German brand. Don't know how common it is outside Germany. It's pretty close to "real" robotics/construction. https://www.fischertechnik.de/en
179.
▲
by
nikeee
4y ago
As far as I know, this year would have been at Hamburg again where the number of participants is capped to ~12k. So it would have been slightly smaller than in Leipzig.
180.
▲
by
nikeee
4y ago
If I understand this API correctly, Java won't get a distinct float16 type. It seems that they'll have 16 bit floats encoded in shorts (16 bit integers). This seems like it could be a huge footgun. A lot of methods already have an
More ›