Hacker News Top Stories with Summaries (April 18, 2023)
<style>
p {
font-size: 16px;
line-height: 1.6;
margin: 0;
padding: 10px;
}
h1 {
font-size: 24px;
font-weight: bold;
margin-top: 10px;
margin-bottom: 20px;
}
h2 {
font-size: 18px;
font-weight: bold;
margin-top: 10px;
margin-bottom: 5px;
}
ul {
padding-left: 20px;
}
li {
margin-bottom: 10px;
}
.summary {
margin-left: 20px;
margin-bottom: 20px;
}
</style>
<h1> Hacker News Top Stories</h1>
<p>Here are the top stories from Hacker News with summaries for April 18, 2023 :</p>
<div style="margin-bottom: 20px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-right: 10px;">
<div style="width: 200px; height: 100px; border-radius: 10px; overflow: hidden; background-image: url('https://hackernewstoemail.s3.us-east-2.amazonaws.com/hnd2'); background-size: cover; background-position: center;">
RedPajama: Reproduction of LLaMA with friendly license
Summary: RedPajama is a project aimed at creating a set of leading, fully open-source models. The project has completed its first step, which involves reproducing the LLaMA training dataset of over 1.2 trillion tokens. RedPajama aims to create a fully open-source reproduction of LLaMA, which would be available for commercial applications, and provide a more transparent pipeline for research. The RedPajama base dataset is a 1.2 trillion token fully-open dataset created by following the recipe described in the LLaMA paper. The full dataset is available for download through Hugging Face. RedPajama is a collaboration between Together, Ontocord.ai, ETH DS3Lab, Stanford CRFM, Hazy Research, and MILA Québec AI Institute.
<div style="margin-bottom: 20px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-right: 10px;">
<div style="width: 200px; height: 100px; border-radius: 10px; overflow: hidden; background-image: url('https://theor.xyz/_astro/banner.f008b8a1.webp'); background-size: cover; background-position: center;">
DOOM maps to SVG to laser cutter
Summary: The author of the article wrote Rust code to extract maps from the classic Doom game and convert them into vector graphics that can be laser cut. The Doom data format is well-documented and contains "lumps" of data, including map geometry, textures, sounds, and text. The author used the Rust parser combinators library called nom to parse the data. To group sectors by similar floor heights and reduce the layer count, the author used a set union to merge polygons and removed internal lines by finding duplicate edges in a polygon. Finally, the author separated sectors into layers according to their floor height by providing an array of heights and grouping sectors by the smallest upper bound.