Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gavinray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
811.
▲
by
gavinray
4y ago
At a high level, there are some things that coordinate when transactions happen in terms of WAL logging: 1. The Buffer Pool (memory for pages in the database) 2. The Log Manager 3. The Transaction Manager 4. The Storage Manager (read/w
812.
▲
by
gavinray
4y ago
Ah I hadn't considered it would be too large to be held like that, thanks for the heads up
813.
▲
by
gavinray
4y ago
I didn't know something like this existed, thanks for a thorough review I want something like this for reading PDFs (in tablet mode) and possibly coding from my phone, that I can carry around in my backpack when I'd rather not bri
814.
▲
by
gavinray
4y ago
Ohhh, fair enough, yeah I see what you're saying. Yeah you're boned in that case I think and that's a real problem that can pop up if you want full @nogc EDIT: Maybe not based on Max's comment D-Plug (Audio FX plugins) i
815.
▲
by
gavinray
4y ago
I mean to say it's sort of a solid general purpose language/jack of all trades, with no particular speciality or thing it's deficient at
816.
▲
by
gavinray
4y ago
I like choosenim because it can build and install nim nightlies and master which for most distros aren't available in repos
817.
▲
by
gavinray
4y ago
Aye, you can turn off GC entirely, for the whole program There's even a mode of D that operates this way by default, "-betterC" meant to be a C replacement The GC really is an entirety opt-in component. I'd encourage you
818.
▲
by
gavinray
4y ago
I'm not sure I follow Is this about D code that interops with C/C++? You have "extern (C++)" and @nogc for that
819.
▲
by
gavinray
4y ago
Thanks for linking this, one of the most informative things I've read in a while
820.
▲
by
gavinray
4y ago
It was a small personal project, I posted about it here some months ago fwiw: https://news.ycombinator.com/item?id=34211482 D has no (FAANG) corporate sponsor and it does all things well/has no particular speciality, t
821.
▲
by
gavinray
4y ago
I thought most people use choosenim to install nim
822.
▲
by
gavinray
4y ago
D is the systems language I enjoy writing the most out of C++, Rust, and Go. It feels a lot like a mix between C# and JS, but at the low level access of C++. It has a lot of unique features but the "killer feature" by far for me i
823.
▲
by
gavinray
4y ago
I don't know anything about this domain but I wholeheartedly believe consciousness to be an emergent phenomena that arises in what we may as well call "spontaneously" out of other non-conscious phenomena. If you apply this ru
824.
▲
by
gavinray
4y ago
Some of it is nogc compatible, some of it isn't All functions in the stdlib that are nogc are marked "nogc" in their definition
825.
▲
by
gavinray
4y ago
The garbage collection is an optional feature you can disable though There's a lot of "@nogc" D code out there. Audio FX plugins that do realtime DSP and game/graphics stuff come to mind. I'd rather have the languag
826.
▲
by
gavinray
4y ago
Thank you for the work on KoWasm It's been exciting to watch the development of the new K2 compiler and Frontend-IR format Kotlin is no longer just a JVM language, but more like a frontend with targets that now span everything from JVM
827.
▲
by
gavinray
4y ago
Could I suggest adding a "Motivation" section to the README? It made sense after reading the comment about not needing a C toolchain for cross-compiling CGO but I didn't realize it immediately. Neat stuff
828.
▲
by
gavinray
4y ago
Not the poster but the hunger lessens after the first few weeks as you adapt to it, or at least that's my experience I start to dread eating a bit now because I get tired/sleepy after I do. I want to eat because I'm hungry bu
829.
▲
by
gavinray
4y ago
Huh thanks for the explanation, I've always wondered how that worked.
830.
▲
by
gavinray
4y ago
It gets hairier than this. For example, in Postgres, the place where all the metadata is stored that the DB uses in internal business logic is not regular C structs, but as rows in special tables (relations). Like say you want to look up th
831.
▲
by
gavinray
4y ago
I just want to say thank-you to the folks who work on Code Search at GitHub. It's the number one way I research and understand new libraries/API's and programming languages. There's a lot more you can learn from usage in
832.
▲
by
gavinray
4y ago
I also moved from a decade of Ubuntu to Fedora over a year ago Was a fantastic decision, I think the project is run much better and the pace of development and innovation for software devs specifically is much better.
833.
▲
JDK 19 Record Patterns: Applying Patterns from Spark's Scala Optimizer in Java
(gavinray97.github.io)
1 points
by
gavinray
4y ago
|
0 comments
834.
▲
by
gavinray
4y ago
The article seems to contradict itself: The first example shows the server rendering a handlebars template and then sending that as a response to the client -- it's then stated that this "isn't true SSR" Then the same th
835.
▲
by
gavinray
4y ago
It doesn't appear to be merged yet in any of the 6.2 RC's from what I can see =/ I am eagerly awaiting its release as a DB enthusiast and lifelong Postgres user
836.
▲
by
gavinray
4y ago
There's a new Linux feature called Shared Page Table Entries that allows processes to share these It was requested by the Oracle DB team https://lwn.net/Articles/919143/ I recognize your username so you'
837.
▲
by
gavinray
4y ago
Oh I think I get what you mean. Something like: interface IDatabase { wal: IWAL, transactionManager: ITransactionManager, // etc } And then your application has multiple instances of these "IDatabase"
838.
▲
by
gavinray
4y ago
It's not baked-in, but Andy Pavlo has an ML-based tuning tool called "Ottertune" for Postgres: I think it's free for a single DB https://ottertune.com/
839.
▲
by
gavinray
4y ago
Have you heard of "ora2pg"? It works for both MySQL and Oracle: https://github.com/darold/ora2pg https://ora2pg.darold.net/
840.
▲
by
gavinray
4y ago
I'm currently writing my own database from scratch and at the point where I have a buffer pool and storage layers, and can do scans with these (no actual query layer obviously, these are raw heap-file scans) I'm now studying, tryi
More ›