HN user

ohnoesjmr

180 karma
Posts2
Comments89
View on HN

What about SPAs tho? Some of the state is in the URL, and as the user fills the form, you might push state to undo last step of the form. Does this mean that in this context the user gets thrown to about:blank? That would break tons of websites.

Maybe I'm daft, I watched the video, and I just didn't understand what this is, or why I'd use it.

Seems like just tabs of claude code, plus markdown viewer which can just be another tab (with an editor) in a tabbed terminal?

My ide supports multiple terminal tabs, plus is a project aware code viewer, and has the ability to run the project.

What would I gain by using this?

Do I really need care about this? I really hoped that I can just not bother wrapping things in std::move and let the compiler figure it out?

I.e. if I have

``` std::string a = "hi"; std::string b = "world"; return {a, b}; // std::pair ``` I always assumed the compiler figures out that it can move these things?

If not, why not? My ide tells me I should move, surely the compiler has more context to figure that out?

I do want a setup like this, however, most of my development is on Windows which means license cost is usually higher than the cost of the VM. I could run vm's on my home machine, but even then I feel like the terminal experience is quite poor. You want to have a mobile native code, to check the code/read the plans. So far I have been using teamviewer to access my home desktop which works, albeit annoying to use, plus I don't have fancy notifications. Perhaps a web first approach with a mobile responsive web app would work, that shows the files of the project as well as the terminal.

The anti-cheat streams executable code into the client, and that code is mostly for detecting tampering with the game, injected modules, etc.

Not sure they care about it running in an emulated environment.

They do effectively allocate an executable memory region, copy the machine code that was streamed into it, and jump to it.

I guess in this case the emulation is an actual vm, rather than "rewrite x86 instructions into arm" (don't know much about this subject, but assumed that was how rosetta worked)

I guess could be a good contender for replacing spark, however, I suspect the fact spark is free and open source, which forms a community around it, means that dpolars might struggle to gain traction, when it's gated by a credit card.

Is there a solution to get ts compiler embeddable into c++ project that uses v8, so it could compile the code on the fly?

Seems tsc itself requires node, but surely an api that takes a ts file as a string and returns a ts file as a string should be possible?

I work on a almost 20 year old C# monolith, with 1000+ projects per solution. It doesn't even load in VS or VSC. Rider needs 16GB of ram, but manages to open it. I try to never close the IDE, as it takes 30mins to open.

I use both Rider (for mixed c++/c#) projects and CLion for C++ only.

I feel that Rider is somehow better than CLion at c++, even after CLion Nova (Intellisense based on Resharper backend) became a thing.

One difference is that I write boost::asio in CLion, and just vanilla C++ in Rider, and before Nova it was completely unusable with async code, now it's usable with async code, but after a few days of running the editor I end up with fatal IDE errors for CLion, and never for Rider.

Pretty much this.

I always found it crazy how zmq gained any traction at all.

"Oh, I have a req/resp workload" - one of the sides restarts, goes out of rhythm with the state of the connection (whether its req or resp), unrecoverable errors.

Every system I've seen use zmq usually use it without these fancy patterns (use yeet messages in any order), and usually have some sort of "Is anybody there on the other side?" message to combat the fact there is no way to introspect connection state (otherwise your writes just block at the high water mark), at which point it would have been easier to just use tcp.

The whole thing to me reeks of mongo. It's great if you are completely incapable/incompetent of solving the problem properly.

I've heard about MPTCP back in 2013.

It made so much sense back then, when mobile apps were not that robust to networks changing, I assumed it's going to get adopted in no time due to how much of a ux improvement it would have been back in the day.

It's incredibly depressing that this gained barely any traction in the last 10 years, and kernel options are appearing just recently, after everyone has wrapped they http calls in multiple retry handlers, and mobile operating systems have abstracted network connectivity to the point where it feels more like you are using zeromq rather than tcp.

Deno in 2023 2 years ago

I still haven't figured out how to bring in a deno "app", a cli tool, into an air-gapped environment. There is literally zero docs and everything assumes you are connected to the internet. The whole thing is too magical, and has no hope in the corporate world.

Can you name some?

I've been looking for software in that space, a thing that runs cronjobs, with ability to kick off adhoc runs from some UI, see what is running, and if possible parameterise the custom runs (i.e., run an ad-hoc report for a different client than usual cron does)

Is it just me, or the worst part of coroutines is lack of tooling around them? Whenever I get a crash in a coroutine, the "stacktrace" is totally useless and doesn't actually show where the crash happened, just some boiler plate code around executing some continuation which doesn't refer to real code that you wrote.

I always have some game to play. Usually it's some multiplayer FPS shooter and doesn't require long term commitment or investment (CsGo2, Apex Legends, 20min matches). I'm in my mid 30s, but I'm still quite good at those games, so I have some passion for them, but I mostly play them as a method to disconnect my mind from work. When I'm not coding much at work, doing some ops stuff or whatever etc, games get replaced by coding at home, because it's just like wanting to go to a bathroom, it has to come out at some point. I sometimes even combine the two, recently started RE'ing or modding my childhood games, which is quite awesome as I picked up new skills along the way.

My other half on the other hand, has no such interests, and thinks that I'm wasting my life away, while sitting on the couch watching netflix.

I've tried Redis-on-flash (enterprise version), and performance was very poor. Its just lsmt underneath and suffers from all the usual lsmt issues.

In the end we went with Aerospike which actually while backed by NVMe, outperforms redis backed by memory. Aerospike in memory is completely absurd speeds and throughput. Sadly the setup is a bit weird and query model is a bit wonky but we worked around it. A bit sad on how expensive the enterprise version is.

10x C++ Editor 4 years ago

I really wish someone worked on something like this for C#.

There are large C# monoliths out there with 100+ projects per solution, where VS simply does not work (as in you can't open a solution), and Rider takes 30mins to load the solution, and then stops working over time (after 8 hours?), so your morning routine is to open the solution Rider and go grab a coffee.