Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rockwotj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
271.
▲
by
rockwotj
4y ago
See: https://github.com/tweag/rules_nixpkgs
272.
▲
by
rockwotj
4y ago
Crane is also exposes a good library for doing docker operations if you want to build your own tooling on top
273.
▲
by
rockwotj
4y ago
My company uses Bazel's rules docker to build our images: https://github.com/bazelbuild/rules_docker They're pretty great and have a lot of the caching and parallelism benefits mentioned in the post for free
274.
▲
by
rockwotj
4y ago
+1 I've always ran Debian and pitched for it and it hasn't let me down yet.
275.
▲
by
rockwotj
4y ago
Raycast is an amazing tool, I use it everyday and have a few custom scripts to do stuff. Highly recommend. It's super nice to press cmd + space and type a common thing I do without having to think. I use it to move windows around, swit
276.
▲
by
rockwotj
4y ago
> Is there some syntax that looks closer to regexes for this (tree sitter inside regex rather than regex inside tree sitter)? I wonder if you could add escapes for specific syntax features, something like: \z{FunctionName=Foo}
277.
▲
by
rockwotj
4y ago
You can skip to step 4 using something like GPT-J as far as I understand: https://github.com/kingoflolz/mesh-transformer-jax#links The pretrained model is already available.
278.
▲
by
rockwotj
4y ago
Personally I would use mold for the dev cycle tests and then in CI or prerelease tests use the other linker
279.
▲
by
rockwotj
4y ago
Biased, but shortwave.com has all of these things. - we have an event based architecture based on per customer queues, I haven't been paged in months mostly because single customer issues don't cause pages (just tickets which are
280.
▲
by
rockwotj
4y ago
Gleam.run is my current favorite flavor for "typed functional language". It's simple (a small language) and compiles to erlang
281.
▲
by
rockwotj
4y ago
There is a stateful API too, and I'm surprised they mention it's decoder is unsafe, utf8proc is fuzzed by oss fuzz, which I assume would catch something like that.
282.
▲
by
rockwotj
4y ago
https://youtu.be/Jdf5EXo6I68
283.
▲
by
rockwotj
4y ago
Why do cemeteries have fences? Because people are dying to get in!
284.
▲
by
rockwotj
4y ago
Speaking of "getting" UTF8, I really enjoy this story on it's inception: https://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt
285.
▲
by
rockwotj
4y ago
https://github.com/JuliaStrings/utf8proc does normalization
286.
▲
by
rockwotj
4y ago
Check out jj, it's made by someone who works on Google's source control https://github.com/martinvonz/jj
287.
▲
by
rockwotj
4y ago
Sure, but my point is that it's slower to develop the equivalent Rust than Java
288.
▲
by
rockwotj
4y ago
Certainly not knocking rust analyzer – it's great! I think the missing piece of node versus Java is Java has first class support for threading, so I guess it depends if your system is IO or CPU bound, but for CPU bound systems, Java is
289.
▲
by
rockwotj
4y ago
Strong typing maybe? Depends on what you define these terms to be. For me. Static typing is a compiler that verifies your types are correct. Neither Python nor JavaScript has this. Python allows for type annotations, which is very different
290.
▲
by
rockwotj
4y ago
Agreed one of the reasons my company picked the JVM ecosystem is the pethora of excellent libraries for almost anything
291.
▲
by
rockwotj
4y ago
There is certainly cases where Java is better than Rust (gasp I said it!) Purely from a productivity standpoint, Java is faster to write than Rust (you don't have to think about memory lifetimes and compile times are faster, I think ID
292.
▲
by
rockwotj
4y ago
Agreed. I wish people didn't assume GC means slow - Java has the most sophisticated GC out there. There are points when not being able to stack allocate objects hurts performance, but JVM performance is good. I've worked one two d
293.
▲
by
rockwotj
4y ago
Very much disagree. Your argument seems like a static typing vs not and unless you're writing a small trivial thing, having types very quickly bear fruit. Also most of the good code I read these days are data oriented programs (which i
294.
▲
by
rockwotj
4y ago
Checkout https://playwright.dev
295.
▲
by
rockwotj
4y ago
Fakes > Mocks! Post: https://tyrrrz.me/blog/fakes-over-mocks Previous HN Discussion on the above post: https://news.ycombinator.com/item?id=24770954 This does require dependency injection (DI), and
296.
▲
by
rockwotj
4y ago
It was not built for chromium AFAIK To quote: https://boringssl.googlesource.com/boringssl/ BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built up a large number of patches
297.
▲
by
rockwotj
4y ago
I feel like this is rebuilding erlang in some aspects? Erlang has hot module replacement
298.
▲
by
rockwotj
4y ago
I used this trick to land my first Silicon Valley when I was asked to generate the power set in an interview. It seemed to impress my interviewer a lot.
299.
▲
by
rockwotj
4y ago
For the most part, it's also really easy to add node dependencies compared to C/C++. Is it surprising folks take the past of least resistance?
300.
▲
by
rockwotj
4y ago
I'm hacking together a native backend for gleam lang [1], by transpiling to C++ [1]: https://gleam.run/
More ›