Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
movpasd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
movpasd
2y ago
Is there a relationship between this and delegation? Delegation feels to me that it's essentially a "named instance/impl".
92.
▲
by
movpasd
2y ago
I started using Polars for the "rapid iteration" usecase you describe, in notebooks and such, and haven't looked back — there are a few ergonomic wrinkles that I mostly attribute to the newness of the library, but I found tha
93.
▲
by
movpasd
2y ago
That's not strictly true -- type annotations are accessible at runtime (that's how things like dataclasses and pydantic work).
94.
▲
by
movpasd
2y ago
One issue with this is that arbitrary Python code can have arbitrary side-effects. Your suggestion reminds me a lot of fine-grained reactivity like in SolidJS, which makes sense, since spreadsheets basically operate on reactive programming.
95.
▲
by
movpasd
2y ago
The actual underlying models run in a lower-level language (not Python). But with the right tool chain, you already can do this. You can use Pyodide to embed a Python interpreter in WASM, and if you set things up correctly you should be abl
96.
▲
by
movpasd
3y ago
I thought this article was very insightful. I think one element to recognise is that politics is the fundamental way we make collective decisions. It is extremely important, both in a rational sense and (with humans being social animals) em
97.
▲
by
movpasd
3y ago
For maths, there is also ncatlab.
98.
▲
by
movpasd
3y ago
Quantum mechanics postulates that the state space of a system has the structure of a Hilbert space. To investigate the statistical properties of a collection of N particles, we can take the state space of each individual particle and take t
99.
▲
by
movpasd
3y ago
It looks like polars is using PyO3, which are Rust bindings for Python. Python's reference implementation is in C, so I imagine it's interacting with that API [0] through FFI. Common Python extension modules (as these are called)
100.
▲
by
movpasd
3y ago
I'm currently early in my career and "the software guy" in a non-software team and role, but I'm looking to move into a more engineering direction. You've pretty much got my dream next job at the moment — if you don
101.
▲
JavaScript-based Style Sheets (1996)
(w3.org)
2 points
by
movpasd
3y ago
|
0 comments
102.
▲
Known anomalies in Unicode character names
(unicode.org)
2 points
by
movpasd
3y ago
|
0 comments
103.
▲
by
movpasd
3y ago
I expect _global_ here refers to the language-level semantics, not internal interpreter semantics. Python's module system results in no implicit modifications to Python-level state between modules — at least, for a well-developed modul
104.
▲
by
movpasd
3y ago
I hope you will forgive me for this wall of text, but this is a topic that is quite close to my heart and that I've gone back and forth in many times before settling on my current perspective. I appreciate that especially for mathemati
105.
▲
by
movpasd
3y ago
I work in an R&D environment with a lot of people from scientific backgrounds who have picked up some programming but aren't software people at heart. I couldn't agree more with your assessment, and I say that without any disr
106.
▲
by
movpasd
3y ago
The basic idea of how to generalise "repeated multiplication" to the whole real continuum is to think about multiplication as a kind of scaling. Going from 2^n to 2^(n+1) is ultimately about scaling the result up by a factor of x2
107.
▲
by
movpasd
3y ago
I think consumers are trapped in a feedback loop precipitated by the rise of ad-driven software. From the perspective of an engineer, "consumers don't care about quality" — but what's really happening is that consumers h
108.
▲
by
movpasd
3y ago
Django has a similar philosophy: define your models and they are reflected directly into database tables and you can auto-generate forms using them. IMO, the trouble is that it couples vertical concerns (presentation, domain, infrastructure
109.
▲
by
movpasd
3y ago
I'd like to add a bit to your comment. I certainly agree that negative prices in this context don't mean anything remotely nefarious, but part of your comment suggests that "it's all consensual contracts" is a suffi
110.
▲
by
movpasd
3y ago
It's actually particularly important that prices be able to go negative in an electricity market, because it's physically impossible to store electricity: it must be generated and consumed at the same moment. "Electricity sto
111.
▲
by
movpasd
3y ago
As a non-neurotypical person myself, I sympathize with your feelings on the article, and felt them myself when reading it. But I also found it to be quite empowering. The truth is, whatever your field of work or interest is, the detail _is_
112.
▲
by
movpasd
3y ago
Thermodynamics (well, equilibrium thermodynamics) doesn't say too much, because evaporation is a non-equilibrium effect. They're not saying more water vapor is produced for free given the energy, rather that the _rate_ of evaporat
113.
▲
by
movpasd
3y ago
Autism exists on a multi-dimensional spectrum. Dimensions include restricted interests, anxiety, social awkwardness, difficulty reading faces, sensory processing issues, unusual motor of verbal behaviour, among many others. You can think of
114.
▲
CSS as a concatenative programming language (2023)
(donotdisturbmycircles.com)
1 points
by
movpasd
3y ago
|
0 comments
115.
▲
by
movpasd
3y ago
Cool! I love the absolute minimalism, it forces some creativity. I don't know if it would violate the spirit of the language to add some kind of state or conditional to make it Turing-complete. I made a grid: [[[[[[[[[[FFFF]RR[FF
116.
▲
by
movpasd
3y ago
It's been stuck in discussions for a long time, unfortunately. The main reason that I remember gleaning from discussions is it's unclear just how "special" None should be treated as, and whether having special syntax for
117.
▲
by
movpasd
3y ago
While I appreciate the security implications for Apple of reversing Activation Lock when they can't verify that you are the current, legitimate owner of the hardware (given Find My hasn't been set up), there is something intensely
118.
▲
by
movpasd
3y ago
The article is written like notes, and seems to mainly be about expositing sociological theory, not giving life advice. So I would forgive it the somewhat cold tone. How such information is applied in real life will depend on each person&#x
119.
▲
by
movpasd
3y ago
I'm not an expert in quantum gravity, but as there's no widely accepted theory of quantum gravity I suspect the answer is: we don't know.
120.
▲
by
movpasd
3y ago
"Point particle" isn't quite as clean as it sounds. What it means (hand-wavy) is that the underlying electron field has a finite number of degrees of freedom for every point in spacetime (in contrast to, say, a string theory)
More ›