Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alkonaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
751.
▲
by
alkonaut
2y ago
That's a great idea (and after the fact, much better than changing the API). On day 1 it should have been easy though.
752.
▲
by
alkonaut
2y ago
If you are calling SomeType.SomeMethod(a, b, c) then you don't know what combintions of a, b, c could allocate unless you can peek into it or try every combination of a, b and c. So it's hard to know in the general case even with
753.
▲
by
alkonaut
2y ago
NRT wasn't really breaking as it's a warning which you control top level. But there have been some real breaking changes in edge cases but they are pretty far between. I think the language could be better if it was always structu
754.
▲
by
alkonaut
2y ago
The problem with it is that you don't know. The fundamental language construct "foreach" is one that may or may not allocate and it's hard for you as a developer to be sure. Many other low level things do this or at leas
755.
▲
by
alkonaut
2y ago
But that's .NET, not C#. Language and platforms are different. Libraries must be compatible (because you don't know if your library will be consumed in a newer app). But the compiler only consumes syntax (C#11, C#12 C#13 and so
756.
▲
by
alkonaut
2y ago
Hard agree on the backwards compatibility. It appears to be some law of nature that "our next compiler must compile 20 year old code". Instead of new platform libs and compilers simply defaulting to some reasonable cutoff date and
757.
▲
by
alkonaut
2y ago
The DU stuff is enormous once you consider all the corners it touches. Especially with refinements. E.g. in code like if (s is string or s is int) { // what's the type of s here? is it "string | int" ? } And
758.
▲
by
alkonaut
2y ago
It's hard to use C# without creating garbage. But it's not impossible. Usually you'd just create some arenas for your important stuff, and avoid allocating a lot of transient objects such as enumerators etc. So long as you ca
759.
▲
by
alkonaut
2y ago
Mac visual studio isn't visual studio, it's something else that they stuck the label visual studio on. They are about as related as java and javascript (which are famously, related as car is to carpet)
760.
▲
by
alkonaut
2y ago
> matter so that is what matters At first I thought this was a great pun. But then this is perhaps also the reason the word is actually "matters"? Where "matters" is what means something? What matters is what has an o
761.
▲
by
alkonaut
2y ago
Oh nice I thought it was just while it was in preview
762.
▲
by
alkonaut
2y ago
They SHOULD be determined by those cities. It's not like Wyoming gets a say with the EC. Instead, who's nominated is decided by Iowa and the presidency is decided by six suburban housewives in Pennsylvania. It would be a huge impr
763.
▲
by
alkonaut
2y ago
Any news about whether this will apply to RustRover too soon?
764.
▲
by
alkonaut
2y ago
Windows seemed like a mess to me but it’s actually not too bad. Local/roaming per-app data can be separated and the per-user temp would always then be in the local part.
765.
▲
by
alkonaut
2y ago
It will suck to babysit LLMs as a job. In one sense perhaps it will be nice to have models do the chores. But I fear we’ll be 90% babysitting. Today I was in an hour long chat with ChatGPT about a problem when it circled back to its initial
766.
▲
by
alkonaut
2y ago
Try buying the regular smart ones and disabling the spyware while keeping the rest of the subsidized price. It would be a legal battle about whether you can actually enforce some terms of use that would prohibit it. The rough part is having
767.
▲
by
alkonaut
2y ago
It's always nice to point to a third party and keep blame from c-suite or board.
768.
▲
by
alkonaut
2y ago
> How about a quarter? Or a tenth? Probably closer to the latter. The "skin in the game" (physically) argument makes me more willing to accept drunk drivers than greedy manufacturers when it comes to making mistakes or being ne
769.
▲
by
alkonaut
2y ago
The big firms just need to be big and known. There value delivered isn’t in the PowerPoint explaining that cutting costs and increasing revenue will increase profits. The value added is that companies buy a stamp from a famous firm when the
770.
▲
by
alkonaut
2y ago
Is this network smaller than stockfish and by what metric is that?
771.
▲
by
alkonaut
2y ago
If it had worked for Chrome it should (and maybe would) have been a lot higher. Also: doesn't it use an extension? I was under the impression that extensions were un-sandboxed and basically just executables I trust to run with the same
772.
▲
by
alkonaut
2y ago
Removing their YouTube account was part of the strangeness. Even if you own a social media company you really need the YouTube account to squat your brand and redirect
773.
▲
by
alkonaut
2y ago
You could exclude prices on preprinted tags and just regulate shelve pricing and store signs I guess.
774.
▲
by
alkonaut
2y ago
Wanted to see if it finally included taxes on price tags… but instead this law explicitly excludes taxes. So close.
775.
▲
by
alkonaut
2y ago
The comparison price for flights should be normalized. Like for example including either a carry on luggage or a checked in bag but not necessarily both, and no reserved seat. If some even cheaper airline wants to sell tickets without carry
776.
▲
by
alkonaut
2y ago
Taking it off YouTube and not having their main YT account at least show a “redirect” video is strange.
777.
▲
by
alkonaut
2y ago
The key metric for gaming is how to split a certain budget between GPU and non-GPU components, and where the sweet spots are on that budget curve. The trend in recent years have been to always go for a cheaper cpu and expensive GPU, but not
778.
▲
by
alkonaut
2y ago
Fixed layout structs seem like a no brainer and a natural extension of the typed arrays. It’s strange that both Java and Jacascript went so long without them. Interacting with many APIs (webgpu, FFI, …) quickly becomes really unpleasant if
779.
▲
by
alkonaut
2y ago
I was only considering pure solo desk work like software development now. But anything with visible individual output should follow the same pattern for observability. Obviously in other lines of work it can be different. But if I wanted to
780.
▲
by
alkonaut
2y ago
If someone doesn’t work at all and you are worried about not noticing I think there is some organizational issue. What in this scenario makes it easier to know if this person is working when they are in the office?
More ›