Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
conaclos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
conaclos
4y ago
> Rome is "special" in that it has none of the depth of eslint's TypeScript linting support and has very strange opinionated defaults that make no sense with limited configuration because the whole philosophy of that proje
182.
▲
by
conaclos
4y ago
While that's true, the project attracted new core contributors. The development slowed down, but the project is still in active development. A new release is planned for this month.
183.
▲
by
conaclos
4y ago
Is there other rationale behind this `for` and `while` syntax? Why not: for x in elms {} for x in elms, i in 0.. {} In my view, this seems simpler to read and understand. In particular, the iteration variable is close to the ite
184.
▲
V8 optimization: object spread does not preserve object shape
(bugs.chromium.org)
1 points
by
conaclos
4y ago
|
0 comments
185.
▲
by
conaclos
4y ago
Could someone help me I understand What is makinh fly.io different from regular cloud service?
186.
▲
by
conaclos
4y ago
This feature created a lot of debate [0]. However, I think it is a good thing to ease transition. I could also appreciate that Deno accepts importing ts files from a js extension. This could make Deno compatible with regular bundlers such a
187.
▲
by
conaclos
4y ago
> you can just derive a new decorator from it with the defaults you want. This could hurt basic static analysis.
188.
▲
by
conaclos
4y ago
`frozen=True` is really nice also if your data does not change :)
189.
▲
by
conaclos
4y ago
I think the same. `slots=True` should also be the default.
190.
▲
by
conaclos
4y ago
One of the frustrating thing with npm-scripts is the mandatory one-liner script. It is not possible to write a script on several lines. I would really appreciate if deno-task-shell could be used in a shebang for writing scripts that expands
191.
▲
by
conaclos
4y ago
> post ES6 [...] has some really good parts, like injection-proof template literal semantics. What is injection-proof template literal? Any link about that? Thanks :)
192.
▲
by
conaclos
4y ago
In the end, it could as well be a linter rule that forces you to test v === null before calling typeof v and I think it would be the best option. If you care about this kind of stuff, you are probably already using a linter. Yes
193.
▲
by
conaclos
4y ago
(1) Yes this makes interoperability hard. However, `typeof` is generally used to test the type of value. It is unlikely to pass its value to a function If you use a function declared in a module with a distinct edition, you have to comply t
194.
▲
by
conaclos
4y ago
What I propose is introducing breaking changes via editions. For instance, we could freeze class prototypes making impossible to dynamically replace a method or adding a method to it. This what "use strict" did by forbidding `with
195.
▲
by
conaclos
4y ago
Yep. We could then disable more feature and change some historical errors like "use strict" did.
196.
▲
by
conaclos
4y ago
I could like to have a kind of rust edition for JavaScript. You could opt in to an edition by adding a JavaScript directive at the start of the file — like the "use strict" directive. e.g. ```js "use edition2023"
197.
▲
by
conaclos
4y ago
I contributed to Rome tools [1] and the build takes more than 1 min. This makes write-build-test loop frustrating... Such frustrating that I am hesitating to start a project in Rust... My machine is 7yo. People tell me to buy a new one just
198.
▲
Ask HN: Do you use Flow (JS type checker) in 2023?
1 points
by
conaclos
4y ago
|
2 comments
199.
▲
by
conaclos
4y ago
Nice! Is there any place where the discussion is going?
200.
▲
by
conaclos
4y ago
Capabilities are great also! In particular at runtime.
201.
▲
by
conaclos
4y ago
Making dependency management easy, you end up with large tree of dependencies. It is one of the main concern I have with modern package manager. In my opinion, it lacks a kind of trust management. Packages from a same team/author could
202.
▲
by
conaclos
4y ago
In France, supermarkets now offer to round up the bill to make donations to associations. This way, supermarkets have a good image and, at the same time, they reduce their taxes by donating to associations. It is much better to make direct
203.
▲
Rust Types Team mission
(blog.rust-lang.org)
4 points
by
conaclos
4y ago
|
0 comments
204.
▲
by
conaclos
4y ago
Why PNaCL could be better than WASM?
205.
▲
by
conaclos
4y ago
Moreover, Mozilla's asm.js paved the way to WebAssembly. Without asm.js, WebAssembly would never exist.
206.
▲
by
conaclos
4y ago
Thanks for the post :) I am wondering: why do you use the obsolete <plaintext> instead of <pre>? Why do you use the `ml` extension? By the way, I noticed some issues in the page: - trailing whitespaces - mixed of spaces/tab
207.
▲
by
conaclos
4y ago
Hybrid Logical Clock [1] could be of interest for readers. This is a monotonically increasing clock based on a physical clock. Combined with a machine identifier you can obtain globally unique identifiers that are totally ordered. [1] http
208.
▲
by
conaclos
4y ago
SQLite is a great database engine. I often wonder if it could even be better without extreme backward compatibility. It could be nice to have Foreign Keys enabled by default, and make all tables strict by default. A new binary format that r
209.
▲
by
conaclos
4y ago
Note for the authors: I have just taken a look to the syntax. It is pretty close to djot [1]. Of course Typst is more powerful than djot. One noticeable difference is the chosen markup for headers (`=` instead of `#`). This could be nice to
210.
▲
by
conaclos
4y ago
Two weeks ago, we talked about thermo-acoustic heat pumps on HN [1]. This could interest most of the readers of this thread. [1] https://news.ycombinator.com/item?id=34233719
More ›