Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feelamee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
feelamee
1y ago
Why does no one make flat back in phones today? everyone just accepted ugly design...
122.
▲
by
feelamee
1y ago
you wrong You can simply use modules with includes. If you will #include vector inside your purview then you will just get a copy of the vector in each translation unit. Not good, but works. On the other hand. If you include a vector inside
123.
▲
by
feelamee
1y ago
there are really a lot of simpler solutions than switching the standard of the whole codebase. E.g. write wrapper which interface doesn't require a new standard.
124.
▲
by
feelamee
1y ago
haha, fun fact - Unity is C++ code base. You need to look deeper
125.
▲
by
feelamee
1y ago
sure, but don't forget that rust gives us also a nice tooling, functional syntax sugar like pattern matching, enums, monads; and other more or less useful things like explicit lifetimes
126.
▲
by
feelamee
1y ago
> I couldn't even tell if you are joking I'm thinking the same about your comment :D
127.
▲
by
feelamee
1y ago
I often hear about a lot of advantages of D. So I don't understand why it is so unpopular. Probably I need to give it a chance, but I'm unsure that I will find a real job with the D stack.
128.
▲
by
feelamee
1y ago
how are modules related to dependencies in general? You can use your modules at the same time using dependencies via includes. And this works well.
129.
▲
by
feelamee
1y ago
if no one wants to fix this 20yo codebase, why is there someone who wants to push it to the new C++ standard?
130.
▲
by
feelamee
1y ago
more generally - it is worth it to pay for a good developer experience. It's not exactly about the CPU. As you compared build times - it is worth it to make a build faster. And, happily, often you don't need new CPU for this.
131.
▲
by
feelamee
1y ago
> Suppose you have a FILE file and you want to get it’s contents. Ideally, you’d be able to type file. and see a list of every function that is primarily concerned with files. From there you could pick read and get on with your day. >
132.
▲
by
feelamee
1y ago
wow, did these attacks start after the beginning of military actions in Ukraine in 2022? Or they were a long time before. Thanks for clarification
133.
▲
by
feelamee
1y ago
can you explain what is the good reason here? Im constantly meet this problem and interested why
134.
▲
by
feelamee
1y ago
> But as soon as you start interacting with other programmers, it's inevitable that some will use some other subset of language features. I disagree. Such a problem will be in any language. So, any project should have a code style w
135.
▲
by
feelamee
1y ago
> You have to press something to exit the delimited region anyway, whether that be an arrow key or the closing delimiter, so just… Hah, fun about this is that I press exactly the matched symbol ( `}` to `{` , etc) to exit this delimited
136.
▲
by
feelamee
1y ago
Why is a big number of features a problem? You can ignore them if you don't like/need them. Can you briefly explain which features can be thrown out and language will not miss a lot without them?
137.
▲
by
feelamee
1y ago
it's great you should write an article about this!
138.
▲
by
feelamee
1y ago
monad like an idea - yes, it will be a concept. But a concrete monad - like list or maybe - will be a template class. Probably comment author means this
139.
▲
by
feelamee
1y ago
> Vim hangs when you open it you can enable word wrapping as a workaround ( `:set wrap`). Lifehack: it can be hard to navigate in such file with just `h, j, k, l`, but you can use `gh, gj, etc`. With `g` vim will work with visual lines,
140.
▲
by
feelamee
1y ago
> that core features are broken can you please explain or link some sources about this? btw, is C++ STD really bloated? There are a lot of languages that mess in std much more stuff. E.g. python. A lot of people complaining about the lac
141.
▲
by
feelamee
1y ago
why do you run clang-tidy with compiler? Just use it interactively - with cland. These is much more useful to me
142.
▲
by
feelamee
1y ago
maybe rustc will never be re-architectured (although it has already been rewritten once), but with developing rust standard there will come new Rust implementations. And there is a chance that they will prioritize performance when architec
143.
▲
by
feelamee
1y ago
Google can index discord messages? AFAIK - no. So you need to manually search in discord chat instead of using google to search the whole internet.
144.
▲
by
feelamee
2y ago
Why not take an existing small language, which have good documentation and tooling? E.g. lua. It can be integrated very fast and anyone can learn it in a few minutes. > In the pub after work someone quips, “we’re back where we started fo
145.
▲
by
feelamee
2y ago
> I think the opengl driver situation is complex, where I hear you need userland per-hardware libraries which basically require dynamic linking Yes. OpenGL driver is loading dynamically, but.. Are you sure that there are any problems wit
146.
▲
by
feelamee
2y ago
> I really loved Windows (and AutoHotKey and many other things) oh, do you know - how can I configure e.g. Win+1, Win+2, etc to switch to related virtual desktops? And - how to disable this slow animation.. just switch instantly? May be
147.
▲
by
feelamee
2y ago
> I can pull down a 20 year old exe and still run it today on Windows. Try doing the same with a Linux binary that's just a year old. There's no guarantee that it will be able to run based off some update that has happened IMHO
148.
▲
by
feelamee
2y ago
looks like zig is exactly what you want. Difference only in std. C prefer global allocator, while zig ask it explicitly. So, if only there is std with implicit allocators?
149.
▲
by
feelamee
2y ago
yes, but I prefer writing status, stash, checkout, commit hand by) So, the more I think about my previous comment the less sense I see in such feature :)
150.
▲
by
feelamee
2y ago
as for me, I want something more. Like git shell. Where I no need to write git, git, git again and again. Strange that there is no something like this yet.
More ›