Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhink
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
mhink
8y ago
With regards to the "usually a news site" part, somebody put me onto CNN's "lite" page the other day, and it's honestly a freaking joy to use. http://lite.cnn.com/en On the other hand, I think
212.
▲
by
mhink
8y ago
> I have a theory that we're not caring as much about performance and good software because we don't have to, because Moore's Law has led to machines that are fast enough to run our crappy and hastily written code with acc
213.
▲
by
mhink
8y ago
For elevators at least, there’s a much better explanation for the “door close” button: it’s intended to be used when the elevator is in a mode which holds the door open by default , like when someone’s moving into an apartment building. In
214.
▲
by
mhink
8y ago
Hell, programming in Z80 assembly is really nice on the DMG/CGB. Although I suppose that’s more due to the fact that RGBDS is a really nice assembler.
215.
▲
by
mhink
8y ago
This might be crazy, but... I think it would be kinda cool if tabs were a Thing at the window-manager level. It’s sort of a reverse approach to solving the Electron “problem”- instead of making web applications more like desktop application
216.
▲
by
mhink
8y ago
Very much this. There are very few scenarios in which I’d recommend jQuery nowadays, but I still have mad respect for the project itself, for its legacy, and for the positive impact it’s had on front-end programming.
217.
▲
by
mhink
8y ago
So, the way to look at it is that you “mount” a React application at a specific part of the DOM. Anything under that point is managed by React components. Usually, people have a single “mount point” very close to the <body> element, a
218.
▲
by
mhink
8y ago
It's less that other letters are reserved, and more that there are only eight general-purpose registers, and four of them already have special meanings. A is the accumulator, F is flags, and as the sibling comment mentioned, H and L re
219.
▲
by
mhink
8y ago
Thank you so much. I’m gonna need this way of explaining things very soon, it’s been eating me up inside.
220.
▲
by
mhink
8y ago
> Our infatuation with the creation of implied heritage really deserves greater attention than these two paragraphs allow. The new culture of small shoppe business and personal attention are fiercely fighting the truly established bluebl
221.
▲
by
mhink
9y ago
> Something about that just feels comforting, if not nostalgic, like what you'd expect to see from an early 2000s webpage before things got fancy. I think what makes these sites pop for me is the contrast of colors, too much white r
222.
▲
by
mhink
9y ago
It's a phrase usually used to refer to developers who have a broad base of knowledge (the horizontal stroke of a capital "T") as well as a single area of particular specialization (the vertical stroke of the "T").
223.
▲
by
mhink
9y ago
In addition to these, the article "A Complete Guide to Grid" on CSS-Tricks [1] is an excellent reference to use after you've become familiar with the concepts. 1: https://css-tricks.com/snippets/css/
224.
▲
by
mhink
9y ago
5e addresses this by assigning much more responsibility to the DM. According to the rules as written, the DM should only call for a skill check when there's _possibility_ and _consequences_ for success/failure. On top of that, the
225.
▲
by
mhink
9y ago
I've worked a little bit with libraries like this (react-mapbox-gl) and I think the point GP is making is more like this: <3P.Wrapper> <3P.Foo> <3P.Bar subcomponent={props} />
226.
▲
by
mhink
9y ago
> The other big environment with tons of untrusted code is of course the web browser. This is significantly more ridiculous, but: why not embed a ton of tiny simple in-order ARM cores without any shared cache into desktop processors, and
227.
▲
by
mhink
9y ago
Because Web browsers originally operated under a document-focused paradigm rather than an application-focused paradigm. (The CSS box model spec makes much more sense if you dig through it with this in mind.) Even after Javascript came out,
228.
▲
by
mhink
9y ago
The worker pooling system you describe is eminently possible in the browser these days. Web Workers [1] are really just threads with a JS execution context and a facility for messaging back to the thread which created them. (Or, if you set
229.
▲
by
mhink
9y ago
There was also a very interesting podcast [1] the other day with Mike Mearls, Adam Koebel, Matt Mercer, and Matt Colville discussing the design decisions in 5th edition. Specifically, one of the most interesting points Mearls made is that t
230.
▲
by
mhink
9y ago
The one major advantage is preserving sessions and re-attaching to them later, e.g. when you're ssh'ed into a remote machine or VM and you don't want to lose your setup. Ratpoison could possibly be better (I keep meaning to g
231.
▲
by
mhink
9y ago
Dreddit is the corp, TEST is the alliance. IIRC (it's been a loooong time since I played Eve) Dreddit was at one point the "main" corp in TEST but that might have changed.
232.
▲
by
mhink
9y ago
Personally, I appreciated how the author spent a decent amount of time "unpacking" what he meant- for instance, the "To manage or to mediate" section. Terseness is only useful when you already have a shared protocol for
233.
▲
by
mhink
9y ago
I think it varies considerably depending on the company culture- in particular, how remote-oriented the company is. (Yeah, I know that sounds buzzwordy, but hear me out.) At "remote friendly" companies I've worked at in the p
234.
▲
by
mhink
9y ago
It's a toy project. Looks like a fun way to brush up on pthreads and play with self-modifying code. The fun part about reading it (for me, at least) is the novel idea of using the plot of Inception as the "spec" for the progr
235.
▲
by
mhink
9y ago
> Since native UI toolkits are not used, knowledge that the user already has about using their computer and how user interface elements should behave becomes useless every time they download a new Electron app with a different "desi
236.
▲
by
mhink
9y ago
> Enabling people willing to act is important though I think that's the key thing here. Rather than saying "whether you succeed or fail, you're still gonna get your $250 bonus", you're saying "if you try and
237.
▲
by
mhink
9y ago
> What's preventing the tree you planted from replacing the old tree next to it? Nothing really, ask again in 30 years. That's... actually one of the best descriptions I've ever heard about these tradeoffs. :)
238.
▲
by
mhink
9y ago
Did you read the article past the benchmark numbers? That's more-or-less exactly the point the author made by the end. To wit: > The majority of web applications handle far less than 1000 requests per second. I’d go as far as to say
239.
▲
by
mhink
9y ago
> quasi-unique BEM style classes on everything you might conceivably want to style will bulk out the html more than strictly necessary too Slightly off-topic here, but it's my sincere hope is that (of all things) CSS Grid Layout wil
240.
▲
by
mhink
9y ago
I'm probably a _bit_ biased in favor of Electron, but I feel like I can give a pretty reasonable rundown of the pros and cons. Pros: - Chromium is a mature, open-source project which shows no signs of going anywhere anytime soon
More ›