Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weavie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
weavie
10mo ago
To be clear though, the allocator API is still experimental and from what I remember has been for quite a while now..
32.
▲
by
weavie
10mo ago
The more you struggle at something the more you will learn. That works up to the point where the struggle is beyond your capacity for struggle - then you just get stuck. So ideally (assuming you are doing this because you want to learn some
33.
▲
by
weavie
1y ago
Yes, a discussion of the tradeoffs of different solutions is exactly what I want to hear in an interview.
34.
▲
by
weavie
1y ago
A well implemented system would somehow allow you to use your ID to prove you have the attributes a service needs (being over 18, able to drive, no criminal records, not a communist or whatever it is they need) without providing any further
35.
▲
by
weavie
1y ago
There are projects that spend more than that every day.
36.
▲
by
weavie
1y ago
Emacs can be a curse too. Once you get into it, it's really hard to use anything else..
37.
▲
Camerons World
(cameronsworld.net)
1 points
by
weavie
1y ago
|
0 comments
38.
▲
by
weavie
1y ago
500 million is like half a days revenue.
39.
▲
by
weavie
2y ago
They believed their writing was gifted to them by the Gods. According to them they were not the first, they were just the next in line after the Gods.
40.
▲
by
weavie
2y ago
I've been programming Rust professionally for several years now and being totally honest I don't really understand Pin that well. I get the theory, but don't really have an intuitive understanding of when I should use it. My
41.
▲
by
weavie
2y ago
Huge codebase. It was handled in 13 places, but they missed the 14th.
42.
▲
by
weavie
2y ago
The problem isn't so much the lack of enums, it's more that there is no way to do exhaustive pattern matching at compile time. I have seen production systems go down because someone added a variant to an 'enum' but faile
43.
▲
by
weavie
3y ago
A few years ago I worked on a Solaris box that would lock the whole machine up whenever I grepped through the log files. Like it wouldn't just be slow, the web server that was running on it would literally stop serving requests while i
44.
▲
by
weavie
3y ago
I'm not quite sure I understand what "driving traffic through Google" actually means.. Anyone?
45.
▲
by
weavie
3y ago
Once installed I've found it to work pretty much flawlessly, very few windows plugins don't work with it.
46.
▲
by
weavie
3y ago
If it supports VST, I imagine yabridge would work fine to allow you to use Windows VST. https://github.com/robbert-vdh/yabridge
47.
▲
by
weavie
3y ago
The other commenters to this are correct, `Vec::new()` doesn't actually allocate so the code in the book is fine. I had a brain fart. If that function was taking a reference to an object that was fairly expensive to create a default va
48.
▲
by
weavie
3y ago
The example at the end of that section: pub fn encrypted(&self) -> Vec<u8> { encrypt(self.payload.as_ref().unwrap_or(&vec![])) } Needlessly allocates a `Vec` if `self.payload` is `Some`. Re
49.
▲
by
weavie
3y ago
Did you get the job?
50.
▲
by
weavie
3y ago
I see. So essentially the issue is built in to the way Activity Pub is designed. It is a scaling issue. Your browser may not blink at loading 100 resources, but say you were constantly reloading 100s of tabs, it would start to grind down. R
51.
▲
by
weavie
3y ago
What is the biggest resource bottleneck in Mastodon? Like, are the certain design decisions that could be optimised to make it more resource efficient? Is it just because it is written in Ruby? Is there something inherent to ActivityPub tha
52.
▲
by
weavie
4y ago
The difficulty with a lot of dynamic languages is that it is very difficult to determine at compile time what parts of the runtime are not going to be invoked so you largely end up having to include the entire platform in the executable.
53.
▲
by
weavie
4y ago
I guess times have changed. About 10 years ago I was getting hundreds per day.
54.
▲
by
weavie
4y ago
Vi commands are verb-noun (cw - change word). Helix are noun-verb (wc - select the word then change it). Learn to use multiple cursors in Helix - many of the things I have found lacking from Vi - eg pressing . doesn't work the same way
55.
▲
by
weavie
4y ago
"Whether to choose Emacs or Vim is a difficult decision, as it depends on the individual's preferences and needs. As Seneca said, “Will any one give this passion as an assistant and companion to virtue, although it disturbs calm r
56.
▲
by
weavie
4y ago
Kinda by definition the people you hear about are the people that are talking about it and not the people that are using it.
57.
▲
by
weavie
4y ago
Look forward to it.
58.
▲
by
weavie
4y ago
Is there somewhere I can keep up to date with books progress?
59.
▲
by
weavie
4y ago
For sure, optimise when necessary. Rust lets you do this.
60.
▲
by
weavie
4y ago
I've been writing Rust professionally for a few years now and if there's one thing I've learned it's that if you ever write a function that takes a parameter of `impl Fn(&Vec<&'a str>) -> &'
More ›