Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpbriggs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
211.
▲
by
dpbriggs
7y ago
That's correct. Most people have a narrow concept of Rust and confuse it with iron oxide, when reality is so much more vibrant. Copper oxides are my personal favourite.
212.
▲
by
dpbriggs
7y ago
https://dpbriggs.ca/blog I mostly write about Rust.
213.
▲
by
dpbriggs
7y ago
Are you unaware that judgement will be used? Compassionate uses are hail marys and are used appropriately.
214.
▲
by
dpbriggs
7y ago
And North American production will ramp up as quickly as possible. We've seen very expensive oil in the last decade which has made a variety of alternative extraction methods economical. Not entirely sure how a situation could arise wh
215.
▲
by
dpbriggs
7y ago
I think we're using it because GitHub renders GitHub flavoured markdown well. Thankfully it also renders Org files pretty well, which AFAIK supports everything listed and more.
216.
▲
by
dpbriggs
7y ago
This can be done in Org files using text source blocks with `ATTR_HTML :target _blank` https://emacs.stackexchange.com/questions/14320/org-mode-lin...
217.
▲
by
dpbriggs
7y ago
In practice I am not sure how true that is. There is a phenomenal ecosystem around org-mode that will require an amazing amount of work to recreate in other editors. I haven't seem other editors get close to the convenience and integra
218.
▲
by
dpbriggs
7y ago
I am fairly sure most people are using whatever bootloader is installed for them during distro install.
219.
▲
by
dpbriggs
7y ago
I would be curious to learn more about how they classify websites. I would imagine they automatically crawl and do some basic keyword matching, so false positives are expected. Curious about stormfront though.
220.
▲
by
dpbriggs
7y ago
Just to add more options, if you are willing to eat an allocation per transition, you can achieve a better developer experience by using trait objects. You can define the trait: trait State: std::fmt::Debug { fn transition(&am
221.
▲
by
dpbriggs
7y ago
Are people so cynical as to believe the US Gov will arbitrarily deny necessary medical supplies? There is more variables at play than just '# of masks'. It is necessary to ensure the masks actually work, as defects will cost the l
222.
▲
by
dpbriggs
7y ago
Totally agree. Anything that touches multiple owner territory gets ugly pretty fast. You end up with a variety of Cell objects, Rc::weak pointers, etc. Again it's possible but not trivial to figure out. Now I wish I read that resource
223.
▲
by
dpbriggs
7y ago
If you're trying to do something very specific that doesn't align with Rust's ownership/memory model it can be quite challenging. For example, I wanted to make a skiplist library with features not present in other crates
224.
▲
by
dpbriggs
7y ago
Thanks for the clarification -- I'm in CS, and did not know that.
225.
▲
by
dpbriggs
7y ago
Uh, there's an entire software engineering program at the University of Waterloo: https://uwaterloo.ca/future-students/programs/software-engin...
226.
▲
by
dpbriggs
7y ago
That's unfortunate. I did not know that
227.
▲
by
dpbriggs
7y ago
There's a couple ways that 'reinfection' could be reported right? - The test may have had a false negative - The viral load was low due to anti-virals, and subsequently re-surged once off them - The person has a compromised i
228.
▲
by
dpbriggs
7y ago
For people who can afford cars today -- Why wouldn't they? I'm not convinced economy of scale applies the same way in this case. Cars (and mattresses, etc) are large and infrequent purchases dominated by preference. Dealerships ma
229.
▲
by
dpbriggs
7y ago
Eh universal healthcare would probably increase 'drive' at a macro level as it doesn't chain the overqualified or highly productive individual to crappy jobs that happen to have good insurance. Not to mention you lose the ove
230.
▲
by
dpbriggs
7y ago
I wouldn't be surprised if they remove it in the next rust edition
231.
▲
by
dpbriggs
7y ago
Same effect here. After months of -20c, 0c feels like summer. Spent a few months in the bay area for an internship and was shivering and adding layers at 15c.
232.
▲
by
dpbriggs
7y ago
Can also confirm this occurs in the Greater Toronto Area. I remember feeling very proud when I passed that test.
233.
▲
by
dpbriggs
7y ago
Look no further than the browser you're likely using: Google Chrome. There's 91 code executions and 121 RCEs, details here: https://www.cvedetails.com/product/15031/Google-Chrome.html?... And the project
234.
▲
by
dpbriggs
7y ago
Hey, those people still exist. Myself and a few other people I know got their start making terrible games in python. Heck I was too young when I started learning lisp (clojure). Took a long time to get used to non-functional constructs. Thi
235.
▲
by
dpbriggs
7y ago
You can somewhat emulate this with Weak pointers: https://doc.rust-lang.org/std/rc/struct.Weak.html They don't count against ownership, but do bring some extra headaches of their own (referencing counting ove
236.
▲
by
dpbriggs
7y ago
Thanks for clarifying. I think we're just using different definitions. The only real definition of an array I've encountered in work and school is that it's just a one dimensional collection of elements, usually of static siz
237.
▲
by
dpbriggs
7y ago
Thanks! Why does everything look like a multi-dimensional array for you in rust?
238.
▲
by
dpbriggs
7y ago
That's not necessary true. You can implemented binary trees as an array, so are trees a special case of arrays? There can be sequential and non-sequential implementations of ADTs.
239.
▲
by
dpbriggs
7y ago
I've spent years programming rust and I'm not sure what you mean. Do you mean arrays of tuples, or nested arrays?
240.
▲
by
dpbriggs
7y ago
I'm kind of disappointed that you haven't subdivided each xterm window with tmux panes. Do only casuals comment on HN now?
More ›