Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ckok
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ckok
9mo ago
The MySQL protocol is a lot saner and easier to implement than the pgsql one. I can imagine thats a factor? Once connected the sql dialect matters really little
2.
▲
by
ckok
1y ago
Curiously if you ask if they would consider properly supporting notifications from the mobile web version then the answer is always no. Pwa would be perfectly fine but its crippled on Zulip
3.
▲
by
ckok
2y ago
I believe the proper term for what i am describing is a recursive descent parser. With which it is also quite doable to generate proper error handling and even recovery. Some form of this is used in almost every production language I think.
4.
▲
by
ckok
2y ago
I think this makes it sound a lot more difficult than it has to be, with the formal theory. When it's really one of the most simple things if you divide it in parts and look at it from a tokenizer (string to list of tokens) and parser
5.
▲
by
ckok
2y ago
This has been said about pretty much every subject. Writing your own Browsers, compilers, cryptography, etc. But at least for me even if nothing comes of it just knowing how it really works, What steps are involved are part of using things
6.
▲
by
ckok
3y ago
Sso should be the default really. And as a starting point every language has openid connect implemented. Yes it needs work but surely better than the average password reuse? For large and small companies surely the best way to maintain thei
7.
▲
by
ckok
3y ago
Macho executables don't contain debug info. Just references to .o files.
8.
▲
by
ckok
3y ago
The only thing missing with Json support now seems to be something like a gin index on jsonb fields to make querying efficiently on any member of the field itself.
9.
▲
by
ckok
3y ago
Does anyone know if SQLite has a public roadmap? This combined with a gin or gin like index would be a killer combination
10.
▲
by
ckok
3y ago
Does this also cover some kind of facetted search? (Counting the different colored and sized t-shirt) in an efficient way? As that is also a large part that elastic can do but PostgreSQL isn't very good at.
11.
▲
by
ckok
3y ago
I couldn't find it in the docs but does this also support working in a htmx like mode? Where the server renders pages and it does partial updates of parts? Or what some frameworks now call server components? Or is everything more like
12.
▲
by
ckok
4y ago
Does it have any kind of master/slave or replication abilities? Couldn't find anything in the docs.
13.
▲
by
ckok
5y ago
Parser generators generally suffer from at least speed, recovery, error handling and lack of debuggability. They also require you to learn a new language, the parser generators language. Last but not least, what you actually end up wanting
14.
▲
by
ckok
5y ago
But that's the right way to do it really... I remember an obscure thing in c# when var was introduced that if you have a type called 'var' in scope, type inference doesn't work and it uses that type instead. This is the
15.
▲
by
ckok
6y ago
I can't help but get the feeling that plan with Swift is to be the only language you can effectively use for Apple platforms, but also is probably going to be the language that will only be used on Apple platforms because of Apple'
16.
▲
Writing a Native Code Debugger
(blogs.remobjects.com)
3 points
by
ckok
6y ago
|
0 comments
17.
▲
by
ckok
6y ago
The annoying thing is that all these new libraries can only be used from swift. As interop with swift is a pain from any other language.
18.
▲
by
ckok
6y ago
The curious thing is that is isn't a bug in the debugger itself usually. It's the optimizer process that doesn't leave proper instructions of where "x" is at this point.
19.
▲
by
ckok
6y ago
No duplication. There's a single file where every type reference or method reference exists once. Note that it's not a library file. The compiled dll or exe has no relationship to the original way it was stored in .cs file. Instea
20.
▲
by
ckok
6y ago
Sort of. I can't comment on Kotlin, but Swift is a different beast though. Swift's generics are very different from say c#, java or even c++ templates, especially when you mix them with protocol associated types, which are also so
21.
▲
by
ckok
6y ago
In a way I'm happy rust does not have a stable abi. Swift does, but the stability is 'whatever apple swift emit'. Very little documentation, that what's there is out of date, so the only practical language that can inter
22.
▲
by
ckok
6y ago
I tried this. Aot compiling with the .net runtime just isn't very practical. I know mono does this, with some guided info for reflection based classes. But the way the structure is setup, is that string pulls in globalization. And enum
23.
▲
by
ckok
6y ago
Note that C#, Pascal don't "know" about known types during parsing like parsing C/C++ requires, it knows how a type is formatted, what it's looking for is: '<' ValidType (',' ValidType)+ '
24.
▲
by
ckok
6y ago
Apple swaps around stuff for seemingly no reason pretty much every update. Making any compiler or debugger writers life a pain.
25.
▲
by
ckok
6y ago
Also note that Apple AArch64 (ie arm64) has a slightly different calling convention than Linux aarch64, which is going to influence pretty much any compiler/jit/runtime here.
26.
▲
by
ckok
6y ago
Every few years I look at the latest parser combinators, parser generators, compiler compilers. And every time they seem to lack in some huge vital way (not always all of them, but always at least 1): * Error handling always ends up being n
27.
▲
by
ckok
6y ago
Gitlab looks nicer and has a lot more features even in the open source edition. (Though some paid features seem to be arbitrary paid vs free, like scoped tags, a feature everyone could use is paid, while a really Enterprise feature like kub
28.
▲
by
ckok
6y ago
I fully agree. I wrote my elements compilers this way. Slowly from a tokenizer, parser up to .net backend, Java backend. Bit by bit. The only way to learn is by doing. I'd even go as far as saying the literature on the subject is overr
29.
▲
by
ckok
7y ago
I'm trying to write a drop in LLVM codegen replacement, ie something that takes bitcode (Which I already have) and generates x86_64, arm, object files etc. Back story: I've done compilers for most of my professional life but never
30.
▲
by
ckok
7y ago
Right. To make RC work like a tracing GC (performant and without failing on circular references); it's going to be a combination. That said, there are a lot of interesting ideas in this that might be quite worth it. Like the article re
More ›