Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
okennedy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
okennedy
4y ago
Guardrails for stats are something that I've put a lot of thought towards. The fundamental challenge is that statistics is operating in a world of incomplete information. Statistical measures are almost never monotone with respect to
32.
▲
by
okennedy
4y ago
That's a fair long term view, and a sense for this type of nuanced choice is one of the marks of a good programmer. Not all students have the experience to judge the tradeoff, and so my goal as an educator is to default them to the sa
33.
▲
by
okennedy
4y ago
The idea of code as data is something that's been churning around in the heads of my colleagues and me for a while now. Compiler optimization in particular is something that can really benefit from this view: The typical fixpoint-styl
34.
▲
by
okennedy
4y ago
It's worth keeping in mind that the primary audience that the article discusses is not folks at your skill level. By far one of the most common errors I see as a CS instructor is aggressive over-reliance on global state. Not global me
35.
▲
by
okennedy
4y ago
We are... Spark's DataFrame is essentially a relational algebra AST-builder. Microsoft's LINQ interprets SQL directly in at compile-time. All of these, however, run queries more or less directly in the system in which they
36.
▲
by
okennedy
4y ago
AppleScript's syntax was a mess of pseudo-english that was a pain to write (although considerably easier for newbies to read). The editor helped here quite a bit. That said, the infrastructure backing Applescript was amazing (especial
37.
▲
by
okennedy
4y ago
For the NSF at least, most grants are awarded for 3-5 years. When the last policy shift happened (all grant-supported publications need to be publicly released into the NSF's publication archive), it applied to newly awarded grants.
38.
▲
by
okennedy
4y ago
This. Exactly this. Garbage collection has a huge, and generally entirely unappreciated win when it comes to threaded code. As with most things, there are tradeoffs, but every reference counting implementation that I've used has turn
39.
▲
by
okennedy
4y ago
Timing! (To my credit, I had checked the upgrade kits page and they were still on "notify me" status when I posted) Obviously I'm being a bit greedy here, but much of Framework's value proposition is built around upgrad
40.
▲
by
okennedy
4y ago
The same thing was a huge issue in Python until somewhere around 3.6, until they canonicalized the sort order.
41.
▲
by
okennedy
4y ago
Modulo the snark, you're completely right. Iteration order = insertion order is super valuable for a bunch of reasons (this one included).
42.
▲
by
okennedy
4y ago
Hence the "simple but good". It's not really obscure, but also not on the common path. I've lost track of the number of times I've pointed this one out to a colleague or student.
43.
▲
by
okennedy
4y ago
Linked Hash/Tree Maps, simple, but elegant. A Map with its nodes connected in a linked list so you can traverse them in insertion order (and O(n) time). Very useful for window queries over sequential data and other cases where you wan
44.
▲
by
okennedy
4y ago
I frequently carry my laptops by the body one handed, which probably doesn't help. I also (used to) travel a bunch, so the laptops end up getting stuffed into and out of densely packed bags. In most cases though, the hinges are just ba
45.
▲
by
okennedy
4y ago
I completely agree in nearly every respect. Especially notable is the fact that they sell replacement hinges. Considering that every one of my preceding non-Apple laptops has failed at the hinge, this is huge. Support for suspend in linux
46.
▲
by
okennedy
4y ago
The same thing happens on a lot of mobile devices as well. It's the reason that mobile devices generally don't get advertised with clock speeds. E.g., see: https://dl.acm.org/doi/abs/10.1145/303297
47.
▲
by
okennedy
4y ago
A technology demo can be both incredibly cool, while still having significant negative implications. 16-year old me dreamed about this sort of tech. Current me has seen Minority Report and is not comfortable with faceless corporations uni
48.
▲
by
okennedy
4y ago
Don't blink.
49.
▲
by
okennedy
4y ago
You might want to check out a tool Vizier: https://vizierdb.info (I'm one of the devs). Direct interaction with notebooks state (e.g., dataframes as spreadsheets) is one of the central ideas, and it's fully open sourc
50.
▲
by
okennedy
5y ago
It is... niche. The display, in spite of butting up against your glasses, is still very small. You're not going to be programming on the command line with one of them (I've tried). It's also not really great as a secondary
51.
▲
by
okennedy
5y ago
To their credit, US and EU funding agencies agree with you! Back at the start of 2016 or so, the NSF started adding clauses to grant contracts requiring that all research supported by new NSF awards be deposited in its open access reposito
52.
▲
by
okennedy
5y ago
I can see this being helpful to people who are unfamiliar with a language's syntax/language learners. For someone who already understands the syntax of a language (or at least the syntax of a related language), there's little
53.
▲
by
okennedy
5y ago
It can and does. e.g., a Mastodon account can subscribe to one on PeerTube.
54.
▲
by
okennedy
5y ago
Ocaml sold me on the value of functional languages. F# taught me that they could be practical outside of academic projects. Ocaml's standard library is amazing, and it has a great developer community, but at the end of the day Ocaml i
55.
▲
by
okennedy
5y ago
It's been a while since I looked at the technology, but the basic premise is very simple. The TPM basically keeps around a stack of hashes. The BIOS pushes a hash of the bootloader onto the stack. The bootloader pushes a hash of the
56.
▲
by
okennedy
5y ago
A TPM is a chip on some motherboards that serves two purposes: 1. Using something not too dissimilar from blockchain/git repo hashes to attest to the the execution stack (BIOS, bootloader, kernel, userspace). 2. Providing cryptographic
57.
▲
by
okennedy
5y ago
For many goods and services, they are actually quite reasonable requirements. Internet access, however, is a form of public infrastructure, regardless of whether it is administered by a for-profit corporation or a government. > - Munici
58.
▲
by
okennedy
5y ago
GSConnect (which I already use) is written as a GNOME shell extension in order to provide support for clipboard sharing. Unfortunately, none of the mobile-friendly shells/desktop managers support GNOME extensions (yet). There's
59.
▲
by
okennedy
5y ago
KDEConnect is supported in KDE/Plasma-based distros. Work is in progress to add it to Gnome/Phosh. KDEConnect is definitely a killer app! Can't speak for the other distros, but Mobian/Phosh has reached a point where it
60.
▲
by
okennedy
5y ago
It's based on Spark rather than Postgresql directly, but I'm part of an effort to build a workflow system disguised as a notebook callled Vizier [1]. SQL is a first-class primitive in Vizier, and the notebook plays nice with post
More ›