Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nishs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
nishs
4y ago
On: "projects using licenses like the GPL… live under constant threat of having someone take over the project by producing a better version of the code and doing it faster than the original owners." Yeah, I don't understand w
32.
▲
by
nishs
4y ago
> E.g. why can users of GPL stuff not just fork, just like BSD? A GPL-licensed project can be forked. But, if you release work that uses or is derived from the GPL-licensed project, among other things: 1. you must include or make easily
33.
▲
by
nishs
4y ago
The common BSD-style licenses, 2-clause BSD and 3-clause BSD, are similar to the MIT license. The 2-clause BSD is effectively the same as the MIT license. The 3-clause BSD adds "don't use the names of the original software contrib
34.
▲
by
nishs
4y ago
The Chrome dev rel blog post [1] describes limitations of structuredClone: * Prototypes: structuredClone discards the object’s prototype chain. * Functions: structuredClone quietly discards functions. * Non-cloneables: structuredClone throw
35.
▲
by
nishs
4y ago
Makes sense for the most part with these constraints then. I missed the "primitive types" portion in the original comment. The following isn't applicable for pure JSON responses, but is applicable for primitive types: An addi
36.
▲
by
nishs
4y ago
This fails, among other scenarios, if `someThing` includes a Date object. >>> const z = { d: new Date() } undefined >>> typeof z.d "object" >>> const a = JSON.parse(JSON.stringify(z)) undef
37.
▲
Dwarf planet hosts a ring that’s unexpectedly far from the planet
(arstechnica.com)
2 points
by
nishs
4y ago
|
0 comments
38.
▲
On Vercel: If some of my sites are down
(remysharp.com)
5 points
by
nishs
4y ago
|
1 comments
39.
▲
by
nishs
4y ago
I thought it was the other way around? i.e. "NO", in a document that intends "NO" to mean "Norway", is parsed as "False".
40.
▲
by
nishs
4y ago
wholeheartedly yes; this addresses nearly all the concerns i had in my comment. the only other concern is the ability and the added time to make changes to these dependencies. what this sometimes means in practice: in terms of time: you may
41.
▲
by
nishs
4y ago
There isn't a need for specific ordering of keys in the object representation. But I want to be able to write parts of the toml document in different orders (e.g. "hosts" table before "certfile"; or "hosts"
42.
▲
by
nishs
4y ago
from the slides: > Lots of crates (Rust libraries) available - Don't have to reimplement the wheel: > lscolors, walkdir, tempfile, terminal_size i believe this isn't always quite an advantage that the slides make it out to b
43.
▲
by
nishs
4y ago
It's weird that the only way to get the following structure: { "hosts": { "example.org": "localhost:8000", "foo.com": "localhost:9000", "sub.example.com&q
44.
▲
by
nishs
4y ago
TOML is a bad file format for human configuration. For example, in the following file [hosts] "example.org" = "localhost:8000" "foo.com" = "localhost:9000" "sub.example.com" = &quo
45.
▲
by
nishs
4y ago
s/torrent/pirate? context for unaware: torrents are more general. for example, official releases of open source operating systems, such as debian [1], are available via torrents. [1]: https://cdimage.debian.org/deb
46.
▲
A Historical Reference of React Criticism
(zachleat.com)
1 points
by
nishs
4y ago
|
0 comments
47.
▲
by
nishs
4y ago
> M2s made $800k+. Why wouldn’t a manager not be motivated to grow his empire? Possibly by not being singleminded or crazy about money.
48.
▲
by
nishs
4y ago
Is this an ad for the no-code website builder platform? Why is the "built with no code" aspect stressed in the post? > I built a landing page for it using a no-code platform [...] create a professional and functional website wi
49.
▲
by
nishs
4y ago
I agree with your points regarding writing a test. It is one of the best ways, and the right way, to handle the issue. That said, I think my toy example wasn't the best way to show some of the points I was getting at. Consider a real e
50.
▲
by
nishs
4y ago
Exactly. Here is another example where a comment can help. // Do does x, y, and z, in that order. func Do(x, y, z func()) { x() z() y() } Sometimes, as here, the comment correctly describes what the
51.
▲
by
nishs
4y ago
Sorry for the digression first. (If anyone has different definitions for the ideas here, I would love to learn.) I think the answers would depend on the types of tests that the term "this" encompasses. From how I understand it, ca
52.
▲
by
nishs
4y ago
If an organization making a product has to choose between (A) mining user data; hyper-optimizing their algorithms for relevance and user engagement; and maximizing revenue (B) not mining user data; having not-as-engaged users; and having lo
53.
▲
by
nishs
4y ago
Providing and consuming relevant content shouldn't be a holy grail, or at least should be given less importance.
54.
▲
by
nishs
4y ago
That's like a more fun-sounding version of Dijkstra's "Computer science is no more about computers than astronomy is about telescopes."
55.
▲
by
nishs
4y ago
Full series of videos: https://www.youtube.com/playlist?list=PL5E4E56893588CBA8
56.
▲
by
nishs
4y ago
What is your distinction between the two?
57.
▲
Ask HN: How do you promote, advertise, or share your indie apps?
2 points
by
nishs
4y ago
|
0 comments
58.
▲
by
nishs
4y ago
If _this_ is considered a high watermark, that speaks volumes in itself.
59.
▲
by
nishs
4y ago
Could you describe the costs and problems that might be considered not worth dealing with?
60.
▲
by
nishs
4y ago
TCP/IP Illustrated and Advanced Programming in the Unix Environment, both by W. Richard Stevens. The Haskell Wikibook. More Ursula K. Le Guin.
More ›