Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rogerbinns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
61.
▲
by
rogerbinns
3y ago
It doesn't really help Airbus. Their production lines are sold out for ~7 years. They expect to increase production over time, but there is a long complex supply chain, so it is a slow steady uptick, not a rapid change. (Rapid chang
62.
▲
by
rogerbinns
3y ago
Even more fun is zero length names. In SQLite they didn't require table and column names to be at least one character, so you can do this: CREATE TABLE []([] []); Which will create a table with zero length name containing one
63.
▲
by
rogerbinns
3y ago
Python is a convenient friendly syntax for calling code implemented in C. While you can easily re-implement the syntax, you then have to decide how much of that C to re-implement. A few of the builtin types are easy (eg strings and lists)
64.
▲
by
rogerbinns
3y ago
> Would the CVR have helped in this specific situation? In the next one, yes. Note the goal is not to do blaming and shaming, but to reduce anything similar happening, and to increase effectiveness of response. For example did multiple
65.
▲
by
rogerbinns
3y ago
Lowering the value of commercial real estate would also be helpful. I know of two stores that had to shut because the landlord raised the rent significantly. The landlord did that because the value of the real estate is proportional to th
66.
▲
by
rogerbinns
3y ago
> Unfortunately, it doesn't seem like the creators of sqlite are that interested in solving this problem since theoretically you can just use extensions to do whatever you need. Small. Fast. Reliable. Choose any three. :) > sqli
67.
▲
by
rogerbinns
3y ago
Stemmers tend to cover English and a few Europeanish languages only. For example you can see what snowball covers here [1] while NLTK has some more [2]. [1] https://snowballstem.org/ [2] https://www.nltk.org
68.
▲
by
rogerbinns
3y ago
The problem with doing CJK and other languages properly is that you need a lot of data lookup tables. As an example Python has a unicodedata module with several tables available, but not enough to implement word splitting. It is compiled
69.
▲
by
rogerbinns
3y ago
It isn't made clear in the repo but what this is doing [1] is a small amount of code to glue SQLite's tokenizer API to the Rust unicode-segmentation crate [2] which in turn is using the TR-29 algorithm with generated tables [3]. [
70.
▲
by
rogerbinns
3y ago
The issue that needs to be addressed is economic. Devices are paid for once, but security is ongoing work. The Android world has shown that no-one has figured out how to deal with the mismatch. I'd expect that devices on subscription
71.
▲
by
rogerbinns
3y ago
I'll see your profligate 16MB of RAM for an HP system we had running HP/UX with a full gui desktop, and also running as a DNS and NNTP server. It had 4MB of RAM. Admittedly they did cheat on the gui side a bit by linking all pro
72.
▲
by
rogerbinns
3y ago
I'm the author of a Python C extension, and having the GIL gone will be a lot of work. Code currently looks like this: * C function called with GIL held * Extract data needed to do work * Release GIL * Do work * Reacquire GIL * Modify
73.
▲
by
rogerbinns
3y ago
(Disclosure: Author of a Python C extension that wraps SQLite that has 2 decades of development behind it.) Have a look at the current documentation for writing extensions. This approach is essentially unchanged since Python 2.0. https:
74.
▲
by
rogerbinns
3y ago
If you use USB dongles for serial adapters, then each path through USB is assigned a different COM number when you plug it in. For example if you plug into USB controller 2, port 3 which goes to a hub, and then you plug into port 2 that ge
75.
▲
by
rogerbinns
4y ago
I agree that namespacing doesn't solve all the problems, but I do think it significantly reduces the attack surface. It is sort of like a checksum for a package, combining the publisher name with the package name instead of having jus
76.
▲
by
rogerbinns
4y ago
Namespaces seem to be in the minority. For example searching for sqlite shows 124 pages where the vast majority of packages have no namespace. https://www.npmjs.com/search?q=sqlite
77.
▲
by
rogerbinns
4y ago
I find it a bit strange that NPM and PyPI decided to have a single global namespace for packages. When there aren't very many packages it is more convenient, but you very quickly run into issues of ownership of the names. This happene
78.
▲
by
rogerbinns
4y ago
> The Bluetooth API is provided by BTstack From https://github.com/bluekitchen/btstack | BTstack is free for non-commercial use. However, for commercial use, tell us a bit about your project to get a quote.
79.
▲
by
rogerbinns
4y ago
Plain recipes have no copyright protection[1]. The other surrounding text does have copyright protection, so any recipe publisher needs to have additional text and to be able to detect if someone else has copied it. [1] https://
80.
▲
by
rogerbinns
4y ago
You mention inheriting little endian from the Datapoint. If that constraint was not there, would a big endian 8086 be materially different in any way? For example could parts be simpler or fewer gates used?
81.
▲
by
rogerbinns
5y ago
I'm a fan of the exit review. Something that is no longer being used (for any reason) and there is now perspective. I first saw bunnie do it at https://www.bunniestudios.com/blog/?p=242 quoting the first two par
82.
▲
by
rogerbinns
5y ago
iCloud+ custom domains has one nasty gotcha at the moment - you can't have a catchall address, which you could with Google.
83.
▲
by
rogerbinns
5y ago
Apple's approach is even simpler from a technical point of view. The oldest supported iPhone is the second generation of 64 bit processor. There were almost certainly problems with the first generation (of anything). The oldest supp
84.
▲
by
rogerbinns
5y ago
Have a look at Microsoft Research's Seeing AI. It is still under development but can describe scenes and objects within, plus a bunch of other stuff such as documents, people, light, colour, currency, products etc. The app is only on
85.
▲
by
rogerbinns
5y ago
NTFS can't have colons in filenames because they are used to name alternate data streams. https://docs.microsoft.com/en-us/sysinternals/downloads/stre...
86.
▲
by
rogerbinns
5y ago
My many year peeve is github adding "Source code (zip)" to the files in a release. It is the repository state at the tag, and needs some processing (think similar to generating configure etc), hence being a hindrance for someone
87.
▲
by
rogerbinns
5y ago
Imagine it is 2003 and you are doing a startup. You aren't deploying anything yet. You need a source code control server, a bug tracker, build servers, testing systems (so many versions of Windows), developer workstations, a file ser
88.
▲
by
rogerbinns
5y ago
You did still want on premise at the beginning, while going through the earlier phases of startup development. For example you need source code control, build servers, bug tracking, test setups, file servers, as well as developer workstati
89.
▲
by
rogerbinns
5y ago
I've seen several commentators blame AWS! Before AWS, startups needed to budget for web servers and similar hardware, and a place to put them. That meant bigger offices with more floor space, plus power and similar services. Once AW
90.
▲
by
rogerbinns
5y ago
Blink is a terminal emulator and shell with a command line style interface (vs pointy clicky gui). It has numerous commands built-in that the shell can execute. If you are familiar with busybox then it is very much like that. The most use
More ›