Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shusson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
shusson
7y ago
> fonts are software and IDEs can simply disable ligatures. Yeah but the author is suggesting that using a particular font will increase the likelihood of a programmer introducing some syntactically correct but erroneous code. But then h
212.
▲
by
shusson
7y ago
> As people have theoretically become freer, they seem to seek more security I don't think it has so much to do with being free as to China having growth for the last 40 years. If you're poor but becoming richer, then you'
213.
▲
by
shusson
8y ago
A folding one
214.
▲
by
shusson
8y ago
> I would like a folding screen Just slap on a VR headset.
215.
▲
by
shusson
8y ago
> we certainly don't have high unemployment in the USA today When you take into account labor participation it's not such a clear cut picture. [1] [1] https://en.wikipedia.org/wiki/Labor_force_in_the_United
216.
▲
by
shusson
8y ago
I think it's a frontend framework configuration, like enabling a gatsby plugin[1]. Anyway it seems like comparing apples and oranges to me. [1] - https://www.gatsbyjs.org/docs/plugins/
217.
▲
by
shusson
8y ago
it's more than just a traditional ORM layer. They run a server (prisma) between the client and the database.
218.
▲
by
shusson
8y ago
> Good for the consumer, but bad for the company that originally created the core FOSS technology and best for Amazon. I don't know if this is a bad pattern in general for the company that originally created the core FOSS technology
219.
▲
Open Source Synthetic Patient Generation
(github.com)
1 points
by
shusson
8y ago
|
0 comments
220.
▲
by
shusson
8y ago
yeah I was surprised to discover that a lot of European countries don't seem to add fluoride for that reason [1] [1] https://en.wikipedia.org/wiki/Fluoridation_by_country
221.
▲
by
shusson
8y ago
depending on what country you live in, the government is putting fluoride in the water supply to keep your teeth healthy.
222.
▲
by
shusson
8y ago
Yeah I had a similar experience recently moving our elastisearch mapping from plain JSON into typescript. Boy does it help immensely, especially if you have a lot of duplicated fields.
223.
▲
by
shusson
8y ago
Stupid question: why doesn't reporting and flagging comments work?
224.
▲
by
shusson
8y ago
I think they don't want algorithms to make high level ethical decisions like whether to fire the ICBM. It's a thin line though between firing and correctly navigating to a target.
225.
▲
by
shusson
8y ago
well we sort of do with prisons and death penalties.
226.
▲
by
shusson
8y ago
Yeah but say a person fires at target x but during the flight , the rocket locks on to target y.
227.
▲
by
shusson
8y ago
yes, makes me think of the trolley problem [1]. [1] - https://en.wikipedia.org/wiki/Trolley_problem
228.
▲
TypeScript Role based access control using actions, attributes and conditions
(github.com)
1 points
by
shusson
8y ago
|
0 comments
229.
▲
by
shusson
8y ago
> Expensive Loans to Desperate People Sounds like loan sharks to me.
230.
▲
by
shusson
8y ago
If anyone would like an example of the silliness that exists in SPA bundling see https://github.com/angular/angular-cli/issues/6137
231.
▲
by
shusson
8y ago
Usually(hopefully) the initial bundle is cached, so network shouldn't be a problem... still have to initialise the SPA though.
232.
▲
by
shusson
8y ago
yeah there are a few ways to reduce the initial load time, but my point is it's valid to compare the initial load to every page in an SSR (for most use cases).
233.
▲
by
shusson
8y ago
> Why do people insist on comparing the initial frontload of a SPA to the page load of every page in their SSR web app? Because a user doesn't care if it's the initial frontload or not.
234.
▲
by
shusson
8y ago
Yeah same, I find `ReAdABLE` unpleasant to read.
235.
▲
Creating human readable hashes
(shusson.info)
2 points
by
shusson
8y ago
|
0 comments
236.
▲
by
shusson
8y ago
> I do wonder how you create type-safe config files though The types help prevent erroneous config declarations. e.g ``` enum LogLevel { Info = "info", Debug = "debug" } const MyConfig = { logOption
237.
▲
by
shusson
8y ago
I've recently settled on typescript object literals for creating complex config files. Adv: - It's still quite declarative. - supports expressions. - supports merging objects using the spread `...` operator. This enables breaking
238.
▲
Keyv – simple key-value storage for Node with support for multiple back ends
(github.com)
2 points
by
shusson
8y ago
|
0 comments
239.
▲
by
shusson
8y ago
> I can easily imagine that it could be literally impossible to break a sufficiently determined person Yes I agree and the recent report on the CIA shows some evidence for that [1]. > But if you spend the same time befriending them an
240.
▲
by
shusson
8y ago
> Kindness and caring is probably more effective than anything else, no matter what you want to achieve How so?
More ›