Compare commits

..

4 Commits

Author SHA1 Message Date
DeaDvey
ec1d04ca64 FUCKING NPM 2024-10-09 22:15:11 +00:00
DeaDvey
8706c60d35 darkmode toggle 2024-10-09 22:06:02 +00:00
ba503f8ec8 removed stupid file 2024-10-08 23:13:27 +01:00
4f6cdf31d4 dark/light mode toggle 2024-10-08 23:12:34 +01:00
56 changed files with 64 additions and 692 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

13
LICENSE
View File

@ -1,13 +0,0 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

1
README.md Normal file
View File

@ -0,0 +1 @@
Javalsai's website https://javalsai.dynv6.net/

BIN
assets/moon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
assets/sun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,11 +0,0 @@
<footer class="flex row space-between">
<div></div>
<div>
<p>
I hate web-dev, but ig it's cool to have a website
<br />
and no, no <i>light</i> mode, I have enough with this
</p>
</div>
<div><a href="https://git.javalsai.dynv6.net/javalsai/website">source</a></div>
</footer>

View File

@ -1,10 +1,17 @@
<header>
<nav>
<ul class="row-ul">
<li><a href="/">home</a></li>
<li><a href="https://git.javalsai.dynv6.net/">gitea</a></li>
<li><a href="/tools">tools</a></li>
<li><a href="/notes">notes</a></li>
</ul>
</nav>
<nav>
<ul class="row-ul">
<li><a href="/">home</a></li>
<li><a href="https://git.javalsai.dynv6.net/">gitea</a></li>
<li><a href="/tools">tools</a></li>
<li><a href="/notes">notes</a></li>
<button class="theme-toggle-button" onclick="light_mode()"><img class="theme-toggle-image" height="12px" margin="0px" /></button>
</ul>
</nav>
<script>
function light_mode() {
var element = document.body;
element.classList.toggle("light-mode");
}
</script>
</header>

View File

@ -1,5 +1,4 @@
</main>
</body>
<!--# include virtual="/components/footer.html" -->
</html>

View File

@ -15,6 +15,5 @@
</head>
<body class="flex column">
<!--TODO: add a file nav on the left, likely just iframe upper dir, should be autoinex-->
<!--# include virtual="/components/header.html" -->
<main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 200 KiB

View File

@ -15,8 +15,8 @@
<meta name="og:title" content="Javalsai's Website" />
<meta property="og:description" content="🐧javalsai's personal website" />
<meta property="og:image" content="https://javalsai.dynv6.net/logo.png">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="2048">
<meta property="og:image:width" content="864">
<meta property="og:image:height" content="864">
<meta name="profile:username" content="javalsai" />
<meta name="profile:gender" content="male" />
@ -24,13 +24,10 @@
<meta property="twitter:image" content="https://javalsai.dynv6.net/logo.png">
<link rel="stylesheet" href="style.css">
<link rel="me" href="https://mastodon.social/@javalsai">
</head>
<body class="flex column">
<!--# include virtual="/components/header.html" -->
<!--# include virtual="/components/header.html" -->
<main>
<div class="intro-container flex row wrappable">
<div>
@ -40,20 +37,11 @@
has big downtimes sometimes.</p>
<p>Not much to see, there's some subdomains in the top corner and this is just an intro to the domain and myself
in a way, but hey, it's responsive and clean. No JS, pure clean HTML structure and simple CSS.
<b><u>Unless</u></b> it's an interactive thing, but that will only be for some optional perks.
</p>
<b><u>Unless</u></b> it's an interactive thing, but that will only be for some optional perks.</p>
</div>
<div>
<a href="/logo.png" target="_blank" style="display: inline-block;">
<picture>
<source srcset="/logos/logo_2048.avif 2048w, /logos/logo_1024.avif 1024w, /logos/logo_512.avif 512w"
type="image/avif" />
<source srcset="/logos/logo_2048.webp 2048w, /logos/logo_1024.webp 1024w, /logos/logo_512.webp 512w"
type="image/webp" />
<source srcset="/logos/logo_2048.png 2048w, /logos/logo_1024.png 1024w, /logos/logo_512.png 512w"
type="image/png" />
<img alt="logo image" class="logo" src="/logo.png" />
</picture>
<img class="logo" src="/logo.png" />
</a>
</div>
</div>
@ -69,9 +57,8 @@
<p>I'm a huge Linux nerd and love messing around with the internals of my system, like filesystems, init
systems, network settings...</p>
<p>I also love hosting my own stuff like gitea, email, file server or http/s servers.</p>
<p>And about myself, well idk, I live in Spain 🇪🇸, I love skiing, and I also like maths and physics. Generally
a nerd of any scientific branch. I speak Spanish, English (of course) and a <i><u>little</u></i> of Italian.
</p>
<p>And about myself, well idk, I live in Spain 🇪🇸, I love skiing, and I also like maths and physics. Generally a
nerd of any scientific branch.</p>
</div>
<div>
<h2><a class="reference" id="socials" href="#socials">Socials</a></h2>
@ -89,7 +76,6 @@
style="--pre-icon: url(/assets/discord.svg); --scale-x: 1.2;">discord</a></li>
<li><a href="https://reddit.com/user/javalsai/" target="_blank" class="pre-icon"
style="--pre-icon: url(/assets/reddit.svg);">reddit</a></li>
<!-- TODO: add mastodon -->
</ul>
<p>Also, not really socials but related:</p>
<ul>
@ -100,11 +86,17 @@
48gGNbMVP2BZErXXB49AjVJvQDGFbyUyZd7fEMQe1weuPsrydbcaPftBggJddQP81U2ShS5Gju28oFhBGuhXiuMR8rsGZ4R
</code></li>
</ul>
<p>And also, idk, but I'll add steam, duolingo and chess profiles just bcs I'm bored later.</p>
</div>
</div>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
<footer>
<p>
I hate web-dev, but ig it's cool to have a website
<br />
and no, no <i>light</i> mode, I have enough with this
</p>
</footer>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 466 KiB

After

Width:  |  Height:  |  Size: 298 KiB

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 KiB

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -14,6 +14,7 @@
<h1><a class="reference" id="notes" href="#notes">Notes</a></h1>
<p>This will just contain markdown notes about academic stuff. Will try to use nice web stuff as much as
possible, like idk, integrate qalc graphs and that into formulas or smth.</p>
<p>FLASHBANG ALERT!</p>
<ul class="row-ul">
<li><a href="math">math</a></li>
<li><a href="physics">physics</a></li>
@ -23,7 +24,6 @@
<code>U&lt;unit&gt;_&lt;name&gt;.&lt;md/html&gt;</code></p>
<p>Also, example of the markdown to html thing right now, from <a href="example.md">this</a> to <a href="example.html">this</a></p>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

View File

@ -1,34 +0,0 @@
<!--# include virtual="/components/md-pre.html" -->
<h1 id="exercise-86-page-30">Exercise 86 page 30</h1>
<p>Calcula el rango de estas matrices:</p>
<ul>
<li><p>Apartado A
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>=</mo><mrow><mo stretchy="true" form="prefix">(</mo><mtable><mtr><mtd columnalign="center" style="text-align: center"><mn>2</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd></mtr><mtr><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>2</mn></mtd></mtr></mtable><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">
A = \begin{pmatrix}
2 &amp; 0 \\
0 &amp; 2
\end{pmatrix}
</annotation></semantics></math> Rango 2.</p></li>
<li><p>Apartado B
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>B</mi><mo>=</mo><mrow><mo stretchy="true" form="prefix">(</mo><mtable><mtr><mtd columnalign="center" style="text-align: center"><mn>1</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>2</mn></mtd></mtr><mtr><mtd columnalign="center" style="text-align: center"><mn>1</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>2</mn></mtd></mtr></mtable><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">
B = \begin{pmatrix}
1 &amp; 2 \\
1 &amp; 2
\end{pmatrix}
</annotation></semantics></math> Rango 1.</p></li>
<li><p>Apartado C
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>C</mi><mo>=</mo><mrow><mo stretchy="true" form="prefix">(</mo><mtable><mtr><mtd columnalign="center" style="text-align: center"><mn>1</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd></mtr><mtr><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd></mtr></mtable><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">
C = \begin{pmatrix}
1 &amp; 0 \\
0 &amp; 0
\end{pmatrix}
</annotation></semantics></math> Rango 1.</p></li>
<li><p>Apartado D
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>B</mi><mo>=</mo><mrow><mo stretchy="true" form="prefix">(</mo><mtable><mtr><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>1</mn></mtd></mtr><mtr><mtd columnalign="center" style="text-align: center"><mn>2</mn></mtd><mtd columnalign="center" style="text-align: center"><mn>0</mn></mtd></mtr></mtable><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">
B = \begin{pmatrix}
0 &amp; 1 \\
2 &amp; 0
\end{pmatrix}
</annotation></semantics></math> Rango 2.</p></li>
</ul>
<!--# include virtual="/components/md-post.html" -->

View File

@ -1,38 +0,0 @@
# Exercise 86 page 30
Calcula el rango de estas matrices:
- Apartado A
$$
A = \begin{pmatrix}
2 & 0 \\
0 & 2
\end{pmatrix}
$$
Rango 2.
- Apartado B
$$
B = \begin{pmatrix}
1 & 2 \\
1 & 2
\end{pmatrix}
$$
Rango 1.
- Apartado C
$$
C = \begin{pmatrix}
1 & 0 \\
0 & 0
\end{pmatrix}
$$
Rango 1.
- Apartado D
$$
B = \begin{pmatrix}
0 & 1 \\
2 & 0
\end{pmatrix}
$$
Rango 2.

View File

@ -1,138 +0,0 @@
<!--# include virtual="/components/md-pre.html" -->
<p><strong>Ley de Hooke:</strong>
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>σ</mi><mo>=</mo><mi>E</mi><mi>ε</mi></mrow><annotation encoding="application/x-tex">\sigma=E\varepsilon</annotation></semantics></math>
<img src="Pasted%20image%2020241017210008.png" /> <img
src="Pasted%20image%2020241017201832.png" /></p>
<ul>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>A</mi><mo>=</mo><mfrac><mrow><mi>Δ</mi><mi>l</mi></mrow><msub><mi>l</mi><mn>0</mn></msub></mfrac></mrow><annotation encoding="application/x-tex">A = \frac{\Delta l}{l_0}</annotation></semantics></math>:
Alargamiento de rotura
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>%</mi><annotation encoding="application/x-tex">\%</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>Z</mi><mo>=</mo><mfrac><mrow><mi>Δ</mi><mi>S</mi></mrow><msub><mi>S</mi><mn>0</mn></msub></mfrac></mrow><annotation encoding="application/x-tex">Z = \frac{\Delta S}{S_0}</annotation></semantics></math>:
Estricción de rotura
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>%</mi><annotation encoding="application/x-tex">\%</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>w</mi><mo>=</mo><mo></mo><mrow><mi>σ</mi><mspace width="0.222em"></mspace><mi>d</mi><mi>ε</mi></mrow></mrow><annotation encoding="application/x-tex">w = \int{\sigma\ d\varepsilon}</annotation></semantics></math>:
Trabajo realizado al alcanzar una tensión
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mfrac><mtext mathvariant="normal">deformación</mtext><mtext mathvariant="normal">unidad de volumen</mtext></mfrac><annotation encoding="application/x-tex">\frac{\text{deformación}}{\text{unidad de volumen}}</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>w</mi><mo>=</mo><mo></mo><mrow><mi>F</mi><mspace width="0.222em"></mspace><mi>d</mi><mi>l</mi></mrow></mrow><annotation encoding="application/x-tex">w = \int{F\ dl}</annotation></semantics></math>:
Trabajo de deformación</li>
</ul>
<h1 id="ensayos-de-dureza">Ensayos de Dureza</h1>
<h3 id="ensayo-de-brinell">Ensayo de Brinell</h3>
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th><img src="Pasted%20image%2020241017210211.png" /></th>
<th><img src="Pasted%20image%2020241017210225.png" /></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>Los grados Brinell se calculan como
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>H</mi><mi>B</mi><mo>=</mo><mfrac><mi>F</mi><mi>S</mi></mfrac></mrow><annotation encoding="application/x-tex">HB=\frac{F}{S}</annotation></semantics></math>
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mo>=</mo><mi>k</mi><mi>p</mi></mrow><annotation encoding="application/x-tex">F = kp</annotation></semantics></math>,
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mo>=</mo><mi>m</mi><msup><mi>m</mi><mn>2</mn></msup></mrow><annotation encoding="application/x-tex">S = mm^2</annotation></semantics></math>),
siendo la superficie calculada con
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>S</mi><mo>=</mo><mi>π</mi><mi>D</mi><mi>f</mi></mrow><annotation encoding="application/x-tex">S=\pi D f</annotation></semantics></math>.</p>
<p>Para calcular a
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>f</mi><annotation encoding="application/x-tex">f</annotation></semantics></math>
en función de los diámetros de la bola y de la huella se puede usar
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo>=</mo><mfrac><mrow><mi>D</mi><mo>±</mo><msqrt><mrow><msup><mi>D</mi><mn>2</mn></msup><mo></mo><msup><mi>d</mi><mn>2</mn></msup></mrow></msqrt></mrow><mn>2</mn></mfrac></mrow><annotation encoding="application/x-tex">
f = \frac{D \pm \sqrt{D^2 - d^2}}{2}
</annotation></semantics></math></p>
<h5 id="inconvenientes">Inconvenientes</h5>
<ul>
<li>No se pueden usar en piezas de espesores pequeños</li>
<li>No se puede utilizar en superficies curvas</li>
<li>Solo se puede usar en material de dureza baja (menor que el
penetrador)</li>
</ul>
<h3 id="ensayo-de-vickers">Ensayo de Vickers</h3>
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th><img src="Pasted%20image%2020241017211222.png" /></th>
<th><img src="Pasted%20image%2020241017211235.png" /></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>En este caso se utiliza como penetrador una pirámide de base cuadrada
cuyas caras laterales forman un ángulo de 136º. Lo que se hace es medir
la diagonal de la huella que deja el penetrador sobre el material. Se
usan fuerzas pequeñas
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi>k</mi><mi>p</mi><mo></mo><mn>120</mn><mi>k</mi><mi>p</mi></mrow><annotation encoding="application/x-tex">1kp - 120kp</annotation></semantics></math>),
normalmente
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>30</mn><mi>k</mi><mi>p</mi></mrow><annotation encoding="application/x-tex">30 kp</annotation></semantics></math>.</p>
<p>Con respecto a Brinell: - Se puede usar con materiales duros y
blandos. - Los espesores de las piezas pueden ser pequeños.</p>
<p>Se calcula con
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>H</mi><mi>V</mi><mo>=</mo><mfrac><mrow><mn>1.854</mn><mo></mo><mi>F</mi></mrow><msup><mi>d</mi><mn>2</mn></msup></mfrac></mrow><annotation encoding="application/x-tex">HV=\frac{1.854 \cdot F}{d^2}</annotation></semantics></math>
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mo>=</mo><mi>k</mi><mi>p</mi></mrow><annotation encoding="application/x-tex">F = kp</annotation></semantics></math>,
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>d</mi><mo>=</mo><mi>m</mi><mi>m</mi></mrow><annotation encoding="application/x-tex">d = mm</annotation></semantics></math>)</p>
<h3 id="ensayo-de-rockwell">Ensayo de Rockwell</h3>
<ul>
<li>El ensayo de Brinell no permite medir la dureza de los aceros
templados porque se deforman las bolas. Con el ensayo de Rockwell se
mide la profundidad de la huella.</li>
<li>Es fácil y rápido, pero poco preciso.</li>
<li>Se puede usar en materiales:
<ul>
<li>Duros: Para los que se usa un cono de diamante (HRC)</li>
<li>Blandos: Para el que se usa una bola (HRB)</li>
</ul></li>
</ul>
<p><img src="Pasted%20image%2020241017214311.png" /> 👍</p>
<h3 id="ensayo-de-charpy-o-de-resiliencia">Ensayo de Charpy o de
resiliencia</h3>
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th><img src="Pasted%20image%2020241017220307.png" /></th>
<th><img src="Pasted%20image%2020241017220332.png" /></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>El punto medio se suele entallar en forma de V o de U, a esta
resistencia se la llama KCU o KCV respectivamente. Se calcula dividiendo
la energía consumida por el material en la rotura en sus posiciones
inicial y final.
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>W</mi><mo>=</mo><mi>P</mi><mrow><mo stretchy="true" form="prefix">(</mo><msub><mi>h</mi><mn>0</mn></msub><mo></mo><msub><mi>h</mi><mi>f</mi></msub><mo stretchy="true" form="postfix">)</mo></mrow><mo>=</mo><mi>P</mi><mo></mo><mi>L</mi><mo></mo><mrow><mo stretchy="true" form="prefix">(</mo><mo>cos</mo><mi>β</mi><mo></mo><mo>cos</mo><mi>α</mi><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">
W = P(h_0-h_f) = P \cdot L \cdot (\cos\beta - \cos\alpha)
</annotation></semantics></math></p>
<ul>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>P</mi><annotation encoding="application/x-tex">P</annotation></semantics></math>:
peso del péndulo
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mi>g</mi></mrow><annotation encoding="application/x-tex">kg</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>L</mi><annotation encoding="application/x-tex">L</annotation></semantics></math>:
longitud del péndulo
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>m</mi><annotation encoding="application/x-tex">m</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>W</mi><annotation encoding="application/x-tex">W</annotation></semantics></math>:
energía de rotura
(<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>k</mi><mi>g</mi><mo></mo><mi>m</mi></mrow><annotation encoding="application/x-tex">kg \cdot m</annotation></semantics></math>)</li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>α</mi><annotation encoding="application/x-tex">\alpha</annotation></semantics></math>
y
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>β</mi><annotation encoding="application/x-tex">\beta</annotation></semantics></math>:
ángulos del péndulo
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>K</mi><mi>C</mi><mi>V</mi><mi>/</mi><mi>K</mi><mi>C</mi><mi>U</mi><mspace width="0.222em"></mspace><mrow><mo stretchy="true" form="prefix">(</mo><mfrac displaystyle="false"><mi>J</mi><msup><mi>m</mi><mn>2</mn></msup></mfrac><mo stretchy="true" form="postfix">)</mo></mrow><mo>=</mo><mfrac><mi>W</mi><msub><mi>S</mi><mn>0</mn></msub></mfrac><mo></mo><mi>ρ</mi><mo>=</mo><mfrac><mrow><mi>Δ</mi><msub><mi>E</mi><mi>P</mi></msub></mrow><mi>S</mi></mfrac><mo>=</mo><mfrac><mrow><mi>m</mi><mo></mo><mi>g</mi><mo></mo><mrow><mo stretchy="true" form="prefix">(</mo><mi>H</mi><mo></mo><mi>h</mi><mo stretchy="true" form="postfix">)</mo></mrow></mrow><mi>S</mi></mfrac></mrow><annotation encoding="application/x-tex">
KCV/KCU\ (\tfrac{J}{m^2}) = \frac{W}{S_0} \longrightarrow \rho = \frac{\Delta E_P}{S} = \frac{m \cdot g \cdot (H - h)}{S}
</annotation></semantics></math></li>
<li><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mi>S</mi><annotation encoding="application/x-tex">S</annotation></semantics></math>/<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><msub><mi>S</mi><mn>0</mn></msub><annotation encoding="application/x-tex">S_0</annotation></semantics></math>:
Sección en la zona de entrada (sin contar la entalladura)</li>
</ul>
<!--# include virtual="/components/md-post.html" -->

View File

@ -1,63 +0,0 @@
**Ley de Hooke:** $\sigma=E\varepsilon$
![](Pasted image 20241017210008.png)
![](Pasted image 20241017201832.png)
* $A = \frac{\Delta l}{l_0}$: Alargamiento de rotura ($\%$)
* $Z = \frac{\Delta S}{S_0}$: Estricción de rotura ($\%$)
* $w = \int{\sigma\ d\varepsilon}$: Trabajo realizado al alcanzar una tensión ($\frac{\text{deformación}}{\text{unidad de volumen}}$)
* $w = \int{F\ dl}$: Trabajo de deformación
# Ensayos de Dureza
### Ensayo de Brinell
| ![](Pasted image 20241017210211.png) | ![](Pasted image 20241017210225.png) |
| ------------------------------------ | ------------------------------------ |
Los grados Brinell se calculan como $HB=\frac{F}{S}$ ($F = kp$, $S = mm^2$), siendo la superficie calculada con $S=\pi D f$.
Para calcular a $f$ en función de los diámetros de la bola y de la huella se puede usar
$$
f = \frac{D \pm \sqrt{D^2 - d^2}}{2}
$$
##### Inconvenientes
- No se pueden usar en piezas de espesores pequeños
- No se puede utilizar en superficies curvas
- Solo se puede usar en material de dureza baja (menor que el penetrador)
### Ensayo de Vickers
| ![](Pasted image 20241017211222.png) | ![](Pasted image 20241017211235.png) |
| ------------------------------------ | ------------------------------------ |
En este caso se utiliza como penetrador una pirámide de base cuadrada cuyas caras laterales forman un ángulo de 136º. Lo que se hace es medir la diagonal de la huella que deja el penetrador sobre el material. Se usan fuerzas pequeñas ($1kp - 120kp$), normalmente $30 kp$.
Con respecto a Brinell:
- Se puede usar con materiales duros y blandos.
- Los espesores de las piezas pueden ser pequeños.
Se calcula con $HV=\frac{1.854 \cdot F}{d^2}$ ($F = kp$, $d = mm$)
### Ensayo de Rockwell
* El ensayo de Brinell no permite medir la dureza de los aceros templados porque se deforman las bolas. Con el ensayo de Rockwell se mide la profundidad de la huella.
* Es fácil y rápido, pero poco preciso.
* Se puede usar en materiales:
* Duros: Para los que se usa un cono de diamante (HRC)
* Blandos: Para el que se usa una bola (HRB)
![](Pasted image 20241017214311.png)
👍
### Ensayo de Charpy o de resiliencia
| ![](Pasted image 20241017220307.png) | ![](Pasted image 20241017220332.png) |
| ------------------------------------ | ------------------------------------ |
El punto medio se suele entallar en forma de V o de U, a esta resistencia se la llama KCU o KCV respectivamente. Se calcula dividiendo la energía consumida por el material en la rotura en sus posiciones inicial y final.
$$
W = P(h_0-h_f) = P \cdot L \cdot (\cos\beta - \cos\alpha)
$$
* $P$: peso del péndulo ($kg$)
* $L$: longitud del péndulo ($m$)
* $W$: energía de rotura ($kg \cdot m$)
* $\alpha$ y $\beta$: ángulos del péndulo
$$
KCV/KCU\ (\tfrac{J}{m^2}) = \frac{W}{S_0} \longrightarrow \rho = \frac{\Delta E_P}{S} = \frac{m \cdot g \cdot (H - h)}{S}
$$
* $S$/$S_0$: Sección en la zona de entrada (sin contar la entalladura)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

View File

@ -1,48 +0,0 @@
document.addEventListener('DOMContentLoaded', function() {
function calculateSize(size) {
var sufixes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'EiB'];
var q = 0;
while (size / 1024 > 1) {
size = size / 1024;
q++;
}
return (Math.round(size * 100) / 100) + ' ' + sufixes[q];
}
if (window.location.pathname == '/') {
document.querySelector('.directory.go-up').style.display = 'none';
}
var path = window.location.pathname.split('/');
var nav = document.querySelector("nav#breadcrumbs ul");
var pathSoFar = '';
for (var i = 1; i < path.length - 1; i++) {
pathSoFar += '/' + decodeURI(path[i]);
nav.innerHTML += '<li><a href="' + encodeURI(pathSoFar) + '">' + decodeURI(path[i]) + '</a></li>';
}
var mtimes = document.querySelectorAll("table#contents td.mtime a");
for (var i = 0; i < mtimes.length; i++) {
var mtime = mtimes[i].textContent;
if (mtime) {
var d = new Date(mtime);
mtimes[i].textContent = d.toLocaleString(navigator.language);
}
}
var sizes = document.querySelectorAll("table#contents td.size a");
for (var i = 1; i < sizes.length; i++) {
var size = sizes[i].textContent.slice(0, -2);
if (size) {
sizes[i].textContent = calculateSize(parseInt(size));
}
}
}, false);

View File

@ -1,191 +0,0 @@
/* soo much SHIT css */
* {
box-sizing: border-box;
}
html {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
}
body {
background: var(--background);
}
table#contents td a {
text-decoration: none;
display: block;
padding: 10px 30px 10px 30px;
}
table#contents {
width: 50%;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
border-width: 0px;
}
table#contents td {
padding: 0px;
word-wrap: none;
white-space: nowrap;
}
table#contents td.icon,
table td.size,
table td.mtime {
width: 1px;
white-space: nowrap;
}
table#contents td.icon a {
padding-left: 0px;
padding-right: 5px;
}
table#contents td.name a {
padding-left: 5px;
}
table#contents td.size a {
color: var(--text);
}
table#contents td.mtime a {
padding-right: 0px;
color: var(--text);
}
table#contents tr {
color: var(--text);
}
table#contents tr:hover {
color: var(--accent);
}
table#contents tr.separator td {
padding: 10px 30px 10px 30px
}
table#contents tr.separator td hr {
display: none;
}
nav#breadcrumbs {
margin-bottom: 50px;
display: flex;
justify-content: center;
align-items: center;
}
nav#breadcrumbs ul {
list-style: none;
display: inline-block;
margin: 0px;
padding: 0px;
}
nav#breadcrumbs ul .icon {
font-size: 14px;
}
nav#breadcrumbs ul li:first-child a,
table#contents tbody tr:first-child td:first-child a {
color: var(--primary);
}
nav#breadcrumbs ul:hover li:first-child a {
color: var(--text);
}
nav#breadcrumbs ul li {
float: left;
}
nav#breadcrumbs ul li a {
color: var(--text);
display: block;
background: var(--background-lighter);
text-decoration: none;
position: relative;
height: 40px;
line-height: 40px;
padding: 0 10px 0 5px;
text-align: center;
margin-right: 23px;
}
nav#breadcrumbs ul li:first-child a {
padding-left: 15px;
-moz-border-radius: 4px 0 0 4px;
-webkit-border-radius: 4px;
border-radius: 4px 0 0 4px;
}
nav#breadcrumbs ul li:first-child a:before {
border: none;
}
nav#breadcrumbs ul li:last-child a {
padding-right: 15px;
-moz-border-radius: 0 4px 4px 0;
-webkit-border-radius: 0;
border-radius: 0 4px 4px 0;
}
nav#breadcrumbs ul li:last-child a:after {
border: none;
}
nav#breadcrumbs ul li a:before,
nav#breadcrumbs ul li a:after {
content: "";
position: absolute;
top: 0;
border: 0 solid var(--background-lighter);
border-width: 20px 10px;
width: 0;
height: 0;
}
nav#breadcrumbs ul li a:before {
left: -20px;
border-left-color: transparent;
}
nav#breadcrumbs ul li a:after {
left: 100%;
border-color: transparent;
border-left-color: var(--background-lighter);
}
nav#breadcrumbs ul li a:hover {
background-color: var(--primary);
}
nav#breadcrumbs ul li a:hover:before {
border-color: var(--primary);
border-left-color: transparent;
}
nav#breadcrumbs ul li a:hover:after {
border-left-color: var(--primary);
}
nav#breadcrumbs ul li a:active {
background-color: var(--accent);
}
nav#breadcrumbs ul li a:active:before {
border-color: var(--accent);
border-left-color: transparent;
}
nav#breadcrumbs ul li a:active:after {
border-left-color: var(--accent);
}

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:D="DAV:" exclude-result-prefixes="D">
<xsl:output method="html" encoding="UTF-8" />
<xsl:template match="D:multistatus">
<xsl:text disable-output-escaping="yes">&lt;?xml version="1.0" encoding="utf-8" ?&gt;</xsl:text>
<D:multistatus xmlns:D="DAV:">
<xsl:copy-of select="*"/>
</D:multistatus>
</xsl:template>
<xsl:template match="/list">
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
<html>
<head>
<link rel="stylesheet" href="/styles/bundles/complete.css" />
<link rel="stylesheet" href="/srv/autoindex-style.css" />
<script src="https://kit.fontawesome.com/55eb9c16a8.js"></script>
<script src="/srv/autoindex-script.js" type="text/javascript"></script>
</head>
<body>
<div>
<nav id="breadcrumbs"><ul><li><a href="/">/</a></li></ul></nav>
<table id="contents">
<tbody>
<tr class="directory go-up">
<td class="icon"><a href="../"><b></b></a></td>
<td class="name"><a href="../">..</a></td>
<td class="size"><a href="../"></a></td>
<td class="mtime"><a href="../"></a></td>
</tr>
<xsl:if test="count(directory) != 0">
<tr class="separator directories">
<td colspan="4"><hr/></td>
</tr>
</xsl:if>
<xsl:for-each select="directory">
<tr class="directory">
<td class="icon"><a href="{.}/"><i class="fa fa-folder"></i></a></td>
<td class="name"><a href="{.}/"><xsl:value-of select="." /></a></td>
<td class="size"><a href="{.}/"></a></td>
<td class="mtime"><a href="{.}/"><xsl:value-of select="./@mtime" /></a></td>
</tr>
</xsl:for-each>
<xsl:if test="count(file) != 0">
<tr class="separator files">
<td colspan="4"><hr/></td>
</tr>
</xsl:if>
<xsl:for-each select="file">
<tr class="file">
<td class="icon"><a href="{.}"><i class="fa fa-file"></i></a></td>
<td class="name"><a href="{.}"><xsl:value-of select="." /></a></td>
<td class="size"><a href="{.}"><xsl:value-of select="./@size" /> B</a></td>
<td class="mtime"><a href="{.}"><xsl:value-of select="./@mtime" /></a></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,5 +1,3 @@
@import url('/styles/variables.css');
@import url('/styles/scrollbar.css');
@import url('/styles/common.css');
@import url('/styles/classes/breaks.css');
@import url('/styles/classes/flex.css');
@ -23,6 +21,26 @@ body {
color: var(--text);
caret-color: var(--primary);
}
.light-mode {
background-color: white;
color: black;
.theme-toggle-image {
content:url("/assets/moon.png");
}
button {
background-color: white;
border: 0px;
margin: 0px
}
}
.theme-toggle-image {
content:url("/assets/sun.png");
}
button {
background-color: black;
border: 0px;
margin: 0px
}
*, *::before, *::after {
transition: all .3s ease-out;

View File

@ -1,5 +1,3 @@
@import url('/styles/variables.css');
@import url('/styles/scrollbar.css');
@import url('/styles/common.css');
@import url('/styles/classes/breaks.css');
@import url('/styles/classes/flex.css');

View File

@ -1,6 +1,4 @@
@import url('/styles/common.css');
@import url('/styles/variables.css');
@import url('/styles/scrollbar.css');
@import url('/styles/classes/breaks.css');
@import url('/styles/classes/flex.css');
@import url('/styles/classes/ul-directions.css');
@ -26,10 +24,6 @@ body {
caret-color: var(--primary);
}
img {
width: 100%;
}
math {
font-family: "Crimson Text";
}

View File

@ -17,7 +17,3 @@
.flex.same-width {
flex: 1;
}
.flex.space-between {
justify-content: space-between;
}

View File

@ -3,7 +3,6 @@
margin: 0;
padding: 0;
gap: .3em;
line-height: 2em;
}
.row-ul > li {

View File

@ -1,3 +1,6 @@
@import url('/styles/variables.css');
@import url('/styles/scrollbar.css');
h1, h2, h3, h4, h5 {
font-family: var(--font);
font-weight: 700;

View File

@ -1,3 +1,4 @@
@import url('/styles/common.css');
footer {
margin-top: 1em;
color: var(--dark-text);

View File

@ -1,3 +1,5 @@
@import url('/styles/common.css');
header {
position: fixed;

View File

@ -1,3 +1,5 @@
@import url('/styles/common.css');
.pre-icon {
display: inline-flex;
align-items: center;
@ -8,14 +10,10 @@
.pre-icon::before {
content: '';
/*content: var(--pre-icon);*/
mask: var(--pre-icon);
mask-size: cover;
background: var(--dark);
/*width: unset;*/
/*object-fit: cover;*/
width: calc(1em * var(--scale-x));
/*height: .1em;*/
height: calc(1em * var(--scale-y));
margin-right: .3em;
display: inline-block;

View File

@ -1,3 +1,5 @@
@import url('/styles/common.css');
a.reference:link,
a.reference:visited {
color: inherit;

View File

@ -1 +0,0 @@
/pkg

View File

@ -1,17 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<script type="module" src="index.js"></script>
<style>
html, body {
height: 100%;
}
</style>
</head>
<body>
<button id="open-computer">Open From Computer</button>
<canvas style="position: absolute;top:0;bottom: 0;left: 0;right: 0;margin:auto;"></canvas>
<canvas style="position: absolute;top:0;bottom: 0;left: 600;right: 0;margin:auto;"></canvas>
</body>
</html>

View File

@ -1,11 +0,0 @@
import init from './pkg/web.js';
async function run() {
try {
await init();
} catch(e) {
console.error(e);
}
}
run();

View File

@ -15,10 +15,8 @@
<p>This is just a collection of tools or stuff I've made, out there for any to use.</p>
<ul>
<li><a href="qalc">qalc</a> - Popular libqalculate tool compiled for the web</li>
<li><a href="3rs-orbit">3rs-orbit</a> - Just <a href="https://github.com/javalsai/3rs-orbit/">a wasm project</a> built and hosted on my website to test it. Prob not the at the latest commit.</li>
</ul>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

View File

@ -19,7 +19,6 @@
<a href="flaviut">live example</a>
</p>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>