Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slimsag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
601.
▲
by
slimsag
6y ago
Performance. I'm looking to try implementing a regexp-like engine via a runtime parser generator built using parser combinators and _hoping_ to get performance near what optimized regex engines get. Seems like an interesting way to get
602.
▲
by
slimsag
6y ago
Super interesting, thanks for sharing! I'd be curious to learn more about how you workaround the lack of extra info in error types in practice? Are you just returning e.g. a struct with additional info?
603.
▲
by
slimsag
6y ago
(author here) Mecha looks really nice! One difference that makes Mecha's look really nice/simple is they are being built at compile time, whereas the ones I outline in this blog post are being built at runtime (with the intention
604.
▲
by
slimsag
6y ago
Author here, looks like I messed up one of the links by accident. Should be fixed now :)
605.
▲
by
slimsag
6y ago
Ahh, very interesting, thanks for sharing! Do you have any thoughts around why that is? I presume that's due to Oniguruma supporting a much broader feature set and something like fancy-regexp's approach with mixing a backtracking
606.
▲
by
slimsag
6y ago
My sister worked at a recruitment company for a while and basically described the same. They set targets for everyone that were basically not achievable ever, and managers were expected to basically personally berate you for not meeting the
607.
▲
by
slimsag
6y ago
I didn't look closely, but Oniguruma is pretty dang fast and has drop-in POSIX syntax + ABI compatability as a compile-time option. Could maybe use that.
608.
▲
by
slimsag
6y ago
In Zig, you can provide a different allocator for a single data structure (or even distinct instances of the same data structure). There is no "global" allocator (what Rust lets you swap out.) This is vastly more powerful, I have
609.
▲
by
slimsag
6y ago
With fingerprinting it's not impossible. Quoting a recent Webkit thread[1] in which Google blocked all sign in from non-Safari WebKit browsers: > But if Google does this properly and uses more sophisticated browser fingerprinting t
610.
▲
by
slimsag
6y ago
A few folks are working on gameboy emulators: https://github.com/nrdmn/awesome-zig#emulators
611.
▲
Show HN: Zig Xor Filters (“Faster and Smaller Than Bloom Filters”)
(github.com)
4 points
by
slimsag
6y ago
|
0 comments
612.
▲
by
slimsag
6y ago
Directly from the HP product page: "NVIDIA VR Ready Quadro or GeForce Turing based GPU required for foveated rendering. For developers, Unity foveated rendering plug-in and run-time are also required and available from the Unity Store
613.
▲
by
slimsag
6y ago
I don't think most support foveated rendering, currently. But there are consumed ones available / becoming available: * HP Reverb G2 Omnicept Edition * HTC Vive Pro Eye
614.
▲
by
slimsag
6y ago
Counterpoint: The same argument is true of phones, and that has largely not stopped people from being regularly severely distracted by them even in social settings.
615.
▲
SSPL Was Not Commons Clause (2019)
(writing.kemitchell.com)
1 points
by
slimsag
6y ago
|
0 comments
616.
▲
by
slimsag
6y ago
Really surprised to hear you say this, actually - in my mind Rust is the can of worms that allows almost anything and everything in terms of language features and will likely end up as bloated (if not more) than C++ in the next 20 years. Wh
617.
▲
by
slimsag
6y ago
That's all fair and I agree! But I think it's unfortunate that companies end up with licenses like SSPL which are lengthy, not legible to non-lawyers (see this thread) and more importantly ambiguous in favor of the SSPL-software-p
618.
▲
by
slimsag
6y ago
1. I represent the structured documents in the index as just a text file with a special format (think JSON, but designed specifically to be queried with only regex.) This lets me execute those complex regex queries directly against a trigra
619.
▲
by
slimsag
6y ago
Self-hosted and scalable search engine that indexes every character (not just words) and offers a complex query language (regex, document metadata filtering, etc.) Core idea is that you can chuck unstructured documents (JSON, Protobuf messa
620.
▲
by
slimsag
6y ago
It can be, they just chose not to (with ulterior motives or not, I cannot say.) For my side project, I am using a dual-licensed MIT/Apache (your choice) but with an exclusion which prohibits companies like AWS from offering it alone as
621.
▲
by
slimsag
6y ago
I think there is a breakdown between how lawyers (and, perhaps courts - but none of this is really tried in court so that remains to be seen) interpret what software engineers mean when they say things because there is a lot of nuance to ca
622.
▲
by
slimsag
6y ago
Why does this blog have a loading bar that gets stuck around 99% for me? Every request has loaded and is cached by my browser, yet it hangs at 99% artificially for like 30s.
623.
▲
by
slimsag
6y ago
I hate acronyms. Seems to be https://en.wikipedia.org/wiki/International_Telecommunicatio...
624.
▲
by
slimsag
6y ago
A fair amount of enterprise NICs in data centers do exactly this, e.g. Intel FPGA smart NICs I don't know enough to know how this being on the CPU would affect performance in this scenario, but I'd love to learn more!
625.
▲
by
slimsag
6y ago
Serious question: does the same aspect scare you with most tech startups, which have valuations well beyond the actual value they produce (often losses) at the time of their IPOs? Tesla is being valued based on its potential future, not pre
626.
▲
by
slimsag
6y ago
> Awesome, I look forward to that - you'll post a "show HN" for it, I hope? :) Does syntect's lack of support for the newest sublime-syntax features cause you any problems? Show HN -> Yep :) Lack of support for new
627.
▲
by
slimsag
6y ago
> I like the idea of searching parsed files, for example using scope selectors against code tokenized with a sublime-syntax grammar. I've been working on a trigram-based search engine with support for exactly this (via github.com&#x
628.
▲
by
slimsag
6y ago
It can also emit swagger/OpenAPI v2, so you can then consume that API easily!
629.
▲
by
slimsag
6y ago
While that is true, I'm not sure anybody could be successful at a phishing attack carried out through the git CLI.
630.
▲
by
slimsag
6y ago
See this[0] for an example of just how bad GitHub's UI is at presenting impersonated commits. [0] https://news.ycombinator.com/item?id=24977398
More ›