Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anamax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
781.
▲
by
anamax
5y ago
I've used both, for with else more often. It avoided some booleans and if's that would have been much less clear/easy to get wrong. I'd like a different name for for "for's" else. I've been using met
782.
▲
by
anamax
5y ago
> How is python doing a thread pool with the GIL? All but one of the runnable threads are waiting on the GIL. The "not runnable" threads are waiting on some lock or a blocking system call.
783.
▲
by
anamax
5y ago
Json decoding will show up as CPU usage. Epoll to decide which socket to read is just one thing - efficiently using sockets also matters, hence my suggestion of communication pipelining.
784.
▲
by
anamax
5y ago
Effort matters. We live in a world where anyone who can run a script can attack 10k houses while they're watching Spiderman. Old school burglars can only do one house at a time and they have to actually go to the house.
785.
▲
by
anamax
5y ago
I wonder where the time is going. I suspect that something like atop would show that the CPU is idle for much of the time, which suggests that the problem is not Python or even the GIL. If that's true, there's something ineffecti
786.
▲
by
anamax
5y ago
Perhaps there should be a system that lets [1] ordinary people record that they notified a company that said company had been hacked together with timestamped evidence of said notification. [2] people/organizations who sue/regulat
787.
▲
by
anamax
5y ago
It doesn't seem to.
788.
▲
by
anamax
5y ago
Generational affects the number of free objects that can be found, not the cost of freeing or looking at an object, or even the number of objects looked at. I thought that the comparison was between "heap-allocate every object" vs
789.
▲
by
anamax
5y ago
> Here's an easy answer: Hard work is not racist. The National Museum of African American History and Culture disagrees. They also say that promptness is also racist. It's not hard to find people who argue that math is racist.
790.
▲
by
anamax
5y ago
GC will cost 50-100 instructions per object reclaimed AND 5-10 per object not reclaimed. Even if we ignore the latter, gc will can add 2x for objects that you don't do much with. And then there's the cache effects. Close to top-o
791.
▲
by
anamax
5y ago
> ideally something like an online jury of ones peers, but who don't know you) take a quick glance at the photo, determine it's your kids in the bathtub and not CSAM, and click "It's Fine". How does someone who d
792.
▲
by
anamax
5y ago
> They're teaching the kids that slavery, discrimination, and oppression are wrong. How are they teaching that? And, how do you know that's what they're teaching? Better yet - how do you know what kids are learning? (Se
793.
▲
by
anamax
5y ago
There's no impersonation involved; the analogous email would say that the sender would notify authorities about the recipient based on the answers. It's unclear how this would be more or less random than the e-mail to websites. An
794.
▲
by
anamax
5y ago
Voice of America, BBC... (I suspect that both France and Germany have something similar. I'd be surprised if Finland did.)
795.
▲
by
anamax
5y ago
Cool, so it's acceptable to send the analogous e-mail regarding immigration status to lots of people.
796.
▲
by
anamax
5y ago
Disclosure also gives people information on how to stay within the rules. Account deletion tips off the user so we're not talking about cases where there's a legal obligation to not tip off the user.
797.
▲
by
anamax
5y ago
Ah, but what are they teaching the kids about MLK, Jr. and civil rights? > the voters as a whole deciding that one prong of the fix is educating the children Did they? In which election was this a campaign issue?
798.
▲
by
anamax
5y ago
> We can require law enforcement to need a valid warrant before they can decrypt this information. We have that requirement in the US, but if they have the capability, they use it, warrant or not.
799.
▲
by
anamax
5y ago
> Law enforcement and intelligence services are not against privacy Name a LE or IS that hasn't repeatedly been caught doing surveillance for personal or political reasons and we'll talk. In the US at least, they keep telling u
800.
▲
by
anamax
5y ago
People say "I'm from Texas, not the US" all the time and no one cares.
801.
▲
by
anamax
5y ago
One definition of "worked" is "When you say Silicon {whatever}, people outside of {location of whatever} know where you're talking about." Another definition is "Famous for producing notable companies."
802.
▲
by
anamax
5y ago
> If we want good government, then we need civil servants who are willing to work their whole careers in government. Working for a long time on a given problem may make one competent, but it doesn't make one good.
803.
▲
by
anamax
5y ago
I should have written "regulatory system." It's not legal to sell single cigarettes in NY regardless of source. That said, the "only registered sellers are allowed" system is intended to combat cigarette smuggling&#
804.
▲
by
anamax
5y ago
> I’m not talking about forcing anyone to do anything. What's your plan for folks who refuse to pay the carbon tax? Remember, Eric Garner was killed as part of enforcing NYC's cigarette tax. (He was selling "loosies"
805.
▲
by
anamax
5y ago
> It is probably better for all of us to link every tornado and hurricane to climate change in a neat little story And then when someone points out that the number of severe tornados per year was larger a couple of decades ago .... Thank
806.
▲
by
anamax
5y ago
Section 230 protects "interactive computer services", such as Facebook, and their users from liability wrt content that they get from other "content providers". (FWIW, I think that there's a legitimate argument wrt
807.
▲
by
anamax
5y ago
An unexpired turkey that has not been safely stored is far more dangerous than an expired turkey that has been safely stored. A dumpster is NOT safe storage for a turkey. I've seen damaged turkeys in stores; I hope that they throw them
808.
▲
by
anamax
5y ago
What makes an Armalite Rifle-15 significant to you? I ask because it isn't actually all that interesting as far as guns go. It shoots a fairly low-power cartridge, roughly equivalent to 30-30, which means that it isn't powerful en
809.
▲
by
anamax
5y ago
The "everyone gets a stack" implementation feels awkward and limiting. One of the first non-trivial simulators that I wrote was an implementation of Icon's control structures using heap-allocated frames. While heap allocating
810.
▲
by
anamax
5y ago
> you need to talk about paying less to doctors and to hospitals One graph that I've seen shows a huge increase in the number of hospital administrators while the number of MDs has been relatively flat. Granted, the Y axis is percen
More ›