Hacker Newsnew | past | comments | ask | show | jobs | submit | zacksinclair's commentslogin

Do you recall when the republican party blocked Obama's ability to appoint in the run-up to the last election? (parent commenter is referencing this)


"In the run up" meaning that Scalia died in February 2016, nine months before the election, and the very solemnly contemplative senator from Kentucky announced “The American people should have a voice in the selection of their next Supreme Court Justice. Therefore, this vacancy should not be filled until we have a new president."


It wasn't even in the "run up" to the election - Scalia died in early February. Garland was nominated in mid March. Obama had 10 more months in the Presidency (~23% of his presidency left when Scalia died and McConnell said we shouldn't fill a vacancy in an election year).


Biden Rule!



Git LFS ;)


> “It is, unfortunately, no exaggeration to say that a prison sentence today can amount to the imposition of a serious health crisis, even a death sentence, given the BOP’s (Federal Bureau of Prisons) current inability to control the spread of the coronavirus,” Levandowski’s attorneys wrote.

I find this ridiculous for his attorneys to use as a defense against his potential incarceration. While likely true (and certainly deplorable on its own), this applies to anyone going through the criminal justice system and Levandowski is no special case. Conditions in prison should hardly be an excuse for house arrest vs incarceration.


I dunno, if I was fighting for my freedom I sure would hope my attorneys do everything (legal) in their power to assist in my defense. Ridiculous or not it's a valid concern.


Yeah I would say it's not ridiculous to ask for, but would be ridiculous if the judge granted it.


Whole it may be ridiculous, he is doing his job in trying to get his client of and our a weaker sentence. And yeah, any lawyer today woukd be making the same argument. Keep in mind, the constitution prohibits unusual and unjust punishment. So, or choose, conditions in prison should be brought up... By any good lawyer, at any time.


I agree the lawyer is doing the right thing for his role - perhaps I should have phrased as "ridiculous for this argument to be taken seriously" or some such.


Not ridiculous at all. He has been sentenced to jail, not to be infected with Covid. Whether in jail he has a higher risk of getting is a very legit defense strategy. Covid can be a life-or-death virus. Nothing is harmed by having him report to jail next year for example.


If you believe this argument, it should apply to everyone going through the criminal justice system and not just this case.

Does that seem like a question that should be contemplated in this case?


It is being applied, in fact many non-violent offenders are getting out.


Your good investment from years ago does not make Tesla a good investment at today's price.


Something being potentially overpriced today does not mean it’s not a good investment. It definitely is or was for those who identified the value arb prior to today and executed based on that.

Is Tesla overpriced today? We can only speculate based on potential and execution ability.


I didn't even know you could set inches!

Happy 4th!


Mostly useful for print stylesheets. On screens it seems to be defined as a constant 96px[1], which means it has no correspondence to physical inches.

[1]: https://hacks.mozilla.org/2013/09/css-length-explained/


But the CSS spec suggests around 1/96th of an inch for the size of a CSS pixel. So if you squint hard enough it kind of works out.


Welcome back to HNC News. Tonight's top story: US law makers have introduced a new bill that would require all digital displays in the United States to feature a pixel density of 96 ppi. White house officials say the new bill represents "the first step on the march to bring freedom to the cyber world". More on this after the break.


Anchor: "Let's bring in a Congressman who agreed to comment on this extraordinary turn of events"

Congressman: "I'm glad to support the expansion of freedom to all realms. Thankfully, it is now safe for us to do this that we can defend ourselves against the dangerous 'cypherpunks'. Thank you to everyone who has helped make this possible"


Ah, but since the retina iPhone, a CSS pixel != a screen pixel


I would scream from my office. Almost no one would understand my pain.


But it would make screens great again! Especially retina screens.


Screens around the world are sold based on diagonal inches. USA! USA!


As a European whose only familiarity with inches is that "it's about 3cm" that actually annoys me.

Back when screens were small it sort of worked, I knew what 13", 15", 17" and 20" screens looked like. Since most monitors fell in that range (yeah, I'm showing my age) that was good enough. Anything bigger than that was "damn huge", anything smaller was "damn small".

But now monitors and especially TVs are immense. I see TVs with diagonals of 30", 55", 65"... That means absolutely nothing to me. I have to convert into centimeters for it to make sense. Fortunately some resellers do put the metric measurement next to the inches, but not everybody does it.


If it makes you feel any better, I'm from the US and the unit is kinda meaningless. It's not like I can visualize 42" (without converting to feet first), and because it's the diagonal length it makes it basically impossible to visualize - I have to have seen it to know anyway.


Hah! Yeah I hadn't even noticed that I do this too.

I'm writing this on a 42" display, it was sold as a "TV" but it's just a dumb display as far as I'm concerned, so cheap 1080p monitor really.

Everything bigger than 42" is, in my mind, just unnecessarily big as you have to sit progressively further away from the display to comfortably watch motion pictures.

So, from my perspective, huge displays are what you need for unnecessarily huge houses.


In Japanese, they don’t translate “55"” normally, instead it becomes a “55 unit” TV. FWIW, as an American, the diagonal is unhelpful, so you need to look up the horizontal and vertical measurements anyway to know what will fit on your shelf.


Depends where you are, in France typically inches are used almost only for phones & laptop screens. Anything above (like TV) tend to use centimeters.


I'd run something like that over my TS repos for sure!


Why not store short lived token in a cookie as well?


Because then you can be vulnerable to csrf attack. For example if someone tricks you into clicking www.mysite.com/api/delete-account


CSRF attacks can be prevented using same-site policy with cookies.


That is true but it will not protect against all forms of CSRF, for example you'll be vulnerable if you have user generated content that's not sanitized properly. On the refresh_token cookie I have sameSite and httpOnly set.


I've built a large application with Nest as the backend and gotta say, nothing but love for the framework. IMO it is the leader in typescript backend space.

Nest + Typeorm + Postgres + Apollo + NextJS for front end = best of many worlds


Holy shit. They actually put that into a slide deck? Wow


I once saw a presentation with a slide that said “failure = success”. Yes, I am aware that this happened on HBO’s Silicon Valley, and no that’s not where I saw it.


Check out the Pepsi logo design doc if you want a real laugh: https://www.goldennumber.net/wp-content/uploads/pepsi-arnell...


Attraction Theory: The Pepsi Proposition

Establishment of a gravitational pull to shift from a “transactional” experience to an “invitational” expression.

Is this for real!! I had to look up Pepsi's current logo to believe this.

They paid $1 million for the logo (https://www.cbsnews.com/news/pepsis-nonsensical-logo-redesig...)


Every human understands that phrase and yet the AI doesn't. That's the gap that has to be fixed.


You have to realize that search is not AI. It's pattern matching. And the string "shirt without stripes" matches really good with "shirt with stripes". Levenshtein distance is 3.

If vendors would use the term "shirt without stripes" than it would match great, but they call it "plain shirt".


> You have to realize that search is not AI.

Google advertises using BERT natural language models

https://blog.google/products/search/search-language-understa...

> ... but they call it "plain shirt".

Or polka dotted :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: