3,481 karma · joined Nov 11, 2011 (15y ago) · 937 submissions
comment 8y ago · link · parent
Ie. ‘lite’ type checking, used in react.
(did you perhaps see the results for ‘javascript prop type hint’ as a google autocorrect suggestion or something? This is a well known term, but I’m pretty amazed two seconds of google didn’t discover what it was...)
comment 8y ago · link · parent
ES6 (or whatever we’re supposed to refer to it as now) is good enough for many things, but when you see it used heavily with, for example, proptype hints... you get the feeling that there really is a trend these days towards flavoring static type checking and the error checking that offers.
I think its an interesting shift, with python and javascript both being poster child dynamic languages, but people who use them seriously going... ‘yeah, type checking is actually pretty handy...’.
comment 8y ago · link · parent
No one bats an eyelid about that.
> If the Commons Clause license is confusing or ambiguous to you, simply treat it as a commercial license...
I have to say, this really is the issue for me.
It's got both Apache and Commons in the title, that probably means its even more free than the apache license right?
No? Wait... so I can use it for free? Or am I reselling it? I guess I need a lawyer if I'm going to touch this stuff now right? Mmm... no. I think that we can safely put all of those modules in the 'never use for any purpose' box, thanks.
This kind of thing, seems like deceptive conduct, and that's something that is anathema to stable businesses looking for infrastructure to use.
Licensing is important, it should be clear and unambiguous in naming and purpose.
comment 8y ago · link · parent
GPL is unpopular, and if you want people to use your software, it is the wrong license to choose.
Should it be? Perhaps not. ...but I don't think the parent comment is nearly as wrong as people seem to think.
It doesn't matter if the GPL technically is a better or worse license; the fact is that (perhaps indeed driven by large corporations) GPL has a very negative image right now, and since we do live in a 'look at my popular github repo with oh so many stars, aren't I popular, oh btw hire me pls' world now, that is actually a big deal.
The question is not, 'should I use GPL?', because the answer is no, if you want to have a successful popular open source project.
The question is; how do we actually change the perception of GPL so the answer becomes yes?
I'm not sure... but I think it's a far more important question.
(I can certainly say that I no longer use the GPL, after using it for many years, largely because it was requested I remove it from projects. What do you do in that situation? Since I really don't care that much why not just put it under something else? I don't have a good answer.)
comment 8y ago · link · parent
For example, food stamps may go to a family, where they are dealt with responsibly, in a way that money, which is very easy to grab and walk out to buy cigarettes with when things go badly, is not.
Obviously, it's not a full solution, and a cynical recipient could sell them, true... but we're not talking about individuals acting in isolation for purely selfish reasons; that's a contrived subset of the problem.
What's the alternative you're proposing?
Just hand out cash?
The research shows that people suffer severe difficulty in managing fiscal matters when under financial stress. It's the old 'why do people who are poor buy so many lottery tickets?'?
Money isn't the correct solution; and maybe food stamps aren't either... but they're a better solution, and don't think that's even in doubt.
...but if you have a different one, I'm happy to hear it.
comment 8y ago · link · parent
Just suck it up.
You went off and did your own thing, and ignored everybody else, sticking pretty much to what you wanted to win the race in the first place (gopkg).
Right, now thats out the way can we just get on with it and use modules?
Decisions have been made, they’re here to stay. It doesn’t make everyone happy... but hey, we’re all massively relieved the mess has been sorted out, so thank you.
Lets stop these deep soul searching what he said she said wastes of time and get get started using it~
comment 8y ago · link · parent
wow. Really?
You make that sounds like its insignificant, but it really isn't.
Fines that go in to the 'consolidated budget' for a country or region doesn't seem right; it's blatantly in their own interest to lay out fines, regardless of if the behaviour warranted it or not.
This seems very familiar to the US property seizure laws; the line between 'justice' and 'flat out corrupt' is fine, and there's significant financial gain to walking the corrupt side of the line.
I don't think this is anything to be proud of.
comment 8y ago · link · parent
Hyperbolic geometry, on the other hand, is alien to most people, (especially fractal like the projections into 2d and 3d), so when people wave their hands and say 'non-Eyclidean geometry!', that's what they usually actually mean.
Try actually watching some of the hyper-rogue gameplay: https://www.youtube.com/watch?v=lX5eCfRSCKY
I assure you, it's more interesting as a geometric visualisation than planetary annihilation is.
More technical reading here: https://math.stackexchange.com/questions/1407550/what-hyperb...
comment 8y ago · link · parent
So you know... I don’t think it’s unfair to say that for smaller vendors, the cost/effort of setting up a ML model may dwarf the fractional improvement it offers over just having one person doing human generated SQL queries.
The point is this isn’t like machine vision or voice, where its almost expontentionally better than traditional approaches.
It’s just... a bit better. Which is worth it only if the fractional improvement pays for the setup cost.
comment 8y ago · link · parent
I’m not arguing theres a place for a web ide... sure. That’s a thing.
...but as part of gitlab? really?
...and lets be explicit here; part of gitlab instead of a stand alone product?
What if you want an IDE that uses a different source control?
Whats the benefit to me of having it as part of gitlab?
comment 8y ago · link · parent
This kind of ‘user centric’ justification is rubbish and we all know it.
What this is, pure and simpe, is ‘throw it at a wall and see what sticks’.
Maybe people will like it and they’ll run with it, or maybe people will hate it and it’ll get binned.
Fair enough; but its got zippo to do with user quality of life or what users actually want; its just easier to justify value by adding features than fixing existing ones.
‘Speculative development’
Bitbucket does this all the time as well; its super annoying.
If you want to improve user quality of life, you know what you need to do?
Ask users what they want. ...and listen.
comment 8y ago · link · parent
The point I was making is: this article isn’t practically useful, its just ‘how it would be nice if things were’ not ‘how to get there’.
Its got some good ideas, sure... but as you say, reality and ideals aren’t easily matched; so as a step by step guide, its somewhat trivialising what is actually a very hard, entirely unsolved set of problems.
comment 8y ago · link · parent
I think it really crystalized the issues I had reading the article; you can do (or try to do...) all the ‘right things’ and still have a terrible result.
If it was easy to get right, things would be great... but its not. Its hard. ...and a slide deck of protips doesn’t cut it as a solution.
comment 8y ago · link · parent
I’m quite serious.
The thing you need to realize is that you’ll get it wrong, no matter the tool... until you invest time in reviewing past estimates and plans.
People think because they’re engineers they can just magically make estimates... but its a skill. If you don’t have a feedback loop to measure your progress and adjust your actions, you’ll literally never improve at it.
...that’s why even ‘Senior’ developers and ‘technical leads’ are often terrible at this; they’ve simply never bothered to seriously make an effort to learn how to do it.
comment 8y ago · link · parent
Microsoft has to suck it up when they screw up like everyone else.
...they’ve just got a teack record of screwing it up (and screwing peopke over) which is longer and messier thansome other people.
Google would get the same reaction if they had done what microsoft has.
The point is: no free lunches.
You feel its unfair to microsoft? Well, cry me a fucking river for that billionity dollar corporation.
comment 8y ago · link · parent
...it is also why php is not really any significantly better choice than any other framework/language combination.
The benefits of ‘plain php’ (simplicity) disappear quite quickly when you’re doing anything non trivial.
I would never choose php without one of those framework stacks; it doesn’t scale, its prone to hideous security issues and its a fugly mess of reinventing the wheel.
Frankly, anyone doing this these days has no idea what they’re doing.
comment 8y ago · link · parent
Almost all reasearch domains live on a log curve; a little bit gets you a lot to start with, but eventually you exhaust the easy solutions and a lot of work gets you very little improvement.
You’re arguing we haven’t reached the plateau at the top yet, but you’ve offered no meaningful evidence that is the case.
There are real world indicators that we are reaching diminishing returns for investment in compute and research now.
The ‘winter’ becomes a thing when it becomes apparent to investors that their financial bets are based off nothing more concrete than opinions like yours, when they don’t work out.
Are we there yet? Not sure, myself, I think we can get some more wins from machine generated architectures... but I can’t see any indication that the ‘winter’ isn’t coming sooner or later.
Investment is massively outstripping returns right now... we’ll just have to see if that calms down gradually, or pops suddenly.
History does not have a good story to tell about responsible investors behaving in a reasonable manner and avoiding crashes.
comment 8y ago · link · parent
eg. importing a SAP feed into a database, or loading a bunch of csv files, or like processing a bunch of images...
...anything where you have to convert data from some source through a series of steps (typically a DAG) into some useful output.
However, its often misused.
For example, if you have a trivial amount of data, or trivial process an ETL is over engineered cruft where a simple script would do.
So there are many (rubbish) ‘simple ETL frameworks’ which offer zero value and technical complexity for no benefit.
Unless you need multiple servers processing data through multiple steps and you need the auditing and process control... you probably don’t need an ETL, just a simple script.
comment 8y ago · link · parent
1) You should be able to declare scoped blocks that mandate execution of all tasks started in that block ends when the scope ends.
2) This is fundamentally superior to all other forms of concurrency.
I get it; this is basically what async/await gets you, but conceptually you can spawn parallel tasks inside an awaited block, and know, absolutely that all of those tasks are resolved when the await resolves.
(this is distinct from a normal awaited block which will execute tasks inside it sequentially, awaiting each one in turn).
...seems like an interesting (and novel) idea to me, but I flat our reject (2) as ridiculous.
Parallel programming is hard, but the approach from rust, to give you formal verification, instead of arbitrarily throwing away useful tools seems much more realistic to me.
comment 8y ago · link · parent
however...
If you release games on a platform, or targeting a hardware spec which has a player base with is too small (like say, VR), and don't make enough money in your 'big bang' release, you're screwed, and your company goes under.
Heck, even if you do make some money, if its not enough to 'wow' investors, your studio will probably still be shut down. The economics of big bang release software are very hard ('Explain to me again why after making a million dollars this month you want another million dollars investment that will not generate any return for the next 2 years?'), and game companies are behind the curve in dealing with it.
The alternative (freemium) is just a race to the bottom, and its happening on steam right now the same way it happened on the app stores.
Incentives to encourage developers to target 'linux first' isn't just not going to work; its actually unethical.
You're basically paying people to target a platform that you know isn't significant enough for them to recoup the significant development costs in making games.
So yeah.
Realistically, you need to do one thing:
Figure out a way to provide a meaningful continuing income stream to developers targeting the platform.
As I understand it, what value is currently doing is attempting to bootstrap the market to consume linux games, by:
- Minimise the cost of developing on the platform by improving the tooling and making it easier to target 'cross platform' to include an additional platform (vulken, steam networking, etc).
- Make a platform that will consistently actually run said games, and push that upstream for other distributions to pick up.
- Work with partners to provide hardware that is configured in a way that can actually run that platform without having to compile the kernel yourself.
So... frankly, that seems like a pretty smart way to tackle the problem.
...but on the other hand, it hasn't been massively successful, to be fair.
Practically speaking, 'linux first' is never going to work; but I don't really know what else they can really do to help it along the way.
comment 8y ago · link · parent
If you’re going to recommend a book, then why not just recommend Design Patterns?
That’s actually a good book; and, if you read it, you will extract exactly zero value from this one, which gives only the most trivial coverage of a handful of the patterns from the former.
/shrug
I feel like people who 5 star review this on amazon didn’t read Design Patterns becuase it looked to scary, and liked it because this was cute and simple and easy.
...unfortunately, the reality is that cute simple explanations are usually trivialising the content (as this book does; seriously go read a few game programming gems if you think game programming is as trivial as a singleton...), so given a choice of a universally acclaimed coverage of the topic, and some hand drawn pictures, why the heck would you recommend the latter to anyone other than a student?
I don’t get it, and I see no value in the content of this book ...but, I guess different things for different people.
comment 8y ago · link · parent
Google search “design pattern book”. Right, now take any of those books.
If you want game related stuff try “game programming gems”.
This book is free... that’s literally all it has going for it. Wikipedia has better stuff that you know... actually compiles, etc.
If you got any value out of Game Programming Patterns, I cannot strongly enough recommend you go and read an actually good book on design patterns; you’ve probably been mislead by its vague hand waving and incoherent discussion of the various topics.