Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leontrolski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
Lambda calculus succinctly in modern JavaScript
(leontrolski.github.io)
1 points
by
leontrolski
5y ago
|
0 comments
62.
▲
Bangle.js 2 – an open, hackable smartwatch
(espruino.com)
4 points
by
leontrolski
5y ago
|
0 comments
63.
▲
by
leontrolski
5y ago
How about just nudge json a couple more notches towards js? https://github.com/leontrolski/dnjs
64.
▲
Strongly typed Web 1.0 with TypeScript
(leontrolski.github.io)
5 points
by
leontrolski
5y ago
|
0 comments
65.
▲
by
leontrolski
5y ago
I've always used snakeviz with the stdlib profiler https://jiffyclub.github.io/snakeviz/ In prod, the pyinstrument profiler has worked well for me https://pyinstrument.readthedocs.io/en/latest
66.
▲
SQLAlchemy relationship loading techniques TLDR
(leontrolski.github.io)
2 points
by
leontrolski
5y ago
|
0 comments
67.
▲
by
leontrolski
5y ago
A great walkthrough mucking around with deep Python internals, love it!
68.
▲
by
leontrolski
5y ago
A really nice collection of examples in their original and their refactored form - nice work. I'm similarly in two minds about the feature, it's cute, but is it worth it? I think it's indicative that the nicest use is in AST
69.
▲
96 Line React with JSX
(leontrolski.github.io)
1 points
by
leontrolski
5y ago
|
0 comments
70.
▲
Don't get bitten by missing foreign key indexes
(leontrolski.github.io)
15 points
by
leontrolski
5y ago
|
1 comments
71.
▲
by
leontrolski
6y ago
In python/javascript, I'm a big fan of using yield - https://leontrolski.github.io/recursing-with-yield.html It just feels nice to me.
72.
▲
GitHub, fuck your name change
(mooseyanon.medium.com)
3353 points
by
leontrolski
6y ago
|
2007 comments
73.
▲
by
leontrolski
6y ago
> What is asserted without evidence can be dismissed without evidence I was hoping the code in the article would form (an admittedly small) piece of evidence. I'd just really like someone to show off a nice neat counter example, tha
74.
▲
by
leontrolski
6y ago
I think you could be on to something - that feels like an area with tightly coupled state and functionality. (Sorry for spamming this thread with comments like this), but would you mind emailing some example code, and we can test what happe
75.
▲
by
leontrolski
6y ago
I'm currently on a project with 100s of thousands of lines of code (admittedly not millions) - working in the bag-of-functions style - and I've yet to miss any OO features. Surely it's possible to construct a smaller example?
76.
▲
by
leontrolski
6y ago
Hi, thanks for the comment. Given the number of _feelings_ in these threads, I'd really like to test my conjecture - if you'd be able to email me a (< 500 line, ideally not super-deep-library-code) bit of code (constructed or o
77.
▲
by
leontrolski
6y ago
Hi, what I'd really like is to test my conjecture - would you (or anyone reading) be able to email me a (< 500 line, ideally not super-deep-library-code) bit of code (constructed or otherwise) that you think is "so innately OO
78.
▲
by
leontrolski
6y ago
Hi, what I'd really like is to test my conjecture - would you (or anyone reading) be able to email me a (< 500 line, ideally not super-deep-library-code) bit of code (constructed or otherwise) that you think is "so innately OO
79.
▲
by
leontrolski
6y ago
Hi, what I'd really like is to test my conjecture - would you (or anyone reading) be able to email me a (< 500 line, ideally not super-deep-library-code) bit of code (constructed or otherwise) that you think is "so innately OO
80.
▲
by
leontrolski
6y ago
There's a lot of backwards and forwards in the comments. What I'd really like is to test my conjecture - could people post/email me a (< 500 line, ideally not deep library code) bit of code that they think is "so inna
81.
▲
by
leontrolski
6y ago
Hi, I think you're correct in some domains - I probably should have spelt out that I'm by-and-large talking about application development, where if you have a "sufficiently complex combination of state and code" you prob
82.
▲
by
leontrolski
6y ago
In game development even there seems to be a shift away from OO, to data + functions under the guise of "Data Orientated/Driven Development" - eg: https://www.youtube.com/watch?v=0_Byw9UMn9g Edit: ignore me -
83.
▲
by
leontrolski
6y ago
(Author here) I used to think that, but I've since found myself working on a similar sized codebase where we use very little OO and none of these problems have manifested themselves. Avoiding large function signatures and passing highe
84.
▲
OO in Python is mostly pointless
(leontrolski.github.io)
370 points
by
leontrolski
6y ago
|
383 comments
85.
▲
by
leontrolski
6y ago
Here's a link to a recently published paper - "Using Spatiotemporal Modulation to Draw Tactile Patterns in Mid-Air" - https://link.springer.com/chapter/10.1007/978-3-319-93445-7_...
86.
▲
Ultraleap – tactile sensations projected onto your hands
(ultraleap.com)
155 points
by
leontrolski
6y ago
|
53 comments
87.
▲
by
leontrolski
6y ago
Mithril is the React Facebook would have written if its devs didn't have too much time on their hands - it's wonderfully simple. I stole their API somewhat for my 33-line-React, if you have any interest in how stuff works under th
88.
▲
by
leontrolski
6y ago
Reminded me of Geordie Jumpers https://www.youtube.com/watch?v=TOJzPXzcF_g
89.
▲
How do pandas DataFrames work? (kinda)
(leontrolski.github.io)
2 points
by
leontrolski
6y ago
|
0 comments
90.
▲
by
leontrolski
6y ago
This doesn't solve your problem, but for anyone else reading who may not be aware - there is (at least one) library that does runtime checking with your type hints: https://typeguard.readthedocs.io/en/latest/u
More ›