Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NoahTheDuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
NoahTheDuke
5y ago
Oh that’s very clever. Makes me wish javascript/Typescript had macros so I could define this all in a single call.
32.
▲
by
NoahTheDuke
5y ago
That's very cool, thank you so much.
33.
▲
by
NoahTheDuke
5y ago
That's what we had to do. We now define our "enums" as a `const` object: `export const Example = { First: "first", Second: "second", ... } as const;` and then define the type immediately following: `export
34.
▲
by
NoahTheDuke
5y ago
This is a significant improvement on Typescript’s enums but I wonder what the underlying code it compiles to is. Because we’re planning on moving our codebase to ESM support (the community is moving over quickly), we’ve run into a number of
35.
▲
by
NoahTheDuke
5y ago
I love the phrase “comparing apples to oranges” because while I know the intended meaning, the literal meaning is the opposite: they’re both sweet fruits that are common in western society, they’re sliced and juiced and used in a variety of
36.
▲
by
NoahTheDuke
5y ago
Full disclosure: I work for the company.
37.
▲
Vurvey, a Video Survey Platform
(vurvey.co)
2 points
by
NoahTheDuke
5y ago
|
1 comments
38.
▲
by
NoahTheDuke
5y ago
What client do you use?
39.
▲
by
NoahTheDuke
5y ago
From the post: > I’m sure that my above post is unfair in the sense that these three people spent several years working hard on a book, and I’m basing my entire reaction on some combination of the title, a technical error that someone fo
40.
▲
by
NoahTheDuke
5y ago
Do you have anything of substance to add or is this just an opportunity to insult communities you don’t like?
41.
▲
by
NoahTheDuke
5y ago
I was dissatisfied with the available fixture/test data generation tooling for Obection.js and Knex, so I ported factory_bot from Ruby to Typescript. I’ve called it Fixture Riveter [0]. It’s more verbose than the other similar tools (f
42.
▲
by
NoahTheDuke
5y ago
Protocols being tightly bound to their implementation in Java is a real bummer. Makes using them much more difficult and brittle than an equivalent CLOS-style system.
43.
▲
by
NoahTheDuke
6y ago
Do you have a link to the podcast?
44.
▲
by
NoahTheDuke
6y ago
What phone do you use now?
45.
▲
by
NoahTheDuke
6y ago
What kind of dialogue are you looking to foster with comments like this? Seems to me, this is deliberately provocative and sensational to spark outrage.
46.
▲
by
NoahTheDuke
6y ago
This is a pretty short comment. Which part do you find ridiculous?
47.
▲
by
NoahTheDuke
6y ago
I wouldn’t be so sure. I tried to add a page for a newly released album by a band that has a sizable Wikipedia page, and within an hour it had been deleted and all of the associated link changes to update footers/etc had been reverted
48.
▲
by
NoahTheDuke
6y ago
Ah thank you
49.
▲
by
NoahTheDuke
6y ago
This is a lot of fun! Why the use of Python 2?
50.
▲
by
NoahTheDuke
6y ago
Reddit headlines can’t be edited.
51.
▲
by
NoahTheDuke
6y ago
I like how you’ve added “at random cops” as if to delegitimize any reaction against an oppressive state. I think what’s more likely is that instead of just filming police brutality, people will start shooting police officers who are caught
52.
▲
by
NoahTheDuke
6y ago
People first have to believe that the cause (retribution, resistance, revolution, whatever you want to call it) is worth dying for, because the system (the cops, the media, the milquetoast white public) considers cop death to be the single
53.
▲
by
NoahTheDuke
6y ago
If it was reasonable, it would encoded into the law. It is not for the police to create new laws on the spot, and even if it were, the use of force to enforce it is not reasonable.
54.
▲
by
NoahTheDuke
6y ago
The issue with that is the lack of lexical scope. Lambdas have lexical scoping, def functions do not. To “fake” lexical scope, you have to use the nonlocal or global statements, which are gross and self-defeating.
55.
▲
by
NoahTheDuke
6y ago
Languages change. Arguing definitions doesn’t contribute to the conversation, it only makes you look pedantic.
56.
▲
by
NoahTheDuke
6y ago
This sounds like most careers, though. Except for the sensational language, how is this different than agism in the software industry, or folks who never become managers? In my (limited) experience, most people don’t climb the ranks or get
57.
▲
by
NoahTheDuke
6y ago
This looks great. I read and learn best from paper. Do you have any plans for releasing physical copies? Maybe through Lulu?
58.
▲
by
NoahTheDuke
7y ago
Virtually no one uses Emacs because 1) Lisps are out of favor (excepting Clojure, which has excellent support with Calva), 2) the out of the box experience is bad and customization is not simple at all, and imo 3) chording as the primary me
59.
▲
by
NoahTheDuke
7y ago
Agreed. Apollo is slick but Narwhal continues to be the smoothest commenting (reading and writing) experience.
60.
▲
by
NoahTheDuke
7y ago
Laughable to compare the obsessive curation of music on what.cd with any of those platforms, not to mention the fidelity and the vast range, far exceeding what’s available on the other platforms.
More ›