Skip to content

Commit 6dc5722

Browse files
authored
Merge pull request #13 from cpp4theselftaught/copilot/add-placeholder-website
2 parents 6e9f77a + 1e5599a commit 6dc5722

5 files changed

Lines changed: 123 additions & 64 deletions

File tree

404.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
---
2-
layout: default
2+
layout: placeholder
33
---
44

5-
<style type="text/css" media="screen">
6-
.container {
7-
margin: 10px auto;
8-
max-width: 600px;
9-
text-align: center;
10-
}
11-
h1 {
12-
margin: 30px 0;
13-
font-size: 4em;
14-
line-height: 1;
15-
letter-spacing: -1px;
16-
}
17-
</style>
5+
# 404
186

19-
<div class="container">
20-
<h1>404</h1>
7+
<div class="content">
8+
<p><strong>Page not found</strong></p>
9+
<p>The page you're looking for doesn't exist.</p>
10+
<p>Our new website is coming soon!</p>
11+
</div>
2112

22-
<p><strong>Page not found :(</strong></p>
23-
<p>The requested page could not be found.</p>
13+
<div class="timeline">
14+
<strong>Expected Launch:</strong> Late 2026 / Early 2027
2415
</div>

_layouts/placeholder.html

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>{{ page.title | default: site.title }}</title>
8+
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" />
9+
<style>
10+
* {
11+
margin: 0;
12+
padding: 0;
13+
box-sizing: border-box;
14+
}
15+
16+
body {
17+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
18+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
19+
color: #ffffff;
20+
min-height: 100vh;
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
text-align: center;
25+
padding: 20px;
26+
}
27+
28+
.container {
29+
max-width: 800px;
30+
padding: 40px;
31+
}
32+
33+
h1 {
34+
font-size: 3em;
35+
margin-bottom: 20px;
36+
font-weight: 700;
37+
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
38+
}
39+
40+
.subtitle {
41+
font-size: 1.5em;
42+
margin-bottom: 30px;
43+
opacity: 0.9;
44+
}
45+
46+
.content {
47+
font-size: 1.2em;
48+
line-height: 1.6;
49+
margin-bottom: 30px;
50+
opacity: 0.85;
51+
}
52+
53+
.timeline {
54+
font-size: 1.1em;
55+
margin-top: 40px;
56+
padding: 20px;
57+
background: rgba(255, 255, 255, 0.1);
58+
border-radius: 10px;
59+
backdrop-filter: blur(10px);
60+
}
61+
62+
@media (max-width: 768px) {
63+
h1 {
64+
font-size: 2em;
65+
}
66+
67+
.subtitle {
68+
font-size: 1.2em;
69+
}
70+
71+
.content {
72+
font-size: 1em;
73+
}
74+
}
75+
</style>
76+
</head>
77+
<body>
78+
<div class="container">
79+
{{ content }}
80+
</div>
81+
</body>
82+
</html>

about.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2-
layout: page
2+
layout: placeholder
33
title: About
4-
permalink: /about/
54
---
6-
This is the new C++ for the self-taught website.
75

8-
C++ for the self-taught is currently focused on developing the Rubicon ASN.1 compiler. You can follow the development of this open source project, started on a whim by Ronald Landheer-Cieslak, by following this site.
6+
# About C++ for the self-taught
97

10-
More to come - this new site was developed initially because the WordPress site this was hosted on broke down for the fourth time and I (rlc) was fed up with putting it back up. Stay tuned.
8+
<div class="content">
9+
<p>We're currently redesigning our website to provide an even better learning experience.</p>
10+
</div>
11+
12+
<div class="timeline">
13+
<strong>New Website Coming:</strong> Late 2026 / Early 2027
14+
</div>

index.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
---
2-
# You don't need to edit this file, it's empty on purpose.
3-
# Edit theme's home layout instead if you wanna make some changes
4-
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
5-
layout: home
2+
layout: placeholder
3+
title: C++ for the self-taught
64
---
5+
6+
# C++ for the self-taught
7+
8+
<div class="subtitle">Coming Soon</div>
9+
10+
<div class="content">
11+
<p>We're working on something new and exciting!</p>
12+
<p>This website is currently under construction as we prepare to launch a completely redesigned experience.</p>
13+
</div>
14+
15+
<div class="timeline">
16+
<strong>Expected Launch:</strong> Late 2026 / Early 2027
17+
</div>

rubicon.md

Lines changed: 8 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,14 @@
11
---
2-
layout: page
2+
layout: placeholder
33
title: Rubicon
4-
date: 2017-08-14 23:03:21 -0400
5-
update: 2017-10-17
64
---
7-
On July 30, [@jadamcrain](https://twitter.com/jadamcrain) tweeted:
85

9-
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">ASN.1 is a terrible DSL for security oriented message definitions. Way too complex. Security message/file formats must be simpler.</p>&mdash; Code Monkey Hate Bug (@jadamcrain) <a href="https://twitter.com/jadamcrain/status/891732011773284352?ref_src=twsrc%5Etfw">July 30, 2017</a></blockquote>
10-
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
6+
# Rubicon ASN.1 Project
117

12-
On the surface, he is right, of course: ASN.1 is an overly complex domain-specific language which consists of two major categories of languages: a schema language, specified in X.680, X.681, X.682, and X.683; and a number of encodings. There is, however, one encoding in there that I happen to like for its mix of efficiency and simplicity: it's called DER, for Distinguished Encoding Rules, and is a subset of BER, the Basic Encoding Rules, both of which are defined in X.690 (along with the Canonical Encoding Rules).
13-
14-
DER is a nice encoding in that it consistently encodes values as type-length-value types which the values themselves can be sets or sequences of type-length-value tuples. Values are encoded in (close to) their smallest possible representation in whole octets. This makes DER reasonably easy to decode.
15-
16-
Hence, I replied with
17-
18-
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">The problem with ASN.1 is specific (too many variants of too many types, no guidance when to use which). DER is not the problem.</p>&mdash; Ronald (@blytkerchan) <a href="https://twitter.com/blytkerchan/status/891797275768479744?ref_src=twsrc%5Etfw">July 30, 2017</a></blockquote>
19-
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
20-
21-
I.e. the problem is in the schema language, which defines innumerable string types which can all be represented in the same way (as an `std::vector`). I as much here:
22-
23-
24-
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">As to the design issues: the way I see it the designers tried to half-heatedly add semantics to the built-in types with the various strings</p>&mdash; Ronald (@blytkerchan) <a href="https://twitter.com/blytkerchan/status/892081101551927296?ref_src=twsrc%5Etfw">July 31, 2017</a></blockquote>
25-
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
26-
27-
Before I go much father, I should note that the way I debate things often leaves me arguing for the minority position: I challenge the preposition ruthlessly, relentlessly and fearlessly until it either crumbles or survives. ASN.1 implementations are crappy more often than not, DER decoders are no exception. However, these are implementation issues that are not sure to ASN.1's design. Disregarding X.681, X.682, and X.683, XER, BER, CER, and PER, a safe subset of ASN.1, using X.680 and a subset of X.690, exists.
28-
29-
So, I stopped on the side of the road:
30-
31-
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">OK, so I pulled over and pulled out my iPad (don&#39;t worry: I stopped for my previous tweets also). I said the main issue was tooling, so...</p>&mdash; Ronald (@blytkerchan) <a href="https://twitter.com/blytkerchan/status/892127126392102913?ref_src=twsrc%5Etfw">July 31, 2017</a></blockquote>
32-
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
33-
34-
and started coding.
35-
36-
Two weeks later, I decided that this might be interesting for this website, so as of now:
37-
38-
- All commits on the master branch will be shown here, with their commit message (updated: due to the way this site is implemented, you'll have to click the "commits" link above to get to the commits)
39-
40-
- I will occasionally post here to explain a few design decisions
41-
42-
- You can ask questions for particular commits in the comments of the corresponding post.
8+
<div class="content">
9+
<p>Information about the Rubicon ASN.1 compiler project will be available when the new website launches.</p>
10+
</div>
4311

12+
<div class="timeline">
13+
<strong>New Website Coming:</strong> Late 2026 / Early 2027
14+
</div>

0 commit comments

Comments
 (0)