skysight-inc/HackerNews huggingface dataset:
When did I blame php for Drupalgeddon? My web site says "Drupal security vulnerability", not "PHP security vulnerability", so I don't know where you're getting that from.

Back to the point: We're discussing mysql_real_escape_string. What's your excuse for it even existing in the first place, instead of simply fixing the security hole in the original mysql not-so-real escape string function?

Melania Trump's "I REALLY DON'T CARE DO U?" jacket sums up Rasmus Lerdorf's attitude towards security, software quality, programming, stardards, computer science, and unit tests. I just quoted his own words and bug reports that prove that point.

Do you like to leave loaded AK47s strewn around daycare centers, then blame the kids when they shoot each other? Is it ok if after the massacre you realized you made a mistake, and then scatter a few Nerf Guns around so the smart experienced kids who survived will have something safe to play with, but you still leave all the loaded AK47s?
My thought is without someone who just happened to have a video recorder ready the whole Rodney King thing would not have happened. Nor the riots or the partial reform of the LAPD.

Societies attitudes are very persistent. Takes decades for things to materially change. The root of that is the Max Plank quote: A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather its opponents eventually die, and a new generation grows up that is familiar with it.

That said I think juries are becoming much more aware of the implications of letting bad cops off the hook. Muni's are becoming tired of paying out settlements for cops that should have been long since fired. And this is in the contexts of increasing militarization of the police while the crime rate has been falling persistently for 30 years.

Things always look like they'll never change and then they do.
Colloquially Americans like to call "murder" any time someone kills someone else.

In Germany the translation of murder has VERY specific legal requirements, like detailed planning beforhand, and evil action (cannibalism, sexual intent, terrorism, type stuff). You pretty much have to be a stereotypical serial killer or terrorist in Germany to commit the legal definition of murder.

https://en.wikipedia.org/wiki/Murder_in_German_law#Penalties

In the USA, colloquially speaking, not legally speaking, George Floyd was murdered. But in Germany what happened would seem to meet the equivalent of what Americans would call involuntary manslaughter. Clearly, the cops killed that dude while trying to do something vaguely reminiscent of their job, but also clearly, they did not stalk him with evil intent with an intentional plan for a long time and then cannibalize or sexually molest his body as would be required by the legal definition in Germany. Probably.

Historically, in Germany, involuntary manslaughter such as two idiot soldiers who don't know each other getting into a drunken bar fight over nothing while one had an undiagnosed brain anuresm that burst during or shortly after the fight will only get like three year sentence and who knows how early of a release. In America that event would colloquially be called "murder", because one person killed another person, but not so much from a strictly legal perspective in Germany.
> I wonder if we'll hear the "they're a private company, they can do what they want, it is only censorship if the government does it" routine.

Perhaps that applies, perhaps it doesn't. Did they remove the account due to pressure from the CCP?
If people are showing off a lab. My lab always sparks a conversation. I wanted to prove I could beat twilio's texting rates. https://i.imgur.com/gKknrJn.jpg
I think it was more a statement that it's difficult to maintain that facade perfectly, and a big misstep could bring the whole thing crashing down.
The big core has SMT and AVX-512 turned off, I assume that they're just fusing off everything that the little cores don't have.
>The US military used B2 bombers in Iraq. Do you expect these to be deployed in Seattle any time soon?

https://en.wikipedia.org/wiki/MOVE#1985_bombing

>From a Pennsylvania State Police helicopter, Philadelphia Police Department Lt. Frank Powell proceeded to drop two one-pound bombs (which the police referred to as "entry devices") made of FBI-supplied Tovex, a dynamite substitute, targeting a fortified, bunker-like cubicle on the roof of the house. The resulting explosions ignited a fire from fuel for a gasoline-powered generator stored in the rooftop bunker. The fire spread and eventually destroyed approximately sixty-five nearby houses.
Good clarification, thanks!
Communists don't think that political dialogue exists as a genuine process between rational actors. They think that people's political beliefs are a product of their environment and class. This is why they don't like free speech and don't like debates. They think that schools are only capable of indoctrination. Therefore they seek to turn this indoctrination in favor of the workers rather than the bourgeoisie.

Edit: if you disagree, please explain why. Marx believed that history moved according to dialectical materialism where almost all individuals are little more than atoms in a moving body.
and some of us are still waiting for aesthetics to reach computers ;)
> Now, I still think police should carry tasers because they're effective on a large spectrum of intermediate / gray area in the use of force continuum and it's much safer for police than many alternatives. But my point is that it's really bad to just think "less than lethal" is a cure-all. "Less lethal" can be lethal (or in this case, permanently disabling). There should still be a high threshold for deploying it.

I don't necessarily think that these kinds of non-lethal weapons can't be used in a "safe" or situationally appropriate way. The problem is that all of these non-lethal weapons have safety guidelines that need to be followed or else they're actually quite dangerous and have high rates of injury (even severe injury). As US law enforcement has shown repeatedly over recent weeks, they're not following any of these guidelines. People are being blinded because they're shooting rubber bullets at people's heads (against guidelines). They can't be trusted with these tools.

I don't think it's solely a US problem either. French police is incredibly eager to liberally apply pepper spray to defenseless protesters (who've committed the heinous crime of exercising their right to free speech and their right to assemble). People are also injured whenever German police use water cannons.
There's so many different directions for jokes on this comment, but yes, I too would be interested in seeing the mods.
Two screens seems like a no-brainer for what I consider the typical HN reader as I think they are likely a software developer.

Especially if the one screen is a laptop screen.

I find myself much more productive having a standard keyboard, mouse, and large monitors. Then when I have to attempt to do my work using just a laptop with no accessories.

I am impressed with the people who are highly productive with a tiny laptop screen. I have seen them in action. Unfortunately that isn't me :(
That is a really good idea!
You should also bear in mind that governments now buy more and more of their own debt (indirectly of course), so how much of that demand is real?

https://www.thebalance.com/who-owns-the-u-s-national-debt-33...
Two thoughts on the subject from Dr. King:

“Nonviolence is a powerful and just weapon, which cuts without wounding and ennobles the man who wields it. It is a sword that heals.”

“Nonviolence is absolute commitment to the way of love. Love is not emotional bash; it is not empty sentimentalism. It is the active outpouring of one’s whole being into the being of another.”

The point is to sway the very opponent who is harming you, to convince them that hurting you is wrong. It takes great strategy, tactics, and courage. The point is not to be a martyr, it is to create change that makes a difference.
Primary 4k monitor center of desk; macbook on a stand to the side. Put the speaker video fullscreen on the macbook and now you are making eye contact when you are looking at them, and not when you're not.
> How expensive do you think a trap is? It takes about the order of 10 billionths of a second.

are you sure about that? I would expect at least a couple of orders of magnitude more just for the userspace->kernel transition.

edit: for what is worth, a syscall it takes 250ns on my (admittedly vintage) machine. That's using the lowlatency sysenter path. An interrupt is probably going to cost more.

Anyway the cost of scheduling on another core is going to dwarf that.

edit2: for reference, this was a Sandy Bridge turboing at 3.5 Ghz during the test. With spectre mitigations on (which is going to be a good chunk of that overhead).
C'mon, it's not like police are shooting rubber bullets at random citizens. This discussion is in the context of police in a stand-off against protesters that are pushing the line between peaceful and rioting.

You may not like their enforcement, and in some cases they are clearly going too far, but there is no real argument on the legality of the tools they are using in the situation. We gave them the right to act as the state's expression of force.
The Secrets
I haven't used two screens in years! A 4k single display is great for me. I can get two windows side-by-side and that is the most I ever need. If I need more than 2 windows I feel my workflow needs help.
Conspiracy theories flourish when people are disillusioned with the leaders / govt. I know many others struggling with this, I know it must be difficult.

Go get researched up on the psychology behind it, there are some good posts here with links, and good stuff from couple years back. You won't be able to change their minds with logic or facts
Same pattern as with Windows unfortunately...
They aren't actually complex at all. People in finance like to jargon up the work they do.

Back in '08 we heard about how "complex" CDS are. There is nothing complex about a CDS.

Whenever something bad happens in the financial sector, there is always a simple story behind it. Usually a combination of fraud and leverage.
what does that matter now? its not that there is a high cost of switching...
I don't generally consider myself a conspiracy theorist, but I agree with the previous comment. For-profit prisons not only make money by having more prisoners staying for longer, but in many cases have actually been required to maintain a minimum number of prisoners. That creates a huge incentive to the operators of private prisons to make sure that people are sentenced to terms that are as long as possible, and to make sure that as many people as possible are given sentences that get them into those prisons vs. alternatives like house arrest, community service, court-ordered rehabilitation meeting attendance, etc.

I think it would be pretty naive to assume that private actors can have no influence over an unelected/appointed judiciary anyway, but don't forget that many places in the United States have an elected judiciary that needs to campaign every few years to maintain their status, which clearly opens them up to influence by those prisons.
ClickClickClick – Reveal browser events through the act of clicking a button
Syntax != semantics

And, even with syntax, the singular part of the syntax that looks like C is the arrow for method calls. Everything else looks like Java, including the fact that you use `struct` to group data in C, not `class`.

Also, you said C++ originally, not C. And PHP classes are NOTHING like C++ classes. They are everything like Java classes.

You're just wrong about being inspired by C++. At least in its current form.

Top level functions DO exist, admittedly. I just never see any libraries use them. I assume it's because the autoloader and composer work better with classes. What projects do you look at that use TLFs? Also, may I ask why you'd prefer them to static methods on classes (with private ctor). Isn't it less convenient to import them?
What does anti-BLM mean to you?
But that defeats the purpose of supporting any extensions at all in the big core that the little core doesn't support. Software will get the lowest common denominator answer and just not use avx2. So why support it in the first place? Why not just do the right thing and have uniform extension support like big.LITTLE?
Zendar is hiring a director of software engineering
In typical internet activist fashion, always assume malice.

Zoom has 300 million participants a day. Even if they accidentally bans a Chinese activist with the same probability as any other person, the media will only report those instances because Zoom happens to have a Chinese American CEO.
I think that using fourth and fifth generation to describe aircraft is better, especially when you combine it with production status.

For example, both the SU-27 and F-16 are clearly fourth generation, and both currently in production. Same with the F-15. They may have origins that are quite a long time ago, but they're still effective aircraft in many scenarios.

Fifth generation would be F-22, F-35, J-20, FC-31, and if you want to be generous, the Su-57. Stealth is the primary attribute, though supercruise is sometimes considered a key attribute as well.
> Once it was decided that domain names should be arranged hierarchically, it became necessary to decide what sits at the root of that hierarchy. That root is traditionally signified with a single ‘.’. In fact, ending all of your domain names with a ‘.’ is semantically correct, and will absolutely work in your web browser: google.com.

- The History of the URL, https://blog.cloudflare.com/the-history-of-the-url/
RadioDroid is awesome, but the one feature I wish it has was Android Auto integration. The main place I listen to radio is in the car, and I end up falling back to TuneIn because I can change stations easily while driving.
Just took a look at the battery listing you provided. I have not seen someone use an actual tape measure showing the HxWxD of the product rather than just listing them. I think I prefer it.
You count yourself in the set of "people who are easily offended", and you still said that comment?

The comment where the only point seems to be to attach a derogatory label to a group of people?

No, I don't believe it. I think attaching a demeaning label to a group of people is a way of saying you consider yourself outside of, and better than, them. If not that, what else was the content of your comment?
Is it a weapon if it has no weapon capabilities? Its just a fast plane. Also, weapons can still be a hobby.

It sounds like his hobby is both aerospace engineering and sports flying, which sounds like a fun combination in my opinion.
A Look at Recent Advances in Google Translate
> but watching ads does not support Youtubers. It supports Youtube - which you hope translates into Youtube giving money to the Youtuber's whose videos you watched.

The point is that not watching ads actively screws YouTubers over, although the way you phrased it does establish some safe moral distancing from the implications of your actions. The fact that YouTube takes advantage of content creators is no excuse for denying content creators money, which is precisely what an adblocker does.

> I believe it's better to support content creators themselves (e.g., directly, or via a Patreon or something similar)

This is true and I do it for people I watch regularly. But I am not going to donate directly if I only watch one video, even if I really enjoy it. Patreon is not an adequate substitute for most YouTubers. Pretending it is just dodges the actual implications of using an adblocker.

And adblockers are not adequate malware protection, even against malicious ads. Adblockers should not be giving you a false sense of security about this (let alone be used for such a condescending argument).
> Zoom is forced to apologize by China

Why would China want them to apologize? (Or there's a typo?)

Didn't zoom do what C wanted already
Going after bigots on your platform does not equal going after activists. Please do not intentionally confuse the two.
That's fair. I meant it more of an abstract "a developer who is in a more senior position at the company" rather than explicitly someone with the title "Senior [Developer/SWE]", but I can see why my comment was confusing.
If it works well enough, it would be a fine choice to connect with your friends/colleagues while you are stuck at home due to the corona virus. A few years down the road there will be new products!
So what would a rational person do? Stockpile guns and food? Invest in gold?
i mean, globalism was always about helping capital find returms while hedging risk, under the guise of international trade being better for all than isolationism (but much better for capital than labor).

the core problem of hoarding wealth, as exhibited by the flight of capital to the US, is the inability of small groups of people to efficiently allocate capital, to have enough imagination and ingenuity to centrally-plan their allocations. it's literally anti-capitalist.
Someone paid $2.6M in fees to move $134 worth of cryptocurrency
This is becoming more and more common in the UK: https://www.energy-stats.uk/octopus-agile-london/ (these are retail prices anyone in the UK with a smart meter can take advantage of).

Basically high wind production with sunlight results in negative pricing. The difference between the 4-8pm "peak" is very high between the rest of the day too.

There is an enormous business opportunity here. Prices are going from -3p/kWh to 25p in the same 24 hours nearly weekly.
As a concept qualified immunity makes sense. The police are expected to do things which would get any other citizen sued or put in jail. So a certain amount of immunity for these actions makes perfect sense. The problem is that it has become an impenetrable shield behind which clear wrongdoing goes unpunished. We probably don't want to eliminate qualified immunity, but we need to drastically increase accountability so it isn't abused.
This is a great answer that's totally orthogonal to the issue at hand, so I love it. No matter how you read OP, staying out of internet arguments is a good way to preserve friendships, if that's your goal. I'm going to hit "reply" now....
That's why I keep calling for a NEW Internet to be created based on HORNET technology. HORNET is basically the same as the Tor network, but with speeds similar to the current internet.

Sites can't be traced or blocked and neither can its users. There will be free speech, along with all its excesses (terrorism, child porn, illegal content sharing etc.).

If everyone migrates towards the HORNET internet authoritarian regimes will either have the choice to block the entire internet (causing massive economic damage) or allowing free speech.
Human Rights Foundation will help arm activists with Bitcoin privacy tools
It seems it only works by casting to another screen. And the app itself is hypocritically overflowing with ads more intrusive than YouTube ads...
Facts you Should Know When Buying the simplest pet food for little Dogs
Cortex-A53 is a very slow in-order core. Think Pentium 1 -level IPC. Eg: it can dispatch at most one multiplication, and will stall the entire pipeline for a few cycles if you try another one soon after. I doubt this is going to perform well
I never really used an adblocker as well, but now I'm using nextdns which does really good filtering at the dns level (not affiliated).
You should be able to run a standard Ubuntu if you don't aim for touch-driven interaction; @jareds - do you?
This is the insanity of zero interest rate policy. It’s so hard for me to understand why the economists and fed officials don’t see this.
Just getting into this. Do you recommend any particular "dumb" camera devices with a quality stream?
Maybe Raylib?
In case the developer is reading, feature requests:

(1) When browsing the list of radio stations, I can see the use of alphabetical by call letters. But the way my brain remembers radio stations is by band (AM/FM) and frequency. (Maybe it is ancient muscle memory from radios you tune with a knob.) So it would be nice to have this available as a view.

(2) In a large metro area, there are transmitters in different cities and suburbs. To get the full set of stations, I have to flip around between nearby points on a map and look at different lists. (For example, in the Bay Area, you have to click SF to get KQED then click Berkeley to get KPFA.) It would be super cool if I could click on any point on the map, then see one list of all stations that a radio at that location would pick up. Getting a completely accurate list is probably complicated (topography, weather, antenna type, etc.) but distance and maybe transmitter power would give a good approximation.
There's two problems with that line of thought. First, "our side" is not good but it is better. Notwithstanding the current unpleasantness, the US government isn't locking up and "reeducating" hundreds of thousands of its own citizens. Second, good or bad, it is our side and the CCP is the other side: only an ethically and intellectually challenged person offers tacit support for the "other side" because their own side fails some specious purity test.
Base salary is the basis unless the bonus is regular and even. At that point they can consider the argument of using base+bonus as the "normal pay".
agreed that google meet is a CPU killer
It really depends on the application. For smaller, more targetted embedded applications, global scope is fine. If every function needs to have access to a common set of variables, there's really no need to be passing references around.
That is really neat. I'd love to see an app like this which allows surfing the globe for listening to shortwave radio. Users could report which WebSDRs (for example) are picking up which stations. Then those stations are marked as live on the globe, and you can listen to the WebSDR audio feed(s) that are picking up that station, as if you're listening on a real shortwave radio.

Maybe individual WebSDR listings could show SINPO numbers, to allow users to choose a source based on the quality level that's currently available...hmmm!
Disagree. Just got rid of my second screen after neck aches and headaches.

I’ll take one decent sized (27” for me) 4K screen over two. Completely solved all problems.

Productivity? I can only focus on one thing at a time. Managing windows and which screens they are on is an overhead I don’t need to deal with.
Thanks for letting me know. I've signed up and tried to get it working as a substitute for our corporate VPN. But i couldn't get it to work.

The landing page is pretty neat, but the user interface is buggy - and not that intuitive.

I'll test out Cloudflare!
Care to share more details? Interested in the software stack, and what you use it all for.

This is really intriguing.

I'm currently running a SFF machine as a server, and thought about adding some Pi devices to play around with a local kubernetes cluster.
I've really come to love ultrawides with a nice tile window manager (currently amethyst on MacOS). Reduces the need to either have my head tilted towards one of the screens, or move between them.

I've also got an ipad with sidecar as a second monitor for always on things like spotify or the occasional zoom.
GPT-3, The $4,600,000 Language Model
Considering how rampant racism is in law enforcement (not even just in the US) as well as recent events in the US, I would actually say yes. It's "righteous punishment" for not submitting to the law (where law generally means whatever cops want you to do) and cops seem to enjoy that sort of thing.
Tiggers can be hard to ride.
To me: pro-status-quo, in particular with regards to policy changes that increase racial equity.

Edit: "racial justice" would have been a better choice than "equity".
The standard settings for PHP's built-in opcode cache will automatically invalidate cache entries based on file timestamps, though setups trying to eke out maximum performance may disable this and therefore require manual invalidation.