Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
511.
▲
by
epage
6y ago
This advice sounds great in theory but I (and some others I know) have found it to be one of the worse pieces of advice. I know some people whose marriage was almost destroyed by this advice. What it does not recognize is the impact of be
512.
▲
by
epage
6y ago
Do you think you'd end up creating C APIs, to make this competitive with libgit2?
513.
▲
by
epage
6y ago
You can find the target support levels at https://forge.rust-lang.org/release/platform-support.html
514.
▲
by
epage
6y ago
I do like something to sort overhead from core code, whether `_` prefix or something else.
515.
▲
by
epage
6y ago
Not just tl;dr but as a pyramid. In US schoolsg english classes teach writing as an inverted pyramid where you give details (pyramid base) and end with a conclusion (pyramid point). In contrast, technical writing and journalism teach an inv
516.
▲
by
epage
6y ago
In my experience, code dedupping without shared requiremeots hurts you over time. Nothing is keeping the code focused so as requirements change, you either fork it or add "one more flag". Focusing on abstractions is what helps me
517.
▲
by
epage
6y ago
Another problem: Windows support. Windows' file semantics are different and knowing when a file is closed becomes critical.
518.
▲
by
epage
6y ago
I'm working on trying to get my company to switch to this approach for our python monorepo. It frustrates me that I've never seen a good code-gen story for python - Some do runtime code-gen which is hard to learn from, debug, and
519.
▲
by
epage
6y ago
For build scripts, I've switched to avoiding build-time codegen and instead doing development-time code-gen, commit the results in, and have CI verify that the committed results and generator are not out of sync. This saves me building
520.
▲
by
epage
6y ago
The true-believers didn't matter because they were a cult. I have a family member in the Cult of Apple. Up to the day of the announcement, you would hear him talk about how amazing PowerPC was, Risc vs Cisc, etc. From the day apple ano
521.
▲
by
epage
6y ago
This Pretty much no maintstream UX has properly solve the large screen problem and instead we have to workaround it with smaller, multiple monitors.
522.
▲
by
epage
6y ago
So another up and coming crate in this space is Raph Levien's fancy-regex [0] which uses a hybrid model to support back references. No idea how compatible the syntaxes are. [0] https://crates.io/crates/fancy-regex
523.
▲
by
epage
6y ago
For those wanting a real world example where this can be useful: I am writing a static site generator. When run in "watch" mode, it deletes everything and starts over (I'd like to reduce these with partial updates but can
524.
▲
by
epage
6y ago
I believe this is contrived to prove a point. And this isn't just a help in these contrived examples. I believe process cleanup (an extreme case of cleaning up objects) is one of cases where garbage collection performs better because
525.
▲
by
epage
6y ago
For these contrived cases, yes, you would just pass a reference to the function but I think the point is to simplify the case down to demonstrate a point.
526.
▲
by
epage
6y ago
Basically faking a stage by making a job? That helps but the "definition" of a stage is still far away from the job definition when you have enough of them and people won't know to update this when they copy/paste a job
527.
▲
by
epage
6y ago
My problems with this feature: - You can't have a DAG of stages. Sometimes, especially with a monorepo which this touts, the maintenance of the "needs" becomes burdensome and you want to just block on a stage rather than exp
528.
▲
by
epage
6y ago
Thamks for the call out! I'm excited by the new env var and need to consider its impact on `assert_cmd`.
529.
▲
by
epage
7y ago
While a C backend is great for compatibility, is it a sufficient IL to express everything? For example, Rust has some extra guarantees with aliasing that I'm unsure if C or C extensions support yet that could offer greater optimizatio
530.
▲
by
epage
7y ago
> For those that assert Rust changes too much, I would submit the simple question "Why?" to them. There was a blog post a couple days ago that made the complaint. Not linking because even the author felt it was too easily misre
531.
▲
by
epage
7y ago
Helps that the author got picked up by a company to work on this https://blog.cryptowat.ch/sponsoring-rust-gui-library-iced/
532.
▲
by
epage
7y ago
Coroutines are another interesting way of expressing state machines. They can make certain classes of state machines easier to read because the flow reads like a normal function. So far I've only used the technique once in Python using
533.
▲
by
epage
7y ago
The form I was taught: e^jpi + 1 = 0 The reason for this form is that it doesn't just contain an imaginary unit and the two most popular constants but the additive and multiplicative identities.
534.
▲
by
epage
7y ago
Duo Security | Ann Arbor MI, Austin TX, Remote | Full time Duo is not slowing down its hiring during all of this. With our focus on MFA and Zero Trust / Beyond Corp, our products are positioned to help companies transition to remote.
535.
▲
by
epage
7y ago
Erlang adopted function pattern matching https://uniwebsidad.com/libros/concurrent-erlang/chapter-1/p...
536.
▲
by
epage
7y ago
As a Rust fan boy where the Error monad is used instead of exceptions, there are times where exceptions are nicer. One example is when using `map` and other functions on iterators. With exceptions, error reporting is out-of-bound. Without t
537.
▲
by
epage
7y ago
On top of what others have said, one case where I've seen value in them being separate is to workaround problems in long gaps between deployments. A bug might be Major or Minor but there is a high risk to fixing it. You might want to
538.
▲
by
epage
7y ago
I like the idea but there are trade offs - Risk of too much discussion on exact ordering. I think to my uses of graphical programming languages vs text and having infinite places to put wires made me waste more time on perfecting it than t
539.
▲
by
epage
7y ago
Hadn't thought of that potential benefit to the rust-analyzer work: I could get borrow errors upfront even if there are irrelevant errors in other areas of code. (borrow checker seems like it is one of the last phases).
540.
▲
by
epage
7y ago
I feel like the breakdown in problems should include real world data to back it up. Hopefully future articles will do so. In particular, people like to put blame on the borrow checker when I thought it wasn't all that bad. From my un
More ›