Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmkolobov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
dmkolobov
1y ago
It’s interesting that you use the “a monad is a monoid in the category of endofunctors” example. That kind of statement is definitely hard to parse when you’re trying to learn concepts. However, the more I’ve learned about category theory,
32.
▲
by
dmkolobov
1y ago
The point is that somewhere, you need to chuck bytes over the network and someone needs to receive them. If the teams working on the two are different, or even if the expertise level is uneven, something like a typed serialization library i
33.
▲
by
dmkolobov
1y ago
Maybe? I'd say it depends on what you're rendering. We rendered HTML that we created ourselves, filled in with data that we parsed and validated. Styles across the documents generated were also largely the same. If your job is to
34.
▲
by
dmkolobov
1y ago
It was! I remember the afternoon I had the idea: it was beer Friday -and it took a few hours to write up a basic prototype that rendered a PDF in a few hundred milliseconds. That was the first time I’d written a 100x speed improvement. Felt
35.
▲
by
dmkolobov
1y ago
Ooh blast from the past! At a previous company we moved off of wkhtmltopdf to a nodejs service which received static html and rendered it to pdf using phantomjs. These days you probably use puppeteer. The trick was keeping the page context
36.
▲
by
dmkolobov
1y ago
The scrolling behavior of text on this blog is pretty wild. Each paragraph has “subtle” animation when you stop scrolling on mobile: as if each paragraph is independently floating into its spot. It’s incredibly disorienting. Like… I get it
37.
▲
by
dmkolobov
2y ago
Yep! That was my first kind I built. Also things like choppers, swing-bikes, etc. My definition is pretty vague, usually requiring a bit of trashiness in the finished product.
38.
▲
by
dmkolobov
2y ago
Freakbike building is one, although rather niche :)
39.
▲
by
dmkolobov
2y ago
Which culture would that be? Starting off a post with “I hate things… this is one of them”? I think the discussion here would be different if the tone was more moderated. Seems like you’re dying on a hill for the right to be abrasive withou
40.
▲
by
dmkolobov
2y ago
I would think, or hope, that this guideline is geared towards protecting a years-long effort such as writing a performant, feature-rich terminal emulator, rather than a comment which takes 5 minutes max to draft. Not clicking on a documenta
41.
▲
by
dmkolobov
2y ago
The consequences of use-after-free are different for the two. In rust it is a logic error, which leads to data corruption or program panics within your application. In C it leads to data corruption and is an attack vector for the entire ma
42.
▲
by
dmkolobov
2y ago
I tend to agree w.r.t. managed languages. Still, being free from GC is important in some domains. Beyond being able to attach types to scopes via lifetimes, it also provides runtime array bounds checks, reference-counting shared pointers, t
43.
▲
by
dmkolobov
2y ago
It’s not the same. The term “safe” has a specific meaning in rust: memory safety. As in: - no buffer overflows - no use after free - no data races These problems lead to security vulnerabilities whose scope extends beyond your application.
44.
▲
by
dmkolobov
2y ago
Obviously not. I want legislation which imposes liability on OpenAI and similar companies if they actively market their products for use in safety-critical fields and their product doesn’t perform as advertised. If a system is providing inc
45.
▲
by
dmkolobov
2y ago
Genuine question: wouldn’t we still be able to do that? Im imagining similar behavior to swinging cup of water around on a string. The liquid experiences the same acceleration and “settles” within the new orientation of the container.
46.
▲
by
dmkolobov
2y ago
Ah that makes sense. I would think as long as the manufacturer and the operator are not the same entity then the danger in that regard would be mitigated.
47.
▲
by
dmkolobov
2y ago
The operators own the hardware and lease it to customers for computation. Those customers do not trust the operators to not peek at their Super Sensitive Data. TEE is a way for the operator to provide assurances to their customers that they
48.
▲
by
dmkolobov
2y ago
How dare people have new ideas. For those that don’t hate new ideas, functors and the like allow you to write transformations on data in terms of elements, rather than the structure of the container. This means that it doesn’t have access t
49.
▲
by
dmkolobov
2y ago
I’d say all of those bullets fall under the umbrella of “rendering” in an asynchronous execution environment like browsers, where code often depends on a consistent and predictable view of the DOM. I’m willing to hear arguments about the me
50.
▲
by
dmkolobov
2y ago
Free adults make decisions for children, and there is a long precedent( imo well justified ) of regulating decisions wrt to children: see vaccinations and mandatory schooling.
51.
▲
by
dmkolobov
2y ago
It’s essentially a way to give types to “mutable” views into larger data structures. s - the larger data structure a - a view value b - a “update” value t - the data structure after an update is applied Of course, everything is still immuta
52.
▲
by
dmkolobov
2y ago
I know this is a troll comment, but the situations you see these variables are in highly-polymorphic( generic ) code in which there are no more descriptive names. It’s like the use of `T` as a name in most Java or C++ generics.
53.
▲
by
dmkolobov
2y ago
A bunch of startups losing out on domains they bought despite best practices is not an event I would call “detrimental to the smooth operation of the global DNS network”. This was a known and willfully ignored business risk for these places
54.
▲
by
dmkolobov
2y ago
Right. I would argue that organized religion provides(provided?) a guided framework of accountability, transparency, and acceptance for your "justifications" amongst your community. In a vacuum, these differences compound into a c
55.
▲
by
dmkolobov
2y ago
Growing up in Nashville I've frequently heard that religion is a prerequisite to ethics. While I disagree in principle, I struggle to come up with an example where philosophy and ethics are discussed in a secular setting outside of sch
56.
▲
by
dmkolobov
2y ago
Yeah, didn’t quite catch that at first, apologies to the GP if the inclusion of the quote was insensitive.
57.
▲
by
dmkolobov
2y ago
because “[his] house was destroyed by Russians who invaded [his] country”
58.
▲
by
dmkolobov
2y ago
Can anyone speak to why those systems were considered more reliable? Are world agencies relying on this technology because of the inherent risk of rebuilding systems, or because of some attractive property of floppy disks?
59.
▲
by
dmkolobov
2y ago
There are also few major streaming services which require elevated levels of DRM , preventing them from being used on Linux.
60.
▲
by
dmkolobov
2y ago
Is it? At work we added conditionals to our expression language some four or five years after the first version was released.
More ›