Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
571.
▲
by
epage
7y ago
Wouldn't Co-Authors just be a footer/trailer?
572.
▲
by
epage
7y ago
At $DAYJOB, we organically switched from not having any formal style to having an internal formal style. People seemed to want the benefits of tooling integration and clearer communication. Right now, we are switching SCM's and are lo
573.
▲
by
epage
7y ago
Personally, I feel like this style puts the focus on what rather than the why. I also dislike that it seems to be centered on multiple changes in one commit.
574.
▲
by
epage
7y ago
I feel mypy has been a big help in the correctness and approachability in my code I write. My big issue is that it is too easy for `Any` to (implicitly) show up, making it so parts of my code are (silently) not checked. I wish there was a g
575.
▲
by
epage
7y ago
For code-gen, I'm experimenting with checking in the results and having a "is the code-gen correct" check in the CI See https://github.com/crate-ci/imperative/pull/4 for an example I hadn'
576.
▲
by
epage
7y ago
We're talking use cases. In Rust, you'd use Result where in C++ you would use exceptions. Panic is equivalent to assert and should not be used where you'd use exceptions in other languages.
577.
▲
by
epage
7y ago
As someone who has had to deal with C++ in the Windows and Linux kernels for the last couple of years, the thing that excited me and drew me to Rust is the use of Result rather than exceptions. Exceptions are incompatible with environments
578.
▲
by
epage
7y ago
The borrow checker is what is being referred to and has no runtime overhead. Now, an environment without a GC will use ref counting sometimes but it will regardless of C, Rust, or C++
579.
▲
by
epage
7y ago
Some further background: vendor instrinsics are well documented and unchanging. They are a lot easier for a language to standardize on. As others have pointed out, there are higher level libraries being built on top of them. This gives t
580.
▲
by
epage
7y ago
Overall, very good. I might share this to help people out. Two pieces of feedback - What is classified as influence is not all or nothing. In my mind it is covering multiple distinct traits - The quote "At your company, it’s important
581.
▲
by
epage
7y ago
This is why I'm curious about algebraic effects which was recently discussed on /r/rust [0] The main challenges I see are around usability within the language design on how best to propagate and compose them. [0] https:/
582.
▲
by
epage
7y ago
From what I've gathered, the project grew faster than the original dev had time to build up other people to also monitor PRs and has since gotten very busy, slowing down the review process. I know I have several straightforward outsta
583.
▲
by
epage
7y ago
Does pipenv create cross-platform lock files? That has been my primary requirement when looking at solutions, more than the usability issue of Python using a bunch of tools and files for the whole development process without a coherent sto
584.
▲
by
epage
7y ago
This reminds me of some the trade-offs I've looked at with monorepos: https://epage.github.io/dev/monorepos/
585.
▲
by
epage
7y ago
I'm curious to see what direction they take this. Will they have a trusted compile farm, only supporting a subset of targets, or involve some kind of distributed trust model supporting whatever people use? Will it be greedily populate
586.
▲
by
epage
7y ago
I thought it was two factors (1) unoptimized IR and (2) large translation units (crate rather than file).
587.
▲
by
epage
7y ago
Cranelift is being created as an alternative to LLVM, targeting a different set of requirements. Last I heard talk about Rust using it, the thought is that it would fit in well for fast debug builds but not be a good fit for optimized rele
588.
▲
by
epage
7y ago
Salsa is an example of logic they are writing for the Rust compiler that is being kept in a generic crate for anyone to use See https://github.com/salsa-rs/salsa
589.
▲
by
epage
7y ago
Thankfully everyone is reporting in safe from what I've seen on facebook (I grew up in the area). As mentioned elsewhere, my biggest concern is those evacuated from the hospital into 100 degree weather.
590.
▲
by
epage
7y ago
Honestly, I wouldn't worry too much. These earthquakes are far enough away that LA shouldn't be feeling too much and they should calm down soon. The likelihood of other earthquakes cropping up seems relatively low.
591.
▲
by
epage
7y ago
I grew up in Ridgecrest during the time it became known for earthquakes (e.g. https://www.youtube.com/watch?v=8k8f2gJjXkQ&feature=share ). That commercial isn't far off in that it got to the point that we no longe
592.
▲
by
epage
7y ago
Some thoughts I've had along these lines (but for Rust) - Open issues in the review for compiler / lint / format errors - Gather coverage per test and use that to determine which tests are needed for a given change
593.
▲
by
epage
7y ago
Don't fully remember why I prefer json5 to hjson but at a quick glance, bare values is one. Bare values are ripe for someone entering in a string and accidentally getting a bool or number instead.
594.
▲
by
epage
7y ago
As a fan of TOML, I want to be clear on the downsides. TOML is good for data layed out with TOML. Representing arbitrary nested arrays and tables gets messy. Also, the constraint on homogenous shallow types has impacted me in some cases. Or
595.
▲
by
epage
7y ago
I've thought about it and my concern with using the thread if I were job hunting is that if a coworker saw me on it, it might come out that I'm looking elsewhere when I'm not wanting that out yet. The Who's Hiring Thread
596.
▲
by
epage
7y ago
This reminds me of an internship. During my midterm review, my manager confessed to the org always giving interns terrible projects, the ones no one wanted to do, and later in the meeting procedes to dock me for not being enthusiastic enoug
597.
▲
by
epage
7y ago
Agreed. I regularly ask "Why are we running a marathon in a thousand sprints?". Besides tech debt, a concern I have that I don't see brought up is burn out. With Scrum, every action you perform is micromanaged and with a pu
598.
▲
by
epage
7y ago
As someone who has been using depenabot for my rust projects for about 6 months now, I appreciate having it attempt to upgrade past breaking changes. Not all breaking changes break everyone. When they do break, I appreciate knowing a new ve
599.
▲
by
epage
7y ago
I'd say Rust is a productive language for providing competitive CLIs. - Compiled so easy to distribute compared to Python, JS, etc - Cargo makes it easy to pull in libraries compared to C/C++ - Smart people made some great librari
600.
▲
by
epage
7y ago
Jenkins is terrible but I've not found something better yet. For me, the great thing is that it is an automation platform where we can integrate builds, scheduled tasks (cron), and very basic end-user UIs with Plugins that let me custo
More ›