Better HN
topnewbestaskshowjobs
Log inSign up

philix001

387 karma · joined Apr 9, 2013 (13y ago) · 34 submissions

Submissions

1.

Compressed Apache Arrow Tables over HTTP(felipe.rs ↗)

4 points · by philix001 · 2y ago · discuss

comment 4y ago · link · parent

The spec might not even contain the level of detail necessary for that to be possible. That possibility is what makes modeling easier than implementing the spec.

Through a process of manual refinement, you can derive an implementation from the spec and check every step with the checker, but that's is more work than implementing the formal spec manually and is an most likely an overkill in practice.

comment 4y ago · link · parent

People that can write proofs in Coq and Isabelle might prefer that over the TLC approach of exhaustively checking all the possible states allowed by a TLA+ spec. But writing proofs in Coq/Isabelle/Lean/HOL is a more sophisticated skill and requires even more training on the multiple theories available in these provers. The brute force approach of TLA+/TLC is more dependable as part of an engineering process. Some specs can be really hard to prove, but easy to exhaustively check.

comment 4y ago · link · parent

Start looking for small opportunities to do something different and bold. Do that before you're asked to do it. Sooner or later you will get "hired" for the kind of job where you get to do the things you described here. That's how everyone else did it.

comment 6y ago · link · parent

You might want to follow the Rust developments in this area: https://areweguiyet.com/

6.

Blend2D – 2D Vector Graphics Engine(blend2d.com ↗)

159 points · by philix001 · 7y ago · 41 comments

7.

Demystifying JOIN Algorithms(blog.felipe.rs ↗)

3 points · by philix001 · 7y ago · discuss

comment 7y ago · link · parent

Check my own B+-Tree implementation that I did as an exercise. It's clean and well-commented. https://gist.github.com/philix/236f82183bbb27bd01033f94fe42e...

Real database systems are more sophisticated, but the most basic B+-Tree is still very interesting.

comment 7y ago · link · parent

Goetz Graefe [1] published interesting surveys on B-Trees, query optimization...

The Red Book can give you many ideas [2].

Mark Callaghan has been published a lot of stuff related to LSM recently [3].

[1] http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.219...

[2] http://www.redbook.io/

[3] https://smalldatum.blogspot.com/?m=1

comment 8y ago · link · parent

Enough material here to scare anyone about databases

https://jepsen.io/talks

comment 8y ago · link · parent

Check Regel. It's very flexible and allows you to generate code for different programming languages. It can also work with binary data. Its main application is generation of optimized network protocol scanners.

12.

In-memory B+ Tree implementation in JavaScript(gist.github.com ↗)

1 points · by philix001 · 8y ago · discuss

13.

Papers I've Read in 2017(blog.felipe.rs ↗)

16 points · by philix001 · 8y ago · discuss

14.

Monorepo First, Submodules Later(blog.felipe.rs ↗)

2 points · by philix001 · 9y ago · discuss

comment 9y ago · link · parent

They are. I avoided introducing an explanation of Curry-Howard isomorphism because I think that would not be very intuitive to many people because the most commonly used type systems have very little power to express logical properties about the program.

I may write another article about this.

comment 9y ago · link · parent

I don't think it's common for programmers to have in depth opinions about type systems. And most of the ones who do may not really know what they're talking about.

17.

Where Do Type Systems Come From?(blog.felipe.rs ↗)

285 points · by philix001 · 9y ago · 164 comments

18.

Id Software Programming Principles(blog.felipe.rs ↗)

340 points · by philix001 · 9y ago · 76 comments

comment 9y ago · link · parent

And some neovim patches are merged upstream.

comment 9y ago · link · parent

async plugins? true color support? If you have a 32-bit color capable terminal you can use any colorscheme and get real RGB colors.

comment 9y ago · link · parent

People are free to fork open source projects. tarruda tried to merge the async job system before forking vim. Bram has the right to deny the patches, but the most successful projects are the ones that attract good contributors and don't depend on the output of a single coder. It's easy to say "just make vim better" without really trying to understand Vim's C codebase.

vim's source code is really hard to test. Refactoring is needed to make code testable. That's true for every project that doesn't have tests yet. Another thing that makes it really hard to contribute to vim is that it supports operating systems that don't even exist anymore. I really don't feel like spinning a VM to make sure my changes don't break it on MS-DOS. I would rather send a PR that removes MS-DOS support than support that.

https://github.com/neovim/neovim/pull/635/files

comment 10y ago · link · parent

"Tim Sweeney claims that Microsoft will remove Win32, destroy Steam"

http://arstechnica.com/information-technology/2016/07/now-ti...

23.

Leveraging Zero-Cost Abstractions in C++: Variadic Templates(blog.felipe.rs ↗)

9 points · by philix001 · 12y ago · discuss

comment 12y ago · link · parent

MASM, MS-DOS... 32/64 bit? The hardest thing about learning x86 Assembly is finding a manual that deals mostly with the CPUs ans OSes we use these days.

comment 12y ago · link · parent

Accounting is actually a language. It's the language of finance. You're probably confusing accounting with finance.

comment 12y ago · link · parent

To add on what @aktau said: soon we will have much more robust UI tests.

The current UI tests are hard to write and based on the ASCII output [2] of the commands of the test [1]. By using the Neovim API we will be able to rewrite these tests to look more like automated Sellenium based web app tests and make more fine grained assertions.

[1] A test: https://github.com/neovim/neovim/blob/39cdb5f214bcb1e4a918f6... [2] The expected test output spec: https://github.com/neovim/neovim/blob/39cdb5f214bcb1e4a918f6...

comment 13y ago · link · parent

What if they use BTC as a store of value and not a currency?

comment 13y ago · link · parent

For a sufficiently big input (N) polynomial will be faster without any doubt.
12