HackerLangs
TopNewTrendsCommentsPastAskShowJobs

jcranmer

35,410 karmajoined 12 jaar geleden

comments

jcranmer
·13 uur geleden·discuss
The book of Joshua details the supposed conquest of Canaan by the Israelites, which archaeological evidence rather disfavors--there's no discontinuous horizon in cultural adaptation between the supposed Philistines and the Hebrews following Jewish dietary laws, for example, and the settlement sites just are not inhabited during the time period that they were supposedly conquested.
jcranmer
·3 dagen geleden·discuss
If we're being pedantic, investment income comes from a bunch of people who trade pieces of paper for a living deciding that a particular piece of paper is now worth $1 more today than yesterday. Well, okay, it's not paper anymore, just entries in some computer database in New Jersey or Delaware or something.

Investment income--in the form of capital gains--isn't coming from profits, it's coming from the mass delusion in the value of stock assets (which is somewhat correlated with profits, although the existence of stocks like SpaceX or Gamestop show the possible disconnects).

If you wanted to complain about the salaries of billionaires, or the stock grants on the other hand... but you said investment income!
jcranmer
·3 dagen geleden·discuss
> My Chipotle meal cost $17 yesterday. It used to cost $8. [...] make my Chipotle meal $8 again or double my salary

I don't know what the date brackets are for your meal ranges there, but the largest component of the price increases in things like takeout meals over the past few years has in fact been wage increases for low-wage workers like the people making your Chipotle meal. In other words, it's more expensive because their salaries have doubled.
jcranmer
·3 dagen geleden·discuss
I mean, a virtual ISA (think PTX, LLVM IR, WASM) is going to do a better job of giving you an abstract machine than something like MMIX. Virtual registers and call arguments/return values as nary arguments rather than fixed registers give you most of what you want, and it's easy to augment it with a large slice of primitive operations that is a superset rather than subset of assembly languages.

(There's another criticism to level at pseudo-assembly language, which is that modern high-performance processors are superscalar with cache hierarchies, which makes the analysis of execution time itself difficult from the kind of first principles that Knuth is working at. I can appreciate why Knuth is working differently from the more traditional big-O notation of typical algorithms classes, but it does need to be acknowledged that it does sap the treatise of its supposedly timeless quality.)
jcranmer
·4 dagen geleden·discuss
The Sparc and Xtensa register windows are fixed-size, not dynamic like Itanium's.
jcranmer
·4 dagen geleden·discuss
Well, even as-is, it turns out that the kind of assembly language that Knuth originally wrote it in itself had a very short lifespan. MIX assumes a single accumulator register for arithmetic, which hasn't been a common processor architecture since around the 1980s. MMIX is redesigned to be more RISC, but it also uses a dynamic register window concept (which itself I think was only used on Itanium, and we all know how that architecture went down).

And unfortunately, for a lot of modern algorithms, you're going to have dive into SIMD-like algorithms, something MMIX doesn't have. Also, a lot of modern processors have a decent suite of bitwise operations (e.g., count leading/trailing zeros/ones, popcount) that is also missing from MMIX.

The programming languages that are in favor may change from decade to decade, but so to does most of the assembly language techniques.
jcranmer
·4 dagen geleden·discuss
Upward mobility still occurs in the US, at all levels. While the advice is difficult, almost impossible, for most to apply, it is sometimes applicable.

One of the main issues is that a lot of advice is presented as an unconditional, absolute guarantee to success. A college degree was never a guarantee of future success (contrary to great-grandparent's assertion), but the push to get everyone to get a college degree has rendered its utility as a helpful marker much more useless. Similarly, the ability to start your own business is difficult for most people, but even for poorer individuals, it is possible to start, say, a cleaning service with very little assets. (At the same time, such businesses are unlikely to make a whole lot of money at the end, but you might be able to move from working class to middle class, e.g.). A lot of contractor businesses--your plumbers and the like--are going to be from the lower middle class or middle class, and you can make some good money there, although that is also likely to be at the cost of your health much sooner than you expect.
jcranmer
·17 dagen geleden·discuss
People tend to rely on air temperatures when in reality the lethality of heat is probably more linked to the wet-bulb temperature.

The human body has a natural resting temperature of about 37°C, and metabolism of course generates more heat constantly, so we constantly have to shed that heat. When the temperature is low, we can rely purely on conducting the heat into the atmosphere to shed the heat (which is probably why internal body temperature is higher than the atmosphere!). At higher temperatures, conduction is less efficient, or sometimes even adds heat load into the system (at above 37°C, obviously), so we start relying on evaporative cooling (i.e., sweat) to cool us down.

The wet-bulb temperature is the minimum temperature that can be reached by evaporative cooling. So when the wet-bulb temperature is in the mid-30s °C… people start to become literally unable to regulate their core body temperature, and the heat is lethal. Wet-bulb is largely a combination of the temperature and humidity, but unfortunately, it's not typically reported in most weather reports, so people go off of the air temperature (and the humidity) that is reported.

Which is a long-winded way of saying "the humidity matters a lot for how much a given temperature is bearable." I don't know what environment you come from purely by rural New South Wales, but my first guess is the semi-arid and thus low-humidity bush regions of the state, which means the apparent wet-bulb temperature of 37-40°C would be a lot lower than the equivalent 37-40°C for most of the humid continental climates of Europe.
jcranmer
·19 dagen geleden·discuss
The author is comparing a 1990 hypothetical compiler to a 1970-ish compiler. The late 1960s and early 1970s are essentially when all of the foundational parser theory gets laid down. By the late 1970s, we're getting into autoparallelization and autovectorization research. Monotone dataflow analysis was developed in the 1970s as well. To be a little bit glib, basically what happened is compiler theory is really birthed starting in the 1970s; if you wanted to track down most of the techniques in the Dragon book, I suspect the vast majority of them originate in that timeframe.

There is a second shift that occurs around 2000-2005-ish, which is the transition of optimizing compilers from an instruction-based semantics to a more value-based semantics, in that modern optimizers make no real attempt or guarantee to preserve the structure of code. For example, an if statement may happily be converted into an expression lacking an if entirely.
jcranmer
·19 dagen geleden·discuss
The chief criticism lies in the "Greenspan put"--the idea that the Fed would just never let asset prices fall, a policy which both bears his name and is noteworthy enough to have a detailed Wikipedia article on it.
jcranmer
·21 dagen geleden·discuss
I disagree.

For all of Iran's supposed mastery of drone warfare, do note that the damage those drones have done to the US military is... essentially nil. No ships have been sunk; no aircraft have been lost. There have been some lives lost due to a drone attack on a facility troops were staying area, but at first read, I'm going to chalk that up more to the US military generally not planning for Iran to respond at all to a bombing raid rather than drones per se being particularly effective. Where the drones have been effective have been as a form of precision bombing--exactly the same kind of missions the US military has achieved with its regular air forces, albeit at a considerably greater distance from its homeland than any drone-based force has been able to achieve.

I think many people are way too quick to point to drone warfare as the obvious future of warfare, without considering the environment in which wars operate and how it might play out differently for different combatants. The US has a general assumption of complete and total air superiority in its conflicts--and the last time it didn't have that was over 70 years ago--and the number of countries that can meaningfully contest US air superiority is unknown but very few. The lessons of the Russo-Ukrainian War--a conflict where neither side has air superiority--are thus somewhat limited for a US conflict against most of its enemies. (Although I do agree that the US military is too sanguine about not learning from the Russo-Ukrainian War).
jcranmer
·21 dagen geleden·discuss
SpaceX's S-1 listed its expected TAM and did break it out by segment. $26.5 trillion to AI, $1.6 trillion to connectivity (Starlink), $0.370 trillion to space launch. https://www.sec.gov/Archives/edgar/data/1181412/000162828026...
jcranmer
·21 dagen geleden·discuss
> The US military executed nearly flawlessly

The US military exhibited numerous flaws. To cover numerous flaws not yet covered by other replies:

* Required the deployment of assets beyond their useful operational capability (which caused the aircraft carrier to catch fire).

* Demonstrated that their targeting list is not only based on outdated information, but failed to update that information when informed it was outdated (which led to the bombing of the elementary school).

* Failed to anticipate literally the one military contingency everyone expected Iran to do--close the strait. Hell, even after it was clear that was happened and everyone was screaming "what are you going to do about it?" the answer was, shockingly "absolutely nothing."

* Failed to adequately secure supply lines to ensure that military units in the area have sufficient food. This is literally logistics 101 stuff.

* Defined operational success criteria not based on results achieved but on effort spent--in other words, how many bombs you launched rather than whether or not the targets you wanted destroyed were destroyed.

* Definitely several C2 issues we're not entirely privy to, given the midair collision that cost a tanker, and the loss of an AWACS unit.

The strategic issues are even more myriad, but since strategy is supposed to be largely a civilian, not military, decision, it's not really the military's fault. Except I will note that a lot of civilians in this field do come from ex-military background, and there does seem to be a major recurring problem that CENTCOM is producing a lot of people with really bad strategic judgement that is partially responsible for this debacle in the first place. Really to the point that we should consider blackballing everyone from CENTCOM from ever having a military or civilian defense job of importance ever again.
jcranmer
·22 dagen geleden·discuss
An integer add, sub, or shift is 1 cycle of latency; integer mul is generally 3 cycles; integer div is lol-that-is-slow. Floating-point adds, subs, muls, and fmas are generally 4 cycles, with div being lol-that-is-slow (but generally faster than integer division because your divisor and dividend have fewer bits).

So fixed-point addition and subtraction are definitely faster, multiplication is a wash if you're doing binary-based fixed point (but slower if you're doing decimal-based fixed point), and fixed-point division is definitely slower than floating-point division.
jcranmer
·23 dagen geleden·discuss
The TraceMonkey paper was on my qual reading list, and my quals happened to be around the time TraceMonkey was ripped out of SpiderMonkey. I was talking with one of the developers at the time (I think it was Jason Orendorff?), who said that tracing just doesn't work out, but there was limited circumstances where he thought it might work out... but I've completely forgotten what those circumstances were.
jcranmer
·23 dagen geleden·discuss
Well, course numbers are regular enough that you can look up what the "intro compilers" course is: https://www.cs.cornell.edu/courses/cs4120/2026sp/?schedule

The short answer is that compilers is basically broken up into two courses, with the first course largely being the minimum necessary to build a compiler (lexing, parsing, codegen, register allocation), and the second course being how to build an optimizing compiler.
jcranmer
·23 dagen geleden·discuss
So far as I'm aware, we don't know that inference for free users is counted as cost of revenue as opposed to sales and marketing.

With sales and marketing at 5.7b, which seems unusually high compared to cost of revenue, I think it's deeply irresponsible to ignore that when considering how profitable OpenAI may be. Even taking a charitable interpretation, OpenAI is having to spend considerable budget (more than their gross profit!) to keep people paying for using their services. The less charitable interpretation is that they're deeply unprofitable and they're pulling every legal accounting trick to hide the sources of unprofitability.
jcranmer
·23 dagen geleden·discuss
> If it was not ready they would not have been able to raise money at a $126 billion valuation.

Oh, in the current market, you can raise obscene amounts of money on pure hype. Look at how much money SpaceX raised on an S-1 prospectus that everyone looked at and went "this is pure fantasy."
jcranmer
·23 dagen geleden·discuss
People have been saying that self-driving cars are so imminent that we don't need to bother making any improvements to public transit for... at least 10 years, probably closer to 15 years at this point. It's still too premature to shape your entire land use planning around still largely theoretical predictions of how the technology could evolve.
jcranmer
·23 dagen geleden·discuss
In the US, when you start to get to planning to have a larger family, especially the size of family that would necessitate 4 bedrooms (multiple children, or maybe having a parent live with you), most people expect to move out of an apartment building into a house anyways (maybe detached single-family home, maybe duplex, maybe condo). So there's just not the demand for 4-bedroom apartments or even 3-bedroom apartments to a large degree.