Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strictfp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
strictfp
4y ago
> Some apps don't need memory safety. Maybe not, but it's still a big pain in the butt to avoid bugs in that area. I imagine that static analysis for memory safety would be something that most developers would use in existing u
32.
▲
by
strictfp
4y ago
Webpages were designed to avoid complex state management. URLs, HTML and forms, i.e the original REST, is a model with a lot of power and flexibility, and almost none of the complexity of desktop UI toolkits. Frontend web frameworks have th
33.
▲
by
strictfp
4y ago
Thanks. Do you setup an artificial tree during testing? If so, how?
34.
▲
by
strictfp
4y ago
How do you people feel about the Godot object and lifetime model? I found it hard to test my code because of how objects are tied to the tree, that emulating the tree isn't easy during testing, and that initialization during live use i
35.
▲
by
strictfp
4y ago
> The use of virtual methods is verboten for many common use cases of C++, due to the necessity of being in paged memory I wasn't aware of this. Maybe I'm just out of the loop. Do you know where one can I learn more about this?
36.
▲
by
strictfp
4y ago
Sure. I guess template-based polymorphism is alright for code dispatch. But if you want to store the different types of objects involved you have limited choices. There's no straight-forward support for sum types. std::variant is fairl
37.
▲
by
strictfp
4y ago
I don't agree. The support for static polymorphism is in it's infancy at best.
38.
▲
by
strictfp
4y ago
Yes, that's true. In a sense, c++ requires good code structuring. That's also part of why I enjoy returning to c++, the people involved know how to structure code and create clean architecture. That said, sometimes c++ does get in
39.
▲
by
strictfp
4y ago
I've worked in a variety of languages, and returning to a c++ project recently I do see that we spend a lot more time thinking about how to write the code in a way that avoids problems. Meaning that there's a lot more architecturi
40.
▲
by
strictfp
4y ago
A debugger can work in many ways, it can also print, or trigger on altered memory. I would say that a debugger is generally more useful for finding race conditions than logging. But writing tests is really the best tool there. In my opinion
41.
▲
by
strictfp
4y ago
I think it's because it's a concept that constrains how multiple instances of a type interact, and we're used to thinking of types as putting restrictions on single instances.
42.
▲
by
strictfp
4y ago
Jetbrains IDEs are just as good as Visual studio. As is XCode, QT creator and friends. And they work with many languages. I know it's a problem with Python and Node though.
43.
▲
by
strictfp
4y ago
Node is great for this usecase
44.
▲
by
strictfp
4y ago
Physics is also ran on the client, but the server is authoritative and can correct or override client decisions.
45.
▲
by
strictfp
4y ago
The thing is that a simple name doesn't work either, so 'server1' doesn't work, 'server1.local' doesn't work. 'server1.example.com' works, and I think 'server1.lan' also works, but I&#
46.
▲
by
strictfp
4y ago
Do you have a proper domain name for your local network (+ search domain)? I'm talking about the case where you don't, or have a '.local' domain; https://askubuntu.com/a/918161
47.
▲
by
strictfp
4y ago
For those of you who downvote this because you think I'm being disingenuous, I speak from personal experience of working closely with Red Hat in a number of projects where their code were an integral part of the solution. Red Hat reall
48.
▲
by
strictfp
4y ago
I think that's a colloquialism, according to several dictionaries "America" can nean the two continents. https://dictionary.cambridge.org/dictionary/english/america
49.
▲
by
strictfp
4y ago
Maybe nowadays, but when it came to Ubuntu back in the day it was enabled by default and couldn't be turned off because it was being used early in the boot cycle when other resolvers hadn't booted yet. Talk about bad design decisi
50.
▲
by
strictfp
4y ago
"works" They closed this super-critical bug despite not fixing it, claiming they're making the right decision in their implementation when they in fact misread the spec https://github.com/systemd/systemd&
51.
▲
by
strictfp
4y ago
I thought it was "cat -v" ( https://cat-v.org/ ) ;P Anyways, those breakages aren't nearly as big of a deviation from the modular design as something like systemd. I'm sorry, but that comparison just canno
52.
▲
by
strictfp
4y ago
I'm not opposed to the idea of a more intelligent init system, but systemd is doing waaaay to much. One example; it messed up hostname resolution on my lan by blackholing DNS traffic for single-name queries. And you cannot turn their d
53.
▲
by
strictfp
4y ago
Classic Red Hat. Arrogant and agressive. Reinventing the wheel. Usually also one or a handful of developers per project.
54.
▲
by
strictfp
4y ago
It brings Linux closer to Windows in philosophy. Systemd is building a coherent large codebase (albeit modular) that solves all the problems, as opposed to Linux userspaces old philosophy of having a collection of "expert" tools,
55.
▲
by
strictfp
4y ago
I think the most important mind shift is from "let's make this extendable by plugins/scriptable so we can modify it while it's live" to "if requirements change, let's just change the source code and redepl
56.
▲
by
strictfp
4y ago
Why move to America when Canada's already in America? ;P
57.
▲
by
strictfp
4y ago
Organizing around software components is such an idiotic idea. Good luck changing your design or making end-to-end features when you have teams protecting "their" part of the software. You've just made sure that any signific
58.
▲
by
strictfp
4y ago
And?
59.
▲
by
strictfp
4y ago
IMHO most RedHat systems tend to be overengineered. Even the config file split is overengineered in RedHat compared to many other distros. And documentation, although existing, tends not to be detailed enough to understand how to deal with
60.
▲
by
strictfp
4y ago
Plus that you need to architect this yourself, with all the black magic involved to not mess something up.
More ›