Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
flakes
2y ago
Its hit or miss for me. This week I was googling how to use libarchive and the AI generated responses at the top of each query were either incorrect or hallucinations of methods that don’t exist. I don’t mind playing with AI to help scratch
62.
▲
by
flakes
2y ago
I still want to let the author have the final say on if they decide to accept or reject the change, or modify it further. Editing the branch directly might cause some rebasing/merge conflicts if they’re addressing other peoples comment
63.
▲
by
flakes
2y ago
> The documentation comments gets nitpicked to death with mostly useless comments about not having periods at the ends of lines > End up having to explain every little detail throughout the function For these cases I like to use the ‘
64.
▲
by
flakes
2y ago
I think the point they’re getting at, is that there are typically a lot of delta states in between pre-upgrade and post-upgrade states when using package managers. With immutable distros, the upgrade becomes more of an atomic operation than
65.
▲
by
flakes
2y ago
Its called Raku now, as the language differences in the experimental Perl 6 were enough to warrent it being spun off as a separate project. Perl 5 is still getting updates for quality of life improvements
66.
▲
by
flakes
2y ago
FastAPI uses uvicorn which is ASGI, but you can choose to implement endpoints as either async or sync. I have implemented servers using both styles. Very pleasant to work with, and everything is type hinted, which is a must for me in any se
67.
▲
by
flakes
2y ago
You should read the official wiki. https://wiki.freebsd.org/Myths#FreeBSD_is_Just_macOS_Without... > Darwin - which consists of the XNU kernel, IOkit (a driver model), and POSIX compatibility via a BSD compatibility laye
68.
▲
by
flakes
2y ago
You have just re-invented IPFS! https://en.m.wikipedia.org/wiki/InterPlanetary_File_System
69.
▲
by
flakes
2y ago
There are some valid cases where extends really can help, and IMO the language would feel limited without it. Maybe if the language designers had their time back they could have taken an approach like Golang with nested structs and syntacti
70.
▲
by
flakes
2y ago
The common toolkits today (spring boot, google guice, etc) are much more focused on composition over inheritance, by injecting arguments and implementing pure interfaces rather than extending base classes. Older legacy Java frameworks and b
71.
▲
by
flakes
2y ago
I care less about the length of the code, and more-so about the cognitive load. As the business logic grows, and the lines of code increases, the assignment of variables tend to get further and further away from their usage. What was once s
72.
▲
by
flakes
2y ago
Why do you assume they didn't? > I still boot it up to play occasionally
73.
▲
by
flakes
2y ago
When I was in school, I interned at a company that specializes in communication systems used to send data over these submarine cables. There is a huge market in terminal stations that send and receive over these cables. The terminal station
74.
▲
by
flakes
2y ago
Depends how it's implemented. It seems very similar to Apache Airflow in API, and similar to the many Argo Workflows Python wrappers. This pattern when implemented with context vars in the context managers is a pretty nice way to reduc
75.
▲
by
flakes
2y ago
A lot of languages have no boolean primitive to begin with. Often in older languages, the values for `true` and `false` are aliases for `0` and `1` respectively. Perl and earlier versions of C, Python, and JavaScript are notable. Perl is pr
76.
▲
by
flakes
2y ago
Who is "we" in all of this? Not even visible on the github org https://github.com/Flutter-Foundation > This organization has no public members. You must be a member to see who’s a part of this organization.
77.
▲
by
flakes
2y ago
Totally agree. There used to be a commercial that would play on Canadian TV stations. It showed the view of a river, once with calm and tranquil sounds and then played again with ominous sounds like from a horror movie. When you are present
78.
▲
by
flakes
2y ago
moto server for testing S3 is pretty great. It’s about the same experience as using a minio container to run integration tests against. I use this, and testing.postgresql for unit testing my api servers with barely any mocks used at all.
79.
▲
by
flakes
2y ago
I've found that when mixing the two types of routes, it can be quite easy to accidentally introduce blocking paths which freeze up the main event loop, especially if mixing async dependencies with sync ones. When a route is async, it g
80.
▲
by
flakes
2y ago
Yup, I use FastAPI for some large services, handling a few million requests per day. Great experience overall, and speed of development is significantly improved. You can feel confident something is going to work after writing code. With fl
81.
▲
by
flakes
2y ago
We’re doing a three day in office, two day work from home split. I think it works out pretty well. I do see an advantage being in office with juniors and interns. I definitely learned a lot when I was junior being able to ask the senior sta
82.
▲
by
flakes
2y ago
That game still exists? Back in 2005 I figured out how to log in on multiple Habbo accounts at once. I would run casino rooms using the dice and use a mob of clones to make it look like real players are winning and betting big. If an actual
83.
▲
by
flakes
2y ago
A few months ago, my girlfriend and I missed a comedy show because we showed up on the wrong day. The ticket said Saturday 12:15am, which apparently meant Sunday 12:15am, as part of the Saturday lineup. Still feel stupid about that one.
84.
▲
by
flakes
2y ago
There's also a command argument that can be provided in the authorized keys setup, which can force connections with a particular key to hit an entry-point application.
85.
▲
by
flakes
2y ago
> Also, other than Swift, I don't know of any programming language that let's me explicitly mention if a function could throw an exception. Checked exceptions in Java. I both like and hate them. They force the function to be ex
86.
▲
by
flakes
2y ago
> investment-induced loyalty Would generally refer to this as a sunk cost dilemma
87.
▲
by
flakes
2y ago
> They are not checked at runtime at all. Type declarations are only used for static analyzing tools and not by the runtime. This is the common usecase, but types certainly are used at runtime by many libraries. Frameworks like FastAPI u
88.
▲
by
flakes
2y ago
Yeah 100%. I live in NYC, and before the quake, our golden retriever started crying and whimpering. A few moments later we felt the quake!
89.
▲
by
flakes
3y ago
Both me and my girlfriend were working from home today. Randomly our dog started crying and a few seconds later we felt the quake. Was pretty wild. Lots of rattling of furniture and plates in the cabinets. I guess my dog must have noticed t
90.
▲
by
flakes
3y ago
> I wouldn't be surprised if he's going to be dealing with Java v1.5 instead of the latest features. Well I certainly hope not… LTS for Java 5 probably hit end of life when he was 2. I’d say most likely the version being insta
More ›