Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wvenable
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
631.
▲
by
wvenable
2y ago
I've started to wonder how much Spotify is gaming the system. For example, by playing tracks lower royalties over tracks with higher ones. There could be some backdoor payola and we would never know.
632.
▲
by
wvenable
2y ago
If I created the perfect language tomorrow the very first problem is that absolutely nobody would have any experience in it. It would also have no other ecosystem. No books. No tutorials. No mentors. No libraries. No frameworks. And ev
633.
▲
by
wvenable
2y ago
That is, unfortunately, not how anything works.
634.
▲
by
wvenable
2y ago
Doomed to failure? It's literally the 4th version of this product.
635.
▲
by
wvenable
2y ago
I'm totally okay with Mickey Mouse being copyrighted again if we could find a system that allowed for abandoned works to be out of copyright. It would be a huge boon to human culture.
636.
▲
by
wvenable
2y ago
There are so many ways that copyright duration could be adjusted to dramatically reduce the duration for out-of-print not-for-sale works while simultaneously allowing Disney to keep Mickey Mouse. The fact that it's a single fixed durat
637.
▲
by
wvenable
2y ago
But then you'd end up wasting memory because the address space it would be divided into 64K blocks. The first PC had only 16KB of RAM but 128KB was probably more common. With the segments setup the way you describe a 128KB machine co
638.
▲
by
wvenable
2y ago
That might be all the motivation I need to go move to .NET 9.
639.
▲
by
wvenable
2y ago
There are many times I would love to have an automatic backing field in C#. C# will do that if you use the default setter but in cases where that's not possible I dislike having to both declare a separate field and having it available
640.
▲
by
wvenable
2y ago
It's abstraction. Your not supposed to care that the setter is doing anything. The class is providing you an interface -- what it does with that interface is not your concern. I hate to quote Alan Kay but all objects should just res
641.
▲
by
wvenable
2y ago
A method is supposed to be an action and a property is supposed to be data. So I don't see the desire to disguise setting data as a "setting method" rather than using the syntax of assignment.
642.
▲
by
wvenable
2y ago
Well don't do that then. :)
643.
▲
by
wvenable
2y ago
PHP has had the ability to dynamically handle properties for decades so this doesn't hurt readability -- in fact, it makes it better.
644.
▲
by
wvenable
2y ago
I'm not a fan of that kind of magic in my languages but such a thing was already easily doable in PHP. You could just have a base class that implements __get and __set so that $this->foo automatically calls $this->getFoo().
645.
▲
by
wvenable
2y ago
> I know people love to say this, but does anyone realistically make websites or web apps that way? In PHP, I do. In other platforms, no. My personal PHP site is published by a git push to the server.
646.
▲
by
wvenable
2y ago
You trade complexity in source code for complexity in language. For example, property hooks will make code that currently uses other methods to accomplish that task much easier to read and write.
647.
▲
by
wvenable
2y ago
Readonly might have different semantics (as it does in C#). Readonly has been discussed but it wasn't part of the property hooks RFC and is a separate issue/feature. This is just a natural consequence of having private setters.
648.
▲
by
wvenable
2y ago
There's nothing stopping anyone from building responsive UI components in this or even in Visual Basic itself. I thought were were talking about VB6, the programming language, not the UI toolkit. They are closely related but not nece
649.
▲
by
wvenable
2y ago
VB6 is arguably the most popular and influential version of Basic it only makes sense to keep backwards compatibility with it. Why would anyone not want that from their Visual Basic clone?
650.
▲
by
wvenable
2y ago
I can't say I miss it; Facebook is actually usable now and shouldn't be anyone's primary news source.
651.
▲
by
wvenable
2y ago
No, it's not. But it also hasn't gone away. The long tail of viable technologies is much longer than most developers realize. Technology shifts are almost generational.
652.
▲
by
wvenable
2y ago
I admit I don't use Notepad++ to actually write anything -- I use it view large files, do complex search & replace, regex, reformat files, data manipulation, etc. I probably use it a couple of times a week but never to write. I do
653.
▲
by
wvenable
2y ago
You can read whole conversations. Most of the smaller subreddits that this type of search picks up are actually filled with people passionate about whatever subject area it is. In general, I find it very trustworthy. If you post something
654.
▲
by
wvenable
2y ago
> Will this fundamentally change how people find and access information? How do you create an experience so compelling that it replaces the current paradigm? I think it's already compelling enough to replace the current paradigm. S
655.
▲
by
wvenable
2y ago
Not necessarily. If 25% of the code is written by AI but that code isn't very interesting or difficult, it might not be making the devs 25% more efficient. It could even possibly be more but, either way, these are different metrics.
656.
▲
by
wvenable
2y ago
25% of new code might be boilerplate. All my apps in my organization start out roughly the same way with all the same stuff. You could argue on day one that 100% of the code is boilerplate and by the end of the project it is only a smal
657.
▲
by
wvenable
2y ago
More code could just be useless code that no longer serves any purpose but still looks reasonable to the naked eye. An LLM can certainly figure out and suggest maybe some conditional is impossible given the rest of the code. I can also sug
658.
▲
by
wvenable
2y ago
> Or do they have 25% trivial code? We all have probably 25% or more trivial code. AI is great for that. I have X (table structure, model, data, etc) and I want to make Y with it. A lot of code is pretty much mindless shuffling data a
659.
▲
by
wvenable
2y ago
The browser only reluctantly accepts its role is an application UI platform. Every problem, including the ones you describe, come from the disconnect between what a browser is and what it is used for. The browser is always going to lag
660.
▲
by
wvenable
2y ago
> Yes, with generally terrible results, Really? This is like complaining about movies that use CGI -- you only complain when you can see it. When it's seamless, and often it is, you don't even notice or care. Why stop at brow
More ›