HNHacker News
TopNewBestAskShowJobs

weavie

3,068 karma · joined May 29, 2013

Code monkey

My email in base64: Y29kZXJzdGV2ZUBsaXNwLnNwYWNlCg==

submissionscomments
weavie··on The Janet Language
Is there somewhere I can keep up to date with books progress?
weavie··on I love building a startup in Rust but wouldn't pick it again
For sure, optimise when necessary. Rust lets you do this.
weavie··on I love building a startup in Rust but wouldn't pick it again
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>) -> &'a str` you are going to be in for some pain. Just make it `impl Fn(&Vec<&str>) -> String`. It is highly unlikely that the extra allocation is ever going to be noticed in the performance.

Just because Rust pretty much forces you to be explicit about your allocations doesn't mean you have to avoid them at all costs.

weavie··on Rust vs. Haskell
Infix operators and currying give Haskell completely different ergonomics to Rust, even if you could largely do the same thing in both languages.
weavie··on Rust vs. Haskell
I would say using them is beginner->intermediate. Writing them is intermediate->advanced.
weavie··on Experts warn of steep increase in Java costs
They can afford to lose 14 clients if they can retain one that pays the increase.
weavie··on Omega-3s: Are “Brain-Boosting” Effects Scientifically Backed?
I guess the argument would be that you don't know for sure whether your diet does provide all the nutrients your body needs, so supplements could be used to fill in any gaps. The assumption being that your body will just dispose of any excess safely.
weavie··on Ask HN: What was being a software developer like about 30 years ago?
In 1996 I was the junior developer in charge of source control. The developers would all email their source code to me and I would work through it and check their changes in to CVS.
weavie··on Canonical shows ads in the Ubuntu CLI
If you want a quick way to install Arch, Endeavour OS works really well. Got me up and running with what is basically an Arch install in about 10 minutes.
weavie··on The Little Typer (2018)
I'm intrigued. Will this book do anything to help me become a better Rust developer, or will it only be valuable if I start using languages like Idris or Agda?
weavie··on Show HN: I built a site that finds the cheapest place to buy a book
Interesting, thanks. I do wonder how much space it would take to cache every bookstore.
weavie··on Show HN: I built a site that finds the cheapest place to buy a book
I have a question. How do you get the catalogue of books? Have you had to scrape a whole bunch of book stores, or do you make a ton of api calls? Do you store all the catalogues on your server, or are you calling a search on each of these sites live?
weavie··on Ask HN: Anyone joined a company after contributing to their OSS projects?
No sorry. I'd rather keep it private.
weavie··on Ask HN: Anyone joined a company after contributing to their OSS projects?
Yup.

Looking to develop my Rust skills I found a OSS project to contribute to. Learned a ton working on an issue. A few months later I found out the company was looking to hire so I applied on the basis of my contributions. There was no interview, the company just took me on straight away. I'm still there and loving it!

weavie··on Queen Elizabeth II has died
She started with Winston Churchill and ended with Liz Truss.
weavie··on The cryptocurrency sell-off has exposed those swimming naked
1. Don't put your life savings into crypto.
weavie··on Ask HN: Could you share the notes you took on a typical work day?
Any notes that you feel help you with your working day!
weavie··on Tokay Programming Language
Clozure common lisp is Ctrl+D three times.
weavie··on Companies That Use Haskell in Production
Possibly https://www.manning.com/books/haskell-in-depth
weavie··on Ask HN: How can I become more proactive in work and life?
I really like this approach!
weavie··on Ask HN: How can I become more proactive in work and life?
I definitely want to be effective in my work and relationships to the best of my ability. I think I'm happy to be hassled about it.

> 1. Some desire that leads you to initiate actions in the face of uncertainty.

This is what really hits home for me! I think a lot of what I hide away from is uncertainty. I don't do that essential task at work that I haven't really been asked to do because I am not sure if I can do it correctly or if it is really what is needed (even when on reflection it is blatantly obvious that it is).

weavie··on Ask HN: How can I become more proactive in work and life?
Thank you. Yes I think it is something to do with a combination of a lack of motivation and a lack of self belief. If I see something that needs doing, I don't believe in my abilities to address it and so I just let it slide because I assume someone more qualified will deal with it.

Good food for thought.

weavie··on Ask HN: Why does the Ruble still hold 50% of its value?
How did you do that with the stock exchange still closed?
weavie··on Poll: Why are people leaving their jobs?
Good thing you can vote for more than one.

I doubled my salary, got to work from home and got to work on a really interesting project. This last year has been really good for me!

weavie··on uBlacklist: Blocks specific sites from appearing in Google search results
I'm not seeing it: https://duckduckgo.com/?t=ffab&q=crochet+ducks&iax=images&ia...
weavie··on Ask HN: Why is machine learning easier to learn than basic social skills?
One aspect of learning anything is that you have to risk making mistakes.

Possibly, in your mind you view the cost of making mistakes in social situations to be much greater than the cost of making mistakes in machine learning.

Mess up in machine learning, and you just kill the process, fix the code and run it again. No one needs to know. Mess up in a social situation and every one will find out, you will be judged harshly and they will think of you as a failure and will never let you forget it.

The key to getting over this is to teach yourself that actually making mistakes in a social situation is no big deal and people are actually pretty forgiving. The only way to teach yourself this is to take that risk and find out for yourself.

weavie··on Bitcoin and the U.S. Fiscal Reckoning
Do you mean this one? https://www.fooledbyrandomness.com/BTC-QF.pdf
weavie··on Companies that use Lisp extensively
Yup, I applied to and worked for one of the companies on this list purely because they were using Common Lisp.
weavie··on Rust: Enums to Wrap Multiple Errors
With exceptions you still need to decide what you are going to throw. I'm not really seeing how this is a hack that using exceptions would avoid?
weavie··on Clinical trial shows that the use of Vitamin D supplement improves sleep quality
Totally anecdotal, but I went through a period of insomnia a few years age. It would take several hours to get to sleep. I realised that I had recently started taking vitamin D supplements just before bed and figured it might be connected.

Changed to take the supplements in the morning and the insomnia went away.

← PreviousPage 3 of 34Next →