HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Intralexical

1,351 karmajoined 4 ปีที่แล้ว

Submissions

How DWeb Camp Is Being Built in Berlin

blog.archive.org
1 points·by Intralexical·2 เดือนที่ผ่านมา·0 comments

The Declining Success of Civil Resistance (2024) [video]

youtube.com
15 points·by Intralexical·7 เดือนที่ผ่านมา·13 comments

Valve is helping Arm get a foothold in PC gaming with its latest work

pcgamer.com
6 points·by Intralexical·8 เดือนที่ผ่านมา·3 comments

comments

Intralexical
·เมื่อวาน·discuss
> Virt manager drives me crazy because it hides the VM files in its own directory with permissions that aren't yours forcing you to use sudo to manually manage your own fucking vm files.

I just checked my `~/.local/share/libvirt/`. It doesn't do this for me, and I don't think it ever has.

I do remember having to set this up at some point. Looks like this is it:

https://unix.stackexchange.com/questions/799034/whats-the-di...

There are some limits around network ports in User Sessions, but it should suffice for anything you'd use Vagrant for.

> Creating a new VM? You're forced to pick an OS by typing the name of your OS into a search box which is tedious and doesnt give you an option for generic x86 machine.

...There is though? It's in the dropdown under "Generic or unknown OS. Usage is not recommended (generic)". Here it is in the code if you don't believe me:

https://github.com/virt-manager/virt-manager/blob/c3df2ba/vi...

And a random tutorial which makes use of it:

https://cyberlab.pacific.edu/courses/comp178/resources/virtu...
Intralexical
·4 วันที่ผ่านมา·discuss
> By... plugging and unplugging antenna elements?

No. The antenna elements are always plugged in the same way. By sampling/introducing the signal at a different physical position on the lens (or multiple positions simultaneously), you create different physical distances and phase shifts for each element, and therefore a different beam direction.

...Apropos of nothing, this reminds me that a long ago, I played on a Minecraft server where one of the boys made a piston display with controlled by a pressure plate array. I was shocked by how he managed to transmit the signal with a simple wire. Maybe it was a similar idea, using the propagation distance...
Intralexical
·4 วันที่ผ่านมา·discuss
Would capabilities enable granting access to specific programs and not just users? Like using AppArmor profiles. So QEMU, gVisor, Docker etc. can still use KVM for unprivileged users, but malware wouldn't be able to access it directly.
Intralexical
·5 วันที่ผ่านมา·discuss
Because if /dev/kvm isn't accessible to unprivileged users, then people will start using `sudo` to run anything involving virtualization, which would be much worse for security overall.
Intralexical
·5 วันที่ผ่านมา·discuss
If you monitored all the inputs simultaneously instead of switching, you could make a low-tech radio-wavelength camera. Presumably with less SNR per "pixel" than you'd get from monitoring just one input though.
Intralexical
·5 วันที่ผ่านมา·discuss
It does do directional steering. No active array components or physical movement are needed.

> If the output ports are connected to individual antennas in an antenna array, this allows shaping the beam in different directions by switching which input port the signal is sent to.

From TFA.

Presumably the geometrical shape of the lens is dictated by solving for useful phase shifts for different input points. Otherwise you could just use a bunch of delay lines.

I wonder if anybody's ever designed a 3D version of this. You might get a wider range of inputs, or more precise steering, by shaping the delays on a non-Euclidean (curved) surface (like a sphere or a saddle).
Intralexical
·15 วันที่ผ่านมา·discuss
Plus heat dissipation is a limiting factor, which scales with area.
Intralexical
·23 วันที่ผ่านมา·discuss
> Literally none of the examples of large companies using it in the comment I replied to are game companies or using it for game debug menus.

Literally all of them are using it as part of non-user-facing debug tools for 3D graphics:

https://github.com/ocornut/imgui/wiki/Software-using-dear-im...

Meta as part of their VR/gaming division, Google in their VR division and 3D rendering engine, Ikea in a 3D material editor, and Intel in a 3D SDK.

And again, the intended use is immediately explained on the project repo no matter what the comment you were replying to said.
Intralexical
·23 วันที่ผ่านมา·discuss
Looks like the rendering functions used in the demo are doing antialiasing without font hinting?
Intralexical
·24 วันที่ผ่านมา·discuss
Additionally the developer of this library is active in the indie game scene, so "twelfth member of the team" is hardly a relevant issue.

I find it so unfortunate how many of the criticisms raised here are mooted by simply glancing at the README.

There's an interesting conversation that could be had about the needs and limitations for debug UIs, and how to balance that with minimal code. (E.G. Would feeding this library's text-and-rectangles output into an accessible renderer be enough?) But blanket rejections and reflexive judgement aren't helpful.
Intralexical
·24 วันที่ผ่านมา·discuss
> Any project that uses Dear Imgui for end-user applications has already made a bad design choice.

Note that any project using Dear ImGui will presumably have read the README for it, the second paragraph of which starts:

> Dear ImGui is designed to enable fast iterations and to empower programmers to create content creation tools and visualization / debug tools (as opposed to UI for the average end-user).
Intralexical
·24 วันที่ผ่านมา·discuss
> I guess a lot of folks consider games exclusively for folks without those accessibility needs, so maybe that's why something like Dear ImGui can live for years in thousands of projects without anyone complaining about accessibility. But, I wouldn't consider it for anything that isn't specifically about graphics and I don't think anyone else should either. (No one has to listen to me, but I think less of them.)

Immediate mode UIs are mostly for debug menus, not even gameplay/graphics. It doesn't need to be accessible to anyone except for the developer(s) choosing the library and making the game. (If the developer has different needs, obviously they can choose another library, unlike users who must live with the developer's choice.) The fourth sentence in the linked ImGUI repository explains this intention very clearly.

You can spend all this energy imagining malice and thinking less of others, but doing so does not add merit to your critique. Nor does it advance the cause of software accessibility.
Intralexical
·24 วันที่ผ่านมา·discuss
> You've cherry picked a very specific example that is designed to run in 3d engines.

This post is about a minimal immediate mode library made by a game dev, most suitable for debug menus.

It's unreasonable to treat it as a platform for soapboxing about "the vast majority libs" that are unrelated.
Intralexical
·24 วันที่ผ่านมา·discuss
The whole thing's less than 2kLoCs. If it needs ongoing maintenance, something's gone wrong IMO.

I think it's reasonable to just patch it yourself if it doesn't work with your other tools (Zig). Though thank you for sharing the heads up.
Intralexical
·24 วันที่ผ่านมา·discuss
PNG compression is just DEFLATE. For archival storage, I've been expanding PNGs with `precomp` [0] and then running modern compression algorithms on them.

[0] https://github.com/schnaader/precomp-cpp
Intralexical
·เดือนที่แล้ว·discuss
> What's surprising is that while many submitters take that fairly well, some people get really indignant, essentially calling the maintainers ungrateful.

Why is it surprising that some people who expect results without spending any effort also feel entitled to receiving gratitude without putting in any thought?
Intralexical
·2 เดือนที่ผ่านมา·discuss
They're basically light fields, so even though they don't represent any geometry, you could easily integrate them into the rendering pipeline at the path tracing/rasterization stage for Cycles/EEVEE.

I think the "right" way to do it without forking Blender would be to write an OSL shader. Though the way I personally would have done it would be to convert the splat into an angle-dependent Math Node tree for an Emission shader, probably automatically with a Python script.

Trouble is light fields don't block geometry, so they would effectively blend additively and you would see right through them like a hologram. Easy enough to fix though, with a dummy mesh to composite out the background. Or you could just render the splat separately outside Blender, and composite your scene on top of it.

I'm not sure why you would want to, though. The splats couldn't be lit by any of the lights in your scene, nor can they receive shadows cast by any objects in your scene, because they're precomputed light fields. Objects in your scene could be lit by the splats, but it's not immediately clear to me that it would be much more useful or better than just having photos on billboard planes.

I think there might be a misunderstanding that splats provide a way to compute realistic lighting. In reality, they're only a way to store and sample pre-computed or measured lighting AFAIK, hence the need for OP's big camera rig. So integrating them into scene lighting or skeletal animation doesn't really apply.
Intralexical
·2 เดือนที่ผ่านมา·discuss
Since splats sample the light field after surface reflection, you can't do realtime shading with splats the way you can with raytracing and rasterization. I guess it could be animated like a holographic movie, but not like a video game and not like a 3D editor, because the light for all angles in all frames has to be precomputed.
Intralexical
·2 เดือนที่ผ่านมา·discuss
With the obvious caveat that low-level game engine, image/video processing, numerical code etc. isn't really viable in Python. But outside of that, it's fast enough for gluing together other code that's doing the heavy lifting.
Intralexical
·2 เดือนที่ผ่านมา·discuss
Generally you choose Python for the conciseness you mentioned, and then move the performance-critical functions into another language like C or (I find to be easiest) Cython. Ideally most of your code stays Python, and you either optimize self-contained pieces, or find library bindings that have done it for you.

A profiler like this can be used to identify which parts to rewrite in a faster language. Sometimes it's easier to write everything in Python first, then measure, than guess at the start which parts need to be fast.

You can also get gains by switching algorithms, both in pure Python and when using a compiled library like `numpy`. And there are also some operations, like string manipulation or the `sqlite3` module, where the Python runtime's implementation has already been optimized in a compiled language.