Preferences

jnordwick
Joined 2,704 karma
https://github.com/minimaxir/hacker-news-undocumented jnordwick@gmail.com

  1. I'm doing this year in K2 (after a long hiatus from K). Is there a K4/5 binary? ATW gave me a K2 binary, but I miss some of the K4 and later functionality):

    https://github.com/jnordwick/aok2024

  2. I'm doing it in K2 this year (a language that has a single data structure: a vector). If you can do it in K2, you can do it in Go.
  3. You can put a window that covers the bottom half of the content the defaults to all assaults being allowed also has a way to customize which assaults you would like. It shouldn't be possible to uncheck necessary assaults for the website might not work.
  4. Can't this be solved to some sort of DP way of solving the sub problem?

    Do the payout between 0 and 1 as the percentage of the amount.

    With a range of 1 to 1 to pay off is obviously one

    With a range of 1 to 2 the payout is .5

    At three values it becomes more interesting. There are two strategies for the candidate either a binary search for the endpoints.

    At four values you still have one level of binary search possible but after that it devolves down to the two value problem.

    At five values. If the interviewer thinks the candidate would choose binary search and it becomes too too value problems on each side after removing the middle element.

    There's definite problems with this but I wonder if he's already possible pay off matrix

  5. I hate that. It turns the problem into one of those lateral thinking puzzles we were told some basic information and then the answer winds up being something totally wildly different. It wasn't being very random in the end not being very productive
  6. Does anybody else always read this as Hyrule's Law?
  7. I took cs61a at Berkeley as my very first computer science class I couldn't program I never tried to so scheme was my first language.

    My ta told me that everybody should take the class twice when you first come in and when you're graduating.

    When you first take it especially if you know other languages like C at the time you don't get the full depth of the problems you're given a great introduction and you think you understand everything but you don't realize the depth of complexity. Message passing the metacircular evaluator, continuations as the basis of all flow control, etc

    You think they are neat tricks that you understand the curriculum because you can do the homework you don't understand how those neat tricks are really the basis of everything else you'll do.

    When you're graduating you've had time to go through all your classes you realize just how foundation was principles are and you get so much more out of the book.

    Well I didn't take the class a second time I need help grade and TA for a couple semesters.

    I work as a quant developer and in trading now and even though my field has nothing to do with that I still think it's the basis of me as a developer.

  8. I thought the Branch Target Predictor on x64 was global, not local, and it has to kick in before decode so even direct branches can be mispredicted. Branch prediction is 2 parts - the conditional predictor and the target predictor. The conditional predictor is actually per 64 byte instruction block (so if you have a few branches consecutively they share branch predictor entries and can step on each other. the target predictor uses a global history and needs to happen very early to keep the front end fed.
  9. CH definitely has more installations. not sure about which pulls in more revenue. KDB installations will run you $250,000/yr on the low-end for just the software license. Not sure how that compares.
  10. Read that link. The BLS says "yes we try to adjust for the substitution, but really we are trying to calculate a basic level of satisfaction:

    > In January 1999, the BLS began using a geometric mean formula in the CPI that reflects the fact that consumers shift their purchases toward products that have fallen in relative price. [It continues by saying it allows substitution withing categories and not between categories.]

    This is exactly what I was saying. It has become a cost of living index, not a measure of inflation anymore. The hedonic adjustments can be laughably hand-wavy (it is a very difficult problem on how you measure inflation when using CPUs -- the real answer is you shouldn't and CPI's basked is a bad bad way to do it). That FAQ is always pretty funny and defensive (a lot of "give us a break -- it doesn't really affect anything much").

    > Even for people who don't own their home, new york has rent control, which provides similar inflation protections compared to owning a home.

    This is one of the huge issues. (1) Not sure if you live near NYC, but ask any new yorker about how much rent control has helped -- the answer is usually pretty low. don't have a heart attack looking at this rental rise in the last 5 years https://comptroller.nyc.gov/reports/spotlight-new-york-citys...

    However that isn't the important part - rent control shouldn't effect measures of inflation -- this is precisely why CPI is bad. You can't legislate away inflation, you mere push the money around and prices rise asymmetrically but you still have the fundamental issue that CPI no longer even tries to measure -- too many dollas chasing too few goods. So you stop some of using those dollars on housing -- they just bid of something else instead.

    CPI is a terrible horrible very bad measure of inflation. Its been that way since the 70s at least when the concept was turned on its head.

  11. You're making a couple mistakes on this.

    The first is you're using the Nationwide averages as opposed to the regional numbers for New York where a lot of these increases are much greater than on the nation.

    The second thing is the way it includes housing is by using a thing called the owners imputed rent. And what that does is it tries to back out the rental from a housing unit. The problem is in New York City rent has been rising way faster than that.

    30 is the cpi's consistently underestimated a number of its own provisions because of the way it does hedonics and substitution. It basically says that while meat might have risen 50% people switch to fish now and it uses in lower value for inflation.

    The CPI over the last 30 years have been so massively game it's almost useless anymore

  12. kdb+ isn't in there either, and that is more important than CH I think. KDB is boring, just uses a placeholder. I think it might be because these two do it in a boring fashion.
  13. I thought if I shook him enough, he'd stop crying. I was kind of right.
  14. If it's in the footer, then I'm pending to the columns out of the question it seems without moving the footer.
  15. TL;DR we had some buggy C code and fixed the bugs then rewrote it in Rust and wow we didn't have as many bugs... that we already fixed.

    Rewriting something is not the same as the first effort. Try green fielding see how long it can she develop it once you already had the first basic C code it's pretty trivial to convert it to rust most of the time especially just using other libraries.

    And imagine that. You fixed all the bugs in the prototype and the second rewrite didn't have as many bugs. That's his nothing about the second versions language it just says you fixed all the bugs in the prototype.

  16. >Too few butts

    /Dr Mephisto enters the chat/

  17. They're supposed to be separate Nations. State government even invade these supposed sovereign Nations enforce their own laws on them. California had a ban on slot machines in went into the reservations and remove the slot machines from them because it was against California law.

    There's thousands of contracts (treaties) that have been broken and voided by the courts as being essentially too old or unenforceable in a modern era because of other other issues such as local populations.

    They can't make their own property laws. They're not allowed to own the land and it must be put to trust for the entire tribe that way they can't use it for anything like loan collateral they can't sell it to somebody they can't start businesses easily since that form a collateral isn't available to them. The bureau of Indian affairs forces various Federal regulations on them they shouldn't have to oblige.

    The federal government basically tells them what their culture is and often groups fighting to defend those imposed laws are pure whites who have no idea what they are talking about and will not let them improve and advance at all because they have this romantic notion of what it means to be an American Indian I want them still living in hide huts so they can go visit them like a zoo. I shouldn't have to bring up brave New world for this.

    Look at the big kerfuffle over the Seminole mascot at the University of Florida. There are many from the tribe that actually liked it because it brought recognition to the tribe but a bunch of do-gooders came in and made a big deal about it even though they had no connection to the tribe. It should have been something for them to discuss and not have to worry about anybody else coming in and trying to force their opinion.

    It wasn't too long ago that the trail of tears and forced relocation was the policy we even have the $20 bill with the guy who did that.

    You need to rethink what it means to be a sovereign Nation. If the EU came in and took over the US basically said it's for your own good what would you think?

  18. > cravings for things like addictive drugs also increase for a while as you withdraw.

    This is in party because once you become a heavy user, your body stops producing various chemicals or becomes accustomed to larger amounts to meet its baseline (such as dopamine and other neurotransmitters). When you stop your body slowly start producing those again and has to become accustomed to the new baseline. That craving is exactly your body telling you that you are missing something.

    Is there anything that shows vegetarian and vegan dieters increase the production of chemicals associated with what they are refraining from? Most drug addictions deals with chemicals the body can make itself, but it the substances lacking in a vegan diet would seem to be things we cannot produce.

    There are large populations that have eaten that way their entire life. I wonder how their body chemistry is different than those that started veganism later in life. They don't have to adjust. If they started eating meat, what changed in iron or protein synthesis do they go through?

  19. The title of the article doesn't match the rest. Productivity is getting more from the same inputs, not getting more with more inputs.

    First, there is very little data and just a couple conjectures thrown around. There isn't much substantive evidence of what it claims.

    Second, even if people aren't commuting, it just assumes people work the same hours, but many people are probably working longer hours so you can't tell the impact on WFH on productivity.

    Third, it doesn't look at outputs at all, especially the output of the company. While some (or even all) individuals might produce more, the group as a whole will have less communication and each employee might have less context of what else is going on in the company, so much of their contribution might not align as well with company objectives. Management of all the individuals would be more difficult and the company would be less of a team. This would support the idea that the increased productivity is only available to well managed groups. I think this sounds much more likely.

    Fourth, much of the increase explained is from widening the labor pool. It explicitly mentions those with disabilities, stay at home mothers, and larger geographical inclusion. This isn't increasing productivity, just increasing the labor input.

    This is more an opinion piece with some hand waving than actual proof

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal