Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
FrontAid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
FrontAid
5y ago
bit ( https://github.com/chriswalz/bit ) is a somewhat similar CLI tool for this. It shows command completion alongside a description. PS: We maintain a list of helpful Git CLI tools on https://github.com/
32.
▲
by
FrontAid
5y ago
Formatting (without "arbitrary format specifications") has been available for years: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... - https://caniuse.com/mdn-
33.
▲
by
FrontAid
5y ago
> As a side note, what do people think about JSON schema? I find it quite verbose and cumbersome Agreed. But if you want to have validation and autocompletion in most editors, it is still the way to go. We use it to validate JSON content
34.
▲
by
FrontAid
5y ago
That page broke tabbing through interactive elements by using nested focussable elements like this: <div tabindex="0"><input ...></div> Because of that, it is sometimes necessary to tab twice to foc
35.
▲
by
FrontAid
5y ago
No, I meant "expected by anyone who learned the language". Knowing the addition operator including its limitations is quite basic. I'm not saying you need to be able to solve all this "JavaScript is weird" puzzles a
36.
▲
by
FrontAid
5y ago
I understand where you are coming from. But the addition operator simply does not have any special handling of arrays. The specification [1] clearly defines what it should be used for: "The addition operator either performs string conc
37.
▲
by
FrontAid
5y ago
Both of these examples are well-known (and not unexpected) behaviours. I assume you already know why it behaves like that. If not, I can explain it. > [1, 2, 3] + [4, 5, 6] // -> "1,2,34,5,6" What would you expec
38.
▲
by
FrontAid
5y ago
> I wish for the day where I can really just write clean semantic html and then add the CSS afterwards on top of it. What exactly is stopping you from doing just that today?
39.
▲
by
FrontAid
5y ago
Nesting is not possible in vanilla CSS. However, there is an Editor's Draft about it which has gained some momentum recently. https://linkedlist.ch/ref/25/
40.
▲
by
FrontAid
5y ago
> Besides, none of these services (dropbox, onedrive) support ignore files, so they're constantly syncing node_modules folders, etc. Tresorit has that feature and it works great. Aside from data encryption, it was the main reason
41.
▲
by
FrontAid
5y ago
Container queries have been suggested for a while now, it is not a new idea. But it has gained a lot of momentum recently, for example [1]. So maybe it will not be years until all modern browsers might support it. Until then, you might want
42.
▲
by
FrontAid
5y ago
Assume you have a number of cards organized in rows and columns. You could define how many columns to show between each breakpoint using several media queries. However, a better approach would be to use a flex container with `flex-wrap:wrap
43.
▲
by
FrontAid
5y ago
I agree with the general sentiment. > What can the web designer do? Completely disagree with this section. Each of the suggested device categories (Desktop/laptop, Tablet, Phone) has many different screen sizes/resolutions. And
44.
▲
by
FrontAid
5y ago
Small bullet point, but an important one. This release also combats tracking with `window.name`. Discussion here: https://news.ycombinator.com/item?id=26863109
45.
▲
by
FrontAid
5y ago
OK, I see. The tool we are working on is similar but also not quite what you are looking for. In case you want to have a look, it is availale on <my-name> .io
46.
▲
by
FrontAid
5y ago
> 3. GUI/WebUI CMS for contributing to a shared versioned repository. Did you have some specific tool in mind? Because I completely agree that this is a great way of working with content. We have been doing that for a couple of mont
47.
▲
by
FrontAid
5y ago
Maybe you can take some inspiration from FrontAid CMS https://frontaid.io/
48.
▲
by
FrontAid
6y ago
Most browsers changed that to a site-based cache instead of a global one. https://www.zdnet.com/article/firefox-to-ship-network-partit...
49.
▲
by
FrontAid
6y ago
Maybe https://globalprivacycontrol.org/ could change that.
50.
▲
by
FrontAid
6y ago
Maybe FrontAid CMS might be interesting to you, even though it is also proprietary. FrontAid CMS is similar to Forestry, but stores all your content in JSON instead of Markdown. It is therefore better applicable to (web) applications in add
51.
▲
by
FrontAid
6y ago
Like what? I can't think of any "special behaviour" that I would not want to have in a button and that cannot be changed by CSS.
52.
▲
by
FrontAid
6y ago
Maybe you are referring to https://en.wikipedia.org/wiki/Mozilla_Prism
53.
▲
by
FrontAid
6y ago
That is great news! Thank you Florian, Robert, and everybody involved.
54.
▲
Fluid Typography with two-dimensional CSS Locks
(frontaid.io)
3 points
by
FrontAid
6y ago
|
0 comments
55.
▲
by
FrontAid
6y ago
Many good points in there. One that I run into on a regular base and that can't be fixed right now: > Selectors have terrible future-proofing. We should have split on top-level commas, and only ignored unknown/invalid segments,
56.
▲
by
FrontAid
6y ago
I'd recommend not doing that as it makes the UX on mobile worse and has a bad influence on SEO. Instead, I usually do something like that: h1::first-line {font-size:2rem;} h1 {font-size:1.5rem;} It will show the first line
57.
▲
by
FrontAid
6y ago
I rarely use any of the popular CSS frameworks. Unless you are making a small(ish) website where the styling is not important, it is actually more work to customize an existing framework than to just use CSS yourself. But what I do use some
58.
▲
by
FrontAid
6y ago
I'm working on a CSS framework without any styling (!). It is a collection of selectors and meant to be used as a clean CSS boilerplate. Thus it can jump start your next project or design system. https://github.com/fr
59.
▲
Show HN: Natural Selection – CSS framework without any styling
(github.com)
2 points
by
FrontAid
6y ago
|
0 comments
60.
▲
by
FrontAid
6y ago
> Isn't DNT deprecated [...]? No https://www.w3.org/TR/tracking-dnt/ The problem with DNT is not its specification but that the largest chunk of the industry does not adhere to it. Instead they nag their u
More ›