Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shhsshs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
shhsshs
5y ago
4 of the 8 links in the centermost section are 404s
92.
▲
by
shhsshs
6y ago
Any text box. Right click -> add text Then type +/- in the text box
93.
▲
by
shhsshs
6y ago
C#’s new syntax for `using` also helps: Old: using (var file = OpenFile()) { // use file } New: using var file = OpenFile(); // file will be disposed when it goes out of scope
94.
▲
by
shhsshs
6y ago
That wording specifically disallows both commercial sites and SaaS, so it should be read as both "don't build a SaaS on top of GitHub Pages" and "don't have business websites on GitHub Pages"
95.
▲
by
shhsshs
6y ago
> I still don't understand the arguments about a future date requiring a timezone. It's not that a future date requires a time zone, you are right that can be 100% represented with a fixed timestamp. But there is the extreme c
96.
▲
by
shhsshs
6y ago
Are you suggesting moving the tail higher/lower on the staff, or the whole note? The note should certainly not move up/down, though I think moving the tail would be cool!
97.
▲
by
shhsshs
6y ago
I think it makes sense to point out that it could be done better using just promql, but it's useful to show how to do it in just jq for those using other tools!
98.
▲
by
shhsshs
6y ago
> We could select for this using jq, but promql already lets us filter by metric names so we'll do that instead I think it would have been much better to do this via jq instead, for the sake of demonstration. This is, after all, an
99.
▲
by
shhsshs
6y ago
I had never considered an emulator to be anywhere inside of the realm of possible projects I could take on for fun. I just thought it would be too complex without having a ton of very specific knowledge. Your comment prompted me to go look
100.
▲
by
shhsshs
6y ago
Someone else’s comment [1] I saved from an older post also about DRY I’ve usually heard this phenomenon called “incidental duplication,” and it’s something I find myself teaching junior engineers about quite often. There are a lot of situat
101.
▲
by
shhsshs
6y ago
Are you implying that using a css framework somehow restricts/prevents you from also using normal css in some places?
102.
▲
by
shhsshs
6y ago
> That said, for me personally, nil punning is uncomfortably close to the kind of weak typing (like in traditional JS) that can be catastrophic in large code bases. I think it would be totally fine and safe if “nil” is identical to an em
103.
▲
by
shhsshs
6y ago
That snippet is a great idea, thanks!
104.
▲
by
shhsshs
6y ago
This paragraph convinced me: https://i.ibb.co/WsgQYHq/PNG-image.png
105.
▲
by
shhsshs
6y ago
And that it is done using an ostensibly secure/traceless/anonymous algorithm so I’m not sure why it would matter.
106.
▲
by
shhsshs
6y ago
https://twitter.com/TeamYouTube
107.
▲
by
shhsshs
6y ago
> I assume that what's being talked about in DCSS and Hades is a stronger effect, though? Very much so. In some games, past runs only unlock additional content (more possible items, monsters, etc.). In Hades, for example, you actu
108.
▲
by
shhsshs
6y ago
That type of mechanic is often referred to as rogue- lite
109.
▲
by
shhsshs
6y ago
My 2 cents... For the vast majority of the world where legacy (or at least not-programmed-using-super-modern-standards) systems are still in play, clarity is the most important factor in software. What happens when a legacy system is actu
110.
▲
by
shhsshs
6y ago
Hitting the Escape key on this site toggles the scroll bar and prevents the page from scrolling. Why is that a good idea? I was very close to assuming the site is broken and leaving, until I figured out how to re-enable scrolling.
111.
▲
by
shhsshs
6y ago
I don’t think it is valid to consider two identical boards, arrived at via different sequences of moves, to be different “states”. They did take separate paths to get there, but their state trees have now converged and they are de-facto th
112.
▲
by
shhsshs
6y ago
You may be misunderstanding (or I’m not understanding your intent). Single-file components were made specifically to overcome those issues, as mentioned on the page you linked.
113.
▲
by
shhsshs
6y ago
I’m not an electrical engineer so forgive me if this is a dumb question. Is it possible to wire it in such a way where the power actually travels through the LED, so if the LED ever stopped functioning or lost connection the webcam would
114.
▲
by
shhsshs
6y ago
That sounds like you can export your emails when you’re done.
115.
▲
iCloud Down for Many Users
(macrumors.com)
5 points
by
shhsshs
6y ago
|
0 comments
116.
▲
by
shhsshs
7y ago
I’ve kind of learned how to juggle the two disconnected undo buffers in my mind. If I want to just go “back in time”, repeating even my previous undo/redos, I use Ctrl-Z. To undo a quick mistake I use Vim’s undo. I guess I treat the
117.
▲
by
shhsshs
7y ago
Agreed, the title mislead me to think the article would be about unique identifiers (IDs) instead of internet drafts (IDs).
118.
▲
by
shhsshs
7y ago
TypeScript’s goal isn’t to be sound. Its goal is to be a balance between type-safety and effort. Full type safety would require a lot of runtime checks injected into the final JavaScript, which TypeScript intentionally avoids. JavaScript
119.
▲
by
shhsshs
7y ago
Personally I dislike the fact that io-ts requires taking a pure functional programming approach to this validation. For most cases I just want to throw an error if something doesn't match up. My main use case for this is validating t
120.
▲
by
shhsshs
7y ago
In those rare cases you can choose not to propagate the same context through those operations. Only check for cancellation once the operations have all finished.
More ›