Better HN
topnewbestaskshowjobs
Log inSign up

evdev

300 karma · joined Mar 2, 2017 (9y ago) · 62 submissions

Submissions

comment 7y ago · link · parent

You could do the overlapping space part of this in the game Descent/Descent 2 since building the levels involved actually directly creating the space partition data structure. I always thought it was incredibly cool and underused.

comment 7y ago · link · parent

Yes, it's my favorite game of all time. No, I'm not sure you can really "get" the experience today. One thing older games were able to do was use time and boredom(!) for effect in a way that mostly doesn't exist nowadays with so many more well-made games with "optimized" reward systems.

I think of Grim Fandango, where a lot of the effect of the narrative comes in the way scrounging for clues by trial and error makes it feel as if you really were stuck in that town for a year. Play through quickly with a strategy guide and you won't actually get the effect of the environment.

Or take the difference between the original Zelda and the later games: I'd say the fact that the original completely lacked the well-marked trail of where you were supposed to be going and what you were supposed to be interacting with made it seem as if you had "found" a smaller part of a wider world, and you were reacting to its logic.

Star Control II did both of these things as well as any game has. The reasons for your actions were always intrinsic (not to make "1/5" go to "3/5" and then "5/5", quest completed!) and your course through the game was meaningful because it took place in an economy of choice, effort, and time that was consistent and weighty.

Beyond navel gazing, I think the real upshot is when something like Breath of the Wild is so universally adored, part of what you're seeing is all the potential being left on the table by the current paradigm of gerbil wheels with scrolling backdrops.

comment 7y ago · link · parent

A run down of the various options, from a pro-tokamak perspective:

https://www.youtube.com/watch?v=L0KuAx1COEk

comment 7y ago · link · parent

Why would you require this? Concepts can either be a part meaningfully differentiated from the whole (neocortex, hypothalamus -> the whole brain) or an aggregate that while reducible to more basic parts is meaningfully differentiated from other similarly reduced aggregates (neocortex vs. hypothalamus). What seems to define the demand for the "real" or "irreducible" is wanting the nature of reality to in some sense "do" this differentiation "for us".

And yes I would say that "qualia" insists on dualism.

comment 7y ago · link · parent

I think it largely comes from uninterrogated/unrevised dualisms applied to the scientistic world. I think of Rosenberg's eliminativism as follows:

a) Platonic realism is the only way our semantic categories/abstractions could be meaningful.

b) The world is physical (platonism is not true).

c) All our categories are meaningless! Our abstractions are unreal!

You can see it all follows from a), and there are serious questions about whether this is actually a physicalist philosophy...

comment 8y ago · link · parent

Also my design as a kid, turns out I'm Russian??

comment 8y ago · link · parent

Thanks for your comment.

I also am guessing that the wall between the worlds of "create table" and "insert" is pretty ingrained in the SQL developers, so solutions where inserts actually create database objects isn't something they're interested in. This is why the documentation on "DDL Partitioning" is a long tutorial on what's ultimately a static scheme. Compare this to Cassandra where creating a new "table" per routing key is the obvious thing.

It does raise the question of whether "HyperTableDB" (for Postgres) would make its own coherent offering? (I don't mean to comment on your business strategy, this is an architectural/technical question about what hurdles there are.)

comment 8y ago · link · parent

Does anyone have thoughts on why Postgres shouldn't provide:

- Automatic sharding of tables per-"shard key".

- Automatic sharding of those keyed shards by the range of some primary index.

Doesn't this get you 90%+ of the way there? (There's no "adaptive" time bucketing, I guess.)

For the record, I am a veteran of a naive Postgres time series scheme that was brought to its knees by seek times.

comment 9y ago · link · parent

This is correct. The ActiveX is very, very real.

comment 9y ago · link · parent

The whole area is heavily, heavily reactionary and slow moving. They're on embedded XP because that's the closest they can get given the software platforms they're dependent on.

You're right that locked down embedded industrial (Linux) PCs are the best option, but your control platform has to run on them...

comment 9y ago · link · parent

This, from a former coworker, might give you a good sense of the state of things:

https://www.youtube.com/watch?v=tPWKJR6IVfA

comment 9y ago · link · parent

Agree that this is a more interesting comparison than AMQP.

comment 9y ago · link · parent

From my perspective, problems with facebook:

1) Anti-privacy, megalomaniacal nature of network.

2) Social cost of having removed the normal ways we moderate each other's behavior. E.g. when someone is a narcissistic bore, you talk to them less and less at the barbecues and eventually events start happening they're not invited to. Facebook takes the people most willing to ignore social boundaries and customs and puts them center stage.

3) Opportunity costs of not having mechanisms to form more naturally-moderated social groups, but with a wider pool of potential people than are in your physical social graph. This has always been the dream of the social internet.

4) "Fake news", specifically the moral hazard of providing an environment that plays to the "worst" tendencies of media consumption. This is obviously dependent on our values, and how patronizing we're willing to be. But the hazard is a real issue especially when your network attracts people under one pretense--hang out with your friends/kids/grandkids--and then has this non-advertised effect of sticking you in a media echo chamber. This unlike when people choose to go out and fight their echo chamber in a way that's fairly important.

5) Like 3) but now for "good" media consumption, or a Healthy Democratic Civil Discourse, or whatever. I'm glib because this is on the razor's edge of smuggling in whatever values we daydream about imposing on the world.

A lot of us can come up with the David-and-Goliath dream of a distributed network, but I think it's interesting that this is probably neutral-at-best for 4), which is the issue du jour. One could easily see things getting worse and articles being published with the thesis that people need to be de-balkanized for the sake of civic discourse.

Also, the REAL contrarian take here is that things are close to optimal. People are succeeding at 3) and by extension 2), just in niche special interest groups that aren't salient to us in the steady state. The "problem" is that many of us lack the conviction or self-direction to quit media behaviors we don't like. Meanwhile 4) and 5) are really about the bankruptcy of modern ideologies, etc. etc.

comment 9y ago · link · parent

When I first saw this, the concept of "rejected energy" from the pink boxes seemed to need some explanation. From the outside view, nothing is "wasted"--there's just the cost and benefit. You compare alternate sources and alternate uses this way. Losses don't really mean anything unless they are comparative, and the only thing that matters is the ultimate value of the work, not what you would get if you ran a science experiment to figure out the joules.

Even the losses in electrical transmission don't really mean anything unless compared to an alternative, which will have its own losses, and which can't really be compared kWh but instead relative cost.

Someone can correct me if I'm off-base.

comment 9y ago · link · parent

FYI I found this a great article otherwise.

comment 9y ago · link · parent

Summarize.

comment 9y ago · link · parent

What I've found matters in this area is the mismatch in locality between elements in read batches and elements in write batches. It'd be nice if the emerging DBs that deal with these issues put at least a gloss on the information model and write -> read lifecycle they're targeting.

Otherwise, a lot of these "actually you need X for time series!" are just talking past each other because "time series" means any number of actual patterns.

comment 9y ago · link · parent

There's a weird, undefined use of "nihilism" threaded through this piece.

comment 9y ago · link · parent

I laughed out loud at that paragraph.

To be clear: obviously the assertion itself might be true but is very possible to deny. To make matters worse, the support for the idea is basically that services that charge the end user nothing have destroyed the revenues of services that had the ability to ransom themselves for money. Whether that's good or bad to the broader public is... complicated.

comment 9y ago · link · parent

The point isn't to learn it as if it's something you'll have to recreate--it's to understand that "advanced" language features are built on top of the "fundamental" structural model and are not magic. You need some understanding of how programming languages are built in order to keep languages and libraries honest. Otherwise learning about type/object systems becomes learning all the pitfalls and incidental complexities caused by the design as if they're benefits and not costs.

comment 9y ago · link · parent

Yes, I think it's very reasonable to use a scripted dynamically typed language to learn control flow to start with. We tend to forget that the basics of loops and mutation are a hurdle for many people.

comment 9y ago · link · parent

I think there's a tension between two imperatives in teaching new programmers:

1) Learning must be applied learning. Give people problems to solve and they will come to you for data structures and algorithms, O notation, etc. If they don't, they should do something else

2) A lot of what's out there in programming languages are cargo cults, and newbies need to be prepared for this. For instance, virtual function inheritance isn't a thing. It's a weird call chain pipeline system glued into your vtable, which C++/Java teaching also won't bother to tell you exists. Make people start from assembly, graduate to C, then write their OWN vtable, so it's demystified. Now you've reduced the ability of software designers to piss on your leg and tell you it's raining.

So ideally I'd want students (at first) to be doing something either close to the machine or in the functional model. As they say though, the imperative of 1) means getting people to actually produce something, which is easier in Python.

comment 9y ago · link · parent

match { case v: java.util.Date => }

This still works without case class extractors and is useful. That's what I mean by matching and binding.

Extracting/destructuring in the match statement can sometimes be more trouble than it's worth. It's definitely brittle to changes in the case classes. Then there's the question of the (difficult to reason about?) cost of the abstraction.

comment 9y ago · link · parent

IMO the hierarchy of need for this goes:

1 - case classes / value classes / data classes, whatever you want to call them.

2 - match-and-bind syntax

...

11? - fancy pattern matching

This maybe says more about how much I pay attention to what's upstream in Java, but I found the fact that this is just a hypothetical proposal, in April of 2017, strangely shocking. I guess I figured it had to be on the docket for a future java version already.

comment 9y ago · link · parent

Does anyone know of analogous work re: the size/# of IO buffers? It seems like a similar problem.

comment 9y ago · link · parent

It was a track runner with three parallel tracks, "bombs" and "coins" approached you, making sounds either in front of you, to your left and right. Your job was to avoid bombs and get coins.

Pretty simple "action" game for the visually impaired. The joke is that we spent an absurd portion of the time on the visualization. The justification was that it would also have appeal for the sighted.

comment 9y ago · link · parent

In my college software engineering course we built a game for the blind. It had full 3D graphics.

I always felt a pang of guilt that we were walking away from the project when the class was over, since some of the kids did like it.

comment 9y ago · link · parent

Just a note to people who are encountering this for the first time: adopting SBT, deciding it was a mistake, and going back to Maven is also a common narrative.

"Build/Package/Release logic is complicated, and deserves sophisticated tools and abstractions just as much as the code it builds."

This seems correct until you realize that the #1 priority for your build system is to not be spending time screwing around with your build system. The benefits of using Maven to stay with the herd ends up dominating any benefits power you get to come up with clever build mechanisms. Then, yes, maybe you have an ugly shell script you have to run in your CI--but for all the crappiness of that, it's still composed on top of the thing that you basically never touch.

I've heard first hand from one big marquee Scala company (you could get it in a couple guesses) that this was basically why they were going to move away from SBT. That was years ago, so do with that what you will.

123