skysight-inc/HackerNews huggingface dataset:
> Binary addition ... is super-linear with regards to operand width

No its not. That's why Kogge-Stone's carry lookahead adder was such an amazing result. O(log(n)) latency with respect to operand width with O(n) total half-adders used.

It may seem like its super-linear. But the power of prefix-sums leads to a spectacular and elegant solution. Kogge-stone (and the concept of prefix-sums) is one of the most important parallel-programming / parallel-system results of the last 50 years. Dare I say it, its _THE_ most important parallel programming concept.

> multiplication latency

You could just... not implement 128-bit multiplication. Just support 128-bit pointers (aka: addition) and leave multiplication for 64-bits and below.
The publics' attitude toward America's military, more like. It is easy to get people to spy on their own country if they already have a hatred for it, and that _is_ a national security risk. That is not to say you must be blindly patriotic, but if you hate your country, hate your military, and only want to burn everything to the ground rather than reform, that is a massive insider threat that is exploitable by our adversaries. If you don't think the excessively high number of america-hating americans is concerning, then I don't know what to say.
I never had an experience like this in ten years at Google. If I ever felt done trying to get promoted, I'm confident I could have worked 25 hours a week and gotten "meets expectations" forever.
If you have to do it for 8 hours a day anyway, might as well enjoy it
The failure is a failure of adherence which is always the root issue with obesity. Walking probably actually does work well too. The relevant question is "which one are people more likely to actually do?" And this does seem promising in that regard.
I also don't understand the "swag obsession" (well, maybe except for the Rust Ferris, Go Gopher and Dart Dash plushies) but neutering conferences and travelling would make me frustrated.

Travelling to conferences is a huge learning opportunity: you can upskill by having fun with people all over the world for two-three days.

If I worked for a FAANG company where I am supposed to be or become an expert of a technology, and they don't want to pay me for one or two conferences per year, I'd also feel frustrated.
The problem is that the rules are ambiguous and in some industries (such as software development) it is not possible to effectively separate employees from contractors which means that even legitimate contracting activity can look like disguised employment.

If you operate a business that provides software development services and want to help a client with their existing software project (who already has full-time employees working on it) you will often need to become embedded within their team which includes participating in regular meetings (including daily standups) and do "employee-ish" things that look risky from an IR35 point of view. Just speccing out a clear scope of work in advance is very difficult as sometimes the scope will vary over time as edge-cases are discovered during development, so the SOW will end up very broad and may look employee-ish. Your best bet is to have mitigating factors such as working for multiple clients, using your own equipment, etc and possibly contract length (I am not sure if it counts, IMO it definitely should) but none of those are bulletproof either.

Contributing to an existing codebase in parallel with a client's in-house development team is risky from an IR35 point of view even if you are doing so in good faith and want to operate a business rather than just be a "permalancer". That's also why with the new rules (that are now being repealed), a lot of companies did a blanket determination of putting everyone "Inside" IR35 because the rules are not only unclear to begin with, but even more difficult to correctly interpret and apply in certain industries.
stdint.h has been around far longer than Rust.

I've been using those since the 00s for bit banging code where I need guarantees for where each bit goes.

Nothing quite like working with a micro processor with 12bit words to make you appreciate 2^n addresses.
Nice scale. I'm definitely a P2 but I fake being a P4 mainly because companies pay more. I couldn't give a damn about the product I work on, but I'm good with computers and I'm good with people, and getting more money for doing P4 level work is worth it.
MLCommons is creating a new working group to modularize ML Systems
MLCommons is creating a new public working group to learn how to modularize ML Systems and automate their benchmarking, optimization and deployment. It will be based on the MLPerf benchmarking methodology and MLCommons' automation meta-framework. This framework was recently used to automate MLPerf inference benchmark submissions from Qualcomm, HPE, Lenovo, Krai, DELL and OctoML.
0.13 ms per request is loads when you consider a typical web page (facebook homepage) has about 700 requests now, and due to the single-threaded nature of javascript they all need to be processed sequentially. Ie. thats 91 milliseconds seconds of pegging one core, just for one extension, for loading one page.

It's also probably an underestimate, because it doesn't include the IPC time within Chrome, which involves at least two context switches, and the associated cache rewarming.

Granted, extensions could be better implemented - for example, for URL blocking, there should be a bloom filter for allowing stuff so that the whole list doesn't need to be checked.
8 EiB of data (in case we want addresses using signed integers) is around 20 metric tons of micro-SD cards one TB each (assuming they weigh 2g each). This could probably fit in a single shipping container.
First thing I thought of when I saw the title. Was using the paddle control less or more frustrating than the typical game?
I feel like this can happen with individual teachers that you have a personal relationship with. I don't believe it's possible with a company, no matter how "pure" the company's intentions were, even if they were not for profit, etc. At best, it would a bit less likely.
Same. I don't hate my job, and often enjoy it, but the second I was paid a cent less than promised I'd be looking for a new one.
There is a Google form to join this group: https://forms.gle/i5gCDtBC8gMtcvRw6
Indeed, my friend prefers to roast his beans in very small batches, to minimize the storage time before brewing.

And home cooking is definitely a personal / cultural thing. In my own case, I don't like restaurants: The crowding, noise, huge portions, and challenge of finding decent selections for the variety of people I hang out with, including vegetarians of all stripes. Having kids put a damper on my enjoyment of restaurants as well.
Every time I get asked to give my size for a piece of swag, I tell them that the only “swag” I want with the company’s name on it as shares. Everything else is worthless and wasteful.
He’s right, I don’t get why companies feel the need to do six figure morale events off campus. When I worked at a smaller company, we would do a company picnic in a park and play kickball and drink a keg of beer or sodas and just eat cheap food, and it was 100x more fun than the elaborate offsites I attended at Microsoft. Microsoft’s idea of a morale event is to rent out a stadium or a boat and have Macklemore or Walk the Moon do a concert
I admittedly have more swag both from tech events and my own company than I know what to do with. But, especially when it's individually shipped to me at home, I usually roll my eyes a bit when I get some package of random branded Chinese crap in the mail. I do have some swag I've gotten over the years that I really like but don't mail me a T-shirt or a lunch bag.
There was a post awhile back from NASA saying how many digits of Pi they actually need [1].

import math

pi = 3141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360

sign_bits = 1
sig_bits = math.ceil(math.log2(pi))
exp_bits = math.floor(math.log2(sig_bits))

assert sign_bits + sig_bits + exp_bits == 1209

I'm sure I got something wrong here, def off-by-one, but roughly it looks like it would need 1209-bit floats (2048-bit rounded up!). IDK, mildly interesting. :>

[1] https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimal...
“White” seems overly broad here.
https://www.theamericanconservative.com/the-myth-of-american...
> We could say the same about any small town local government in the Bible Belt.

This isn't remotely true. Your rural local government -

a) generally has to serve the interests of its constituents, ie the fuckup mayor or do nothing member of the county commissioners board will eventually be called out, shamed in public, and lose reelection.

b) unlike Disney, does not move in lock step chasing quarterly profit - which is a very good thing, as it allows for long term cooperative efforts, like bringing a sanitation system to a small town of 800 people.

c) Are by-and-large the most useful people when it comes to pushing back against encroachment by companies who would prefer a company town. Your county commissioner, county seat mayor, etc, almost always have interests that run counter to the largest factory in the area, which is a blessing. That's not to say corruption doesn't happen, but most people are honest, and try to help the folks they represent as best they can.

Disney is far closer to the factories that try to bully, cajole, and coerce their way to a better bottom line, than it is the elected body of a rural area.
Learning whether the button should change colors is different from actually changing the colors.

I agree that the learning part is interesting but at google I suspect those are two different jobs.
You'll mostly get altruistic and/or theoretical answers, like that all employees should have equity on principle, execs should on principle, or that it motivates execs to deliver results. I'll give you a practical answer: it's a compensation agreement.

There's no right or wrong answer what should or shouldn't be part of compensation, nor how much. 0% isn't any more or less "correct" than 2% or 0.2% or 20%.

If you don't like your compensation, negotiate harder. In your case, it sounds like you perceive the pay is already lower than you could get elsewhere, so there's not much of a trade to give. Basically, you believe you're worth a lot more than the company does, and also, it's personally important to you that you have equity in the company. That's fine. Either tell them that (and be ready to move on - there's probably not a satisfactory outcome), or simply accept that the parties disagree on how valuable this role is and move on.
For others, you can adjust the format with `podman build --format=docker` (or set `BUILDAH_FORMAT=docker`) or possibly you can push it separately?

https://docs.podman.io/en/latest/markdown/podman-manifest-pu...

Wonder why they don't use OCI format.
It's embarrassing when a company puts out a giant suggestion box to figure out how to be efficient. It means the company has no clue how it operates. You shouldn't have to ask random employees what the problems are. You should already know, because identifying and eliminating inefficiency (in order to improve quality) should be part of your standard practice. Putting out a giant suggestion box is the laziest and least useful way imaginable. You have no idea which 'suggestion' is a bigger problem, you have no metrics, no context. It's just 7,000 people complaining about 7,000 random things.

Don't get me wrong - the low-level people always know what is wrong and know how to fix it. But nobody in upper management gives a shit. Which is why your company is inefficient. Soliciting advice from random ICs now will result in the same dont-give-a-shit syndrome by management. And management continues to do whatever bullshit helps themselves rather than the company or ICs.
Except if we equate the working environment with school then traveling to conferences is basically a school trip.

That is the most fun, people who are lucky enough to having been in a sports team when they were younger understand that being on the road is the best.

If you were a student/athlete then going on the road was a unique mix of working for a future shot in the world of pros AND fun being on the road with your mates.
The core tenet of the principle is that the more entities you have to posit in any given postulate, the more assumptions you have to make, the less likely it is to be true.

I was making the point that I have to assume much less to make the statement that companies are not passively recording, tokenizing, and analyzing every conversation users have without their consent.
I figured that working outside the borrow checker meant using unsafe.
https://archive.ph/Op2ta
The paddle was awful but it was also novel so young me loved it.
UK government dishes out extensive tax cuts as country braces for recession
Rooftop solar costs quite a lot more to field than utility solar.

If you can buy from a community solar project, instead, that is likely a better deal.
Whoa, after about 7 years of writing Rust, I only now learned that Rust's strings can be extended with `+=`.

In any case, a Rust string is inherently a growable data structure. It has a capacity and a size. If the size exceeds the capacity, it is reallocated.

Does Rust for Linux have "mystring.push_str(" and then we ate a whole cake,")"? If yes, why is "+=" implicit and "push_str" is not?
yes, unfortunately.
From USD perspective, Japanese salary got 30% cut, which is ridiculous.
it gets even worse if you take surging US CPI into consideration!

Nowadays, I cannot imagine having a trip to the U.S.
Copied from https://www.rezmason.net/projects.html

Through the nineties, Microsoft software engineers carried on a tradition of writing clever and distinctive software projects alongside the software they were primarily tasked with writing— this is where Solitaire and Minesweeper came from, for instance. These engineers also wrote "easter eggs" into their primary software, such as the beautiful flight simulator hidden in Excel 97.

Amazed by reading the above. I'm a sucker to read and learn from that clerverness.
How-To Ace Code Reviews?
Pichai's annual salary is close to $300 million.

I understand the dynamics and inequalities that are inherent in capitalism. However the insane CEO and corporate board member salaries are simply not justifiable.
Let's be real. Most of the traveling to conferences that Google employees do is just an excuse to get out of work and be paid to do so. Pichai is right to tighten the purse strings.
It's not impossible, technically. But it would contradict more than a decade of behavior and performance along with having no circumstantial or hard evidence to back it up.
Alien-Hunting Astronomer Says There May Be a Second Interstellar Object on Earth
There's a large number of tech employees who only wear swag clothing and supplement with Uniqlo when required.
Such a service would be a lawsuit engine, the social pushback from the female population towards the creators of such a service would significant, and then the public impression of the technology would be "tainted with porn" if ever attempted with brand advertising.

Meanwhile, simply the process of inserting consumers in the trailer of any Marvel superhero film and charging $1 for you own copy would make tens of millions. Repeat with any highly desirable fantasy franchise. That is the most obvious application. Actor replacement with ordinary people has a huge number of positive to society applications. Porn is not one of them.
UK Biobank rescans 60k brains, largest longitudinal imaging dataset ever
To be fair, a 3,000 person company can feel a lot different from a 10,000 person company and certainly from 150,000 person company.
We did an experiment. We talked about how hard it is to find highlighter yellow nail polish. Nobody in the house is a purchaser of nail polish nor did we do any searches for highlighter or yellow or nail or polish. A day or two later my wife got an Instagram ad for highlighter yellow nail polish. It could have been a coincidence or maybe they were listening.

Or maybe some combination of things we did previously led naturally to thinking about that yellow nail polish. I'm thinking about something like the trick where you ask somebody a bunch of addition problems that have 14 as the answer (what's 10+4? 2+12? 3+9? etc...) then ask them to name a vegetable and they will almost always say carrot.
I think the biggest boost to Chrome's initial success was the fact that it's capable of installing entirely within the user profile, so unless a corporate IT department has gone out of their way to lock a system down an unprivileged user can install it for themself.

Remember, Chrome was released in 2008. Internet Explorer, with almost 2/3 of the browser marketshare, was on version 7 at that time and a stupid number of corporate IT departments would continue to default to IE 6 rather than updating or fixing their ancient garbage applications for years to come.

Chrome provided a way for power users to have a non-shitty browser, which then blossomed from there as more and more web sites made use of modern browser capabilities and worked worse and worse in corporate-mandated IE instances.

Putting on my BOFH hat obviously I'm not the biggest fan of such "shadow IT" processes but I understand that they happen when needs and wants aren't being met and sometimes this is the most effective way to force a necessary change.
> It's important to consider ergonomics in sedentary jobs: every now and then, programmers should shift a bit.

I’m curious if this was an intentional pun? I thought maybe in addition to moving now and then, it’s subtly suggesting to write low-level code? Having taken a recent career trajectory from high level code to assembly & hardware, I’m being exposed to reasons why practicing some bit-level hacking is good for my understanding of how the machine works. Maybe that wasn’t the intent here and I’m seeing faces in the clouds. :P
Most of it's dirt-cheap; tee-shirts and baseball hats aren't expensive. If they give you tech toys, they bought them on a heavy discount.

I'd always sooner have a pay-rise, and choose my own toys.
Wearing company swag is the most cringe-worthy thing you can do, second only to wearing a Harvard sweatshirt.
I agree. I know several people that have been much more successful than me in the board game industry, for example, and I've maintained my friendships with those people, and it's lead to some opportunities I might not have gotten otherwise (so far not the success that they've had, but that might happen eventually).

Like they've talked to publishers on my behalf and convinced them to set up meetings with me so I can pitch my designs to them, playtested my game designs and gave me useful advice, given me playtester credits on some of their published games, will most likely talk up my games if and when they get published, and I think I might be able to do a codesign with an established designer if I had a bit more time (pretty busy at the moment).

Personally I'd still be friends with these people even if they did none of that, I just enjoy their company, but it has had some side benefits as well.

Most people in the board game industry are far from 'wealthy', though. I probably make more money than several of these people I'm referring to (but definitely not all), although I'm much less passionate about my current job than they are, so I could still be envious of them (and every once in a while I do feel that way).
Ok but it's kind of complicated.
So I did some testing with Rust and I don't think that the C++ "four times slower" applies to it at first glance. Maybe Rust can just do better optimizations or something because Rust knows that it is a discriminated union, but these kinds of conclusions can't just be ported across languages blindly.

Of course, porting the benchmark for `sqrt` wasn't trivial because (of course) C++ just modifies the span passed in making it easy to abstract out the allocations whereas Rust says "you cannot pass a mutable slice across a `catch_unwind` barrier", so all of my tests end up returning a new `Vec` inside the benchmarked function. I also wonder how much using an inner function for `fib` would allow some TCO to kick in and change results again.

In any case, I don't think that C++'s has anything that satisfies the use cases that Rust's `Option` or `Result` cover in its standard library, so even if `std::optional` and `std::expected` were magically faster, the fact that `std::optional<inner_field_type const&>` is not supported means I can't use it for what I want anyways and I'm back to Boost or hand-coding classes and dealing with corner cases myself. Which is, unfortunately, a C++-shaped problem that has existed for a long time anyways, so…nothing new.
Funny thing that sending an e-mail to the president (Brazilian president) was one of the first things I did when got online (1995). It was basically Playboy website and this till I found IRC :p
In small tech companies, everyone who contributes to long-term success and is not immediately replaceable should have some ownership.

Are you immediately replaceable? Does your work significantly increase the value of the company? Would losing you be a plausible trigger for the dissolution of the company?

Should you still be there in 5 years?
"all it does is perform optimizations that are correct under the extra assumption that there is no Undefined Behavior."

How did the compiler writers reach the point where they were able to read "undefined behavior" as "does not happen" rather than "specification left this undefined so that the compiler can define it"

I don't think there is anything wrong with undefined behavior, I do however expect the compiler documentationto have an extensive section on stuff undefined by the specification.

for example: when a signed integer would exceeds the maximum value this compiler just lets it go and it does whatever the underlying hardware would do. on amd64 this will overflow to a negative value.
This isn’t evidence. Even if Facebook was not listening to your conversations, there would be some rate in which you would just randomly be served an ad related to a topic you were discussing. There needs to be evidence that it is happening at a rate too high to be attributable to chance.
I switched from drip to a moka pot after visiting my sister in Italy, and It's all that I've used now for three years.
Pointers will get fat (CHERI and other tagged pointer schemes) well before even server users will need to byte-address into more than 2^64 bytes' worth of stuff. So we should probably be realistically aiming for 256-bit architectures...
The number of friends and colleagues that have chosen companies based on SWAG and free food is *insane*

In my mind it’s pure entitlement and another example of the staggering divide between the tech world and the real world. It makes me very sad.
There is a huge difference between apathetic and putting in my best work for 8 hours that they pay for and logging off and enjoying life.
Yeah I've used a small Google duffel bag for 12 years. The key is that the swag is higher quality and not landfill-bound junk.
For those commenting that it doesn't make much sense anymore from the tax perspective, forget the difference between employee and contractor rates. If I would switch to contracting, my earnings would almost double...
For instance:

£500/day contracting? Easy. As an employee? Not a chance.