Better HN
topnewbestaskshowjobs
Log inSign up

compsciphd

2,297 karma · joined Feb 15, 2012 (14y ago) · 1,235 submissions

Submissions

comment 11mo ago · link · parent

except arguably they should have it in their DNA to adapt. How does the company built on mail order not adapt to the new mail order reality.

comment 11mo ago · link · parent

slight edit: unzip with option to keep the broken file (with the hope, unsure if this is true) that unzip can be resilient in the face of errors and keep on unzipping. (I know from experience rar is).

comment 11mo ago · link · parent

I'd wonder about the performance impact of windows defender and the like.

I'd really wonder if one took a game that was on both xbox and linux. constructed a linux box to have basically as close to specs as on the xbox and then benchmarked the games against each othe, what would would see.

I'm not saying that linux is better than windows or that windows is better than linux, just that I think its very hard to make an apples to apples benchmark comparison and there are constant services on windows that run that one doesn't generally have running on a linux system that can cause problems.

comment 11mo ago · link · parent

ddrescue to image the CD. mount the image. copy off files (bad sectors will all be 0). unzip and see what you got. if its a small amount i'd bet you would have something usable if not eperfect.

comment 11mo ago · link · parent

i doubt it, the author got sued and has no desire to be sued again.

comment 11mo ago · link · parent

So I've recovered a lot of damaged DVDs and I think in my research it showed that DVDs also do ECC across larger than the 2048 data blocks (maybe 16 of them?)

So when I used ddrescue, I would read in that block size (instead of just 2048) as if I would get lucky and get a good read (or enough signal that ECC could repair it on the large block).

This was very effective at recovering DVDs with repeated reads vs when I had previously done it with 2048 byte reads only I would end up with 2048 byte reads scattered all over (which if ECC is done on 16x2k 32k byte block size, means there was a lot of data I was leaving on the floor that should have been recovered on those reads).

Ddrescue was also good for this in the sense that if I was trying to recover a DVD (video) from multiple damaged DVDs, as long as they were not damaged in the same location, i was able to fill in the blanks.

Perhaps you can correct me about the 16 block mechanism, perhaps it was just random that it worked and my understanding at the time was wrong.

comment 11mo ago · link · parent

I'm responding to "being a mouthpiece of Hamas" that you reject. This is one case out of many where she parroted their line completely without any critical thinking. Hence, why I think its a fair statement.

With all that said, I doubt (be happy to be proven wrong) you complained at all when europe and the US "extra-judicially" sanctioned Israelis (I personally don't care that they got sanctioned). Heck, I'd hazard to say that you would welcome "extra-judicial" sanctions on many Israelis. You believe its a "genocide", so if the only available tool to stop the "genocide" is extra-judicial sanctions, would you really say "no, we can't do that!". I don't believe you would.

Or what about all the russian oligarchs that have been sanctioned. did that bother you to say anything? Again, doesn't bother me that they got sanctioned, but if you want to die on the "extra-judicial" hill, I believe you are going to get buried by all the bodies of all the sanctions you ignored that you tacitly supported.

as an aside your "obvious" explanation, was obviously not true in retrospect, so why was it so obvious that one had to make a statement that one in retrospect obviously did not have the information to make. to me its just as obvious that she doesn't care about the truth.

comment 11mo ago · link · parent

I proposed something else. This occupancy tax is paid by the legal person who has the right to reside in the unit. Either the legal renter (and this would require leases be recorded) or if there is no renter, the entity that is legally allowed to reside in the unit is the owner. There needs to be no grace period.

Subtract this amount out of property taxes owed today so we have 2 taxes that would sum, and can even discount the occupancy tax of the renter based on their needs (old, disabled, poor....)

comment 11mo ago · link · parent

one can combine the above issue with the force recording of leases to require every unit to pay a "residence" tax that if not recorded as being occupied by someone other than the owner is assumed (even if owner has other place of residence) to be occupied by the owner.

This does a few things. 1) it encourages the owner to rent out empty places, as empty places are no longer simply lost opportunity cost, but actually cost money in what they have to pay in this tax 2) requires people record who is legally living in a place to avoid these issues 3) enables areas to discount this tax for poor / disabled (or other logical reasons that they already have procedures for) for people who live in the area that they want to support.

comment 11mo ago · link · parent

I think all leases (or at least rent stabalized ones) are recorded in NYS (I remember being able to get the recorded rent history of my apartment which included the names of all the previous renters), so it is possible for this to occur.

comment 11mo ago · link · parent

so I used to think this (till this past week), it's not quite true. Yes, ther are images of showing child skulls with lots of teeth. those are generally hyperdontia.

A regular child skill looks more like this x-ray

https://ccdcsmiles.com/userfiles/651/images/IMG_4253.jpg (from a dental clinic I found while searching).

Yes, you can see the adult teeth, but not all of them, and not like the hyperdontia cases.

comment 11mo ago · link · parent

boiling is more than enough to kill bacteria in general (Ex: if one had the ability to bring chicken instantly up to a temperature of 160F or so, it be considered perfectly safe. In the sous vide world one might only want to bring it up to 140-150F to not overcook it, and therefore would hold it at that lower temperature for some longer time).

With that said, this is only for bacteria. Bacteria also can produce spores (Ex: the botulism toxin produced by a bacteria, which is produced in an anaerobic environment, and exactly why sous vide cooking at low temperatures can be dangerous, as the anaerobic environment that it can thrive in and if kept at temperaturese in the danger zone where it can thrive can result in the production of botulism that won't be later killed/destroyed by higher temps that kill its producing bacteria)

comment 11mo ago · link · parent

yes, it's bad to bomb hospitals, but before you go all gotcha, war is bad in general, that doesn't mean war is always wrong or evil and what occurs in war is always evil or wrong. If the enemy is using a hospital as cover to fire at you, it's bad that one has to perform attacks that put it at risk, but its not evil.

We know for as close to a fact that we can get that gazan hospitals were used as cover. (bbc, nytimes et al reported from under hospitals in places that Hamas used for shelter and stored weapons and equipment)

But what is especially evil, is accusing people wrongly when you knowingly accuse them when you know you have no ability to validate your accusation. Which is clearly the case with the accusations launched against Israel in regards to the Al-Ahli Arab Hospital explosion.

But to many people it doesn't matter, to paraphrase the word they made about on the Colbert Report, it's all about "truthiness", one doesn't really care if this thing is true or not, the fact that it feels true and fits with one's general perception of what's true or not and good or not, is all that matters.

I even might go a step further, those who accuse someone knowingly that they don't know the truth, bare moral culpability for bad thing the person they accuse does is the future.

It's human nature for someone accused of bad things falsely to simply not care in the future. "I tried my best to do right, but they falsely accused me, I am simply not going to put as much effort into doing right in the future, as it doesn't matter".

Personally, I disagree with that sentiment, and is very much part of my internal criticism at somethings that have occurred, but I also think its a very human reaction and therefore while it doesn't excuse those who do wrong because they simply don't care anymore and doesn't reduce their blame, it also places moral culpability on those who made the knowingly false accusations. Much like if I would falsely tell someone that "So and So killed your kid" knowing that it would make them go crazy and take revenge.

Life is complicated, and human reactions to the complications of life are complicated. But when an outsider inserts themselves into a complicated situation and presents lies about it in the name of "doing good", they might very much be evil.

Or to put it a bit differently, if one believes that that Bush Administration members were evil for spreading lies that led to the Iraq Invasion, why is Francesa Albanese and her cohort fundamentally different. Why are their lies better and more justified?

comment 11mo ago · link · parent

https://www.ohchr.org/en/press-releases/2023/10/gaza-un-expe...

This is her statement essentially saying Israel bombed a hospital that we now know as close to a fact as we can, that they did not and that in fact it was a palestinian rocket that fell on the hospital.

But lets say we can't know that for a fact.

She was still parroting Hamas's line without any ability to validate the statement.

This statement amongst many demonstrates that UN "Experts" have zero credibility in the statements they make.

comment 11mo ago · link · parent

yes, I was using Linux back then too :). Linux could do it in 1997 as well. I seem to recall (but we are talking 30 years ago so memory might be faulty) of Debian having a 1 disk install for its first release of 1.1 (and pre-releases of 0.x) if one was installing it over a network. by definition then this 1 disk was a fully working linux system on a single floppy.

my conceptual floppy was less to demonstrate it fitting on a floppy (that was just the carrot), the idea was to show how one could dynamically "rewrite" shared libs to only include the symbols one needed to run the apps and have them work.

argument being, static linking a single binary is smaller than dynamically linking it and including the shared library, but as one adds binaries, the duplicated code will eliminate that size advantage. But shared libraries (especially something like glibc) are large and apps dont always use vast sections of them), so what if one could iterate over all the dynamically linked apps one wanted to include and only include the sections of the shared libs that were needed.

So the project was demonstrating that. In practice, uclibc was smaller than the sliced up glibc (and at least for this project, worked just fine)

comment 11mo ago · link · parent

this is fundamentally false. The LGPL was created because of static linking where GPLd code would be in the distributed binary.

It's an open question (the FSF has their opinion, but it has never been adjudicated) if the GPL impacts dynamic linking.

One could argue that if one ships GPL dynamic libraries together with one's non GPLd code, one is shipping an aggregate and hence the GPL infects the whole, but its more complicated to say if one ships a non GPLd binary that runs on Debian, Redhat et al and uses GPLd libraries that they ship.

comment 11mo ago · link · parent

that's not really true. In 2001 I built a single disk linux installation (with a handful of popular nics supported) with X (tiny X with vesafb support) and rdesktop + vnc as a thin client on floppy.

I'd be honest and say that qnx demo disk had more usability overall than my disk, but one could easily have a usable text only linux bootable disk. Busybox and uclibc already existed back then.

https://www.cs.columbia.edu/~spotter/floppy.bin (won't be that useful today due to the ethernet drivers, but it was a 1.44mb floppy)

comment 11mo ago · link · parent

could be more complicated than this. the easiest thing (to me) would be to midufy the License() function so that it sets the Limits "correctly", as these type of things can be in multiple places.

comment 11mo ago · link · parent

glancing through the code, it doesn't seem like it be that hard to remove limitations such as this. PostHistoryLimit/postHistoryLimit interpreted from License Limits. a little poke here and there and I'd guess the limitations would disappear.

comment 11mo ago · link · parent

the first thing I always did when I got a visa (or like) gift card (be it rebate, class action payment et al), was put it into amazon, as it was effectively cashing it out with close to zero friction.

comment 11mo ago · link · parent

a year+ lockup seems insane.

90-180 days would be normal and was still trading above ipo price (not opening price) 180 days after ipo as i documented above.

with that said perhaps directors have a different form of lockup, can't say I have any experience with that.

comment 11mo ago · link · parent

I'm not arguing that he's loaded, just that if he didn't make millions off VA, its more due to his own decisions than anything else. I could also be wrong, but it seems he had the opportunity to unload his stake if he really wanted to.

comment 11mo ago · link · parent

they shouldn't have been.

From wikipedia

The company raised $132 million, offering shares at $30/share, but the shares opened for trading at $299/share, before closing at $239.25/share, or 698% above the IPO price, breaking a record for the largest first day gain.[7][8][9][10][11][12][13][14] Larry Augustin, the 38-year old founder and chief executive officer of the company, became a billionaire on paper and a 26-year old web developer at the company said she was worth $10 million on paper.[2] By August 2000, the shares were trading at $40 each[2] and only 24 mutual funds held the stock.[15] On December 8, 2000, one year later, after the bursting of the dot com bubble, shares traded at $8.49/share.[16]

per his essay he was given 150K shares. Even at the IPO price of $30 a share, that's 4.5 million. Do we not think the investment bank handling his shares would have been willing to take his whole stake at $30 a share?

But even if they wouldn't more than 6 months later it was still north of $40 a share (so $6mil or so) and even a year or so after the IPO, after the bubble popped, it was still north of $8 a share (so $1+mil).

comment 11mo ago · link · parent

I'm now wondering with a bit of unsafe, reflection and generics magic one could make it work with any struct as well (use reflection to instantiate a generic type and use unsafe to just overwrite the bytes)

comment 11mo ago · link · parent

I could imagine code that did something like this for primatives

  secretStash := NewSecretStash()
  pString := secretStash.NewString()
  ....
  ....
  secretStash.Thrash()
yes, you now have to deal in pointers, but that's not too ugly, and everything is stored in secretStash so can iterate over all the types it supports and thrash them to make them unusable, even without the gc running.

comment 11mo ago · link · parent

which then made it difficult to upgrade your hardware.

comment 11mo ago · link · parent

ok, I'd agree with you in that example a go programmer would expect it to work fine, but a C programmer would not, but that's not the example the writer gave. I stand by my statement that the example the writer gave, C programmer would expect to work just fine.

comment 11mo ago · link · parent

I don't see how this is coming at go "from below".

even in C, the concept of returning a pointer to a stack allocated variable is explicitly considered undefined behavior (not illegal, explicitly undefined by the standard, and yes that means unsafe to use). It be one thing if the the standard disallowed it.

but that's only because the memory location pointed to by the pointer will be unknown (even perhaps immediately). the returning of the variable's value itself worked fine. In fact, one can return a stack allocated struct just fine.

TLDR: I don't see what the difference between returning a stack allocated struct in C and a stack allocated slice in Go is to a C programmer. (my guess is that the C programmer thinks that a stack allocated slice in Go is a pointer to a slice, when it isn't, it's a "struct" that wraps a pointer)

comment 12mo ago · link · parent

people haven't explained why this is the case, it's the simple genetics we learn in biology.

the first generation has a many sets of genes with "Highly Productive Dominant (HPD, my terms for this post) genes, Not so Productive Recessive Gene (NPR)". By inbreeding 2 lines for a while, one can end up with a strain that has both genes being one and thereby when you cross it with something else, you know the offspring will get its gene (as it really only has one). Therefore the first generation, will have many sets as what I described above and will 100% express the HPD of those pairs.

The 2nd generation though of seeds will have a randomized assortment of HPD/HPD, HPD/NPR, NPR/NPR genes. Therefore while 75% of the seeds expressed genes will be HPD on average, that's obviously less than 100% that one gets from first generation.

comment 12mo ago · link · parent

It has been said loud and clear.

the supreme court in Harisiades v. Shaughnessy (1952) said communist party affiliation (even past membership) was reason to deport non citizens.

This is well known in legal circles. This isn't something hidden. A US Citizen can be a member of the communist party (same first amendment, right of assembly), while a non citizen doesn't have the same right.

One can argue that this decision was wrong. One can argue that it is immoral, but its well known, and any immigration lawyer should know this decision, and know the risks their clients are taking on by some actions of theirs.

1
456
42