Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wasted_intel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
wasted_intel
8y ago
This is an unfortunate consequence of depending on termbox, which uses Python as part of its build (waf), which unfortunately doesn't work in Python 3.7. On Arch, you need to alias python to python2 for the build to work. I'll com
62.
▲
by
wasted_intel
8y ago
Yes, this is definitely one reason. At the time, I was interested in working on Vim, but it's hard to make changes to a C codebase and be confident you won't introduce segfaults or subtle memory safety issues. Rust's "
63.
▲
by
wasted_intel
8y ago
Amp, and convention over configuration in general, don't prevent configuration, they just try to avoid it. There are a bunch of things you can configure in Amp, if you'd like: https://amp.rs/docs/#configurat
64.
▲
by
wasted_intel
8y ago
Author of amp here and I couldn't have explained this any better.
65.
▲
by
wasted_intel
8y ago
These are great; thanks for the insight!
66.
▲
by
wasted_intel
8y ago
Can you provide specific examples of things that you found the most useful when you finally had a full-time/non-coding manager? Having somewhat recently transitioned into an engineering management role, I'm curious if there's
67.
▲
by
wasted_intel
8y ago
Thank you for all of the hard work you've put into this. i3/sway are what I love most about my Linux desktop!
68.
▲
by
wasted_intel
8y ago
I've found mkdocs to be fantastic for this, especially when paired with its material theme: https://www.mkdocs.org/ https://github.com/squidfunk/mkdocs-material There's a docker image that
69.
▲
by
wasted_intel
8y ago
You should! I used Go on a sizeable side project, and while I did enjoy it, I much prefer Rust. There's no doubt that Rust is harder to learn, but not pointlessly so; it's a learning exercise, especially if it's your first fo
70.
▲
by
wasted_intel
8y ago
I'm happy that error handling landed in first place; I feel the same way. Rust is the first language I've used with ADTs, and they're incredibly expressive. It allows the error system to be a set of idioms built atop an expre
71.
▲
by
wasted_intel
8y ago
A Project Sputnik laptop from Dell with Ubuntu pre-loaded is a safe bet. I'd personally opt for an XPS 13" Developer Edition, even if I were going to load another distro like Arch Linux. Project Sputnik's objective is to ensu
72.
▲
by
wasted_intel
8y ago
I've been running a two-disk RAID1 setup, alongside a single disk root drive (for snapshots) for almost two years without a single issue. I think there's still a lot of FUD being spread on account of the RAID 5/6 write hole s
73.
▲
by
wasted_intel
9y ago
> the market has more Java or PHP engineers That's a quantity over quality argument. Assuming there isn't an extreme shortage, I'd opt for a language and/or framework that tends to attract higher quality candidates.
74.
▲
by
wasted_intel
9y ago
Yep. The site is responsive, and it was tricky to fit something properly onto a smaller width device. :)
75.
▲
by
wasted_intel
9y ago
Thanks for the suggestion! I'll likely do a short screencast over the weekend to provide an overview and explain some of the features.
76.
▲
Show HN: Amp – A text editor for your terminal, written in Rust
(amp.rs)
43 points
by
wasted_intel
9y ago
|
9 comments
77.
▲
by
wasted_intel
9y ago
You can also opt to skip handling these edge cases by either copying (decreasing performance) or unwrapping (decreasing reliability). The great thing is that Rust gives you the choice.
78.
▲
by
wasted_intel
9y ago
Is there the possibility of adopting this with an explicit caveat that the details are subject to change? I would have found it incredibly useful when first learning about these types; feels like a missed opportunity.
79.
▲
by
wasted_intel
9y ago
Coming from a Ruby background, keeping your language versions independent from your OS package manager is really useful. There are situations where having different versions running alongside one-another is really handy, or not having to
80.
▲
by
wasted_intel
9y ago
Let’s keep in mind that software running in a browser is sandboxed, using standardized APIs, and isn’t nearly as privileged as software running directly on your desktop.
81.
▲
by
wasted_intel
9y ago
Ruby’s beautiful object model alone is worth learning. “Metaprogramming Ruby”[0] is a great introduction to that. Its flexibility is what makes things like DSLs so easy. The language also includes functional programming influences. I wrote
82.
▲
by
wasted_intel
9y ago
How can that possibly be a downside? If they had made money, people would be even more up in arms. If anything, this reinforces the “Easter egg” intent of the extension; it serves no other purpose.
83.
▲
by
wasted_intel
9y ago
Keeping logic in the database like that means you can’t version those procedures alongside the rest of your code. That’s a pretty big downside.
84.
▲
by
wasted_intel
9y ago
Data structures (vectors, hashmaps, trees), I/O, etc. are all part of the stdlib, and their rich feature sets make an API reference essential. You can certainly write Rust without it, but you’d be missing out on a lot of useful functio
85.
▲
by
wasted_intel
9y ago
That's frustrating to hear. I've stuck to the #rust[1] channel and have always received friendly answers whenever I've gotten stuck, and I've had a lot of questions over the past 3 years. :) [1] https://chat.m
86.
▲
by
wasted_intel
9y ago
> Not relying on API search much has the huge advantage of not relying on external APIs, which leads to good modularization. As a general rule, a module shouldn't call into other modules much. When writing Rust, you'll likely u
87.
▲
by
wasted_intel
9y ago
Nice tip, thanks!
88.
▲
by
wasted_intel
9y ago
I use a backtick as well. Although rare, if I'm writing a Markdown doc and want to use inline pre-formatted blocks, it's a pain to work around, but otherwise, it's been great.
89.
▲
by
wasted_intel
9y ago
I just wish I could opt out of the management engine. ;)
90.
▲
by
wasted_intel
9y ago
You can vendor dependencies if being reliant on a package service is too unreliable.
More ›