Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
flakes
3y ago
Seems to be not hitting every user the same way. I also did not have any direct message about ad blockers, but I did notice videos not loading correctly and requiring a page refresh to work. Updating uBlock seemed to fix that issue. It was
122.
▲
by
flakes
3y ago
One thing which seriously improves my experience is using the "Block element" feature on non-ads as well. Suggested videos, youtube shorts, banners, etc, all get blocked. Leaves the site much more lean and leaves less distracting
123.
▲
by
flakes
3y ago
I've been using uBlock since shortly after it launched, and I'd rather lose access to all Google services than not have an ad blocker. I seriously question how people use a browser without one. Completely changes how the web feels
124.
▲
by
flakes
3y ago
I would call that a micro-service architecture using a mono-repo. I think a lot of people here are conflating mono-repo/poly-repo with a mono-deployment. You can easily add in extra entrypoint executables to a single mono-repo. That al
125.
▲
by
flakes
3y ago
See the postmortem https://about.gitlab.com/blog/2017/02/10/postmortem-of-datab...
126.
▲
by
flakes
3y ago
That was an amazing video, thanks for sharing! I really appreciate that there's a link to the shader code as well. Makes me want to dive into graphics again!
127.
▲
by
flakes
3y ago
I started using Kotlin in Java 8 before the "record" keyword existed to be able to use "data class" instances. This provided very nice semantics for defining immutable structures, and the resulting classes could be impor
128.
▲
by
flakes
3y ago
Agreed. The more non-intrusive your APIs are, the better the overall experience is going to be for developers. Diverging from official/standard APIs means higher chance framework lock-in, which has kept me away from a lot of tooling. A
129.
▲
by
flakes
3y ago
I feel like this was a trend. Windows Movie Maker from XP was tremendously better than all of their replacements. I remember using that heavily when I was in middle-school, making stop motions and stupid videos with my friends.
130.
▲
by
flakes
3y ago
I know this is a meme, but after writing a lot of Go, and now finally trying out Rust for a new project, I’m quickly coming to this conclusion.
131.
▲
by
flakes
3y ago
https://docs.python.org/3/whatsnew/3.12.html#whatsnew312-pep... "PEP 692: Using TypedDict for more precise *kwargs typing" seems pretty great. That'll be really helpful for nested method calls which
132.
▲
by
flakes
3y ago
Does God write in Perl 5 or 6?
133.
▲
by
flakes
3y ago
Thank you. This was much more approachable for someone like myself that has little background (a few undergrad courses) in both machine learning and computer vision concepts.
134.
▲
by
flakes
3y ago
Yep, I'm tired of fighting the arms race with twitch ads, so I just mute the video now and do something else for a few minutes. I would honestly be perfectly happy with a black screen for 30 seconds as a compromise to ads. I only leave
135.
▲
by
flakes
3y ago
I very much dislike import side effects in any language. Im a lot happier where thing.Register() is still forced to happen in the main function. Still, I can understand it for some components like loggers to not add boiler plate to every li
136.
▲
by
flakes
3y ago
This 100%. Once the client becomes too hostile, I'll just stop using the service. I've been clear of Reddit since Apollo shut down, and if ad blocks stop working on youtube, I'll just find something else to do. Apart from jus
137.
▲
by
flakes
3y ago
I call that weaponized dogmas. It’s at least better than people who insist on being DRY by writing an inscrutable generic helper function which will only save 3 or 4 lines of code duplication.
138.
▲
by
flakes
3y ago
On the note of our acronym: After being a territory of Brittan, Newfoundland was its own country for a brief period of time. Much earlier before this point, Brittan conquered Labrador from the french (which used to be called "New Franc
139.
▲
by
flakes
3y ago
Not quite of the same caliber. A checked exception has the form `R func(T t) throws Err`. A concrete result type (like Rust has) would look like `Result<R, Err> func(T t)`. The later fits nicely into the `Function<,>` interface,
140.
▲
by
flakes
3y ago
Newfie here. Newfoundland dropped the NLFD abbreviation for just NL about 20 years or so ago. I’ve always heard that we painted the houses with whatever paint was on hand because the wind is strong that it strips away every couple of years.
141.
▲
by
flakes
3y ago
Very true. Checked exceptions in Java are a form of function coloring problem for modern libraries. Especially painful when using any of the functional style stream operations, like `map`, `filter`, etc, or any other higher order function l
142.
▲
by
flakes
3y ago
Final only protects the variable from being assigned a new reference (similar to a const pointer). It doesn’t protect any of the underlying data held by the object from being changed, unless the entire hierarchy has every field declared fin
143.
▲
by
flakes
3y ago
Ive been increasingly disliking ORMs in general lately. After a few days of trying to identify connection leaks and poorly optimized queries in a SQLAlchemy application, I’m starting to lose my hair. I think this actually speaks well to the
144.
▲
by
flakes
3y ago
Funny enough, I do actually find that interesting. Certainly not fixing your broken project, but, definitely designing package managers in general!
145.
▲
by
flakes
3y ago
My issue had nothing to do with morals. If I cant use Apollo, then I wont use reddit. All of the other clients are awful, and I dont miss the content enough to justify using the official app, or finding other ways to circumvent the restrict
146.
▲
by
flakes
3y ago
I think the key difference here is to consider toleration vs adoption. Old code is able to tolerate the changes and still work in new ecosystems. There is still work on maintainers if they want to actually adopt the features themselves. All
147.
▲
by
flakes
3y ago
Wait, really? I had no idea you could do that. Might have to try that next time Im tempted to break out python or node for a bash script.
148.
▲
by
flakes
3y ago
You can write the proxy/decorator to preserve typing info using a typevar. F = TypeVar(“F”, bound=Callable) def wrapper(f: F) -> F: …
149.
▲
by
flakes
3y ago
The image in my head of you bashing the harddrive gave me a good laugh!
150.
▲
by
flakes
3y ago
The article does state that at the end: > The answer is never. Go 2, in the sense of breaking with the past and no longer compiling old programs, is never going to happen. Go 2 in the sense of being the major revision of Go 1 we started
More ›