HNHacker News
TopNewBestAskShowJobs

mozillas

147 karma · joined December 22, 2014

submissionscomments
mozillas··on Run Llama 13B with a 6GB graphics card
I ran the 7B Vicuna (ggml-vic7b-q4_0.bin) on a 2017 MacBook Air (8GB RAM) with llama.cpp.

Worked OK for me with the default context size. 2048, like you see in most examples was too slow for my taste.

mozillas··on To keep your account active, log in at least every 30 days
I wish more companies did this. I cannot delete my Coinbase account because I must provide a phone number to log in (which was not needed when I made the account). SendGrid does the same thing.

Yahoo handles it well, I think. They will send an email to your recovery email address to inform you that unless you log into your account in the next 30 days or so, it will be closed.

mozillas··on Please Don't Say Just Hello In Chat (2013)
A Slack bot could reply to solitary "Hello" messages with a link to this URL. Although that might come abrasive to some people.
mozillas··on Ask HN: What are some good back end website ideas?
A couple of years ago I wrote a feed reader which would check every hour for new items in a few hundreds feeds. This script was running on a $5/mo server(initially it ran of an old laptop I had for easier debugging) and it would post the the new data to the database located on the website server. So I was using two machines, one for the crawler and one for the website, and two databases too I think. The one for the feed crawler was very simple with only the list of urls and the latest item url, so I don't show it again. That was the theory, at least, feeds are a bit more complicated in real life.

That's what I did, but I might have had different requirements. If you don't have a lot to crawl and you don't have to do it very often(once a week or less), you can probably space out the requests enough so that the server doesn't feel it. It helps a lot if you use some caching as well for the website itself in this case. I think it depends a lot on the requirements of the project. But using two machines is safer I think, although it might complicate things a bit.

Keep in mind that there's probably better technical advice out there than mine. I'm a hobbyist developer.

mozillas··on Ask HN: What are some good back end website ideas?
You could try making something like BuiltWith https://builtwith.com/ycombinator.com. They have a fairly simple front-end(nothing happening in real-time) and you could offer stats about the top 10K Alexa websites, which makes a project look better than having some dummy data, I think.

I also remember about a side project that involves by crawling HN and displaying the most mentioned books in the comments. I think the author was making a bit of money by having a link to Amazon for each book(and using an affiliate code). You could do something similar but for popular Wikipedia articles for example. Or you could use Reddit as a source and instead of searching for popular books to search for sneakers or music.

Of course, I don't know if these ideas are too simple or too complicated, interesting or not for you and the person who will give you a grade.

mozillas··on Ask HN: Where would you invest 30K EUR?
Buy a website that makes 1K EUR a month. Before, do some thinking and reading about a niche that you might know something about or care about. Use a serious broker to minimize the chances of getting scammed. Try to grow the website by using some your time and skills or use the money left to hire people that cost less per hour than what you make.

If things go well, you can keep the website or sell it for more than you bought it. If the revenue doesn't improve or becomes smaller you can sell the website and get some of the money back. Either way, you'll learn some new things.

mozillas··on Ditching the MacBook Pro for a MacBook Air
Control+Shift+Power turns off the display and by checking "Require password after sleep or screen saver begins" in System Preferences you get same effect by using a keyboard shortcut. https://apple.stackexchange.com/a/46170
mozillas··on Sublime Text 3.1 Released
I had to sort of make my own. Each theme I tried had something that didn't work for me, the background was too light, or too dark, or I could barely see the text selection. So I settled on the Base16 Ocean Theme and tweaked with this web app https://tmtheme-editor.herokuapp.com/
mozillas··on Ask HN: Am I addicted to HackerNews?
Is there no way to add a notification when the build is finished?

In my case, for python scripts that take a little more time to run, I add a `tput bel` at the end of the script. By doing this iTerm gives me a visual and a gentle sound notification that things are ready.

mozillas··on Ask HN: What are your favorite web front-end ressources?
I've known this one for a while now; it shows up first when you search "front-end news" in Google https://frontendfront.com/
mozillas··on Ask HN: OS X (local) Time Tracker
Billings 3 has a time tracking feature, but I don't believe it's supported anymore and they don't sell new licences.

A million years ago I used this https://github.com/rburgst/time-tracker-mac. But it hasn't really been updated in long time https://code.google.com/archive/p/time-tracker-mac/downloads.

I haven't tried this one, but Tyme looks promising http://tyme-app.com/mac-2/. It seems it's a standalone app and has a 15 day trial, so you can test it out for a while. It's also only $18, so it's quite affordable.

mozillas··on Ask HN: Your favorite everyday shoes?
I work from home, so slippers. A long time ago, I used work for a small dev/design shop where slippers were mandatory.

For when I leave the house, Chucks are my choice.

mozillas··on Ask HN: Learn in weekend, what resources you suggest?
I'm a designer, but one of the most useful things I learned, after Python, is RegEx. I use it all the time in Sublime Text for "Find and Replace". Saves me a lot of time.

I also think it can be learned in a weekend. At least up to a certain degree.

Here are some resources http://stackoverflow.com/a/2759417

mozillas··on Ask HN: What else do you read as regularly as Hacker News?
for front-end news https://frontendfront.com/

for designer news https://www.designernews.co/

and Twitter

mozillas··on Slack Chats
Most of reddit is open. No account required, no invite required to read. Same for HN. Facebook is closed.
mozillas··on Slack Chats
What if HN would have been a private Slack Chat?
mozillas··on Ask HN: How do you manage/organize information and knowledge in your life?
I use Evernote. Because it can handle multiple types of content. The most useful information I keep in there are tutorials. Mostly written by me. How to do things that I only have to do a few times a year. Basically recipes for anything, not just food. The stuff I do repeatedly I just remember or automate.

Passwords are a good example of this. I can deduce them(based on a formula), but I don't want to do that every day, so I use 1Password.

But it's not bad to just forget. There are quotes, links, funny pics in my Evernote that I've never used. So I'm now much more selective in my note taking. It's less stressful.

mozillas··on MozJPEG 3.0
4chan? They've only started to serve static content from a cookie less domain about a year ago http://chrishateswriting.com/post/68794699432/small-things-a.... When it's a known web performance technique for quite some time. Jeff Atwood did this at Stack Overflow in 2009 http://blog.stackoverflow.com/2009/08/a-few-speed-improvemen...