Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
721.
▲
by
spion
7y ago
The design results with flawed user experience and the users will move past the restrictions one way or another. It's up to system package managers to realize why the old way of doing things is simply not good enough; otherwise, people
722.
▲
by
spion
7y ago
To use a fun analogy, the teachers write the unit tests and you pass them by writing a mock or fake implementation of knowledge. edit: and now I got to a point in the article where that's pretty much already said. Well, too late to del
723.
▲
by
spion
7y ago
I'm sure they'll get around to it once their PM figures out the way to copy a link to the bug they filed on Jira about it.
724.
▲
by
spion
7y ago
Their approach to the product seems to be novel too! They decided to go against common grain of familiarity and immediate perceived ease of use, but didn't just add a billion fields to configure everything with a dense manual - they tr
725.
▲
by
spion
7y ago
So let me get this straight, a person who supposedly got a platform to manipulate many others at once (and thats dangerous, according to you) is saying that manipulators shouldn't get a platform to manipulate many others at once, and y
726.
▲
by
spion
7y ago
This only works if you believe speech doesn't influence people. If you believe it does, then you have every right to feel compelled to destroy it if the influence in your opinion is disastrous.
727.
▲
by
spion
7y ago
WYSIWYG in general is terrible as it tries to hide the underlying structure rather than show it. We really need an UX expert to rethink how these editors should behave so we can move forward with editing rich text
728.
▲
by
spion
7y ago
The future is probably WASI: a sandboxed compile target with a capabilities based security model not owned by a single corporation. https://wasi.dev
729.
▲
by
spion
7y ago
Pasture land isn't really usable for anything else, and the level of destruction caused by converting land to monocrops far exceeds that of animal grazing.
730.
▲
by
spion
7y ago
No, thats not true. AFAIK industrial scale beef farming has only started recently in the UK, for example. https://www.theguardian.com/environment/2018/may/29/revealed...
731.
▲
by
spion
7y ago
Some things only really make sense in the US due to the heavy subsidizing of corn. You should definitely double-check your common sense, just in case (I'll check mine too)
732.
▲
by
spion
7y ago
This doesn't help actually fix the problem, because you have equivalent problems with irresponsible production of plant based food (soil erosion, destruction of entire ecosystems and replacing them with plant fields and so on). If we k
733.
▲
by
spion
7y ago
There is a thing called auto-play and it's on by default.
734.
▲
by
spion
7y ago
Gotta wonder how a story that gained 100 points in 1 hour managed to fall off the front page. Hope that the irony of a story like this getting pushed away from the front page by an algorithm isn't lost on people :)
735.
▲
by
spion
7y ago
They are clearly failing, so they should leave space (API or similar) for users to pick their own curation and filtering companies of choice.
736.
▲
by
spion
7y ago
I can easily blame an algorithm if the company has provided no way to tweak or override its recommendation engine parameters, or at minimum allow curation or filtering companies picked by users (or responsible guardians) to override recomme
737.
▲
by
spion
7y ago
Social media has introduced profound changes to the way our society functions. Its not a bad or a good change: there are both good and bad aspects to it. Democratization of media means that suppressed voices and talent can still rise and b
738.
▲
by
spion
7y ago
We need a radical change in the way recommendation systems work. They should always be designed in a way so that they are controllable, trainable and customizeable by consumer (or responsible guardian) input. We need to be able to interface
739.
▲
by
spion
7y ago
1. Most cities are high density enough that cars and bicycles are about the same speed. When you build for cars like in the USA you get very low density and a ton of space wasted on parking. Things could be improved by using multi floor par
740.
▲
by
spion
7y ago
Just research how London is today. Most people don't use cars at all.
741.
▲
by
spion
7y ago
"impedance mismatch" I believe typically refers to the following: * the fact that the records you can create with SQL are an unbounded combination of every field in every table; in addition, any aggregate or functions applied as w
742.
▲
by
spion
7y ago
I believe you've just described migrations (scripts that modify the schema and run data migrations, checked into source control). Generating the ORM layer from the database schema seems OK to me. It does preclude generalizing certain s
743.
▲
by
spion
7y ago
Or you could go with LINQ's approach from (x) where (y) select (z). Honestly, I think LINQ and entity framework successfully solved most ORM concerns
744.
▲
by
spion
7y ago
So if you have to change the schema afterwards (with lots of data already in the table), what do you do?
745.
▲
by
spion
7y ago
A good answer is: if you can afford it (and you often easily can for server side code), GC is a no-brainer as it offers memory safety, ease of use and very good performance all at the same time.
746.
▲
by
spion
7y ago
The most fascinating thing about React Hooks is the perceived false dichotomy of hooks vs old class API. The old class API was pretty bad and could have been improved without changing the paradigm. Take componentDidMount and cdUpdate: they
747.
▲
by
spion
7y ago
If you hover over 'action.type' in the switch statement, you will see (property) type: "AddMovie" | "RemoveMovie" | "Reset" So you can't add a new case because while the value is a JS stri
748.
▲
by
spion
7y ago
It is string comparison, although in terms of performance in JS string constant comparison is done by reference so its much faster. I believe this is closer to polymorphic variants than to actual sum types (global namespace like strings, co
749.
▲
by
spion
7y ago
The type script version is type checked: http://bit.ly/2lVoSgY type State = { movies: string[] }; type Action = | {type: 'AddMovie', movie: string} | {type: 'RemoveMovie', movie: str
750.
▲
by
spion
7y ago
TypeScript was created to solve issues with front end development at MS, its just that they were also genuinely interested about solving other people's problems.
More ›