HN user

Varriount

549 karma
Posts2
Comments195
View on HN

I really have to agree with the "easier to debug" part. I one time had to debug a particularly nasty networking issue that was causing HTTP connections to just "stop" midway through sending data. Turned out to be a confusion mismatch between routers and allowed packet sizes. It would have been so much worse with a non-plaintext protocol.

That assumes that any amount of capitulation would have persuaded Trump to support Ukraine, and that any reasonable deal could have been reached. I obviously can't say what could have been, but every sign Trump (and those in his administration!) has given up to this point indicate that there's only one outcome they support, and that's Ukraine surrendering all or some of its land to Russia, along with a deal barring Ukraine from NATO.

Could anyone explain this sentence in the article?

  It will matter less once models similar to R1 are reproduced without these restrictions (which will probably be in a week or so).
Is this talking about training a completely different model, modifying the existing model, or something else?

It always bugs me when I see that pattern in JavaScript, because each `map`, etc. call is an array allocation. Yeah, yeah, I know that the VM's memory allocators are likely optimized for fast allocation, but that doesn't make the allocation completely free.

I do agree that the hyperbole often seem in the media ("the most important decision", etc.) is quite ridiculous. That being said, keep in mind the assumptions you make when thinking long-term.

For example, I've had it argued to me that that homosexual individuals shouldn't be allowed civil unions, as doing so would lead to the bankruptcy of the federal government. The "long-term thinking" here was that allowing unions between homosexual individuals would, at some future point, lead to allowing unions between polygamous groups*, which would then lead to people joining in unions for tax purposes, which would then lead to a disruptive loss of income for the government.

Prevention of HIV 2 years ago

My sympathies for your situation - it's difficult to have to see such terrible diseases take away those we love.

That being said, are all individuals in a position to take preventative measures against HIV? And does research of a disease (and ways to treat it) only benefit development of drugs that treat that disease?

Even if it isn't scientifically rigorous, I feel it's ( slightly) better than a horoscope in that it at least provides an opportunity for self reflection.

On the whole, one of the difficulties with tests like these is that we tend to have multiple "roles" we take on in different situations (there's a psychological term for this that I can't recall). We might be analytical and impartial at work, but emotion-driven when interacting with friends and family. It's difficult for tests like this to take into account the fact that we might feel differently about a question depending on the role we are currently in.

As far as I know, Ukraine doesn't have any leader like that. Could you provide more information?

Also, according to https://fiscaldata.treasury.gov/americas-finance-guide/feder... and https://www.cfr.org/article/how-much-us-aid-going-ukraine , the amount spent on Ukraine as a percentage of total government spending seems to be around 3%, not taking into account the fact that some of that might have been spent anyway (for example, old munitions that would have otherwise been replaced were sent to Ukraine).

I agree that it's unusual (and likely scares off some), however it's not entirely case insensitive. First, dashes/hyphens (`-`) can't be part of identifiers. Second, the first character of an identifier is not case insensitive.

So:

FooBar != fooBar

FooBar == Foobar

Most of the developers in the community are ambivalent about it, because it rarely ever causes problems. If you end up misspelling an identifier, you're nearly always going to get a compile-time error due to static typing anyway.

Python with Braces 2 years ago

Yes, but: - Is having everything be an expression by default a good design choice? A not uncommon idea in programming language design is that certain language constructs (for example, variable assignments) are better off as only statements, as their potential for confusion outweighs their usefulness. - Why should the burden of additional syntax be placed on the most common scenario? Statements (or the desire for statement-like behavior) tend to be far more common than lone expressions. Why not require lone expressions to be specially marked, rather than statements? - Do the benefits of this approach outweigh its costs? Is elegance a desirable trait, and what is its importance relative to other values, such as clarity (how accurately and easily is the writer's intention conveyed to readers) and user experience (what is the potential for this syntax to be forgotten or misused).

Personally, I much prefer the design Go uses (where semicolons are implicitly added at the end of newlines following an identifier, numeric or string literal, keyword, or operator).

Python with Braces 2 years ago

I can understand braces (to an extent...). What really confuses me are new languages that still require semicolons at the end of expressions/statements.

Software galaxies 2 years ago

Although I agree that navigation via device orientation makes some navigation aspects difficult, I also find it oddly fascinating. It's like my phone has become a window into another world.

React isn't a way of structuring code though. It's a whole (huge) framework dedicating to making web apps/pages. And most of the time it seems to be used to replicate functionality that the browser can already natively do (for example, navigating to another page).

You want a good example of how a non-react website and its code might be structured, look at GitHub. At least from a user perspective, I've never had a problem using the back button or ctrl-clicking links while navigating GitHub - which is not something I can say of most other React and heavy-js websites.

Or better yet, just... Navigate to a new (real) web page? Maybe passing some state via URL parameters? At least then the back button has a reasonable chance of working correctly.

I could totally see it being something stupid in how Android manages file associations or something. The default file managers tend to be fairly crippled and only actually show a subset of files present.

Huh, I wonder what the problem was. I semi-regularly send files between my Windows laptop and my Android phone. I do recall never being able to get that functionality working properly with a Mac though.