1,602 karma · joined Jun 7, 2011 (15y ago) · 406 submissions
(email:demetri.spanos@gmail.com)
comment 6y ago · link · parent
print "hello world"
vs
print ("hello world")
Second, printing a line to stdout is an extremely common and special activity (especially during debugging). There is almost no programmer-defined function you could write that has a function as fundamental as that of "print".Larry Wall of Perl thought about these things in terms of Huffman Coding, i.e. the most common thing you might want to write should have the syntax elide any easily understood context.
In the case of "print", we know we're not talking about any random function here: it's the function for getting output to the terminal, one of the most fundamental operations in all of programming. So I think it's totally fine for it to have a special representation in the language.
comment 6y ago · link · parent
> The "print" statement being a great example. Was it kind of weird? Sure.
I am reminded of the Emerson quip "A foolish consistency is the hobgoblin of little minds". The Py2 print statement is special/weird because it is a very important and special behavior, especially for newcomers. It's not randomly special, it's special because it models something that deserves special treatment.
Py3 is more consistent, but less humane. I use it over Py2 only because the market has moved on, but every time I type print with parentheses I curse Guido.
comment 6y ago · link · parent
This is close but not exactly right, and the small difference matters. Elo does not assume that skill is normally distributed, but rather that "quality of play" in a single game is normally distributed around some average quality level for the player. Obviously this too is an approximation but it's a much smaller one.
comment 6y ago · link · parent
1) graphics / games / vfx
2) energy / mining
It is the norm in these markets to pay for industry leading software tools, and I know multiple companies making profit-per-employee in ballpark FAANG range.comment 6y ago · link · parent
When people say "being a police officer" is risky they obviously mean the part where you go around physically enforcing law and order, not the other parts that are actually the majority of many long-term police careers. But the fact that the current beat cop will in 5 years have a much safer job doesn't mean that the current job is not very risky.
comment 6y ago · link · parent
I will leave you with this — do you think there might be a reason why the conventionally promoted inflation definitions and measures allow rapid increase in cost of living on fixed income to be called "not inflation"? Do you think that's a good definition, if it means someone with a fixed future cash flow can now buy a smaller stream of future goods? What/who is served by sticking to these (IMO gerrymandered) definitions of "value of money"?
We've gone deep enough and I will leave my contribution at that (though obviously feel free to reply). I too was educated on these technical definitions of inflation and I have become extremely skeptical of them as I have seen the mismatch with lived reality.
Edit: I won't make any more points, but I will say that I consider the implications in the response below here uncharitable and unresponsive to the points above.
comment 6y ago · link · parent
comment 6y ago · link · parent
Anything with inelastic supply has gotten more expensive by an average of about 3% every year for the last decade: health care [0], education [1], real estate [2]. That's 50% higher inflation than the 2% conventional target, and arguably after the revelations of 2008 one might justifiably expect even lower than 2% natural inflation.
Then there's the very rapid rise in the price of stocks which is itself a form of price inflation (it takes more money to buy the same share of the productive economy).
Anything rich people/institutions hold or supply in exchange for dollars from laborers has gotten more expensive at a substantially-higher-than-normal rate.
[0] https://www.in2013dollars.com/Medical-care/price-inflation
[1] https://www.in2013dollars.com/College-tuition-and-fees/price...
comment 6y ago · link · parent
1) This is, at best, controversial. Measuring cardinal utility is an unsolved, perhaps unsolvable problem. The kinds of experiments that lead to these claims are things like "what more would you buy if you had $X" or "how much, out of 10, would your happiness increase if you had $X more". Needless to say these are full of problems with self reporting, perception, lack of skin in the game, etc.
The only utility-adjacent concept that can be tested rigorously is preference ordering in situations where the subject actually bears the costs and benefits of the choice. This makes most experiments you'd want to do very costly, and potentially unethical.
2) Even if we accept that everyone has a logarithmic curve describing their own utility for money, this doesn't mean you can make intersubjective comparisons. To give an analogy, it's a "units" problem. Bob's utility is measured in Bobutils, and Alice's utility is measured in Aliceutils. Even if Bobutils(dollars) and Aliceutils(dollars) are both logarithmic, this doesn't get you any closer to aggregating their utility or evaluating tradeoffs (can't add/subtract things with different units).
Edit: playing minor devil's advocate to myself on point 1, it's certainly true that there's good evidence of diminishing marginal utility of money (or of anything). I was specifically responding to the kinds of experiments that lead to the claim of a logarithmic form, which I consider to have many problems.
comment 6y ago · link · parent
The flip side of this is that physically realistic shadows aren't always what you want. Any amateur photographer who has noticed just how awful hard shadows are on faces on clear sunny days has learned this lesson the hard way.
To quote a graphics professor of mine (tongue in cheek), "Physically accurate rendering is a crutch for people who aren't smart enough to cheat their way to the look they want".
comment 6y ago · link · parent
comment 6y ago · link · parent
So yes, when you collect the deferred salary it feels generous. But you were getting less salary up until that point in order to make the system solvent.
One may well prefer this arrangement, but one can't evaluate the generosity of the payment without also accounting for the cost that made it possible.
comment 6y ago · link · parent
Also, interesting tidbit: this is from the person behind the Handmade Hero project, which has been discussed here before and is a lot of fun if you're into low level / 90s style video game programming (https://www.youtube.com/channel/UCaTznQhurW5AaiYPbhEA-KA)
75.
Everything you never wanted to know about printing(mollyrocket.com ↗)
1 points · by _dps · 6y ago · 1 comment
comment 7y ago · link · parent
Birth rates in europe + descendant countries, china, korea, and japan are already at stable or slightly falling levels. So this is more like asking Africa to make the same pro-stability adjustments others have made already.
comment 7y ago · link · parent
comment 7y ago · link · parent
I regularly run long-standing 20+ instance clusters using boto, pip, and a few hundred lines of python scripts. People have been doing some version of this for ~15 years.
K8s adds a lot of conceptual overhead on top of "just write a sysadmin script". It is absolutely not necessary to have an orchestration system as soon as you're past one instance.
comment 7y ago · link · parent
Switzerland for example was a Schengen signatory. Switzerland has never allowed open immigration, work permits, or welfare benefits for people entering under Schengen terms.
So while I think you give a good example of what can happen in 50 years, I think it's very important to draw a distinction between Schengen-like agreements and what people commonly understand from the closed/open border debate.
comment 7y ago · link · parent
They do not, this is exactly the point of free software. Anyone can fork it and release their fork under a different name. Don't want to do that work? Too bad. Want to force the developers to do it? Now which party is attempting to exercise power?
The only thing the developers are doing is refusing to modify their free gift to the community to line up with other people's non-technical priorities. This is not an exercise of power — is it simply reminding people that free software contributors are not indentured servants.
comment 7y ago · link · parent
It's of course nothing like actual abuse or threats of violence but it's an emotional toll that I certainly wouldn't want to pay. I have better things to do with my life.
comment 7y ago · link · parent
I agree but I think it's good for people to know that almost any moderately successful open project will attract whiners, complainers, entitled people, and in some cases outright abuse.
From the perspective of society, having no open code is worse than having open code that's unmaintained. We're agreed here.
From an individual contributor's perspective, opening yourself up to varying forms of whining and abuse "for the social good" (and not, say, for your tenure or publication count or whatever a researcher cares about in the moment) is a bigger problem than just sitting quietly on stuff you don't want to become a drain on your life.
comment 7y ago · link · parent
Soslan is a highly motivated entry-level candidate and I think he would be a strong opportunity for teams looking to add some incremental junior capacity at a low cost.
Do check out his portfolio, which I think shows a fair amount of polish and variety for someone at his stage of career.
comment 7y ago · link · parent
So if you are interested in new languages, and especially "low concept" systems languages, I can heartily endorse this project.