HNHacker News
TopNewBestAskShowJobs

jcranberry

912 karma · joined May 5, 2017

submissionscomments
jcranberry··on In the end, you're treated like a spy, says MIT scientist
Its somewhat important that this principal only applies to criminal court.
jcranberry··on AirPods don't “just work”
Feel the same with the Galaxy Buds Plus.

My SO has airpods pro and I find to be the main thing they have over the GB+ is their talk through is vastly superior and the noise canceling is also very good.

The thing it doesnt have is a decent battery life.

jcranberry··on Const all the things?
Passing by 'const value' is not a real thing. In the implementation you can remove the const and the compiler will not complain.

You can put them in the definition and the compiler will prevent you from mutating that argument in the body of the function however.

I remove these in declarations if I see them usually. I see it as noisy and a little distracting, the caller can already see that there's going to be no side effects to that variable, whether or not the function changes its copy of it is an implementation detail.

jcranberry··on Const all the things?
That only applies when you're returning a prvalue. NRVO isn't guaranteed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055
jcranberry··on Const all the things?
tuples are unfortunately terrible. Its almost always better to make another type with the fields you need than use a tuple.
jcranberry··on The Curse of NixOS
These look pretty promising. Maybe I'll give nixOS another shot because I really was a big fan.
jcranberry··on The Curse of NixOS
It's been a while since I used NixOS, but I never really had an issue with the language. What was frustrating was in package solutions there were all these special functions which as far as I can tell were undocumented and I couldn't figure out what they could do. So there was sort of this gap in terms of documentation between theoretical understanding and tooling/functional understanding which I struggled to cross.
jcranberry··on Ask HN: What do you think of the Wordle guy not monetizing it?
It's good that he wants to continue distributing it for free. If he wanted to make money off of it, that's also good too.
jcranberry··on Colors in movies and TV: What happened to them?
I don't think all movies do up-close quick-cut camera shots during fights. I'm fairly certain the reasons they do that are not because it's trendy, but because of other constraints. Things like a lack of actor training, time for practice or reshoots, or good choreography in general. It's what they can use to get away with these things.
jcranberry··on Switching to an N95 mask gives a 75x boost in Covid protection
So if it has a history of working with other viruses, why would you think this is a crowd control exercise and not attempting something which has worked before?
jcranberry··on Switching to an N95 mask gives a 75x boost in Covid protection
They were tested with both poorly fitted and well fitted FFP2s.
jcranberry··on Switching to an N95 mask gives a 75x boost in Covid protection
According to this study, with two people talking 3 meters apart and one infected, if only the non-infected person wears an ordinary surgical mask (not n95), it increases the time to the 90% bound for infection risk from 1.5 minutes to 30 minutes. So at least in theory it's certainly not for nothing.
jcranberry··on Switching to an N95 mask gives a 75x boost in Covid protection
The linked study actually uses FFP2 masks, not N95. Here's a relevant part from the abstract regarding how an FFP2 performs:

> We find, for a typical SARS-CoV-2 viral load and infectious dose, that social distancing alone, even at 3.0 m between two speaking individuals, leads to an upper bound of 90% for risk of infection after a few minutes. If only the susceptible wears a face mask with infectious speaking at a distance of 1.5 m, the upper bound drops very significantly; that is, with a surgical mask, the upper bound reaches 90% after 30 min, and, with an FFP2 mask, it remains at about 20% even after 1 h. When both wear a surgical mask, while the infectious is speaking, the very conservative upper bound remains below 30% after 1 h, but, when both wear a well-fitting FFP2 mask, it is 0.4%.

jcranberry··on Google says iMessage is too powerful
Ah I see that makes sense. Somehow I didn't see that in the thread. So this person just wants to move away from phone number based messaging entirely.

I will say SMS Is still useful when you don't have an internet connection.

TBH I feel like most people are moving away from SMS already. I suppose google could just go the route of Apple and bake in google messaging or something into the OS.

jcranberry··on Google says iMessage is too powerful
So RCS is bad because it's messaging based on phone number rather than email address? Why isn't SMS bad?
jcranberry··on LastPass appears to be holding users' passwords hostage
I vaguely remember eventually figuring out how to lodge some kind of issue or something because the UI of their credit monitoring was completely broken. It was impossible to use the service at all.

I think I eventually figured out some methodology of opening some graphical element in a new frame or something that got it working partially but that was what made me cancel everything and switch to BitWarden. Ridiculous.

jcranberry··on Is Google Search Deteriorating? Measuring Google's Search Quality in 2022
Clicking on a link I'm sure is feedback.
jcranberry··on Google doesn't want to pay Sonos for technology it copied
Sonos makes products that are best in class?
jcranberry··on Google doesn't want to pay Sonos for technology it copied
Amazon had one click buying patented for a long time. It should have expired by now but I don't know whether there's any mechanism to extend it.
jcranberry··on Google Had Secret Project to ‘Convince’ Employees ‘That Unions Suck’
I think I remember this. IIRC google's story were that they were fired because they were sharing internal documents and keeping track of other employees one-on-ones, medical aptmts, family meetings, etc. The NYT article does a decent job of going over a timeline of everything.

https://www.nytimes.com/interactive/2020/02/18/magazine/goog...

jcranberry··on Why Is C Faster Than Java (2009)
You definitely don't need an infinite amount of time to make C or C++ implementation of a matching engine run faster than a Java based one.

I've worked at two fintech companies, a prop shop and an investment bank and seen some APIs for other companies' matching engines and they've pretty much all been C/C++.

jcranberry··on Why Is C Faster Than Java (2009)
I don't see how this is a counterargument, or highlighting any fallacy.

The article talks about hacks used to get around garbage collection in Java and increase performance, including memory mapped files and byte buffers. It also talks about the pain points of using these hacks and the costs they have to pay despite these hacks.

It also concludes that it is practical to build Git in a higher level language and JGit performs reasonably well, despite not getting quite C level performance or its memory utilization.

jcranberry··on Ubisoft deleted account with hundreds of dollars’ worth of games for inactivity
The defendant in a copyright violation case is not just liable for actual damages. The plaintiff can elect to take either actual damages or $750 to $30,000 per copyright infringement. This can rise to up to $150,000 if it is determined to be willful copyright infringement.

https://codes.findlaw.com/us/title-17-copyrights/17-usc-sect...

jcranberry··on Against 3x Speed
Secondary school is one thing but in university, lectures aren't there to build your understanding for you. They're there for one of 3 reasons: 1) auditory learning of the same material, 2) to give you additional material not present in reading, or 3) to give a different perspective of the same material. Lectures are also just not long enough to do the work for you - building your understanding is your own responsibility.

I'm also skeptical about this type of complaint on textbooks. I'm not going to say all textbooks are great but this idea that a textbook is a direct impediment or flawed tool for active learning has had no bearing in reality for me personally. Poor textbooks are poor tools. Good textbooks are good tools (I personally don't find there to be a lack of good textbooks). In the subject I majored in at university, mathematics, I can't imagine any amount of teacher input can take the place of problem sets and time spent poring over a textbook struggling to grok something.

I agree that active learning is a necessary part of a successful education. However, almost all the specific targets of this article to be off the mark. In my experience, lectures and textbooks are not what keeps active learning from taking place, in fact they are what necessitates active learning.

I agree with the stated point, however using the university education style as a target frustrates me, because the critique of Mike this article gives is exactly the kind of objection I might have to to claiming that textbooks and lectures are insufficient for learning. Engage, don't just consume!

On more of a quibble than critique, I think 3x playback is poor as the titular metaphor for shallow learning. Listening to an audio book at ordinary speed I find to be far too fast to allow any kind of useful contemplation, and too slow to retain my interest (possibly due to my ADHD, perhaps others find this easier). If I need to think about something, I pause it. Not all information has equal utility, nor do all information streams have equal density. Depending on the narration and content of an audio book I find listening at a higher rate to often be ideal for trialing information for greater analysis. For something else, such as a video feed of a sports game, real time is often too fast for me to even consume all the information I would like (although when watching a sports game I may be more interested in the experience than tactics or particulars of a play).

jcranberry··on The Bay Area has become a large declining tech company
I clicked on those links curious what he was talking about and was shocked he was painting this guy as a martyr. I didn't finish reading the second article about another guy comeback since it similarly didn't seem to acknowledge the reality of what he wrote being patently horrible when painting him as some kind of homeless man messiah.
jcranberry··on Design evolution of the Windows control panel
I think the control panel is fine. You can search for all the functionality you need through the start menu search bar so I rarely have to use it directly but when I do it's perfectly usable. I also found windows 11 to be an improvement.
jcranberry··on Cryptocurrency scams cost owners $7.7B in 2021, driven by DeFi-based “rug pulls”
You'll have to back this up with evidence. You can file complaints about local judges to judiciary committees, administrative judges, you can appeal their decisions, and if you actually go to trial you get a jury unless you specifically waive it (along with all other parties).

I don't see how they're unaccountable, or how contract disputes mostly depend on a judges disposition.

jcranberry··on Lapce – Fast and Powerful Code Editor written in Rust
I'm pretty happy with spacemacs with lsp-ccls for c++ development now. vscode had all kinds of weird bugs with its intellisense for me but lsp-ccls has been working great.
jcranberry··on The CIA and the Media (1977)
>If we take Bernstein at his word (and there's no reason not to), basically all the US media has secretly cooperated with the CIA. Is there any reason to think this isn't going on right now?

There is a reason. Controversy which began in 1973 and spurred Congressional investigations and this very article led to the CIA to sign a 1977 directive that prohibited them from recruiting or impersonating journalists, peace corps, and the clergy.

There was a loophole discovered in 1996 that allows the agency to waiver that directive in extreme circumstances and must notify the president, and a couple others (cant remember).

This prompted a clause in the 1997 authorization act which codified into law that the CIA must notify both the house and senate intelligence committees and get a written sign-off with reasoning why its necessary from either the President or CIA director before impersonating or recruiting a journalist.

jcranberry··on AWS us-east-1 outage
Most companies using AWS are tiny compared to the companies you mentioned.
← PreviousPage 7 of 18Next →