Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linkdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
901.
▲
by
linkdd
6y ago
> If you want Kubernetes it's probably a better idea to use a hosted Kubernetes solution like Google's offering. This may not be true in the future with distributions like k0s[1] [1]: https://k0sproject.io/
902.
▲
by
linkdd
6y ago
I see, that's interesting and it seems powerful. But I would never use such a feature, it increases the code mental load (what you should know before being able to read the code). From one codebase to another, I can't even keep th
903.
▲
by
linkdd
6y ago
I'm a Rust newbie, could you explain how a function got a method "system"? Is there some macro at work here?
904.
▲
by
linkdd
6y ago
Small example in one of my previous job: Application was built using Java/SpringBoot, and the CI/CD was based on Jenkins. We had no control over the version of maven/jdk installed within the Jenkins, and the network policies
905.
▲
by
linkdd
6y ago
And that's perfectly fine. But game developers are a small fractions of Rust developers.
906.
▲
by
linkdd
6y ago
What if you're in a constrained environment, there is no rustup installed, and you don't have the permissions to install it? This issue certainly occurred with a lot of C/C++ projects over the past 30 years, why would Rust be
907.
▲
by
linkdd
6y ago
I would add that having multiple package managers on the same system can be a hazard. For example, NEVER install a Python package globally with pip on a Debian System, it WILL conflict with Debian packages (and you'll be very unhappy a
908.
▲
by
linkdd
6y ago
If you think the whole world of IT works on bleeding edge tech, you're mistaken. Most distributions have an LTS that is supported for 5 to 10 years. You won't get the newest, hottest compiler on those platforms. > So what? Rust
909.
▲
by
linkdd
6y ago
IIRC, Docker's first versions were only a high-level API to LXC. containerd/runc/... came after.
910.
▲
by
linkdd
6y ago
Even though it is called "dynamic import", it still only accepts string literals as argument: import("module") // will work import(p) // will not work import(`${p}`) // will not work
911.
▲
by
linkdd
6y ago
As far as I know, ES modules do not allow variables as module name: const moduleName = "foo" import something from moduleName // will not work const something = await import(moduleName) // will not work
912.
▲
by
linkdd
6y ago
That was exactly my point.
913.
▲
by
linkdd
6y ago
Yes, I'll stick to using str.format :)
914.
▲
by
linkdd
6y ago
It was implying you could use the str.format function as argument to other computations, something you cannot do with f-strings.
915.
▲
by
linkdd
6y ago
What if "hello {x}" is not a static string but was read from somewhere else? Surely this would not work: greeting = "hello {x}" greet = lambda x: f greeting
916.
▲
by
linkdd
6y ago
greeting = "hello {}" greet = partial(str.format, greeting) greet("world") How would you pass a variable format string to f"" ?
917.
▲
by
linkdd
6y ago
Github's main business is not Github Pages or be a CDN. Netlify's main business is. Netlify also provides deployment previews for commits and PRs, and a complete CI/CD pipeline that you would have to implement yourself with G
918.
▲
by
linkdd
6y ago
IMHO, the 2D top view is a way better interface to visualize your huge factories than a subjective view in a 3D world.
919.
▲
by
linkdd
6y ago
> nothing really stopping you, but it's not the usual approach In my experience, if you open-source a project, it better have to follow conventions. Following conventions makes sure someone else can read your code easily. > In wh
920.
▲
by
linkdd
6y ago
When I try to decide if i want to use a language, I look at its ecosystem. It may have the best features in the world, but if the ecosystem is not there, it will be a pain to use it. On the opposite, a language can have the worst features a
921.
▲
by
linkdd
6y ago
Golang is great for small code bases, in a UNIX world where each program do only one thing, this is perfectly fine. But once the code base grows, it easily becomes a tangled mess. My biggest con for Go would be the project directory structu
922.
▲
by
linkdd
6y ago
And yet, the gameplay is just: - move your character - mine stuff - craft buildings - place buildings And a small bit of combat for the aliens. I insist, the gameplay IS simple, the content allows for very complex designs. Similar to pro
923.
▲
by
linkdd
6y ago
I do think you need more dev to handle more complexity. But more dev to have less bugs, or to develop faster is like saying that with 9 pregnant women, you can deliver a baby in 1 month.
924.
▲
by
linkdd
6y ago
I'm not sure to understand your point. More devs does not mean less bugs, it does not mean faster development, in fact, it does not mean anything. An AAA game may need 500+ games, because that's what the technological constraint r
925.
▲
by
linkdd
6y ago
Do you really think a 2D physic engine is comparable to a 3D physic engine in terms of complexity? Yes Factorio is complex. No it's not more complex than a Witcher/Skyrim/Cyberpunk/whatever big budget game you can think
926.
▲
by
linkdd
6y ago
I don't think both kind of games are on the same complexity level. The gameplay is simple (aka: it requires few kind of user interactions), and the physic engine (source of most bugs in big budget open-world games) is far far far simpl
927.
▲
by
linkdd
6y ago
Those steps are totally useless if you have quality/security control. I just look at the store and install the app. I don't want to spend more than 30s to decide if I want to install an app or not. I definitely don't want to
928.
▲
by
linkdd
6y ago
The best IDE is in my head. I don't need to type anything and it can even run buggy code without any error.
929.
▲
by
linkdd
6y ago
From my experience, `autoreconf -i` is responsible for generating the configure script from a configure.ac file, so I assumed some platform-specific logic was happening. I always wrapped it up in a autogen.sh script that I did commit. Also,
930.
▲
by
linkdd
6y ago
I never managed to get CMake to work out-of-the box on Windows. I always end up vendoring the dependencies, because it's too tedious to find the correct installed libraries in a cross-platform way. autotools are great, but at the same
More ›