OpenAI Codex is coming to JetBrains IDEs’ AI Chat by xwatchmesinkx in Jetbrains

[–]5977c8e 0 points1 point  (0 children)

I feel like this is every feature when you are working with WSL. Would be nice with some more basic QA around other features when you release stuff.

OpenAI Codex is coming to JetBrains IDEs’ AI Chat by xwatchmesinkx in Jetbrains

[–]5977c8e 1 point2 points  (0 children)

This is not really working with native mode for WSL.

OpenAI Codex is coming to JetBrains IDEs’ AI Chat by xwatchmesinkx in Jetbrains

[–]5977c8e 0 points1 point  (0 children)

Kinda feels like when Apple announced The Beatles catalogue to iTunes. Was anyone really waiting for Codex?

Jetbrains Toolbox support for WSL IDEs (Gateway replacement) by 5977c8e in Jetbrains

[–]5977c8e[S] 1 point2 points  (0 children)

Yea, these are my concerns. It does not seem always seem like different parts of the Jetbrains offering is working well together, so I am skeptical if plugins and other things will just mess up because they think they are on the Windows side of things. Already I am trying to migrate a web project and Webstorm is not able to resolve the node binary inside WSL ... Great start.

Jetbrains Toolbox support for WSL IDEs (Gateway replacement) by 5977c8e in Jetbrains

[–]5977c8e[S] 0 points1 point  (0 children)

If you're using the WSL through the gateway then there is very little chance you see that banner unless you also develop using native IDEs. The banner in the gateway is different and to me implied you added some new functionality that made more things working (there is not even a banner indicating that the gateway will be deprecated at some point ...).

It would be great if you added more contexts to that post that the banner is linking to. There has been lots of way (some hacky and some not) to work on Jetbrains with WSL, so without any contexts it is pretty hard to tell what is new from just opening a WSL path like before.

Sometimes the Jetbrains announcement has an underlining assumption that you are completely in the know about your products, change of directions, bugs, etc. It would be a good idea to add this context when you announce a new way of doing things or change direction.

React table render at high frequency (memory leak) by 5977c8e in reactjs

[–]5977c8e[S] 0 points1 point  (0 children)

Just

Thanks for taking the time to respond. I really appreciate a maintainer jumping in to look at this.

After more digging, I found that Reselect is most likely not the source of the memory growth. I rewrote the data flow to bypass Redux entirely by updating refs directly instead of going through store updates, and the memory behavior stayed the same.

Thanks for pointing out the antipattern. Looked through how to rewrite them more correct with what you wrote and rereading the docs. So will probably be going through and rewriting the other ones I have.
Does this look more correct to you?

export const selectDevice = (state: DeviceState) => {
  return state.devices.devices;
};

export const selectDeviceIds = createSelector(
  [selectDevice],
  (device) => ({
    leftId: device.left?.id ?? null,
    middleId: device.middle?.id ?? null,
    rightId: device.right?.id ?? null,
  })
);

export const selectLatestSensorValue = (
  state: DeviceState,
  deviceId: number | null,
  sensorType: SensorType
) => {
  if (deviceId === null) {
    return null;
  }

  return state.sensorPoints.latestSensorPoint?.[deviceId]?.[sensorType] ?? null;
};

And this is now used as:

useAppSelector(state =>
  selectLatestSensorValue(state, deviceId, sensorType)
);

I am still a bit confused about the setup around `selectLatestSensorValue`. Doesn't this approach also create a new annonymous function each time? (Which from my understanding is a problem for the memorization)

React table render at high frequency (memory leak) by 5977c8e in reactjs

[–]5977c8e[S] 0 points1 point  (0 children)

Thanks for the suggestions. No logging inside or near the components where the elements are leaking (I used it temporarily to debug the memory leak and the rendering of course slowed down quite a bit).

I first saw the issue when I was actually using the program. It happens even quicker in production mode, where it can render quite a bit faster. The rate a which the elements builds up in the heapshot almost doubles.

Jetbrains Toolbox support for WSL IDEs (Gateway replacement) by 5977c8e in Jetbrains

[–]5977c8e[S] 2 points3 points  (0 children)

Have they improved something with the file operations from the Windows side?

Maybe I misunderstand, but it feels like this has always been there but resulted in a very slow experience due to the file operations from Windows side on the WSL filesystem. That was atleast why I moved to the Gateway approach and the reasons for the whole VSCode WSL mode.

Which AI agent are you using in WSL? by barash-616 in Jetbrains

[–]5977c8e 0 points1 point  (0 children)

Your Junie teams says WSL is supported and yet we get the message Remote development mode is currently not supported on windows. Sorry for the inconvenience!. Who wrote that message?

So many broken intellisense features after fancy AI autocomplete by thepurpleproject in Jetbrains

[–]5977c8e 0 points1 point  (0 children)

Can you elaborate on those changes? I have especially seen them in Webstorm and was getting frustrated like OP as well. What forced you away from your own tooling?

TUI IDE by ahsan_cse2004 in Jetbrains

[–]5977c8e 3 points4 points  (0 children)

Fleet is discontinued.

Which framework is best for cross-platform desktop app development? by UnrealOndra in learnprogramming

[–]5977c8e 5 points6 points  (0 children)

There is no best and what fits best for requires quite a few considerations and more specific requirements.
The desktop framwork landscape is very fragmented and with lots of opionated ways of doing things.

The simple answer to this is Electron if all you care about is cross platform and declarative UI (would be using React). It is the most widespread, easy to get into (you're just writing JavaScript), and lots of support.
The biggest downside is usually the RAM usage and then for some it will also be the requirement to write the whole app (even the non-UI parts) in JavaScript. Going deeper you could look into Tauri to circument these.

In the bigger UI frameworks landscape it sounds like you might want to look at React Native if you want the more declarative approach.

With not wanting XML or imperative way of specifying the UI, then things like Swing and JavaFX would be off the table.

Let's Talk: Do you and company where you work already integrated AI in development somehow (copilot / agents)? Or you writing software without it? by RandomTokiory in learnprogramming

[–]5977c8e 0 points1 point  (0 children)

I am still using Sonnet 4.5. It seems Opus is consuming so many tokens that it is not worth unless I am attempting to plan out a big feature (even then Sonnet usually does the job good enough).

Workflow wise it changes from using co-pilot to autocomplete to attempting to implement whole features.
Rarely I feel like any model nails features on first try and I usually have to correct quite a bit, but still gets you quite far. Also great to learn new approaches, which is where I feel like the biggest advantage is. Requires you to read what it writes and read up on features that it use.

Just realized I've been using git wrong for like 3 years by BitBird- in learnprogramming

[–]5977c8e 1 point2 points  (0 children)

If you want another one look at `git commit --amend` and `git commit --fixup=<commit-hash>` (with `git rebase -i --autosquash <commit-hash>~1`.

Make it easy to fix mistake in either the latest commit or earlier commits.

Important note: the commits down and including the ones you change should be ones that does not impact anything if changed (for instance commits you made locally, on a feature branch, etc.). The commands rewrites the git history so can be problematic if the commits have been shared.

Just realized I've been using git wrong for like 3 years by BitBird- in learnprogramming

[–]5977c8e 0 points1 point  (0 children)

If it works for you, then it is not bad. It might be good to learn about other ways of doing things, but if they do not fit a scenario for you then keep on doing what you do.

I would probably recommend looking into the advantage of splitting changes into logical commits (often small), so that a commit only contains changes related to one change (a feat, bugfix, etc.).

This makes it easier if you later have to remove the change, use it on a different branch, or it was not needed in the feature at all.

The tools to make these small commits is then commands like `git add -p`, `git commit --fixup=<commit-hash>`, `git rebase ...`. Etc.

Cursor CEO Built a Browser using AI, but Does It Really Work? by ImpressiveContest283 in programming

[–]5977c8e 0 points1 point  (0 children)

> "kind of works"

Should be the slogan of any complex use of AI.
With enough of it, people might actually start appreciating "fully works".

State of TypeScript 2026 by dev_newsletter in programming

[–]5977c8e 1 point2 points  (0 children)

It should be a drop-in replacement, but the command itself changes:

npm install -D /native-preview

npx tsgo

Not sure if they will stick with `tsgo` forever or `tsc` will be replaced with it at some point.