Recent submissions

Comment · 1 year ago
Ah, that's a fancy trick! I remember many a time making Linux real angry with my PCIe fiddling. I believe in the end we got Partial Reconfiguration set up, where the PCIe portion of the device would not be reprogrammed but we could reload the rest. It was definitely a trade off though in terms of layout planning and space reservation.
Comment · 1 year ago
One of the tactics I end up using in Verilog, for better or worse, is to define enums with a'0 value (repeat 0s for the size of the variable), and '1 value (repeat 1s for the size of the value)

'0 stays as "null"-like (e.g INVALID), and '1 (which would be 0xFF in an 8 bit byte for instance) becomes "something, but I'm not sure what" (e.g. UNKNOWN).

Definitely has the same issues as referenced when needing to grow the variable, and the times where it's useful aren't super common, but I do feel like the general concept of an unknown-but-not-invalid value can help with tracking down errors in processing chains Definitely do run into the need to "beware" though with enums for sure.

Comment · 2 years ago
I don't know a word or phrase for this, but I really enjoy any examples of "thinking outside the box" like this because it's something I struggle with in my professional career. Learning not only the right ways to solve problems, but figuring out the questions to ask that make solving the problems you have easier or even in some cases possible. In this case, it's hey, we don't need exact numbers if we can define a probabilistic range given defined parameters. Other problems are gonna have other questions. I guess my hope is that if I see enough examples I'll be able to eventually internalize the thought process and apply it correctly.
Comment · 2 years ago
It's funny because in that last sentence I think you're describing something like in the article. "Holding the door open" might not be something that people do to strictly have the potential to hold the door open for a CEO, but they definitely hit on that possibility more often than those who don't hold the door open at all. So is that "blind luck", or in the parent example (and i think sort of the articles) is that more along the lines of "stirring the pot"?
Comment · 2 years ago
One thing my mom (an occupational therapist) brought up when seeing this was the potential applications for therapy. I'm not sure of the nuances, but one concept that comes to mind is that you could increase force on a user such that you can get a persons strength increasing without them even noticing it.

I'm not really sure what types of solutions currently exist in these spaces, and I'm sure that this would be a very expensive solution for this topic, but future thinking possibilities of this type of thing seem like they could have applications outside of just VR.

Comment · 2 years ago
I believe I read a science fiction book around this topic. Postsingular by Rudy Rucker I believe, related to nanotechnology. Can't remember most of it, but delved a little into how it affects relationships re: every thing being visible always to everyone. Not sure I'd entirely recommend it, but still interesting to see the thoughts and outcomes others come up with in regard to these types of potential technological changes.
Comment · 3 years ago
Gotchagotcha, so yeah, to some extent eliminates the time taken to highlight individual brackets at the cost of adding some visual complexity. Thanks.
Comment · 3 years ago
In just basic Vim, there's highlighting such that if the cursor is over a start bracket (or end bracket), the opposite bracket is highlighted. I do find that very helpful indeed to find matching brackets (or where a bracket is missing), but I can't quite see why I'd need to have the colorization as well. Essentially I guess I can see colorization as 'highlighting' multiple brackets at once. Any way you could convince me that having this multiple identification has been preferable to the single identification?
Comment · 3 years ago
Is there an adaptation of Bayesian statistics that also takes into account timeliness of the data ? e.g. a more recent string of negative reviews would potentially indicate something compared to a more smooth distribution
Comment · 3 years ago
That white, black, and red image is amazing! I remember a post here about optimizing 1 bit black and white images some time ago, which also was amazing, but it's crazy the colors that seem to pop out of that image when just adding red as an additional option.
Comment · 3 years ago
One thought that came to mind when the author mentioned that GPT-4 seemed to want to use A* was that maybe the problem statement was not formed in a way that would get the best response. I'm not entirely sure if this type of back and forth would be useful, but just struck me as interesting to try.

I put the following prompt into ChatGPT (no GPT-4 access for me yet):

*A problem statement is given as follows:

An agent needs to find the best path on a 10x10 tile grid from their current location to a target location. They have a limited movement range of 5 points. Regular tiles cost 1 point to move through, water tiles cost 2 points to move through. Fire tiles cost 1 point to move through, but they should avoid pathing through them even if it means taking a longer path to their destination (provided the path is still within their limited movement range)

Please point out any parts of the problem statement that require clarification.*

Which returned the following response:

Based on the given problem statement, some potential areas that may require clarification are:

Current location and target location: It is not clear if the current location and the target location are fixed or if they change with each problem instance. If they are fixed, it should be mentioned explicitly. If they are not fixed, it should be specified how they are generated for each problem instance.

Movement range: It is not specified whether the agent's movement range is circular or square. If it is circular, it means that the agent can move to any tile that is within a distance of 5 from its current location. If it is square, it means that the agent can move to any tile that is within a range of 5 tiles in both the horizontal and vertical directions. The shape of the movement range needs to be specified.

Fire tiles: The problem statement mentions that the agent should avoid pathing through fire tiles even if it means taking a longer path to their destination, but it is not clear how the agent knows which tiles are fire tiles. It should be specified how the agent perceives and distinguishes fire tiles from regular tiles.

Tile costs: The problem statement mentions that regular tiles cost 1 point and water tiles cost 2 points, but it is not specified what happens if the agent moves diagonally. It should be specified whether diagonal moves are allowed and how much they cost.

Objective function: It is not specified how the "best path" is defined. It should be mentioned whether the objective is to find the shortest path or the path that minimizes some other cost function (e.g., total cost of the path).

Comment · 3 years ago
I feel like humans in general work fairly well when story or myth is tied to an explanation, but can understand that's not for everyone. I'm reminded of oral histories that humans make in order to warn about tsunamis. Her linking her brother's ailments with the state of the planet drew me in and I learned a few things that I can look into myself. For example, The Great Unconformity I'm sure I can look up a bit about (and sources are provided in the article) and similarly for the possibilities of things that might give us insight into that time period (also referenced and sourced in the article). My experience is that Nautlius in general has this type of lyrical prose and doesn't really pose itself as a peer-reviewed journal or anything. All that to say that to minimize the story as about "some writers day" feels disingenuous to me.
Comment · 4 years ago
https://galactica.org/?prompt=High+Impedance

"High Impedance is the debut album by Canadian musician Colin James, released in 1988."

Not...exactly...what I was expecting.

Comment · 4 years ago
Thanks, I'm sure Signal devs to some extent look at HN, but was looking for a way to concretely let them know about the potential damage I see this causing.
Comment · 4 years ago
Makes me think of potentially using sound as a way for humans to conceptualize higher dimensional spaces. I feel very bound to 3 dimensional visualizations frequently and often wish that conceptualizing that next step to even 4 dimensional spaces would be more 'obvious'. E.g. space time diagrams (even though I can't say that I'm good at evaluating movement in even one dimension of space and one dimension of time on a 2-d plot, I can't even comprehend trying to 'visualize' movement through three dimensions of space and one of time.) For some reason feels more possible in audio space.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton