Better HN
topnewbestaskshowjobs
Log inSign up

SolarNet

1,816 karma · joined Jun 14, 2011 (15y ago) · 1,039 submissions

Submissions

comment 7y ago · link · parent

It's like if one of the beetles (of video games in this case) asked if you wanted to do a collaboration. Of course he did it.

comment 7y ago · link · parent

He points out that it's a mathematical tool and may not result in particles, e.g. matter or energy, as we currently think of it.

It could be a property of space-time, as space is always expanding everywhere, space it self could have a negative mass.

This could even be some sort of weird energy-neutral balancing mechanism (e.g. some sort of energy - my bet is on potential energy, like how gravity causes things to accelerate through the potential energy of the arrangement - is lost that accounts for the creation of negative mass particles or whatever; conservation is observational, but we don't really know what 95% of the stuff being conserved is in the first place).

Hence it can be consistent with the conservation of mass and energy.

comment 8y ago · link · parent

Talk about a deeply scary quote, and he wasn't even wrong when he said it.

comment 8y ago · link · parent

Author probably meant military health care systems.

comment 8y ago · link · parent

TL;DR: An argument for (with an included example spec) a protocol that solves many of the problems that graphql solves but at the REST layer (e.g. rather than ontop of the REST layer).

(As a personal aside: The difference between this spec and GraphQL is relatively minor, they seem equally complex in implementation details (e.g. correctly implementing a graphql server/resolvers is no cakewalk; and correctly implementing either in a less-programming-time way would require a large amount of meta-programming; something that this spec doesn't necessarily solve, or even seem to hint at, yet uses as an argument for it), the only real improvement is that this one is a layer lower (theoretically one less layer of abstraction/indirection improves performance and simplicity) and is not owned by Facebook).

comment 8y ago · link · parent

I'm not glorifying them or anything. But bribes are part of an authoritarian system, those people have an almost feudal right to the power, and hence to extract value from it. However at the higher echelons where the government was ran from, failing to do the job you were given for bribes was a problem. I suspect that effective members of government took bribes in such a way to incentivize the behavior they needed.

comment 8y ago · link · parent

I'm not saying they aren't nepotistic nor prone to poor attempts at covert ops. Just that they expect a modicum of results, even from their appointed family members. No one wants to die on an airplane because their cousin wanted a few extra bucks to look the other way on airplane safety. Where as bribes for access in the first place are very common in authoritarian regimes, I wouldn't even call that corruption per se, because they have the feudal power to extract the value from the post as long as they perform.

comment 8y ago · link · parent

Probably because they aren't as corrupt. Do you have a specific example in mind?

Saudi Arabia for all that it is authoritarian isn't corrupt (within it's own country) they are pretty effective at rounding those people up on a regular basis. North Korea is stuck in the 1960's and led by an insane idiot but they execute people for using their top offices for personal gain.

comment 8y ago · link · parent

I mean the text is probably from poorly trusted sources as well but that's a different problem.

comment 8y ago · link · parent

Also not tied to visual studio to build. `dotnet` is an node style command line tool.

comment 8y ago · link · parent

Still not open source. Or "beyond" open source.

comment 8y ago · link · parent

This article is set about 20 years prior to common lisp's standardization. It was a reasonable belief then.

comment 8y ago · link · parent

I think the C++ library https://github.com/skypjack/entt gets pretty close to the ideal for a purely compile time implementation. It is implemented with modern C++ template meta-programming - which is to say it is basically a DSL encoded into C++ and can generate arbitrary code at compile time - while better than it used to be to read C++ template meta-programming is still very difficult to read. It also comes with a number of utility libraries for using it efficiently and correctly, including a signal library, service locator, and scheduler (among others).

It still has it's limitations though. Because it is a compile time library, it can't do any runtime optimizations like it could with a JIT. Also, because C++ reflection is atrocious, it doesn't provide the best support for runtime type manipulation (reflection features are often paired with the component pattern implementation, especially in general purpose game engines). This comes back to dynamically meta-programmed languages (e.g. python, lisp) that could theoretically out perform even ENTT using a JIT - with the appropriate reflection features - and meta-programming. However an ECS only really makes sense in a non-garbage collected language (or if the language exposes a non-GC meta-programming interface). Since there aren't really any viable JIT (+ reflection) + meta-programmed + non-GC languages out there, I don't think a perfectly correct implementation exists.

I think an ideally implemented example will eventually be Johnathan Blow's experimental language Jai (or a library for it) given what has been stated publicly about it (metaprogramming, JITted, reflection, not garbage collected, has built in support for SoA types). But that's not a viable example to look at at the moment.

comment 8y ago · link · parent

> The fact the the original code is a straw-man is discussed.

Yes, but instead of timing it against the improvements the grand-author made to the straw man, you still timed it against his straw man.

So I'll quote you: "You need to work on your speed reading skills before throwing shade..."

> The fact the flexibility is being removed is discussed too

You state: "Why do these frameworks exist then? Well to be fair, they enable dynamic, runtime composition. Instead of GameObject types being hard-coded, they can be loaded from data files. This is great to allow game/level designers to create their own kinds of objects... However, in most game projects, you have a very small number of designers on a project and a literal army of programmers, so I would argue it's not a key feature."

Which is failing to recognize that the whole point of the original code - written by a game engine developer - is to demonstrate exactly how to do this for performance and flexibility for any small team.

> along with why it was there and hits on better ways to re-achieve it later. It's mentioned that these were going to be covered in a follow-up.

With out it being there, I cannot judge it. But considering that you removed features and barely managed to match the ECS for performance is... not promising.

The point of the ECS is to be a very efficient solution to the run-time composition problem. You removed run-time composition and still weren't technically able to be more performant than it with your solution. You are comparing apples to oranges and still loosing on arguably the most key aspect of the entire problem space!

comment 8y ago · link · parent

Everything here is bad and wrong on so many levels. It's hard to even wrap my head around the amount of wrong going on everywhere here.

The initial Object Oriented (OO) code - as partially demonstrated by the author, and more succinctly by the grand-author - is badly designed. In the grand-author's slides they remove a number of these stupidities, which the author appears to ignore (both for final performance comparisons and for understanding why they were even there). Notably they (the grand author) originally built a reflection (runtime type) system [0] directly into their game objects (application level code). This of course means they then ended up fighting their programming language over the performance of this as they attempted to use and improve it.

The author's improved code is also a total failure. He removes a significant amount of the flexibility in the original system, which was a requirement of the problem space. By removing features he gains a significant amount of performance (in actuality about 2x - not 10x - compared to the grand author's slides). The lack of understanding why those features were there in the first place demonstrates he doesn't understand the actual design space of the toy demonstration code. It also demonstrates he failed to read the grand-author's slides where they go through some of these changes and why they aren't viable.

The author also fails to even discuss the Entity Component System (ECS) which it should be noted is still faster (and feature intact!) than the author's code. I cannot be more emphatic on that point, an ECS is a solution to the performance of run-time composition problems, and it still worked even better than an attempt to do the OO solution right (again by removing features!).

Though the author makes an excellent point about how most ECS solutions tend to fight the programming system they are in, he doesn't really explain or demonstrate it. What the grand-author did wrong here (though probably actually not in their talk considering who they work for) is not point out that the ECS should be part of one's programming tool to be most effective. Notably the ECS optimization should be part of one's programming language [1] (a game engine's programming language - like Unity's - would count).

Point is this author is very wrong and does not understand design (in general) nor the entity component system pattern in specific at all. The grand author's example code base is disingenuous of actual OO principles, and does not provide reasonable advice on how to deploy an ECS. Oh and they both got wrong that ECS solutions should be part of one's programming tool, not application space.

[0] Engines are often attempting to solve a sufficiently complex problem space that they require runtime type systems. This is not something one can avoid unless writing a bespoke "engine" for a single game.

[1] Unless your programming language is sufficiently advanced to allow creating - effectively - compiled code at runtime as a generalized library. Which C++ is because of template meta-programming, but the included example code is not.

comment 8y ago · link · parent

And I feel like this is where better hyperlinking of papers could be used. Like not just citations, but the ability to click through to the "proven elsewhere" perhaps with a short paragraph of how the given citation proves it.

comment 8y ago · link · parent

As some one who played around with inform and would recommend it to authors looking for new ways to express their creativity, I am glad it looks like it is getting a significant tooling upgrade. Especially important is that this lowers the barrier of entry for new micro-payment strategies (like apps and websites).

It's also really cool because it looks like someone could hook this thing up to ray tracer or modern game engine and render dynamic myst style scenes with it (but with NPCs and significantly more detail in manipulation).

comment 8y ago · link · parent

Roommates have physical access to the network. Principles of security tell us you can't defend against that. Need to change the network.

comment 8y ago · link · parent

Specifically if features like function pointers are avoided, and tail call optimized recursive data structure functions are used. Hell for embedded uses if it can just determine it for some functions, and not others (like say anything involving dispatch) it would still be very useful.

From writing:

    TaskCreate(&some_func, 2048 /* Hope this is enough stack */)
To:

    TaskCreate(&some_func, sizeof(some_func))
would be amazing.

comment 8y ago · link · parent

The point remains that Netflix is paying companies to build internet infrastructure on their behalf. Netflix is building their part of the infrastructure. ISPs are being paid to provide connectivity to the whole internet, not to lay pipe specifically to Netflix (which Netflix make easy of course).

comment 8y ago · link · parent

If you mean "blockchain technology" to mean cryptographic ledgers than yes.

If you mean blockchain technology as defined by the original bitcoin paper, then why? What use does the system gain by allowing anyone to participate anonymously (e.g. money).

Blockchains solve specific problems. Cryptographic ledgers, like we already use for things like CAs, are the better choice almost always. Certainly they could be made more like blockchains in their openness, transparency, and participation. But going full blockchain isn't required.

However some people have been using "blockchain technology" to include the ideas of cryptographic ledgers, so I want to be clear.

comment 8y ago · link · parent

No they don't. They lay a pipe between the tier one network providers and the user. It's the tier one providers (who by the way are not part of ISPs, nor have an issue with net neutrality) who lay the pipe between everyone (google cloud, netflix, ISPs, etc.) and create "the internet" as we know it. Everyone pays these tier one providers for access, Netflix pays (a quarter of a billion if I remember correctly), ISPs pay (that's part of why you give them money). The ISPs only run the last mile pipe from a tier one provider who provides access to "the internet" (which is the other reason you give them money).

So if you view "the internet" as a singular type of utility like electricity then the analogy works. It's also how most people (correctly as it happens) think about it. IF the internet didn't behave that way it would be a very different place, where things like cloud providers, emails, and link aggregates wouldn't and couldn't exist.

The real problem is you only have one choice of ISP in most areas. If the ISP markets were competitive this likely wouldn't be a problem, because all the ISPs would be offering "the internet". But now the ISPs are trying to use their market position to extract additional money. It's called economic rent, and we've basically known it's a bad idea (economically and morally) since feudal lords were doing it (cough a certain tea party).

comment 8y ago · link · parent

I mean it's an April fools joke. But considering the fact that it's on a public road, and easily accessible, there may be an argument there. Like I'm allowed to hit crossing buttons, and all that equipment is owned by the city, and powered by their electricity.

Point is there is probably no law on the books making it illegal, it's perfectly reasonable for a citizen to assume (after reading the law; consulting with a lawyer) that they are allowed to do that because no one said otherwise (as long as they are safe about it). It's not like the law explicitly makes hitting crossing buttons legal.

But the city probably would pass an ordnance pretty quickly. That part is definitely wrong.

comment 8y ago · link · parent

Also Italy has a (recent) history of prosecuting scientists who attempt to give their opinion (even if it isn't listened to). If I was an Italian scientist I would stay far away from predicting anything to or for the government.

http://www.sciencemag.org/news/2015/02/why-italian-earthquak...

comment 8y ago · link · parent

I have a k8s cluster running on "bare metal" of 3 old consumer desktops and 6 old laptops, mostly heterogeneous hardware. It's as easy as setting each of them up as a webserver or database server, but I only have to set up the software once per machine and forget about it.

Much better than trying to host 12 websites on three machines and dealing with each machine by hand. And also load balance by hand, network by hand, configure the database servers by hand, different logging locations, etc. And that's all assuming I'm using docker. Let alone if I don't and then also have to deal with multiple versions of software between sites, differing technology stacks at the webserver, etc.

It's the superior solution for personal clouds and hobbyist server management too.

comment 8y ago · link · parent

I use pinboard.in mostly for a raw collection of links.

And I use Gingkoapp to organize my thoughts.

comment 8y ago · link · parent

Tech companies have colluded on the hiring side in the past. But here is the difference. Companies are meant to be entities that provide economic activity through competition (for example on free markets), that's why governments grant them charters that give them tons of rights people don't get (limited liability and special tax rules for example). Unions are designed by workers to protect their rights, originally this was simply through them organizing through their right of free association before the government got involved in it (because they recognize the grant of rights they gave to companies made for an unfair situation in the labor market). Importantly one is something designed to encourage economic activity, and the other is something designed to protect rights.

So no companies should not share the same "rights", because that's called being anti-competitive. Labor unions are only capable of "exert[ing] anti-competitive influence" when unions have recruited every worker (probably for a good reason) or companies engage in union busting against workers who have done nothing wrong (except talk to a union). Don't want to deal with organizing employees? Don't sign a contract with them (the employee-employer relationship also granting companies a bunch of useful rights).

comment 8y ago · link · parent

This appears to be a copy left attempt to build an engine capable of both Age of Empires (especially the 3d ones), Command & Conquer, and Warcraft 3 style games. Interested to see if it ever gets tot he point of running Warcraft 3 custom maps (multiplayer maps with custom code) perhaps through an import script.

comment 8y ago · link · parent

Because neural networks are noisy, and they cause small mistakes and misunderstandings like in humans. The AIs concept of an enemy obviously doesn't have as strong of a distinction between "hero" and "creep" (and for that matter "enemy" and "neutral") as those of us who have read the game rules might have because of your quoted statement.

As a further analogy I often see humans make ridiculous and insane leaps of logic (how assignment works when you first learn programming; free speech applies to things besides governments; etc.), and we run on the same style of hardware.

To an extent this demonstrates how far we are from generalized AI. All the Open AI system is is a very specialized animal, that's lived through millions of simulated generations very quickly. It doesn't understand language or concepts - we can't even begin to tell it the rules of the game, only though simulated evolution can we teach it - or even the self awareness many animals do. It's likely closer to the nervous system of an insect than it is to the brain of a dog.

1
91011
35