HNHacker News
TopNewBestAskShowJobs

tgb

5,680 karma · joined September 9, 2012

submissionscomments
tgb··on Show HN: A new daily word puzzle
Don’t worry, it’s nothing like Spelling Bee at all except that they’re both word games. Spelling Bee is more similar to Boggle than this. I think the other commenter misunderstood your game.
tgb··on How to write better scientific code in Python?
Well the integral doesn’t work for a Cauchy distribution either so that seems a little unfair for criticism. And this kind of procedure is not unusual for more complex distributions that have no well-understood density function to integrate, like the results a physics simulation, aren’t they?
tgb··on Scientist busts myths about how humans burn calories
Sadly, muscle only burns 12.6 kcal / kg /day at rest [1]. If you put on an impressive 20kg of muscle that would only increase total expenditure by 250 kcal a day. If you want your muscles to burn calories, you'd better be exercising them.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2980962/

tgb··on Scientist busts myths about how humans burn calories
You're assuming that breathing rate is proportional to CO2 breathed out, which I doubt. I barely breath any faster while running than while just sitting here, much less than 3x.
tgb··on /r/antiwork: A tragedy of sanewashing and social gentrification
Then it's odd to call her the "single most accurate representative" then if you agree that Doreen is not representative of the users or the movement anymore. The historical information about the sub was well-researched and interesting, though.
tgb··on /r/antiwork: A tragedy of sanewashing and social gentrification
It’s in paragraph five, stated very very clearly.
tgb··on /r/antiwork: A tragedy of sanewashing and social gentrification
I think this article is trying to have its cake and eat it too. If the sub has been sanewashed and overrun by average left-of-center opinions and become wildly popular, then how can it be true that Doreen still represents the movement? The movement changed, as the article points out, and therefore Doreen was a terrible choice of representative. The fact that she predates the change is exactly the reason she is not representative. Instead the article tries to argue opposite. I have to admit that the author appears to be doing everything possible to make me assume this is due to their partisan bias as hardly a sentence goes by without a verbal jab.
tgb··on DNA has a 521-year half-life (2012)
Your body does this itself. You have two copies of every chromosome and they’re practical identical. A break in one will be repaired by using the other chromosome. Similarly, even a base change in one strand of one chromosome will be repaired based off the other strand (with a chance that the wrong strand is chosen tho). DNA repair mechanisms like these are exploited by CRISPR and other gene modification strategies: break the part you want to change and then trick the repair mechanism into making the modification you want by providing it with an appropriate template to work off. (Not all CRISPR based techniques use this.)
tgb··on Why routing alogrithms from different maps don't always give the same route
Google Maps now defaults to that last options (or at least displays it by default, I'm not certain it's always chosen). See here [1] for example. I would be interested in seeing a 3rd party assess how accurate that metric is.

[1] https://techcrunch.com/2021/10/06/google-maps-launches-eco-f...

tgb··on A high-dimensional sphere spilling out of a high-dimensional cube
If you want to define volume in D-dimensional space then you need to choose what the unit volume is, for example that a unit hyper cube has unit volume one. (That choice is relevant for these discussions and you could equally have chosen a unit ball to have volume one since you're defining D-dimensional volume you get to choose.) But a probability distribution is always normalized to integrate to one, which means either choice of volume definition will give you the same uniform probability distribution on the ball. So there's an extra arbitrary constant to choose for volume that isn't important in the probability distribution even though you define the probability density in terms of the volume.
tgb··on A high-dimensional sphere spilling out of a high-dimensional cube
It's no more ill defined than volume itself (and less so since it doesn't need an arbitrary scale).
tgb··on A high-dimensional sphere spilling out of a high-dimensional cube
Perhaps you can be more specific since I don't see the claim here being discussed there.
tgb··on A high-dimensional sphere spilling out of a high-dimensional cube
I'm not certain I know what you mean, but it doesn't seem to work. If you mean to take epsilon neighborhoods in Euclidean norm of the axes, then I'm skeptical that that contains most of the mass of the sphere, since simulating random points on a thousand dimensional sphere doesn't seem to give points near these axes.

If instead you mean most of the mass of the ball is in the points which have all but one coordinate within epsilon of zero, then the intuition doesn't follow. It's equally true that you get most of the mass considering just points with all coordinates within epsilon. And for that you get that the mass of the ball is concentrated in an epsilon cube at the origin, which excludes exactly the spikes that you were basing the intuition on. The weird thing in this thought experiment is the epsilon cube not the sphere. For example the epsilon cube contains points much further than epsilon from the origin and so it's maybe not surprising that it contains most of the sphere.

tgb··on What would it take to recreate dplyr in Python? (2020)
I think it helps coming from another direction where dataframes are fancy 2D numpy arrays or a fancy 'dict-of-dicts'. I do like being able to query from index with .loc. Nonetheless I basically agree with you.
tgb··on Simple.css – A classless CSS framework
I was looking for something just like this two weeks ago and came up empty due to Google being filled with just the huge frameworks like bootstrap or with SEO listicles with no content. It's disappointing how hard it can be to find stuff like this. (I guess "classless" is the keyword I wasn't aware of.)

Anyway, I'm confused about what makes something a CSS 'framework'. I feel like I just want decent defaults more than a framework, and that seems to be what this basically comes down to. Is there anything else to it?

tgb··on Dark Web – Justice League
You might enjoy "Legal Systems Very Different From Ours" by David Friedman.
tgb··on Switching to an N95 mask gives a 75x boost in Covid protection
You're misreading that comment. "Better" refers to how well the mask functions at blocking the virus, not to a moral judgment that beards are sinful.
tgb··on Non-Fungible Olive Gardens
Also not a lawyer but I think the problem here is that the thing being satirized (NFTs) is not Olive Garden and so they don't get protection from the olive garden copyright. Eg this satire of the OJ Simpson trial done in the style of Dr Seuss: https://www.imaginelaw.com/cat-in-the-hat-parody-infringes-o...
tgb··on President Daniels responds to Chinese student's harassment
The headline from CNN I found is: "Finally some relief: Gasoline and natural gas prices are falling". Does that sound particularly positive? Not really, it actually emphasizes how bad it had been and how it's something that even needs relief. You'd rather they inject politics into their statement of fact headlines like your example? Is that even true? It's also been high recently in Europe so I'm skeptical.

This example is grasping at straws to find an example of bias in the media. Please reconsider that this bias may be much smaller than you think if this is what it manifests as. The comparison to 1984 is absurd. They're saying "2+2=4" and you're saying that shows bias since that's what Biden says.

Edit: I thought to check what Fox says about gas prices and of course the top hit for that was "CNN gushes over falling gas prices". Yikes, talk about bias in news and I'm guessing that's where this crazy idea comes from! I'll take CNN over that any day, and you should too.

tgb··on President Daniels responds to Chinese student's harassment
I'm confused by your complaint. Gas prices heave generally been heading down recently as best as I can tell. Gasbuddy.com/charts
tgb··on Tqdm (Python)
How does this compare to snakemake?
tgb··on About Three-in-Ten U.S. Adults Are Now Religiously Unaffiliated
My impression is that that was kind of the case a decade ago and now basically isn't. Though I've had a slightly feeling it might be returning, but regardless I don't expect it to go anywhere. Atheism is becoming too boring and common place for the angsty side to be so alluring.
tgb··on Sleep technique used by Salvador Dalí works
I get this too. While awake, the sounds I hear on my own mind are just basically the signs I could make with my own voice. I can imagine a song by imagining humming or singing it, but I cannot recall what the actual recording sounds like. Yet there's that switch that flips as I go to sleep that I notice occasionally where I can hear crystal clear music. It's beautiful and I can't recognize the music.

I also get this, much more rarely, with images. While awake, I can't truly picture what I imagine, it's like I just have a notion of what is there, like motion and shape, without really seeing it, or at best a momentary flash of a picture. But when drifting to sleep there is a moment where the images become real, with color and texture and detail far beyond what I can imagine while awake. It's shocking and wakes we up when I notice it happening.

What is this switch? How can my brain have such discretely distinct modes of operation? Falling asleep itself seems so much more of a continuum.

tgb··on In 2019 40% of San Francisco traffic fatalities are from left turns
It substantially increases pedestrian wait times though. In a grid city if I'm headed north east, I opportunistically take north or east, whichever is available. So I have no wait time at all for most of my journey, until the part when I have to go only north (say). A grid makes this the typical situation and placing a wait at every light makes the journey very tedious. It also slows down cars, of course. I'm sure this is the main reason it's not done - whether it's worth the risk, I'm not sure.
tgb··on Hackers are spamming businesses’ receipt printers with ‘antiwork’ manifestos
The 'find another job' aspect is one of the most common themes on that subreddit. It's full of people telling their manager they don't have to put up with any BS because they can find another job by tomorrow, and then doing that.

If you want a counterexample to your insistence that they don't want any jobs, here's one I found in thirty seconds of browsing the front page of r/antiwork:

https://www.reddit.com/r/antiwork/comments/r8pkgk/i_think_i_...

I have a really good job with a good manager and r/antiwork has given me a lot of sympathy for what too many other people have to put up with.

tgb··on Testing Phone-Sized Faraday Bags
This is what I wondered about back in physics class. Does that prove the universe is not compact? If it were, then inside-outside is the same. But surely that's not enough to know the shape of the universe. My 'resolution' of this was to say that the universe is surely very large and so the time to reach equilibrium will be very very long. So the experiment cannot really be run to completion.

But would a point charge outside a conductor cavity ever come to equilibrium where it does generate an electric field inside the conductor cavity? Assuming compact but very large universe. It seems strange but I guess it would.

tgb··on Testing Phone-Sized Faraday Bags
Interesting results. The article states that Faraday cages are no directional. My physics 101 understanding of them was otherwise. You show they work by integrating over the surface of the cage and saying that's equal to the charge within the surface. But you don't say it's equal to the charge outside. Indeed it couldn't possible, since that charge could be light-years away and steady state would never be achieved. Now that was for electrostatic which isn't really what we care about, if I remember correctly.

Wikipedia also states they are more effective at blocking incoming than outgoing signals. Can anyone clarify the situation?

tgb··on The Party Math Trick
Your example does work for this.
tgb··on The Catherine Project: A new experiment in liberal education
I think they're meant literally (actual vice presidents of universities and actually climbing walls in a rock climbing gym) , as examples of the overhead that is present in most universities.
tgb··on The ‘Zelle fraud’ scam: how it works, how to fight back
Interesting. The attack seems to be primarily on people who don't already have Zelle so in the analogous case in Europe wouldn't the attacker just be able to setup the app as the victim and authorize the transfer themselves?
← PreviousPage 2 of 34Next →