Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andyferris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
andyferris
10mo ago
> floats can be NaN and integers should be low(int) if they are invalid (low(int) is a pointless value anyway as it has no positive equivalent). I have long thought that we need a NaI (not an integer) value for our signed ints. Ideally,
92.
▲
by
andyferris
10mo ago
> choosing Sometimes the programmer doesn't get to choose. I do find the business drive toward mediocrity quite maddening.
93.
▲
by
andyferris
10mo ago
The portable lithium battery "powerstations" double as great double-conversion UPS in addition to their intended outdoors (camping, beach, etc) activities, and depending on capacity go for less than 900 USD. It's only noisy w
94.
▲
by
andyferris
10mo ago
Does anyone know what blocks something like this being accepted? I’ve had my eye on this for ages and have had to work around its lack multiple times, so just curious what the hold up could be.
95.
▲
by
andyferris
11mo ago
> averaging power over 15 minute chunks, and taking the worst one of a year. What an interesting metric. Wouldn't even a very cheap and small battery (definitely small enough to keep inside an appartment) provide enough smoothing to
96.
▲
by
andyferris
11mo ago
Our local government taxes are entirely LVT and yet our housing prices still spiral upwards. I'm not sure how to work this to everyday people's benefit - are the taxes to be so large punative that half of everyday home owners need
97.
▲
by
andyferris
11mo ago
But - doesn’t open sourcing it kinda make it someone else’s chore? Obviously it has to “work” at sale but ongoing maintenance could be shared with the community.
98.
▲
by
andyferris
11mo ago
This is a very interesting article. I'm not 100% convinced every influencer _feels_ trapped in a world of their own making - but it's correct that truth this day is suffering a bit of a "tragedy of the commons" problem.
99.
▲
by
andyferris
11mo ago
One thing I found interesting is the logical type system doesn't seem to include sum types or unions, unlike Arrow etc. I'd generally encourage new type systems to include sum types as a first-class concept.
100.
▲
by
andyferris
11mo ago
The style of marketing material was becoming SO heavily cargo-culted with telltale signs exactly like these in the leadup to LLMs. Humans were learning the same patterns off each other. Such style advice has been floating around on e.g. Lin
101.
▲
by
andyferris
11mo ago
I see we need to add special syntax to the signature for dependent type variables. If you take Zig, it's `comptime` parameters are kind of similar. They can be used to create functions that return types or whose output type depends on
102.
▲
by
andyferris
11mo ago
> I hope they add some POSIXy stuff to it Are you aware of WASI? WASI preview 1 provides a portable POSIXy interfance, while WASI preview 2 is a more complex platform abstraction beast. (Keeping the platform separate from the assembly is
103.
▲
by
andyferris
11mo ago
I agree. I look forward to a future high-level language that uses something like comptime for metaprogramming/interfaces/etc, is strongly typed, but lets you write scripts as easily as python or javascript.
104.
▲
by
andyferris
11mo ago
Regarding autovectorization: > The other drawback of this method is that the optimizer won’t even touch anything involving floats (f32 and f64 types). It’s not permitted to change any observable outputs of the program, and reordering flo
105.
▲
by
andyferris
11mo ago
Distributed can do redundancy. It’s relatively cheap. Consider a family with two cars instead of one. How often do they have zero working cars? The correlated failure rate squares while the cost doubles. My home now has a grid connection, h
106.
▲
by
andyferris
11mo ago
45% slower to run everywhere from a single binary... with less security holes, without undefined behavior, and trivial to completely sandbox. Its definitely a good deal!
107.
▲
by
andyferris
11mo ago
> I'd like to think that those who don't notice the difference have improved brain GPUs that can compensate for ghosting. Wow. My perspective was those that did notice the difference were more perceptive. Thank you - now I real
108.
▲
by
andyferris
11mo ago
My personal experience is that Chrome on my PC is more reliable/predictable than Safari on my iPad. Now I am wondering if this is Safari/Chrome thing and not a mobile/desktop thing. Certainly if the autofill doesn't work
109.
▲
by
andyferris
11mo ago
Personally I find this really cool. One thing I like about the design is it locks in some of the "platforms" concepts seen in other languages (e.g. Roc), but in a way that goes with Zig's "no hidden control flow" ma
110.
▲
by
andyferris
11mo ago
Most effect-tracking languages have a GC and allocations/deallocations are handled implicitly. To perform what we normally call "pure" code requires an allocator but not the `io` object. Code which accepts neither is also all
111.
▲
by
andyferris
1y ago
Honestly those things are well past due - if this tips the scales then I hope we can all benefit.
112.
▲
by
andyferris
1y ago
Sadly, it doesn't actually run in NodeJS :( Uncaught RangeError: Maximum call stack size exceeded at REPL2:1:16 at REPL1:1:30 at REPL1:1:34 at REPL1:1:30 at REPL1:1:30 at REPL1:1:30
113.
▲
by
andyferris
1y ago
Exactly. My government says the trigger (accelerator) is bad and made it illegal. In usage, however, I feel WAY safer being able to accelerate (from standstill) through intersections. I once had a chain break at an inopportune moment while
114.
▲
by
andyferris
1y ago
With _quantum_ phase transitions, yes.
115.
▲
by
andyferris
1y ago
Remember Asahi works properly only on M1 and M2. More work is required to make it run well on later chips (its not just a faster ARM chip - it's new graphics card each time, motherboard chipset, every laptop peripheral changes from tim
116.
▲
by
andyferris
1y ago
> The Windows build uses DirectX 11 for rendering, and DirectWrite for text rendering, to match the Windows look and feel. As I understand, DirectWrite font rendering uses Windows subpixel font rendering. It seems OK on my monitor (bette
117.
▲
by
andyferris
1y ago
> I think pi should equal 6.28 and tau should equal 3.14, because pi looks like two taus Ha. Undeniable proof that we had them backwards all along!
118.
▲
by
andyferris
1y ago
Wow, there are so many amazing practical improvements in this release. It's better at both interactive use _and_ ahead-of-time compilation use. Workspaces and apps and trimmed binaries are massive - letting it easily do things normally
119.
▲
by
andyferris
1y ago
Revise can work on your server for hot reloading if you need it - you copy your new code files in place over the old ones. Of course there are caveats - it won't update actively running code, but if your code it's structured reaso
120.
▲
by
andyferris
1y ago
I think the beneficiary is wrong here. Those teens will grow up to work for organizaitons using Azure AD, Windows, Office and OneDrive/SharePoint/Teams. If any company is going to get the windfall of "AI provider by default&q
More ›