Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
csande17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
781.
▲
by
csande17
7y ago
You'll have to wait for his internet to come back on.
782.
▲
by
csande17
7y ago
The McDonald's stores in the States seem to be heading in that direction as well. Here's a random example from Google Images: https://westernnews.media.clients.ellingtoncms.com/img/photo...
783.
▲
by
csande17
7y ago
OpenType has an extension that allows you to define multiple weights. It doesn't seem nearly as powerful as METAFONT, though; you can just specify a set of offsets to apply to each point in each letter shape: https://docs.mi
784.
▲
by
csande17
7y ago
> The design is a part of that but it's also influenced by what you can do differently than a pure HTML + a bit of jquery site. > I can pack a ton of information into smaller flexible places and integrate action-relevant help box
785.
▲
by
csande17
7y ago
As parent comments mention, sending back the whole-page response when you vote on a comment is a great idea if you have JavaScript disabled or aren't logged in. But it'd be a quick performance win if it didn't do that when
786.
▲
by
csande17
7y ago
I think you and the parent commenter are coming at this from fundamentally different perspectives. The parent commenter remembers a time when websites were server-rendered by default. The server would send down HTML, along with a small amou
787.
▲
by
csande17
7y ago
> E.g HN isn’t a progressive web app. So you’re loading the same things over and over again. With a service worker HN could teach even more people around the world with a spotty connection. Hacker News uses standard HTTP headers to cache
788.
▲
by
csande17
7y ago
> Aren't systemd units simple text files with no hidden magic? Compared to something like a shell script, systemd unit files are magic because you have to know a lot about how systemd works to figure out how your config file transla
789.
▲
by
csande17
7y ago
I don't think the private methods proposal will help with cryptography at all. The "security" it provides boils down to making it difficult for code outside the class to access the value, like you can already do with closures
790.
▲
by
csande17
7y ago
The main repo has a testing script to make sure changes that cause previously-passing code to fail lint checks only happen in new major versions. Like SemVer, but for linter configuration files. This would be an admirable commitment to stab
791.
▲
by
csande17
7y ago
> this is a linter ESLint is a linter. This is a configuration file for ESLint.
792.
▲
by
csande17
7y ago
> [...] many people are completely disregarding the work that goes into making this project run smoothly for as many people as possible in an area that is saturated with an insane number of choices and a cost to switching which is about
793.
▲
by
csande17
7y ago
It's interesting to think about the different motivations people have for contributing to open source. You've got ideologues like Stallman who believe that source code ought to be free and are working to achieve that belief by wri
794.
▲
by
csande17
7y ago
University curricula often try to expose students to a wide variety of programming paradigms. I'm not sure how you could walk out of Berkeley's CS 61 series thinking that there's One True Way to write all programs, for exampl
795.
▲
by
csande17
7y ago
Indeed, hooks are pretty much the furthest thing from functional programming there is. In functional programming, functions can safely be called any number of times from anywhere in the program, and they'll always return the same resul
796.
▲
by
csande17
7y ago
> How do we choose the right tool? A good rule of thumb is that your code should be as close as possible to a plain-English description of what you want the code to do. So if you're trying to write a program like "When you cl
797.
▲
by
csande17
7y ago
I suspect it's because historically, iOS didn't have a way to embed views from one app into another app. When Apple wanted to let you view iMessages from the lock screen, or expose iMessage via Share buttons in third-party apps, t
798.
▲
by
csande17
7y ago
I am proposing that, in many cases, data is trivially representable as document elements. Lots of websites don't actually have much state to store -- at least in terms of the front-end developer's idea of state, of course you ofte
799.
▲
by
csande17
7y ago
In practice, a lot of complexity in front-end development comes because front-end developers only solve problems by adding layers of abstraction, never removing them. Like, in vanilla JavaScript, you have a single global tree representing t
800.
▲
by
csande17
7y ago
That's the whole point, isn't it? Google wants web sites to load more quickly without needing to reduce the size or number of resources they send. Consuming more bandwidth seems like the only way to square that circle.
801.
▲
by
csande17
7y ago
Shared hosting frequently scaled based on usage! They often had limited disk space, bandwidth, and sometimes even CPU cycles, and either you could pay to increase the limit or they'd bill you for overages. For an extreme example, here&
802.
▲
by
csande17
7y ago
I got my start in web development by renting a shared-hosting account on https://www.dreamhost.com/ .
803.
▲
by
csande17
7y ago
I tried the site you linked on my phone. It is not a better experience than a standard HTML site: 1. The Back button had a noticable half-second lag. 2. When I temporarily lost connection and a link I clicked was taking a long time to load,
804.
▲
by
csande17
7y ago
There aren't many people in the React community who are explicitly arguing that everything should be React. But there seem to be very few things that the React community believes are a poor fit for React. Take addons.mozilla.org. It&#x
805.
▲
by
csande17
7y ago
> Server rendering has had a number of developments over the last few years. > Streaming server rendering allows you to send HTML in chunks that the browser can progressively render as it's received. Hasn't PHP done this by
806.
▲
by
csande17
7y ago
The article says it was "updated in" 2018, but the Wayback Machine has a copy of it from 2015 with that line included: https://web.archive.org/web/20151024052332/https://www.makeu...
807.
▲
by
csande17
7y ago
Most software (including Python and Numpy and Go and pretty much every Rust program) runs on your computer's CPU. The CPU is good at running programs with a lot of different instructions and if-statements and loops and stuff. But for n
808.
▲
by
csande17
7y ago
> So a competitor to WeWork would have to spend even more than WeWork to compete vs the brand. They’d be even more strapped for cash for PR/ads than the main player. WeWork won't be able to maintain their venture-capital-fueled
809.
▲
by
csande17
7y ago
See also: MoviePass, which failed somewhere between (2) and (3) because they were a little too obvious about doing (1).
810.
▲
by
csande17
7y ago
Wouldn't the buildings usually be owned by, like, a subsidiary of WeWork, or a holding company that also owned WeWork, or something?
More ›