I switched to using LlamaBarn to manage local models on macOS.
HN user
rement
No, Chimpanzees also have tribes and fight over territory
Be aware that if you run it on the internet other people will find it. I had one open to the web for a bit and was a bit surprised how many systems started making requests to it.
I suspect they are using the 50-75 character rule for the text [0]. It makes the page look empty with so much white space. For me 100 characters is a better line length as I prefer to scan text on the web over reading it and the page doesn't look as empty.
[0] https://en.wikipedia.org/wiki/Line_length#Electronic_text
Sounds like you have the opportunity to make the map better for yourself and everyone else. The data comes from Open Street Map which is community edited and maintained https://www.openstreetmap.org
Awesome little project! I went through the US state flags and found that you are using the old Mississippi flag.
Fun ASCII gotcha: [A-z] includes [ ] \ ^ _ and `
Nvim has some plugins and features that do some of the things you might be interested in. Telescope[0][1] which is a fuzzy finder for anything you can think of (files, symbols, color themes, etc.[2]). The LSP and Treesitter stuff in nvim 0.5+ is also pretty cool. If you want to just try it without much work the Lunarvim[3] project comes with sane defaults and included plugins (including Telescope).
Lua as the default configuration language makes things simple to configure as well.
Having said all that...if someone told me [insert-text-editor] had everything I would want I would probably check it out and go home to vim (but I do enjoy learning about new stuff and features).
[0] https://github.com/nvim-telescope/telescope.nvim
[1] https://www.youtube.com/watch?v=65AVwHZflsU -- demo video
[2] https://github.com/nvim-telescope/telescope.nvim#vim-pickers
Apollo: Missions to the Moon[0]
There is no narrator for this documentary. All of the "narration" is from recorded tv, radio, and home movies from the time. It is really inspiring to watch humans overcome Earth's gravity to get to the Moon as it happened over 50 years ago.
[0] https://www.natgeotv.com/int/apollo-missions-to-the-moon
The HN js actually does just this. The file isn't very long but has some great functions at the top
You can define your own `$` function. This way you can have the clean code without the entire jQuery library
function $(arg) {
if (arg.charAt(0) == "#") {
// HTML spec does not support ids to start with numbers [0]
// (you may not need this conditional on your website)
return document.getElementById(arg.slice(1))
}
return document.querySelector(arg)
}
Using this function you can select your comment with $('#27677234')
jQuery does add many extra features but if clean code is the only thing you are after there are other options.I believe this is what is know as a "nerd snipe" https://xkcd.com/356/
I'm pretty sure this is how many of those scam refund emails start...
More a demo of how GitLab pipelines and terraform work together. In this case the app was deployed to AWS.
In this case I think it is more an ecosystem of build and deploy scripts that use the tools GitLab already provides (gitlab pipelines, terraform, etc.). GitLab is not providing the server space, instead you provide credentials to any supported cloud space and GitLab pipelines deploy the application.
I really like the Fuller/Dymaxion map for this. It limits the distortion and you can "rebuild" the earth by folding the map back into an Icosahedron. (It is displayed in the article)
Map projections are tools that all have pros and cons. I do not really see how pasting two Equidistant Azimuthal Projections on both sides of paper "re-imagines" the world map.
The choice of having the focus of this map on the poles (the two most uninhabitable places on earth) is interesting. These two points are the least distorted on the map.
Here is an observable that lets you drag around landmasses in different projections [https://observablehq.com/@fil/synchronized-projections]
Fixing mistakes, typos, and errors are good things. Many articles and people suggest fixing typos in documentation for your first open source contributions. I would be interested if I found a new GitHub account with multiple accepted/pending PRs fixing things.
Reminds me of when I was in elementary school and we would have "phone book" drives. The class that collected the most phone books to be recycled would get some kind of prize. I remember walking around my neighborhood with a wagon collecting phone books. Good times.
I haven't but that is awesome. That is a much better syntax than just outputting data with `print(x, y)` and remembering which came first (when debugging of course).
I have never seen f-strings! It's my lucky day! https://xkcd.com/1053/
Time to refactor the project I am currently working on that is loaded with `str.format()`
duckduckgo has a !bang for hacker news `sudo !hn` redirects to hn.algolia.com with the thread at the top of the list
I don't know what part of the world you are from but my local library has a 3D printer you can use for free. All you need is a library card in good standing and to take a 1 hour orientation. After that you just need to reserve the printer for the day (no overnight printing).
Hosting it yourself does not give you any extra features. You still need to pay (the same price) for the premium features. The only benefit to self hosting is you have complete control of your data (which is important to some companies)
This is a project I built to help with my job search. It pulls Stack Overflow job listings (using the RSS feeds) and maps them based on the city. It only supports cities in the United States or fully remote companies at the moment. It's functional but definitely half baked.
Main tech: Rails and Leaflet.js
https://railsmap.tuckerchapman.com/
edit: I would love some feature suggestions if anybody has any
Not only that but the "call to go home" will be limited because it can't be retweeted or liked.
Today, I'm ordering a citywide curfew for the District of Columbia from 6:00 p.m. on Wednesday, January 6, until 6:00 a.m. on Thursday, January 7.
Trump has called for everyone to go home. We will see if they listen to him.
https://twitter.com/realDonaldTrump/status/13469288825958850...
https://threadreaderapp.com/thread/1345955063353597954.html
edit: I agree with you though. This should have been a blog post.