Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
optionalparens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
optionalparens
10y ago
Firstly, let me say you're most likely correct. I do find finger trees useful in functional languages as well and for creating immutable structures with them. I want to add some general comments about anyone thinking about using a fing
32.
▲
by
optionalparens
10y ago
I am aware of the compilation into CLR bytecode and I've been a .NET user since the beginning, though I don't work with it much these days. The fact that it someone is using Clojure though doesn't mean it will translate alway
33.
▲
by
optionalparens
10y ago
I wrote a long comment, but was rate limited at the time. I'll summarize instead with a simple list: - It's better to map your input to some game actions than pass around the raw value - You don't need to do anything creative
34.
▲
by
optionalparens
10y ago
A keypress should never do much other than to update some game state to say that whatever key was pressed and it is mapped to whatever game concept in your input mapping. Nearly any code I've ever seen with an if/keypress, do this
35.
▲
by
optionalparens
10y ago
I couldn't agree more. If anything, the pleasant experience argument tends to come up more in the context of discussing a secondary scripting language to be added on top of a fast, already working foundation. Even then, you mostly just
36.
▲
by
optionalparens
10y ago
Agreed, and I'll add a few things. You can argue that lots of games can/do modify things while running. Entity systems allow components to be added at runtime. This not only allows for different code to be executed, but also I
37.
▲
by
optionalparens
10y ago
Clojure suffers some because of the reality of today's game dev ecosystem. Just looking at the source of some past attempts to wrap things like LWJGL or OpenGL (hint, none of these tend to look like Clojure anymore) should be enough to
38.
▲
by
optionalparens
10y ago
As a semi-retired professional gamedev, I don't get this. Let me qualify what follows by saying that I currently program quite a bit in Clojure and ClojureScript on my personal/side project, and I love both languages. Additionally
39.
▲
by
optionalparens
10y ago
The pay certainly is not good for a lot of these jobs, but nor is it good for a lot of white collar jobs. The difference is often the long-term ceiling which is not a guarantee. For instance I know people who work for non-profits or more ni
40.
▲
by
optionalparens
10y ago
To clear up some common misconceptions around the Old Testament in part, but not in whole.... Firstly, Judaism is not the Old Testament at all. Christian and Jewish philosophy, and for that matter Muslim philosophy are all very different. A
41.
▲
by
optionalparens
10y ago
Wow, way to take the high road on a tech news site. I think you're trying to imply Jews are barbarians given Israel vs. Palestinians. Note that not all Israelis are Jewish, many are Muslims, Christians, Druze, Atheists, and so on. Seco
42.
▲
by
optionalparens
10y ago
Only anecdotal, but I have observed as much over the past few decades. It's hard to be certain why as there are so many factors at play, but I suspect that a part of it may be due to how we perceive certain jobs. There's a certain
43.
▲
by
optionalparens
10y ago
I agree with this and your point brings up some other implications. I especially agree that there are a lot of companies with very questionable business models. Ironically, Goldman is helping many of these companies make money and be percei
44.
▲
by
optionalparens
10y ago
I agree it's disgusting to think of people working for a company like Goldman, but not sure I agree with the rest. Also some people are just trying to put food on the table, and they could compromise, but they don't and it's
45.
▲
by
optionalparens
10y ago
I'd also add compression time and decompression time to that list. Zip wasn't actually the best compression algorithm I remember seeing in its original days, it just was the best compromise of speed of compression, extraction, and
46.
▲
by
optionalparens
10y ago
I have indeed encountered many broken zip files. In truth it doesn't happen to me much anymore, bit it sure did in the earlier days of pkunzip/pkzip, and in general during the BBS days. Sometimes this was just due to all sorts of
47.
▲
by
optionalparens
10y ago
Most specs I encounter have seriously flawed implementations in the wild. This is regardless of the quality of the spec. Here's a short-list off the top of my head of tech with specs and horrific offenders in the wild, including many p
48.
▲
by
optionalparens
10y ago
You're making me seem old I guess, but I've encountered this a bunch of times. This was often done as a way to add metadata to things that otherwise didn't have metadata or needed additional info. Typical use cases include mu
49.
▲
by
optionalparens
10y ago
Former game engine dev and for a long while, proprietary engine programmer here.... Crytek focused too much on pretty graphics and not enough on anything else that is important to the larger experience of developing a game. Shiny graphics a
50.
▲
by
optionalparens
10y ago
I think the musician Jarvis Cocker explained this best in his song, "Running the World." Particularly the lines, "In theory, I respect your right to exist, I will kill you if you move in next to me." People love to free
51.
▲
by
optionalparens
10y ago
What you are saying is mostly right, perhaps somewhat of an oversimplification. Interestingly, these days I work with quite a bit of Clojure. Most of what I've been describing came about because people were in OOP hell, and decided to
52.
▲
by
optionalparens
10y ago
Regarding entity systems, it's best not to implement as slots in a struct or something like that. Of course there are lots of ways to do it and varying performance. Interestingly, taking a data-first approach and iterating over the sam
53.
▲
by
optionalparens
10y ago
Thanks, if you do nothing else, please (links to follow): 1. Read/watch the naughty dog presentation on Last of Us port where they talk about their time step. I have to say if there's one company who puts out stuff like videos and
54.
▲
by
optionalparens
10y ago
Have worked on many games and game engines for several decades. Here's some quick advice that applies mostly regardless of the JVM. 1. Allocations of any kind are often the most expensive operation per frame, or at least some of the on
55.
▲
by
optionalparens
10y ago
I agree. Lots of startups are created with this goal in mind. I have a tough time believing a lot of the popular ones are because of some inner calling, vision, or passion, despite the CEO press tidbits and about pages. My view is you shoul
56.
▲
by
optionalparens
10y ago
I agree conceptually, but this points out some fun things. So in other words, we tried that and failed in many ways in a much simpler domain. Now we are trying it again with a much bigger, more complicated scope and set of technical issues.
57.
▲
by
optionalparens
10y ago
> It's deployed everywhere and that will not change. Firstly, why do you assume I use x86? I spent a good chunk of last decade programming against PowerPC, Cell, and ARM in my day jobs. From what I am seeing WRT to x86, there is a s
58.
▲
by
optionalparens
10y ago
And nearly every one of these does not do it correctly. I haven't recently checked this in VLC either since normally I just use the original trackers and other programs for playback on the real hardware. From the github of the project
59.
▲
by
optionalparens
10y ago
You are right that certainly one could lets say edit the source of chrome and add support. There is no technical limitation here, however see https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_..
60.
▲
by
optionalparens
10y ago
I'm currently putting what little few hours I have into a few side projects that touch things like XM/MOD and other things like ANSI, RIP, etc. I always seem to share Jason's nostalgia and I get his meaning, but I often don&#
More ›