Readit News logoReadit News
suchar commented on NPM flooded with malicious packages downloaded more than 86k times   arstechnica.com/security/... · Posted by u/jnord
suck-my-spez · 2 months ago
Are people actually using UTM to do local development?

Im genuinely curious because I casually looked into it so that i could work on some hobby stuff over lunch on my work machine.

However I just assumed the performance wouldn't be too great.

Would love to hear how people are setup…

suchar · 2 months ago
With remote development (vscode and remote extension in jetbrains with ssh to VM) performance is good with headless VM in UTM. Although it always (?) uses performance cores on Apple Silicon Macs, so battery drain is a problem
suchar commented on The AirPods Pro 3 flight problem   basicappleguy.com/basicap... · Posted by u/andrem
suchar · 2 months ago
In my case (although I have not yet flown with APP3) the ANC works great, however, transparency mode (and adaptive mode) have issue with a noise. In a silent room I hear quiet noise in transparency mode (not present in ANC nor in "Off") which wasn't present in APP1. I tried different tips

Also, transparency mode felt more "natural" in APP1 in comparison to APP3. Currently it feels like a downgrade from APP1 (unfortunately my pair of APP1 broke recently), because I used transparency a lot and it feels worse

suchar commented on Gemini 2.5 Flash   developers.googleblog.com... · Posted by u/meetpateltech
danpalmer · 8 months ago
I imagine there wouldn’t bd much of a cost to the provider on the API call there so much longer times may be possible. It’s not like this would hold up the LLM in any way, execution would get suspended while the call is made and the TPU/GPU will serve another request.
suchar · 8 months ago
They need to keep KV cache to avoid prompt reprocessing, so they would need to move it to ram/nvme during longer api calls to use gpu for another request
suchar commented on Dbt Labs acquires SDF Labs   getdbt.com/blog/dbt-labs-... · Posted by u/karakanb
trickyager · a year ago
Congrats to the SDF team for their exit.

Alas, dbt Labs has developed a reputation for rug pulling functionality from dbt Core and gating most of their differentiating features behind dbt Cloud. I cannot see this type of consolidation being in the best interest of the dbt community.

suchar · a year ago
Could you point to some functionalities removed from dbt Core? I love dbt and use it where applicable but I have not yet encountered a loss of features upon upgrade yet - it would be useful to be aware what kind of features get removed
suchar commented on Learning to Reason with LLMs   openai.com/index/learning... · Posted by u/fofoz
koreth1 · a year ago
The performance on programming tasks is impressive, but I think the limited context window is still a big problem.

Very few of my day-to-day coding tasks are, "Implement a completely new program that does XYZ," but more like, "Modify a sizable existing code base to do XYZ in a way that's consistent with its existing data model and architecture." And the only way to do those kinds of tasks is to have enough context about the existing code base to know where everything should go and what existing patterns to follow.

But regardless, this does look like a significant step forward.

suchar · a year ago
I would imagine that good IDE integration would summarise each module/file/function and feed high-level project overview (best case: with business project description provided by the user) and during CoT process model would be able to ask about more details (specific file/class/function).

Humans work on abstractions and I see no reason to believe that models cannot do the same

suchar commented on Show HN: Node.js ORM to query SQL database through an array-like API   github.com/tilyupo/qustar... · Posted by u/tilyupo
hahn-kev · a year ago
Yes, in my opinion the biggest problem with straight SQL is dynamic filters. It easily becomes a huge mess and that filter is only good for that one query, sure you can layer on stuff to make it better, but then you might as well use a library.
suchar · a year ago
Sometimes you can avoid writing multiple queries with different filters by creating single parameterized query with conditions like:

    WHERE (name LIKE :name OR :name IS NULL)
      AND (city = :city OR :city IS NULL)
      AND ...
By no means it is perfect, but can save you from writing many different queries for different filters while being easy to optimize by db (:name and :city are known before query execution).

Still, I prefer explicit SQL in webservices/microservices/etc. the code and its logic is "irrelevant" - we care only about external effects: database content, result of a db query, calls to external services (db can be considered to be nothing more than an external service). And it's easier to understand what's going on when there is one less layer of abstraction (orm)

suchar commented on Leaving Neovim for Zed   stevedylan.dev/posts/leav... · Posted by u/mxstbr
imron · a year ago
For me, VSCode is not a great editor. It feels cobbled together and often provides a worse development experience compared to language specific IDE

HOWEVER..

It has a killer feature if you are doing remote development.

It (mostly seamlessly) presents the remote (ssh, docker, wsl) as if it was local, and I've yet to see another editor do it as well and as cleanly.

So much so that when doing remote development I'm prepared to put aside VSCode's other shortcomings for the superior remote development experience.

For local development I still use vim+terminal, but if I'm in a situation where development needs to be done on a remote machine, the VSCode vim bindings are good enough that I'll probably be using VSCode.

suchar · a year ago
For remote development there is Fleet from JetBrains which is still in preview but mostly works (year ago it had a lot of issues). Nonetheless, it still needs a lot of improvements (rendering performance IME is poor, some functionality is missing in comparison to full-fledged IDEs like IntelliJ)

There is also JetBrains Gateway which allows you to run IntelliJ/PyCharm/etc. remotely. I'm using it and it is very usable, however, there are occasional bugs which could be explained by synchronization issues

Btw. Vim should be very usable over ssh (especially with tmux and maybe iTerm2/other terminal integration with tmux' control mode - tmux panes are native windows, new terminal window/tab creates new tmux window/pane etc.). Why are you using VSCode over Vim for remote development?

suchar commented on iTerm2 3.5.0   iterm2.com/downloads/stab... · Posted by u/akshaykumar90
mostafah · 2 years ago
Genuine question from iTerm users: which of its many, many features do you use most and find most valuable? I have always had it installed, but Terminal.app from macOS seems to have been enough for me. Maybe because I’m always using tmux anyway and that covers some of iTerm’s advantages. But I’m still curious about iTerm.
suchar · 2 years ago
Tmux integration: tmux is running remotely in control mode and local iTerm2 is managing it. This way tmux panes and windows are mapped to native windows and iTerm2's split panes. Makes remote feel like a local machine
suchar commented on Tracking developer build times to decide if the M3 MacBook is worth upgrading   incident.io/blog/festive-... · Posted by u/paprikati
andrekandre · 2 years ago

  > have other companies found better ways to provide this security without impacting developer productivity as much?
only way i've seen is if things get bad, report it to it/support and tell them what folder/files to exclude from inspection so your build temp files and stuff don't clog and slow up everything

suchar · 2 years ago
Same here, but IMO, if company believes that such software is useful (and they wouldn't be using it if company believed otherwise), then why do they often (always?) include node_modules in exclusion rules? After all, node_modules usually contains a lot of untrusted code/executables
suchar commented on Jaq – A jq clone focused on correctness, speed, and simplicity   github.com/01mf02/jaq... · Posted by u/tmcneal
pestaa · 2 years ago
Saxon is where it's at.

When XSLT 3.0 tells a joke, it starts with "a JSON walks into a bar..."

https://github.com/Saxonica/Saxon-HE

suchar · 2 years ago
I do not see license in either repository and it seems that this tool only has 30 day evaluation tier for free. Anyway, using this means that you have dependency on a single vendor and you accept their future pricing changes.

Now compare this with JSON ecosystem

u/suchar

KarmaCake day85August 23, 2021View Original