skysight-inc/HackerNews huggingface dataset:
Yes, if the plurality of nodes are F<->F and F >> L then the odds are less than 50%.

In a simple case, consider a subgraph with one L connected to all F, and every F is connected to 2 Fs (in addition to their connection to L). You have a 1/3 chance of selecting the L in this case (but since there must be at least 3 Fs to draw this graph, you have no better than a 1/4 chance of selecting an L at random and thus you still find more connected nodes on average by using this algorithm).

[edit]

The above example was too simple as the majority of edges do not contain an L, and in fact you don't improve your odds in the 4-node case (they are the same in that case, but at 5 and more nodes you do). It still shows how a small number of highly connected nodes can dominate rather quickly though.
Yes - and the original post here is the same:

if (x < 0)
return 0;

The compiler now knows x's possible range is non-negative.

int32_t i = x * 0x1ff / 0xffff;

A non-negative multiplied and divided by positive numbers means that i's possible range is also non-negative (this is where the undefinedness of integer overflow comes in - x * 0x1ff can't have a negative result without overflow occurring).

if (i >= 0 && i < sizeof(tab)) {

The first conditional is trivially true now, because of our established bounds on i, so it can just be replaced with "true". This is what causes the code to behave contrary to the OP's expectations: with his execution environment in the overflow case we can end up with a negative value in i.
That's right. And btw Logica is also open source: https://github.com/evgskv/logica
Hopefully it'll reduce their future hiring quality as anyone worth their salt likely values wfh
They’re not pointers. sizeof a == 4*sizeof(int), not sizeof(int*).
EU Regulator: Proposal to force websites to pay telcos puts Internet at risk
I've been using davinci for my Deep Dreams podcast (https://deepdreams.stavros.io), but davinci has a tendency to ramble. I used text-davinci-003 now to try it out, but it has the opposite tendency: It's very coherent and writes well, but it's very terse. I haven't found a way to make it write a longish story in the few minutes I played with it.

If anyone has any tips, I'm grateful!
These are all genuine and critical problems, but the solution can really only come from governments and industry, with more emphasis on public transport, better city design and industry getting greener.

We can praise those who organise their lives in such ways as to not be too much of a burden on the planet but I don’t believe it’s effective to shame those that don’t, or do it in different ways than you expect.

It is effective to put pressure on governments and industry though.
std::mem_fn will effectively give you the underlying function that takes a pointer. Strictly speaking mem_fn is defined to generate the wrapper function, but in practice the optimizer is just going to strip that away and call the name-mangled function directly.

Example: https://godbolt.org/z/6Y1raxMce
Better to situate land-based wind turbines on hills, which usually don't have many trees.
Proxmox also does this
YouTube has a hidden button labeled "New to you". I've recently discovered it, seems to do a better job of recommending new videos, compared to the home page recommendations.

Here is a screenshot on YouTube mobile:
https://photos.app.goo.gl/9zk4gaihuxu7WABF6
> The practice typically involves offenders sending an unsolicited sexual image to people via social media or dating apps, but can also be over data sharing services such as Bluetooth and Airdrop.

I'd wager the majority of cases they refer to being via social media and dating apps given the language.
Oh, that's disappointing. I had assumed that Swift did "full" type inference by backtracking from usage to assignment and then checking to see if the value assigned fit the constraints of the usage rather than just checking a single statement at a type like C++'s `auto`. I think I first encountered type inference like this from an OCaml course in college, but at this point I'm most used it it from Rust (for example: https://play.rust-lang.org/?version=stable&mode=debug&editio...).
I don't even have a single house and you're worried about a second house being taxed too much?
Well, if HN is suppressing this stuff, it's shameful and a fireable offense.
What about cases where the hash output isn't properly distributed across all possible outputs. Could some specific hash outputs be easier to find preimages for, and therefore have weaker preimage resistance? The idea here being that if you take some arbitrary message it's unlikely to produce one of these weaker hashes, but by simply selecting a weak hash directly you can find a message for it.

Or is this just too contrived and no function ends up working this way in practice?
Backporting non-breaking changes for new features should only go back a certain number of versions of date peroid. This gives some motivation to be up to date and when clients decide they must update to use a breaking change don't have as many breaking changes to adapt to.
Precisely. If I had to hazard a guess, I think their algorithm is hyper-optimizing for linkages, and when linkages are broad but tenuous, it hyper-optimizes for the ones with only the slightest dominance.

Hypothetically: all sorts of people are interested in the history of World War II... it's a big war, it defined politics for over half a century, and it's taught every year in the history classes of at least a hundred nations. So you're looking at a topic with hundreds of "also likes" connections but no strong winner.

Perhaps there is a 0.000001% chance that if you watch a WWII video, your next video will be one on modern Nazism (including recruitment videos). I wonder if YouTube's algorithm boosts that small fluctuation in a sea of noise into a single recommendation result (or even grabs the top 5, but the signal is so noisy that this one still shows up in that top 5)?
Behold figgy pudding Spam, the 'unholy' holiday canned pork blasted with citrus
''It was probably one of the worst things I've ever tasted,'' says Washington Post food writer
None of the major cryptographic hashes (MD5, SHA-*) have practical preimage attacks. It means pulling off what the author suggests (having a document hash to an illegal number) is impossible in practice, at least for now.

It could be possible using a non-cryptographic hash (murmurhash, CRC,...).
Agreed.

And maybe they should not take the high moral ground on other issues, telling others how to think and behave, when they themselves are happy to accept filthy lucre in return for compromising their own ethics.

I personally cannot stand these sleazy companies, happy to "take a stand" when it costs them nothing (cheap public relations!!!) but it's a "complicated world" and these issues are not simple, when they themselves bear the cost.

Seriously, they can go F themselves.
Flight prices are adjusted far more frequently than rental properties. Just get updates on a tracked flight ~6 months from now and watch it change weekly or even daily.
blockfi was based in jersey city also, it just wasnt public.
im trying to understand what is being argued here.

the person i responded to said it was a fact that "a chorus of coastal media types" are "asking for people they disagree with to be prevented from speaking in any public forum"

the comment said this was a fact. and i still don't think thats a fact.

now in this comment you say they're sending "calls to censor misinformation in media"--then sure. are you implying that journalists should be forced to report misinformation? and if they choose _not_ to report misinformation, they're censoring?
There have been attempts to remedy the fixed width simd vector problem that are already shipping:

https://developer.arm.com/Architectures/Scalable%20Vector%20...
Not at all, that's contained in the second model. That's why the "potential well" is so small on the edge compared to the sides, because momentum easily pushes the coin past the edge.
> Calling "Growing closer" a skill

My take on it that the skill isn't the act of growing closer itself, but the actions you can take to elevate conversation above small talk and see if there could be greater compatibility there for a closer relationship. And that latter part is maybe a big part of the skill: I agree that just having a deep/vulnerable conversation isn't going to give you a close friendship, but I think that's a necessary step on the path. Determining whether or not -- from those deeper conversations -- whether or not a deeper friendship is going to develop is also a skill worth mastering.

(Maybe the author did actually mean what you thought, in which case I agree with you... and so I like my explanation better.)
FWIW I agree that the committee should undertake an effort to convert UB to implementation-defined where possible... for example just mandate twos complement integer representations and make signed integer overflow ID.

To accomodate trapping implementations you'd have to make it "implementation-defined or an implementation-defined signal is raised" which it happens is exactly the wording for when an out-of-range value is assigned to a signed type. In practice it means you have to avoid it in your code anyway because "an implementation-defined signal is raised" means "your program may abort and you can't stop it".
It also now uses webseeds so could link to another pc without a browser.

But beware: webrrc implementation ignore limits of message sizes so raw implementation of webrrc in js fail to accomodate
> The fact Twitter was able to get away with kicking off a US President without any ramifications is frightening.

Your stance is the government should be able to compel private businesses to be mouthpieces for government officials? Seems pretty authoritarian.
I think you are hovering around that paradox of decentralization : In a human fallible society, to what extent can we push it? where is the human centre of a 99.9% decentralized system ? (100% = witout center)

Also, how High-level (AI) Automation will interact with that High-level decentralization could indeed lead us toward that "Icarus close to the sun" vibe. (is that what you meant ?)

I say: Let's not rush ourselves. we are still all too frail. we are still stuck with elective democracy and corporate capitalism [1] for the foreseeable future.

And Nature, as the ruler, has its secrets.

[1] https://en.wikipedia.org/wiki/Corporate_capitalism
Max allowed 10 months ago was 40 MPH and the reasoning is the tunnels are connected to each other with off areas where they connect.

Nobody wants to trust drivers doing 90 MPH with vehicles ahead at an absolute stop trying to get out at their connection area.
As I've read it, it's always regarding the food chain. I've never seen a paper that said mosquitos were completely inconsequential, just that if they were completely removed, the food chain wouldn't be damaged.
If they do, it won’t be because of Apple.
You can often fix this particular error by removing all type inference. Declare all variable types and include the types of any static properties/functions before the dot operator.
> The fact Twitter was able to get away with kicking off a US President without any ramifications is frightening.

It'd be pretty frightening if the President could require private businesses to publish his writings via a special just-for-him exception to their normal rules.

> Murders do not get solved anymore and our cities are unsafe.

Cops were reporting 100% homicide clearance rates in the 1960s; it's highly unlikely it was anything near that. Statistically - even with the 2022 uptick - we're in one of the safest societies in human history. There has been an absolutely enormous drop in crime rates, year after year, since the 1970s.
> All things that are good for HFT (...)

Not sure if you're referring to high frequency trading here, but if that's the case then it's just not true.
AVX is infamously bad for low latency becuse these instructions result in insane amounts of heat which forces the CPU to get down clocked (sometimes the cores on the neighboring tiles on the SoC too). P-State transitions are a serious source of execution jitter and a big no-no in our business.

Many HFT shops actually disable AVX with noxsave.
It's fantastically useful for HPC thought.
Meh I don’t see much issue with this. I think they should be able to run their AppStore however they want but it’s when they tie in too many products together like the iPhone and the App Store that it becomes an issue because you simply can not have alternatives this way.

If you could install your own App Store, there would be no issues.
> The nastiest one is big tech.

True.

> These companies should be broken up.

True.

> The fact Twitter was able to get away with kicking off a US President without any ramifications is frightening.

ah, what? You seem to have conveniently left out the fact that he had a significant role in the attempted overthrow of the US government? What do you expect Twitter to do? Just let it happen unchecked? "all enemies foreign and domestic" remember?
Here's another upvote for the Aranet4 device, I first found it recommended on HN and have been happy with it ever since purchasing it a couple of months ago. Integrated into Home Assistant using a couple of lines of Python code scheduled by AppDaemon.
People who don't fear physical violence make this argument all the time. They don't know why it's wrong, because again, they do not fear violence. Speech is just things on the internet, that aren't actually real.

They don't get doxxed, they can't be identified in a crowd, they can blend with whatever the majority is.

It is very easy to defend "free speech absolutism" when you're not the target of hate speech. When you're not the target of harassment. When no one is declaring that your rights should be removed, that violence against you or one of your group memberships should be acceptable.

"We just need to have good arguments" is something said by a person who's participation in the discourse is entirely voluntary, and who's stakes aren't "I have a right to make decisions about my own body", "I have a right to live unharassed in my private life", "I am equally entitled to life, liberty and the pursuit of happiness".

"Free speech absolutism" is something only ever advocated for by people who don't have to care about what that speech is advocating. Who have the privilege to turn a blind eye to stochastic terrorism, and will argue out one side of their mouth that "police have no duty to protect you from crime before it happens" while arguing out the other "well a few bad actors should be dealt with by the police".

Meanwhile, in the real world - bomb threats to children's hospitals[1].

[1] https://www.theguardian.com/us-news/2022/aug/31/boston-child...
It seems reasonable to assume that this is a byproduct of laws/regulations requiring more specific consent for tracking users. We're not in the wild west any longer.
Use SwiftBar instead, xbar is stalled...

https://github.com/swiftbar/SwiftBar
Text messages are too hard to search, which is why I email myself notes, todos and other reminders.
This is pretty good writing for a bot. Or a heart-to-keyboard stream of consciousness...
More taxes are the answer to cheaper housing!
You can provide the app on both and make all IAPs 30% cheaper on the alt store. Most apps already make purchases 30% more on the app vs their web version.
> reason is that these announcements allow them to win both ways. They are basically just summoning lobbyists

Well, yes. They’re soliciting input. If you feel strongly about this, contact your representatives. If only industry reaches out and zero voters give a shit, that means it’s not an issue a primary opponent could use to unseat them, it’s not worth creating political enemies over, the status quo is fine and it should go to the bottom of the pile.
> MSVC doesn't even support all of C11.

Did you mean C11 there or C++11? I'm not sure why C11 is relevant in a discussion about C++. MSVC's support of C has been abysmal for ages, but this has no reflection on its C++ support. Of which it definitely supports all of C++11. And 14. And 17. And even complete support for C++20

For C++20, GCC is "only" missing module support, but otherwise supports everything else. Clang is lagging behind, though.

https://en.cppreference.com/w/cpp/compiler_support
I don’t know how current it is, but Bunnie Huang wrote a series of posts in the 2000s about what it was like building things in China. It was more than just being cheap, and non-trivial to replicate elsewhere (one memorable quote: “I hadn’t seen blind dedication like this since I worked with the autonomous underwater robotics team at MIT”).

Here’s the first one:

https://www.bunniestudios.com/blog/?p=183
Are you spending 80% of your apple watch battery underwater?
All I know is that the mother doesn't usually wander too far from the nest, and they will attack people trying to take those eggs.

They will also attack the pickup truck you ran back into.
What was used in the four Vegas tunnels for the retaining walls?
Wrt algorithms, it really is an implementation detail of how flexible they make the crypto engines.

The number of crypto units would be SKU specific depending on the workload. A server box doing service mesh would need one per concurrent flow presumably.

The thing that accelerator offload gets you is an additional thermal budget to spend on general purpose workloads. If you know that you will be doing SERDES, and enc/dec, offloading those to an accelerator frees up watts of TDP (thermal design power) to spend other places. This is also why we see big/little architectures, the OOO processors suck up a lot of power. In-order cores are just fine for latency insensitive workloads.
Do you really think that more talented people prefer working from home?
'The term "codec" is a mix of the words "coder & encoder". Those are the magic parts before and after the "decoded frames".'

I thought "codec" was a portmanteau of coder & decoder. A coder and encoder are the same thing.
I'd guess it's because you're not logged in. There are three options if you're logged in:

- Not interested

- Don't recommend channel

- Report
“Programming guides”!

Those were so awesome because they explained the whole system. The core graphics one was an absolute lifesaver when I started working with iOS. Apples UI a frameworks seemed way more complex than anything I’d ever worked with before but once I understood the layers they started to click. I don’t know what I would have done with a bunch of class guides with patchy comments.
I asked the same question 14 years ago so I coded up a quick simulation and empirically discovered that the answer was thickness = 1.33 radius: https://www.youtube.com/watch?v=WFG1OP5OmAw
"it'd be easy for me to look down upon those with less developed palates"

I live in florida. There are people here that literally carry Sriracha sauce in their car. I will have people over for breakfast [eggs, bacon, toast, muffins], they will go to their car, and pour Sriracha sauce all over their eggs. It's pretty normal for them to put it on everything they eat. Eating just a potato seems strange to them, it needs that burning sensation. I think it is almost the opposite of a developed palate - it's more like they lost their ability to detect and enjoy simple flavors. Like an alcoholic that can't be in a social setting without liquor.
Lol, no it isn't.

Hacker News is one of the most aggressively curated forums on the internet. Did you think this was a laissez-faire free speech platform? The mods suppress stories and comments here all the time for any number of reasons.

In this specific case though I would agree with the other commenter that it's likely just a delay.
Apple will make that decision for you. I'll bet anything they would require exclusivity for listing in their store (in the event they're forced to allow for third party installs).
The main use case here is sending stuff in high traffic places w/ plausible deniability such as during your commute or at a mall.
I can't even figure out what a poe is. Here at least.
Too many software producers seem to adhere to this nonsense, which in part explains why software seems to be getting worse over time.

Of course you should listen to your users. But user reports aren't the only thing you should pay attention to.
VictoriaMetrics: Scaling to 100M Metrics per Second
>> Wait until she hears about hotels and flights.

Or TicketMaster's adaptive pricing! When are these politicans going to focus on society's big problems: getting me Taylor Swift tickets.
The search index isn't updated fast enough, we can check that by searching for any story currently on /new. No need to come up with censorship theories.
> How is it different from just eyeballing market price from looking at similar units, and renting yours out for +10-15% more?

OPEC works because they all move together. One of them raising or lowering production alone doesn't do much; all of them doing it at similar times does.

Same with RealPage. By having nearly everyone use it, nearly everyone's pricing moves in a coordinated fashion, and they collectively reduce the chances of downward price pressure.
I'm not super opposed to it.

Watching my son try it, he spends more time reading the created essay and correcting mistakes in it than he does writing one himself. The checking process is very similar to marking, and I think it's possible he's learning more this way.

(Also, he's madly trying to automate fact checking which is doing no harm to his programming at all!)
if people started doing it in mass it would be pretty strong and obvious signal in and of itself due to the manual and intentional nature of the action
but lake houses and beach houses are seasonal and have little demand year round
There are common dynamics. The penalties for leaving vary, but still, leaving a group you feel connected with always hurts.
I'm not an expert on China, but my understanding is that there has been a wave of protests over the past several months/weeks in which Airdrop has been used to disseminate protest materials. The intensity of the protests has ebbed/flowed, and they are happening in many different locations. Even "the current protest" is not well defined: there are currently many different protests that share a common grievance, happening in different cities across China.

Being pedantic about whether this was was a response to "a previous protest" is like arguing about which specific mosquito caused you to put on bug spray.
I dunno, I read Programming from the Ground Up, it's fine. World would be in better shape if that thorough commenting style was used more often.
Yep, which is why diesel cars auto-off/on when stopped is a mixed blessing.

Saves fuel but wears out the battery and starter motor much faster.
Honestly, Twitter kicking off a sitting President was one of the biggest wins for free speech in a long time. I don't know how people don't see that. This kind of public rebuke of the government will _literally_ get you killed in some countries countries. In many more it will get you disappeared at the very least.
Yes, I want this.

I don’t want only content some algo thinks I’ll enjoy. (At least not exclusively)

I also want to know what other people are interested in. The context that my friend thinks thing thing is ‘the best thing they’ve ever seen’ could make it worth consuming, even if it’s way out of my wheel house.

Brave Goggles was the last project I saw that gave a hope that something more curated could be enables on (web) search results. But it doesn’t seem to have gone far.
Nitter.it: Unavailable for Legal Reasons