8,214 karma · joined Nov 7, 2019 (7y ago) · 5,323 submissions
comment 5y ago · link · parent
I'd tweak your statement a little, or even a lot: "left undefined" most often meant "left to be defined by the compiler writers to fit the architecture of the underlying hardware, in a way that would make it easy to program to beneficially exploit features of the architecture"; and (yes) in a way "that would not be very portable, and might even be subject to change between compilers".
did the underlying machine use 2's complement? did the underlying machine have addressable bytes? big endian? 8, 16, 32 or 36 bits?
These are all things you need to know to write tight efficient code in the days of slow clockspeeds and limited RAM. C let you do that without using assembly, but by using the "undefined" features of the language, because they were clearly defined locally and were features that were very important to be easy to write code for.
consider how you would implement setjump and longjump, or even printf, or efficiently unpack or serialize bits for a communications protocol, without these supposedly "undefined features", or how you would write those if those features were actually undefined. People who put strlen(str) or a divide and a mod in the control expression for a loop would know better if they understood a bit more about the undefined features.
this is in contrast btw with some other things that actually are undefined, such as what the order of evaluation would be for complex expressions making up argument lists, etc.
I'm writing this explanation not so much to explain these technical details to noobs, but rather to get the people who understand this stuff to stop throwing around the term "undefined" with regard to C because they are cooperating in the evisceration of some ideas that are really worth exploring or understanding more deeply.
comment 5y ago · link · parent
The article we are discussing is very well summarized by its title, "'Negative intensification bias' and unintended meaning", i.e. I was "on topic".
You are dismissing my comment on a tangent about HN without considering whether the ideas of the article offer any fresh insights that would suggest some alternate goals for managing discussions in general, and whether they apply to HN.
and my comment is being treated with negative intensification bias in reaction to unintended meaning!
QED
comment 5y ago · link · parent
comment 5y ago · link · parent
In any case, though, that's not what's going on with this Korean law. Antitrust violations of existing law are generally determined by courts and or regulatory agencies, whereas this is a new law from a legislature signalling that they want to encourage a competitive marketplace in this manner. Of course, with lobbying and nationalism, it's quite possible that this law was guided by powerful Korean interests or nationalist parties who simply want to hobble foreign entities in favor of local companies: still not an example of antitrust, except possibly in the other direction.
in any case, in the US it's not monopoly that's against the law, it's that market power being used to abuse market participants or influence prices. And there is no clearcut answer, but there are "guidelines", for example if you control 70% of a market and your major competitor controls 25%, you have a good basis to say that you are not a monopoly. Notice that Microsoft invested to prop up Apple when Apple was on the ropes in the late 90's. That type of action shows how tricky and pernicious these regulations can be, Microsoft gets the excuse "we have a major competitor" and also benefits from the success of the competitor.
But that's the market share part of the equation. The additional aspects are "can it be shown that the price of the good is being manipulated upward?" So, Microsoft offering big discounts to PC manufacturers to get them to exclusively offer MS OSes on their platform: are those discounts abuse of the market?
I'm not a particular expert on this, there are many places to quibble with what I've said, I'm just trying to offer the flavor of what I thought when I read your questions.
Oh, at what point did Apple cross the line? Has Apple even crossed the line now? Is not really the question. By the time enforcement actions are taken, companies are generally well over the line. The real question is "how much can we abuse our market power and get away with it before the clamor to regulate us gets too strong for politicians to ignore? And what is the temperament of the administration in office?"
comment 5y ago · link · parent
in Japan, men and women speak slightly differently, apparently, the women speaking in a higher register for example. There was a funny article I saw in a major publication about an American in Japan who learned Japanese primarily through his Japanese girlfriend, but she broke up with him because he ended up talking "like a girl"
comment 5y ago · link · parent
I think everybody should do one as a learning exercise, thumbs up.
but I also think everybody should learn to use pointers in C, but I don't want to read about it every time. The important thing about implementing a Lisp (do it as a metacircular evaluator) is the simplicity exposes some deep truth about the language. But the simplistic Lisp expressions that you can then type into it are not interesting Lisp, except to the implementor.
comment 5y ago · link · parent
The cost of a van/camper is not crazy, internet in LA and SF is easy to come by, cheap food is plentiful if you're willing to accomodate your diet...
and there's no lock-in or insane sunk cost. "What could go wrong" for you in a country like Georgia has a lot of unkowns, vs in LA you'd pretty much know how to figure it out. Visiting friends and family, deciding to bail, etc. all easier.
comment 5y ago · link · parent
comment 5y ago · link · parent
https://www.consumerreports.org/privacy/how-to-turn-off-smar...
comment 5y ago · link · parent
IANAL so I'm not sure what level of legal "protection" employees have vs managers etc. for which levels of crimes (obviously, the janitor is not allowed to shoot people, while the accountant's assistant is not going to bear the brunt of some fraud)
comment 5y ago · link · parent
there are 1000s of packages, who has time to select a small subset of that? easier to install chubby swathes at a time.
and you can't install devel versions without bringing in many various forms of TeX
recently I install the emacs package on a system and it required python; that's sacrilege
comment 5y ago · link · parent
but there has also been recent litigation and a court has ruled that having a degree from an engineering school in an engineering discipline entitles one to use the term https://reason.com/2019/01/02/judge-confirms-that-oregon-eng...
the reason for the requirement and confusion is essentially building codes and other government regulations: if you want to build or repair a building, you need to hire people to certify the work as meeting building codes; those people need licenses. But at the same time, a company can hire a bunch of fresh engineering graduates to work a such a project and not every one of them needs a license. Unfortunately, we just have the one word engineer that applies to both. "Licensed engineer" would be a clearer distinction than "Professional engineer"
comment 5y ago · link · parent
going to etrade.com and opening an account, followed up by mailing proof of being a nonprofit? It's as easy as that, I ask charities to do it all the time.