skysight-inc/HackerNews huggingface dataset:
Who decides what methods to add to the bytes type/abstraction?

If I have a 3 byte big endian integer can I access it easily in rust without resorting to shifts?

In C++ I could probably create a fairly convincing big_uint24_t type and use it in a packed struct and there would be no inconsistencies with how it's used with respect to the more common varieties
The thing with targeted ads is that you don't discover the thing, the thing discovers you.

I'd argue theres good reason your brain is raising red flags when you are asked if you want to allow these manipulative processes to continue.
C++ makes Rust look easy to learn.
RGB and Y′CbCr
What stops Facebook (and others) from integrating some feature that legitimately needs additional data, and using that data also for tracking users? Is there something in Apple's new security implementation that prevents it?

For example, Facebook could integrate a 'find x nearby' feature, and then ask for location data. The feature wouldn't need to be popular or even well implemented. It seems like an obvious step.
The way I read the article, the actual "crackdown" was motivated more by financial than racial reasons by the record companies. The racial segregation was just collateral damage from that process. Doesn't that fit super neatly in the "sociapaths extracting value from a subculture at the cost of internal coherence" part of the theory?
yeah, in the interview they ask you to build clones of a service and are shocked if you haven’t used it.
Quite common when coding games back in the 8 and 16 bit days. :)

However for the case in hand, it would suffice to just write the key routines in Assembly, not everything.
Because Schmitz was in New Zealand at the time. Not much Germany can do to overturn NZ law. Germany is not the US after all…
Ironically they do, internally everything is around a Facebook profile (granted this was true when I was last there years ago). I imagine it’s still the same.
If you watch a lot of YouTube (i try not to these days), might I just shill for the "Sponsor Block" extension [1]? It blocks those sponsored segments in youtube videos. You can also submit segments to save others time so they can consoom more content.

I have saved 2.5 hrs and saved others nearly an hour through my submissions.

[1] https://sponsor.ajay.app/
Big-endian is natural when you're comparing numbers, which is probably why people represent numbers in a big-endian fashion.

Little-endian is natural with casts because the address doesn't change, and it's the order in which addition takes place.
The referenced report doesn't even mention Facebook. https://www.flurry.com/blog/ios-14-5-opt-in-rate-att-restric...

That said, if the Flurry SDK is on a large and representative sample of mobile apps, then this measurement is relevant to Facebook too because Facebook's SDK would be operating in the same app ecosystem.
This is great news, hopefully with enough heavy hitters backing this project it will succeed.

I'm not a big fan of improving pesticide application techniques (one of the examples given in the article) as at the end of the day it is still pumping poison no matter how efficient but if it means less chemicals leeching into our food and environment, I suppose it's better than doing nothing.

LifeTrac is an interesting Open Source project that might benifit from this foundational type of support.

When it comes to agriculture, there is already a very large grass roots, open community of farmers and growers. Eg. Market gardeners, Seed sharers, Homesteaders even Hay farmers. I believe this group is primed to turn into a powerful societal movement but does require financial support to compete against the corporate giants that at present literally dominate the AG field(s).
Java 17 peek: Continuing the drive to encapsulate the Java runtime internals
The practice of using software to literally toggle (or read) individual pins with the correct software-controlled timing in order to communicate with some hardware.

To transmit a bit pattern 10010010 over a single pin channel, for example, you'd literally set the pin high, sleep for a some predetermined amount of time, set it low, sleep, set it low, sleep, set it high, etc.
How? I mean, doesn't GP mean this?

struct whatever p;
fread(p, sizeof(p), 1, fp);
I don’t know why you’re being downvoted. This is a unique way of looking at things, if a bit paranoid. As others said, there are ways to block ads without using an adblocker.

That being said, I used to go to Facebook /just for the ads/ because they were always interesting. Now they kinda suck, dunno what happened in the last few years.
"Once you start looking for confirmation bias you see it everywhere." - Michael Feathers
> we just haven't been taking into account the proper relativistic corrections at galactic scales

Dark Matter was first postulated because galaxy rotation curves strongly suggested if there was not unseen matter, galaxies would fly apart. But these observations of galaxies were each of a galaxy in isolation. So in essence, Dark Matter is a fudge to explain the observation that galaxies are not flying apart. Since, other observations that can't be explained have been lumped into Dark Matter. But it turns out, Dark Matter is unnecessary to explain galaxy rotation curves.[0] Galaxies are never isolated. They come in clusters and superclusters.

[0] https://www.youtube.com/watch?v=PL0ewiwqoTw
Inertial navigation means calculating your next location based upon your speed and trajectory. Cars can calculate how fast they are going and when they turn from wheel size, revolutions and steering inputs, they don't necessarily need IMUs to imply this data. Sibling responses in this thread miss this point.
My guess is that cyberattacks are threated the same way as spying, so they would deal with these things silently and violently (for the operators), but never generate a straight out war.
The worst story of a forsaken man I've read is a guy who found himself all alone for several years during the 18th century, completely naked, on a sand bank in the Pacific (with not a single plant). He survived by eating turtles and seabirds, and drank rainwater from flipped-over turtle shells. IIRC he was from Peru.
I'm not an iOS dev, so correct me if I'm wrong, but aren't these specifically App Store entitlements? So if you try to submit an app using an API covered by one without having been granted permission to it, that request will fail, but if you're just building and running on your own hardware you can use any private API you feel like?
The Rise and Fall of Thinking Machines (2020)
Even if all CPUs were little-endian, big-endian would exist almost everywhere except CPUs, including in your head. Unless you're some odd person that actually thinks in little-endian.
> Colonial’s pipeline transports 2.5 million barrels each day, taking refined gasoline, diesel fuel and jet fuel from the Gulf Coast up to New York Harbor and New York’s major airports. Most of that goes into major storage tanks, and with energy use depressed by the pandemic, the attack was unlikely to cause any immediate disruptions.

https://www.nytimes.com/2021/05/08/us/cyberattack-colonial-p...
I don't see more relevant ads as an upside. I'd rather see totally irrelevant ads since they're much less likely to have an impact on me. They can waste their effort trying to manipulate me to spend unnecessarily on things I'll never buy.
Not all of them, but it would be very strange not to use the product you work on, even in some rudimentary form.
Are they looking for people outside Russia that may be helping her?
There's not much they can do while she's living there.
The problem is that the usage of the device / advertising ID is visible to Apple and requires this permission.

Using other data doesn't require asking this tracking permission.
They're probably asking because it depends on the quantity they're making.

I had a friend who asked me if he could freeze the soup recipe I sent him and while confused I told him it shouldn't be an issue.

Later on I'm visiting and he tells me he's making that soup. I walk into the kitchen to see a 40qt/37L pot being cooked. No wonder why he was asking if he could freeze it because the poor fella would have needed to eat 3L of soup a day to finish before it went bad if he didn't freeze it.
Someone else stated it well, but while neither equivalence is accurate, mine is a lot closer.

Speeding is common (difficult to prevent) and exhibits low downside risk. An intruder in the house is rare and carries an enormous downside risk. Which one is more analogous to the escape of a dangerous virus from a lab?
Only a matter time before they sell user data. Make it open source.
In case anyone else wonders how the code in the linked tweet [0] would format your hard drive, it's the missing return on f1. Therefore, f1 is empty as well (no ret) and calling it will result in f2 being run. The commented out code is irrelevant.

EDIT: Reading the bug report [1], the actual cause for the missing ret is that the for loop will overflow, which is UB and causes clang to not emit any code for the function.

[0] https://twitter.com/m13253/status/1371615680068526081

[1] https://bugs.llvm.org/show_bug.cgi?id=49599
I wonder how much this will affect Facebook.

They can easily use machine learning to tell where photos are coming from and assume that you live in that area and go to certain types of stores or bars and what not.

That should be close enough in terms of advertising relevance versus where we were in the past with basically everyone being shown ED pills nonstop.
Yup, we're all waiting for the rest of the world to catch up to MM/DD/YYYY.
I also regard the term EDM as a specific scene. It absolutely does not encompass the previous 40 years of club culture.
Sorry for being unclear. My point is that the example in the blog post does two things, a) it reads an unaligned address causing UB and b) it performs byte-order swapping. The post then goes on about avoiding UB in part b), but all the time the UB was caused by the unaligned access in a).

Of course your example solves both a) and b) by using big_uint32_t, and I agree that this is an interesting abstraction provided by Boost, but I think the takeaway "use C++ for low-level byte fiddling" is slightly misleading: Say I was a novice C++ programmer, saw your example of how C++ improves this but at the same time don't know that big_uint32_t solves the hassle of reading a word from an unaligned address for me. Now I use your pattern in my byte-fiddling code, but then I need to read a word in host endianness. What do I do? Right, I remember the HN post and write *((uint32_t*)(b+1)) (without the big_, because I don't need that!). And then I unintentionally introduced UB. In other words, big_uint32_t is a little "magic" in this case, as it suggests a similarity to uint32_t which does not actually exist.

To be honest, I don't think the byte-wise reading is in any way inappropriate in this case: If you're trying to read a word in non-native byte order from an unaligned access, it is perfectly fine to be very explicit about what you're doing in my opinion. There also is nothing unsafe about doing this as long as you follow certain guidelines, as mentioned elsewhere in this thread.
Measure and reduce keyboard input latency with QMK on the Kinesis Advantage
I'm somewhat positively surprised that there was a notice at all. This means that even non-US citizens enjoy some rights for being informed about data sharing. Silver lining.
> If you program in C long enough, stuff like this becomes second nature, and it starts to almost feel inappropriate to even have macros like the above, since it might be more appropriately inlined into the specific code. Since there have simply been too many APIs introduced over the years for solving this problem. To name a few for 32-bit byte swapping alone: bswap_32, htobe32, htole32, be32toh, le32toh, ntohl, and htonl which all have pretty much the same meaning.

> Now you don't need to use those APIs because you know the secret.

This sentiment seems problematic. The solution shouldn't be "we just have to educate the masses of C programmers on how to properly deal with endianness". That will never happen.

The solution should be "It's in the standard library. Go look there and don't think too hard." C is sufficiently low-level, and endianness problems sufficiently common, that I would expect that kind of routine to be available.
Paving roads is not an investment unless there's some sort of asset that you have equity in that will appreciate by your doing. But apparently you would condemn this as a form of "speculation".

The desire to tax accumulated wealth is equivalent to the desire to tax saving and deferred consumption. People like to dance around this point but it's difficult to avoid how abhorrent this is when it's properly framed.
I'm pretty sure some people enter their real passwords :)
I am falling behind. Can someone send me the most current, approved vobaulary lists, please?
Realize also that communication you have with others, for example via iMessage, may be stored at Apple if they have iCloud backup enabled.
Cool, have fun with that. I'm going to be over here eating bacon and not beating myself up for not being perfect.
You probably cat-ted a directory, like the "about" directory.
None of your suggestions are robust enough for the stated needs

Disagree. Your sole suggestion (resurrect (e)Loran) is expensive and unlikely. IMHO we are more likely to add better geolocation query features to cellular networks than build another network of ground stations.

One I forgot to mention is internet-based wifi SSID geolocation lookups... these are generally super accurate and fast.
That's a very complicated question really and kind of beyond my specialisation, but it mostly comes down to something called "renormalization", which is a technique used to construct a Quantum Field Theory. Unfortunately it doesn't seem to be possible to construct a renormalizable field theory for gravity, which makes it seem incompatible with the approach for the Standard Model.

In their basic forms, GR and the Standard Model are basically entirely different languages, as you said, one using a model of motion in a curved spacetime, and the other using a formalism of quantum fields. However this brings up a big question: why are the electromagnetic, weak, and strong interactions described by a totally different formalism to gravity?

You can do quantum field theory in a curved spacetime, but that is more of a band-aid approach to the problem than anything and doesn't really help to unify the two approaches.

It could be that the answer is that two different Gods designed gravity and the other forces, they certainly seem that disparate. But as a Physicist is it quite hard to accept that gravity and the other interactions are fundamentally separate, we would like a full theory of all four of the interactions.

EDIT: I should point out that QFT is hardly very nice anyway. We don't have evidence for a specific ontology/interpretation for Quantum Mechanics yet, we don't know what Quantum Mechanics is or means. We may come closer in the years coming though.
I don't meant to say it doesn't have bugs, of course it does. Every project has bugs. As with all open source, submitting patches to fix those bugs will usually go farther than patiently waiting and hoping that another volunteer will get frustrated enough by the bug to fix it eventually. The obvious segfault bugs that affect everyone badly will tend to get fixed pretty fast, the more obscure ones that arise from weird use of widgets (and need a lot of in-depth debugging) are a harder thing to ask a volunteer to spend their time on.
In fact I have the same concern with you. This is my first React project and I just started it for learning propose. Then I need some content to fill it, so I put some of my information and projects in. After that, just as what you said, I realized that this "portfolio website" is a little bit too much for my poor open-source projects hahaha.

Any way, this project is just for fun and I never expected to find a job through this. Thank you for liking it!
It includes its own terminal: https://i.imgur.com/sdxOHqr.png

I was able to play the alpha of my game in the embedded Safari! https://i.imgur.com/PWCYEZP.png

Really interesting how iframes are an underused tool.
Thank you. I was wondering why someone resurrected Windows 0.9 (was that even a thing?) and why in the hell someone would port Rust to it.
Downvotes suggest some people failed to understand the comment. A browser extension for avoiding Amazon, that only works in Google's browser. I'm baffled why one tax-avoider is fine while the other is to be avoided.
My wife recently suggested that mine may be brought on by my seasonal allergies. I get them infrequently, but thinking back the timing is about right. I wish I’d kept a log.
This seems sort of like saying a house in California should be more entropic than a house in Rhode Island because California's bigger than Rhode Island. But the laws of physics don't care where we've drawn arbitrary lines on our maps, whether they be geographic or galactic.
I assume you wrote this comment in UTF-8 over HTTP (ASCII-based) and TLS (lots of uint8 fields).
It's a bit of the same from Sabine. Dark matter hypothesis allowed us to simulate a vast range of processes in the Universe, from large scale cosmological simulations, predicting clustering of galaxies, cosmic microwave background to smaller scale simulations of galaxy formation and individual galaxies. The hypothesis have been extremely successful and predictive. It is also true, that some of the systems we've been discovering are a bit harder to explain within our Cold Dark matter framework, requiring changing some things about how galaxies form (i.e. making star formation less efficient in small galaxies, introducing feedback effects from accreting supermassive black hols and things like that). I (and many astrophysicists) do not see that as a problem or evidence that dark matter needs to be abandoned, but instead see that as a refinement to the theory.

Regarding modified gravity theories, it's true that you can mimic some of the dark matter behaviour by the modification of gravity laws. Also if you can add some kind of global scalar field you can similarly mimic dark matter behaviour. The problem however is that the modified gravity theories (at this point) do not allow the same range of simulations that cold dark matter(CDM) simulations can do (for various reasons, such as many of those theories do not have a general relativity formulation). Because these theories can't make as many/as varied simulations as CDM ones, they are not as tested as regular CDM and much less predictive. Therefore based on that fact alone IMO these theories are less useful.

It is also true that if we continue for many years searching for the dark matter particle and will still be unable to find it, maybe we will need to refocus our attention on alternative gravity theories, but the problem is that so far the part of parameter space where we looked for the dark matter particle is still pretty small and there is no strong reason to think that dark matter should have been there.
The Ways eBay Is Using Artificial Intelligence to Boost Business Success
That's quite a strawperson - it creates a fictional story and then criticize the characters.

The U.S. government has been addressing computer security in infrastructure for a long time.
Show HN: A coding interview tool that automates interview feedback
Also, slightly related:

If you want to watch less YouTube, you can use uBlock element picker to remove everything but the search bar. My YouTube web interface is just that now, no recommendations, no nothing. Bliss.
I'm italian and thank you for reminding me that we have that deliciousness. I don't know why I don't make it more often.
There are several other general policy changes and trends that are far more relevant to housing.

With the passage of the Fair Housing Act, cities embarked upon thorough downzonings to prevent any new construction and "preserve neighborhood character" by not allowing more affordable forms of housing like townhomes and condos.

Prior to the downzonings, zoning capacity was very free, there's a great graph of LA's zoned capacity versus population over time, and it starts decreasing from many many multiples of population, and as population rises it falls to barely more than population. This sort of extremely tight constraint on housing, allowing it only in very certain areas, and in particular only if there is no small subset of homeowners that oppose it, is a huge change from the past.

You can also see similar evidence pretty much all over the Bay Area too. A six story apartment building in the Sunset may exist now, but could never be build now because of downzoning. You'll find lots of older duplexes in some parts of the Bay Area, similarly outlawed now.

This sort of planning trend wasn't limited to California by any means, and the Levittowns of suburban development embraced a development style of having nearly all land "built out," a state of regulation so that nobody with slightly less money could move in because apartments or duplexes were allowed.
Obfuscating Your Primary Keys
I am alluding to the forced migration to city life (including malls to spend money at). This was simultaneously done while razing the villages and all of their history, interestingly, China as we know it, with all of their history erasing going on, is only about 70 years old.
I wonder if there’s some way to leverage the Swift annotations in the SDK to help generate the Rust code automatically.
I don't see why you couldn't just go back to more loose-grained targeting based on demographics. For instance, the adds I hear during the podcasts I listen to are largely relevant to me, because they're targeted towards the type of person who would enjoy that content. Nobody minds this, because they don't have to collect personal information to target this way.

I think it's better for everyone if businesses were incentivized to create spaces to delight and engage high-value demographics, rather than just manipulating users into spending time on their site long enough for an ML algorithm to find the right add you're willing to click on.
It would be business if there was a way to know this thing exists and to contact them and request it; otherwise it's a hidden secret between them and that partner, which is a disadvantage to all other developers paying 99$ every year to have access to it.
I think all that's needed here is a note on the website clarifying that you're getting the best piece to complete a line right now, and that this will frustrate anyone looking to set up for a tetris.
I know, Art. And thanks for noticing.
Shutting down pipelines is insanely expensive. Under normal circumstances maintenance work, including welding, is done on live pipelines. The guys that do that job are extremely well compensated, last I knew hundreds an hour, and maybe a little crazy.

A shutdown is a huge deal and means they’re taking this extremely seriously.
> To me, it seems to be a good for most people when a competent central bank in a well-functioning democracy can regulate money supply in order to keep inflation present and moderate. Why would we want to give that up?

If money is supposed to work like everything else in the universe, it should expand and contract. Hardly any politician or government every had the heart to let contraction happen, so outsized balloons of financial instruments grow, and then burst in an outsized bust. I think that's the argument for a money without political control.

The idea is that political control can only buy time, or is sort of an illusion anyway.

Consider that convertability to bullion or the mathematical algorithms of cryptos are attempts to achieve this same goal, in a way. So it's not new. Many users of a currency want this propertiy, or maybe more specifically, the lenders. Borrowers have to accept these terms. Unless the borrower has a lot of power, like a government, and can consequently change the rules.
Fungus-like organisms in deep time and deep rock
Yep, vercel.