Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jms55
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
jms55
4y ago
I'm working on a Screeps-like game using WebAssembly. You compile a script to WebAssembly, and for each robot you control on the server, it runs the script in an isolated environment to choose an action for that robot. The goal is to w
122.
▲
by
jms55
4y ago
University of Maryland's compilers class has the lectures/notes online. The course is about implementing a reduced (but still pretty big) subset of Racket. https://www.cs.umd.edu/class/spring2022/cmsc430&
123.
▲
by
jms55
4y ago
Glade itself is deprecated, but the UI XML file format it works with is not. Cambalache and Drafting are two WIP projects to replace Glade. Until then, you can either avoid UI files, write them by hand, or my favorite option: use blueprints
124.
▲
by
jms55
5y ago
Elixir + Phoenix/Phoenix LiveView is very good at this. LiveView lets you change state on the server, and have it reflected on the client. Or, when the client does an action, do something on the server (that can then trigger another st
125.
▲
by
jms55
5y ago
A lot of comments in this thread are negative. As a developer using GTK4 and libadwaita, and as a user that uses gnome, I really like the changes. GTK4 brings some much needed changes, and the major bugs like listview scrolling being broken
126.
▲
by
jms55
5y ago
You can grab any part of the headerbar to move the window - even buttons and other widgets. It won't trigger them, it will just move the window.
127.
▲
by
jms55
5y ago
> Another thing we forget is that web browsers are on an entirely different level than other GUI applications because a web browser is designed to stay responsive to the user when loading multiple streams of data over a slow network. Co
128.
▲
by
jms55
5y ago
Start with WebGPU. There's a great resource here: https://sotrh.github.io/learn-wgpu/ .
129.
▲
by
jms55
5y ago
Lack of brightness? The monitor is pretty much _too_ bright as it is. I use around 30-40% brightness and never feel the need to adjust it. An even brighter monitor seems alien to me!
130.
▲
by
jms55
5y ago
Yew doesn't use the canvas, it uses the DOM iirc.
131.
▲
by
jms55
5y ago
I did a ton of research a couple of months ago to find a good 4k monitor mostly for programming (a 4k monitor has been seriously worth it!), and occasional gaming. I ended up with the LG 32UL500-W ( https://www.rtings.com/mon
132.
▲
by
jms55
5y ago
1. Women aren't going to want to join a group where they're the minority 2. Given a brand new group with 0 members yet, it's still likely that women will avoid it, because of their past experiences with 1. putting them off jo
133.
▲
by
jms55
5y ago
My CS lectures barely have any women. 1/10 students in a class of 200-300 are women. In more difficult/less mainstream classes (operating systems, networking, sometimes PL theory), it's 1/20. The game development club I&
134.
▲
by
jms55
5y ago
> Has anyone built a library on top of Vulkan, targeted roughly around the abstraction level of OpenGL, but with a better design? WebGPU more or less fills this gap. It's built on top Vulkan/Metal/DirectX12 primarily, and
135.
▲
by
jms55
5y ago
I built the frontend for this website I made with my friends during a hackathon this year https://squadify.ml/ . It's for building a Spotify playlist of common songs between a group of people. It's about 4 differen
136.
▲
by
jms55
5y ago
> WebGPU is years away to become usable As a counterpoint, I've been using WebGPU (through wgpu-rs) for the past 1.5 years. It's been a pleasure to use. For instance, here's the CPU-side code for a glow post-process shader
137.
▲
by
jms55
5y ago
My point isn't to talk about the various tradeoffs between Metal and Vulkan. Ignore that Metal exists for now. My point is that by not supporting Vulkan, Apple isn't supporting the lowest common-denominator API that everyone else
138.
▲
by
jms55
5y ago
A) Many games don't use these engines. The trend has actually been going in the direction of less custom engines, but a significant amount of games still do. B) Games might not have to deal with macOS if they're using an engine, b
139.
▲
by
jms55
5y ago
> C. Metal is a high-level language, Vulkan is low-level. Apple wants you to use a high-level language so they have more flexibility in optimizing the low-level for you now and in the future, which Vulkan closes off more. The problem is
140.
▲
by
jms55
5y ago
Ah yeah if you're coming from using GObject in C, it probably makes much more sense. Still, I would highly prefer macros that made it much quicker to subclass. Things like: * Automatically figuring out which parent objects the class yo
141.
▲
by
jms55
5y ago
The term to look up is "gtk composite templates". The gtk4-rs book has a tutorial on them: https://gtk-rs.org/gtk4-rs/stable/latest/book/interface_buil... Gladis seems to wrap the child widgets
142.
▲
by
jms55
5y ago
I'm not convinced this is necessarily the worst option? On one hand, the police being paid for by the company for their enforcement, especially so much money, definitely creates perverse incentives for the police officers to disrupt th
143.
▲
by
jms55
5y ago
My favorite app to make pixel art. Unfortunately last time I tried it, it wouldn't run through Wine. I've never found an alternative on Linux that I liked as much.
144.
▲
by
jms55
5y ago
I can't speak for other platforms, but for GTK it's pretty obvious what is actually a GTK app, and what uses GTK as a wrapper. Sure, it might have the GTK titlebar and context menus. But all good GTK apps don't use a titlebar
145.
▲
by
jms55
5y ago
This implementation is developed by firefox (at least, last I checked). Google has an implementation along similar lines in C++ called dawn, and I'm pretty sure webkit plans to use dawn. So you see them in Rust/C++, but no one has
146.
▲
by
jms55
5y ago
I think this is helpful because it keeps the "issues" tab cleaner. It's a place to discuss initial ideas without finding the maintainers on discord or something, to get feedback on whether the idea is worth implementing a PR
147.
▲
by
jms55
5y ago
This is great news for me! Around 8 months ago I built a chess website using Phoenix (heavily using LiveView) and TailwindCSS. My two biggest complaints were exactly what you said: 1. LiveViews were kind of weird to fit in, as they were a s
148.
▲
by
jms55
5y ago
Not quite - it's their Zoom equivalent. It's only used for video and voice calls. Amazon uses Slack for messaging.
149.
▲
by
jms55
5y ago
Agreed that they're different audiences. The deck is for people with existing steam libraries who don't feel like sitting down at a PC to play games. The switch is for everyone else - way cheaper, unique games you won't find
150.
▲
by
jms55
5y ago
I think there's the argument that most studios will do whatever's easiest. Only a few will really try to be fancy and use the new hardware to the utmost, right? So then yeah, sticking with a load screen _might_ be easiest. But if
More ›