Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fzaninotto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
fzaninotto
4y ago
OP here. I'm glad at least one reader noticed that. You're my hero! By the way, all section titles in this article are song or album titles.
62.
▲
React I love you, but you're bringing me down
(marmelab.com)
696 points
by
fzaninotto
4y ago
|
556 comments
63.
▲
by
fzaninotto
4y ago
Are you looking for react-admin? https://marmelab.com/react-admin/
64.
▲
by
fzaninotto
4y ago
Love the Northwind Traders reference! However, for a demo, I suggest a slightly larger and more complex data set, [data-generator-retail]( https://www.npmjs.com/package/data-generator-retail ). The demo is also a bit bug
65.
▲
by
fzaninotto
5y ago
In the example, the SRI hash is not computed by the database, it probably comes from a build phase. This build phase can (or often does) generate the HTML at the same time it computes the JS file. As for configuration, I see it as a minor i
66.
▲
by
fzaninotto
5y ago
I must be missing something. What is the advantage of this approach versus hosting the index.html on a CDN as well?
67.
▲
by
fzaninotto
5y ago
I don't understand how you can log out using this method, and that's very concerning. You're basically logged in forever?
68.
▲
by
fzaninotto
5y ago
These tools are great, but aren't enough to get a full picture, and not accurate enough to give actionable insights. Most of the quoted tools measure the CPU or GPU consumption. But in a laptop, about half of the energy consumption com
69.
▲
by
fzaninotto
5y ago
Check out how it helped me write a React component: https://twitter.com/francoisz/status/1409919670803742734 I think hit the Tab key more than I hit any other key ;)
70.
▲
by
fzaninotto
5y ago
Side note: I recently suffered from a tennis elbow due to sub optimal desktop setup when working from home. Copilot has drastically reduced my keystrokes, and therefore the strain on my tenders. It's good for our health, too!
71.
▲
by
fzaninotto
5y ago
I'm not sure I spend less time actually coding stuff (because I have to review the Copilot code). But the cost of the code I write is definitely reduced, because: - the review from my peers is faster (the code is more correct) - I come
72.
▲
by
fzaninotto
5y ago
It's smarter than that. It suggests things that have never been written. It actually creates code based on the context, just like GPT-3 can create new text documents based on previous inputs. Edit: Check this screencast for instance:
73.
▲
by
fzaninotto
5y ago
I have used IDEs with good knowledge of the types and libraries I'm using (e.g. VSCode with TypeScript). They offer good suggestions once you start typing a function name. But nothing gets close to Copilot. It "understands" w
74.
▲
by
fzaninotto
5y ago
My bad, you're right. I remember now that it suggested me entire code blocks from time to time. Do you know in which "context" it suggests a block?
75.
▲
by
fzaninotto
5y ago
I guess you miss the point. It's not trying to suggest the perfect code. Only you know it. It's saving you time by writing a good (sometimes perfect) first solution based on method/argument names, context, comments, and inlin
76.
▲
by
fzaninotto
5y ago
It suggests code line by line, so yes
77.
▲
by
fzaninotto
5y ago
It shows the suggestions line by line, and only shows the best guess. It's not more intrusive than Intellisense. You can actually see all the code blocks Copilot is thinking about if you want to, but that is indeed a distraction.
78.
▲
by
fzaninotto
5y ago
Hard to say, really. When writing React components, Jest tests and documentation, it's often not very far. I found it off when writing HTML markup (which is hard to describe with words).
79.
▲
by
fzaninotto
5y ago
I've been using the alpha for the past 2 weeks, and I'm blown away. Copilot guesses the exact code I want to write about one in ten times, and the rest of the time it suggests something rather good, or completely off. But when it
80.
▲
Ninja Coder: An IDE for developing with ninja moves
(github.com)
2 points
by
fzaninotto
5y ago
|
0 comments
81.
▲
Yolo.js: Typo-tolerant runtime object proxy for fast JavaScritp typers
(github.com)
6 points
by
fzaninotto
6y ago
|
0 comments
82.
▲
by
fzaninotto
6y ago
Observable is not JavaScript https://observablehq.com/@observablehq/observables-not-javas...
83.
▲
by
fzaninotto
7y ago
I'm doing the same. Works perfectly.
84.
▲
by
fzaninotto
7y ago
I'm really surprised that none of the cool kids here comment about the astronomical ecological cost of such rigs. Reminder: IT is responsible for nearly 4% of CO2 emissions worldwide [1]. Video streaming represents 60% of that [2]. In
85.
▲
by
fzaninotto
7y ago
Nice tool. But apart from the great landing page, what's the difference with FakeRest [0]? 0: https://github.com/marmelab/FakeRest
86.
▲
by
fzaninotto
8y ago
I developed an interactive visualization just for that purpose a few years ago. It's called ArchitectureTree. https://github.com/marmelab/ArchitectureTree The tech stack is a bit outdated (it used Angular.js), but
87.
▲
by
fzaninotto
8y ago
I disagree. Admins are complex. See https://marmelab.com/react-admin-demo/ , it's a (fully working) admin built with material design and it uses about 30 specialized styled components. Think notifications, toolbars
88.
▲
by
fzaninotto
8y ago
Also, recording raw HTTP requests makes tests difficult to organize. Especially if what you want to mock are requests to a REST server. In that case, all the recorded HTTP headers aren't significant, editing the recorded resources in t
89.
▲
Show HN: React-admin, a front end framework for building admins
(github.com)
9 points
by
fzaninotto
8y ago
|
0 comments
90.
▲
by
fzaninotto
9y ago
We've use the blur+contrast approach successfully in EventDrops [1], a time series visualisation based on d3.js. It all happens client-side, with OK performance. Not sure the SVG approach brings more in this case. [1] https:/
More ›