Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DCoder
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
DCoder
7y ago
There's an argument to be made that this [0] (generated via [1]) is not something to be celebrated. But that's just me, not necessarily what the parent poster had in mind. [0]: https://i.imgur.com/LhEahvi.png [1
62.
▲
by
DCoder
7y ago
I'm sure some developers would manage such a project without TS. Good for them. I wouldn't maintain it that way because: 1. I don't have the mental capacity to keep every single function's argument/return shape in m
63.
▲
by
DCoder
7y ago
I started using TypeScript back when it was 0.8, before it even had generics. Does that make me a fanboy? I have a project with about 45k SLOC of TypeScript (using Knockout.js for presentation). There is really no way I would maintain that
64.
▲
by
DCoder
7y ago
C&C also used to stand for the old game series Command & Conquer .
65.
▲
by
DCoder
7y ago
Lego Mindstorms has a color sensor, so theoretically you can build that AI in Lego.
66.
▲
by
DCoder
7y ago
I'm not the parent poster, and I'm not sure if these are the regex selectors they had in mind, but nonetheless. An example use case: the person writing the HTML ≠ the person writing the selectors. Browser extensions like Stylus, f
67.
▲
by
DCoder
7y ago
This is the good old imperative-vs-declarative debate. jQuery is "(I think) I know what the current state of the UI is, make these changes", React is "I need the UI to be in this state, you figure out how to get it there"
68.
▲
by
DCoder
7y ago
And from which CDN?
69.
▲
by
DCoder
7y ago
> My email is on my profile The 'Email' field in the profile is not visible to other users. You should add it to the 'About' field.
70.
▲
by
DCoder
7y ago
And maybe some way to forget the horrible material they have to sift through.
71.
▲
by
DCoder
7y ago
When RIAA/MPAA/etc. came with astronomical fines, those same companies suddenly created the capabilities to block things that even smelled like copyrighted material. Whatever your opinion of MAFIAA is, it would seem this sort of d
72.
▲
by
DCoder
7y ago
"It's your problem now!"
73.
▲
by
DCoder
7y ago
One more thing that IMO gets overlooked too often: TypeScript can typecheck your JSX markup. Compare that to any string-based templating engine, such as Knockout.js templates or jquery.tmpl, where you have to learn its snowflake DSL, you ge
74.
▲
by
DCoder
8y ago
> All I care about is solid support for standards and Chrome shines it that. Except for cases when it doesn't feel like supporting the standard in question, or it claims their support is sufficient. A recent example could be suppo
75.
▲
by
DCoder
8y ago
Was this motivated by something in the release notes, or are you just taking the opportunity to bang the Firefox drum? Should we expect this comment in every Chrome-related thread?
76.
▲
by
DCoder
8y ago
Even if you have worked with that framework before, odds are six months have passed since then and the framework has changed 50% of its best practices. Using a tool like this also avoids stale documentation/tutorials.
77.
▲
by
DCoder
8y ago
Try Shift-Ins instead. It also performs pasting, but fewer people seem to be aware of it. Trivia: Shift-Ins actually predates Ctrl-V :-)
78.
▲
by
DCoder
8y ago
In theory, couldn't Firefox's certificate store blacklist the TLS certificate your website uses, with the same user-confusing result?
79.
▲
by
DCoder
8y ago
It could also mean your internet not having some other sites which chose to side with Google.
80.
▲
by
DCoder
8y ago
And yet something as basic as a preview is missing. Reddit's community-driven browser plugin ([0]) at least adds that, HN's counterpart [1] sorely needs it. --- Come to think of it, is there a definitive guide to HN comment form
81.
▲
by
DCoder
8y ago
There was also the Windows Metafile mayhem [0]. [0]: https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
82.
▲
by
DCoder
8y ago
Compiled code doesn't have to be unreadable. Languages like C and C++ made it readable with debug symbols. The web stack does the same with source maps. The TypeScript compiler also offers to emit .d.ts files with type information for
83.
▲
by
DCoder
8y ago
"Takes many types" ≠ "cannot be typed". TypeScript supports decorators, union types, and `any`/`unknown` types. Those generic use cases are good examples of flexible types, but I have a hard time seeing how * "
84.
▲
by
DCoder
8y ago
The JS libraries usually fail at the "do it well" part. * UNIX tools don't get updated every week. * UNIX tools don't get deprecated and replaced every month. * When UNIX tools do update, the updates don't carry a r
85.
▲
by
DCoder
8y ago
How long does your integration test take to run and report failures? Compared to instant feedback while you're writing the code, that's glacial.
86.
▲
by
DCoder
8y ago
There's also Vimeo's Psalm [0]. [0]: https://github.com/vimeo/psalm
87.
▲
by
DCoder
8y ago
I think the parent is objecting to the fact that annotations spray this "external" information right in the middle of the controller/model. FWIW, decent tools let you put this info in separate configuration files instead of c
88.
▲
by
DCoder
8y ago
> what more care do you need ? 1. Generic typehints, for one. Typehinting half the methods as returning a generic `array` is not fun. 2. And that's before you even remember that PHP's array is both a vector and a hashmap, so y
89.
▲
by
DCoder
8y ago
The exec bit is also important for accessing sub/directories. Although for that you should use X instead of x…
90.
▲
by
DCoder
8y ago
Note that we already have examples of a certain resource limit. WebSQL and IndexedDB databases are capped to a maximum size per domain, and different browsers have different caps and different UX for configuring/bypassing them. Granted
More ›