skysight-inc/HackerNews huggingface dataset:
I've been fairly convinced for a while that once Rust matures (which is probably fairly close to "now", but I've held this opinion for years) that it's going to have a performance advantage in real code that's going to be hard to capture in benchmarks, because it's easy in a small benchmark to be very careful and ensure that you don't have aliasing, avoid extra copies, etc.

Where I expect Rust to really shine performance-wise is at the larger scale of real code, where it affords code that copies less often because the programmer isn't sure in this particular function whether or not they own this so they just have to take a copy, or the compiler can't work out aliasing, etc. Ensuring at scale that you don't take extra copies, or have an aliasing problem, or that you don't have to take copies of things just to "be sure" in multithreading situations, is hard, and drains a lot of performance.
School isn't like a nanny, though.

I'm quite sure that psychology studies show that children need to bond with their parents (biological or adoptive). I imagine there's a fine line with that outsourcing and it's hard to draw, as a thought experiment I'd guess if they spend 80% of the time with their nanny, they're not going to bond as well with their parents.
Bought my ZX81 direct from the UK after seeing their ad in Pop Sci [i].

Later on, there was a store called Gladstone Electronics in Toronto that sold software and many peripherals for the Sinclair line of micros. [ii]

Even built my own full sized keyboard for the ZX81 and learned Z80 assembler through owning it. Great memories!!

[i] https://i.pinimg.com/originals/9f/ff/45/9fff45a041ec9e798a1c...

[ii] https://archive.org/stream/ElectronicsToday1984-08/#page/n3/...

This ad I found on ebay is awfully tempting:
https://www.ebay.com/itm/Vintage-ORIGINAL-Sinclair-ZX81-UNAS...
Gratuitous parenthesis nesting. We see it a lot in Clojure.

Nesting boxes instead. It could be represented, in the editor, that way.

It could be much more legible.

Is anybody doing that?
> IANAL, but I don't think games are copyrightable per se

IANAL either, and you may well be right, but maybe this is the sort of question in which the answer may depend on which country's laws we are talking about? Even if what you say is true in country X, it might not be true in country Y.

> You may have a registered tradermark on the name an logo

Indeed, Dujardin SAS owns a registered US trademark on the phrase "MILLE BORNES" for a card game – https://tsdr.uspto.gov/#caseNumber=72156515&caseType=SERIAL_... – applied 1962, granted 1965, last renewed in 2015 (up for renewal again in 2025).

I don't know whether a registered trademark on a physical card game applies to a computer version of it, but I would suspect it does.
Only on Windows 10 32bit, which according to steam stats, is used by 0.10% of users.
Method and system for vehicle cyber-attack event detection (Boeing)
What does "idiomatic" C even mean? It's a high level assembler and as such should not limit the creativity of programmers using it.

C code that pretends it does not need to care about it's platform is not idiomatic, it's just suboptimal.
That you're paying for these ads.
Show HN: Basic WebAssembly App from the Ground Up
I recently created a very simple tool in C++ and have documented some of my experiences in trying to get it compiled and running in WebAssembly here - whilst trying to understand and implement some of the basic things handled by emscripten.
I'm too young to have used it, but I bet Borland C++ was nice, too. And I bet it was more work to configure Emacs to write C++ in the 90s than it was to just use Borland. But which one is still around?

I wonder if it's more time wasted when you have to change editors every few years because of changes in the funding model of the corporate patron of the product and relearn how to use the entire environment with "sane defaults" versus creating some custom keybindings that you like essentially one time and then using them for 30 years in an editor that has a license and community that makes it unlikely to suddenly cease to exist.

People act like there's all this extra work to using software like Emacs over corporate IDEs, or GNU+Linux over corporate OSes, but I contend that it is merely different and better-documented work. The corporate environments just make more promises, and then everyone is surprised when the promises are broken.
"Rent sneaking" is an interesting typo. Going to have to give some thought to how to use that term in appropriate context.
Personally I consider time with friends and family productive time and most definitely time well spent, but surely you have noticed that even these moments can stretch out into unproductivity - maybe some members of the family or friend group want to go home and spend their time on their own things, so a little planning is useful even for family/friends/relaxation.

Productive usage of my time means I am not doing simple things the hard way, that I manage my attention, and that I spend time on things that I care about, not that I stop caring about my family.
I also got my first computer back from my parents garage this year. It is a Microtan 65, which is about 40 years old now.

https://en.m.wikipedia.org/wiki/Tangerine_Microtan_65

A friend of my Dad's replaced a few old capacitors, and it now boots up perfectly into the BASIC prompt.

I got a huge buzz from writing a simple basic program on it. There was definitely something lovely about that era of personal computing.
Coca Cola spends billions on ads.

8 million views: https://www.youtube.com/watch?v=yg4Mq5EAEzw
I am indeed claiming that tooling only gets you so far, if you don't have good support designed into the runtime.

I take you at your word that you didn't use the sorts of workflows I've described, but I did, and I still do, to the extent that I can, and it was common place among, for example, the programmers working on the bauhaus OS or the ones working on the SK8 development environment.

We kept images around as a matter of course for various purposes, for example.
Agency or client side?

I assure you the big brands CFO's take a huge amount of interest in what is spent on advertising.
Ask HN: What devtools will drones need?
ML usage led to an ecosystem of appropriate development tools.

What supportive tooling might be needed as drones are used in more technology stacks?
There is also one agent problem : manager status is linked to headcount or/and budget. As a head of marketing, you have no interested at all at reducing your ad budget, quite the opposite !
The Golden Sun series had a password system to transfer your progress from Golden Sun 1 to Golden Sun 2. If you wanted to transfer everything it was 260 characters. At least you only had to do this once and there was an option to use a link cable instead.
Without food, clothing or energy you're not going to be buying cars or electronics either.

At the end of the day, you gotta measure inflation based on where people are actually spending their money. Not on an arbitrary ranking of which goods are "enablers of the rest of the basket."
>Synology took a step in the right direction to offer prosumer devices with ECC

I just look it up because if it was true it would have been news to me. Synology have been known to be stingy with Hardware Spec. But none of what I called Prosumer, the Plus Series have ECC memory by default. And there are "Value" and "J" Series below that.

Edit: Only two model from the new xx21 series using AMD Ryzen V has ECC memory by default.
As long as you use the mutex locks
Just posted some new ones.
>Stopped [some] Spending on Digital Ads, Nothing Happened. Why?

[Added "some" for clarity.]

Let me try to restate the author's article because he presents it in a confusing way.

The issue is that both Google and Facebook have "core ad tech" that works decently with proven ROI -- and they both have "additional ad tech inventory" (a.k.a the partners/affiliates) that's much lower quality:

Facebook "quality" ad placements on their core platforms with decent ROI:

- ads in Facebook Newsfeed

- ads in Instagram feed

The "questionable" ad placements with much lower (possibly zero) ROI:

- ads in Facebook Audience Network

(Here's an example screenshot in Facebook's Ads Manager to visualize the options above: https://storage.googleapis.com/website-production/uploads/20...)

Same concept applies to Google AdWords. The adwords clicks on "google.com" perform better than the ones coming from partner websites. The lower quality ad tech in partner networks has more bots, more scam websites, more fraud, more negatives, etc that reduce ROI.

Bottom line is... if you're buying digital ads, you need to understand exactly what type of clicks you're paying for and how it actually performs.
They are used for different things, by different countries that have different needs, situations, budgets, different support capabilities.
Darrin Zammit Lupi: the pandemic, deadly cancer and beloved daughter
> “So rather than anti-barbarian, they were mostly anti-barbarian-identity.”

Indeed. The Roman empire was not really "anti-barbarian" (except in its final throes): the
Roman Emperorl considered himself to be the ruler of the whole world and all people in it, so the "us vs them" mentality was weaker than we may think.
For instance, whenever Rome conquered some province, it usually granted citizenship to the local ruling class, so as to foster assimilation. Also, for a really long time barbarians were accepted at the "frontier" (limes) and sent to provinces that needed manpower, or to the army (which allowed them to become citizens, once discharged). Things only started to get out of hand after the battle of Adrianopolis (378), when the limes became unguarded and basically all Goths, displaced by the Huns, swarmed across the empire.
Cheap pro-level GPUs don't have ECC RAM either. And it's not easy to find out, it might be buried somewhere.
Top 10 Academic AdTech Papers 2020
restrict and strict aliasing have to do with the same general concept, but aren't the same. They both have to do with allowing the compiler to optimize around assuming that writes to one pointer won't be visible while reading from another. As a concrete example, can the following branches be merged?

void foo(/*restrict*/ bool* x, int* y) {
if (*x) {
printf("foo\n");
*y = 0;
}
if (*x) {
printf("bar\n");
}
}

Enabling strict aliasing is effectively an assertion that pointers of incompatible types will never point to the same data, so a write to y will never touch *x. restrict is an assertion to the compiler on that specific pointer that no other pointer aliases to it.
If you also read optoutprescreen.com, permanent opt-out is only possible through using physical forms, not electronically.
Best VPN services in 2021 to protect your privacy online – Free and premium
List of the best VPN services in 2021 to protect your privacy - All the best and fastest VPNs reviewed and compared to provide you the best privacy protection online.
There are plenty of Xeons which are suitable for desktops and there are plenty of laptops with Xeons.

Price is not nice though.
Yeah, `unsafe` is the developer signing a contract to uphold all the guarantees that safe rustc provided (at least from the perspective of the public interface, the invariants can be broken in private code).

That's why Rust developers don't take kindly to unnecessary unsafe usage, because the audit surface area (and interaction complexity) increases.
At 83000 metric tons, this will be second only to the American supercarriers (Nimitz class and Ford class at 110000 tons). Even the British Queen Elizabeth class is smaller at just 72000 tons.
Fun and interesting read!

I'm doing a vastly scaled down time logging for 2021 - I want to understand how I use my time at home after work. I'm using a time tracker app, sometimes in conjunction with a pomodoro timer (TimeCube Plus, red model with 5/10/20/25 min sides).

Since I'm only tracking my time at home, the categories are: gaming, tv/movies, music instrument, foreign language, exercise (that I can do indoors, such as weight training or flexibility: yoga, stretching), computer (email, my time right now on HN, general web surfing... anything not work related), and reading.

I'm not trying to account for house cleaning, sleeping, any outdoor activity, cooking, working, etc. I just want to get a better idea of how I spend my "free" time at home, and maybe make some changes after gathering at least 3 months of data.
I actually did find a few products which I used for at least a short while, on Facebook.

If I had to guess, hyper targeted digital ad spend is very effective, but you'd have to sell very high margin products to come out ahead.
Actually... there is a word of memory that you already have to read every time you access a region of memory: the page table entry for that region. If you have 64-byte cache lines, that's 64 lines per (4KB) page, so you could load a second 64-bit word from the page table[0], and use that as a parity bit for each cache line, storing it back on write the same way you store active and dirty bits in the PTE proper. Actual E[correcting]C would require inflating the effective PTEs from 8(orginal)-16(parity) bytes to about 64(7 bits per line, insufficient)-128(15, excessive), which is probably untenable, but you could at least get parity checks this way.

There's also the obvious tactic of just storing every logical 64-bit word as 128 bits of physical memory, which gives you room for all kinds of crap[1], at the expense of halving your effective memory and memory bandwidth.

0: This is extremely cheap since you're loading a 64- vs 128-bit value, with no extra round trip time and still fits in a cache line, so you're likely just paying extra memory use from larger page tables.

1: Offhand, I think you could fit triple or even quadruple error correction into that kind of space (there's room for eight layers of SECDED, but I don't remember how well bit-level ECC scales).
The reproduction crisis in sciences suggest the self- interest is pretty wide spread.

And the social stigma in science of being someone who tries to take down, discredit, or disprove your colleagues/superiors/ competitors theories is pretty substantial: IME there has historically almost been a taboo against attacking our speaking negatively about publications and your own sciences + faculties practices.

The saying of sciences advancing one funeral at a time doesn't exist because they're all such great skeptics and falsifiers, and current scientific practice is heavily biased towards positive findings and contains general publication biases.

indeed there's actually a LOT of common ground with advertising self-interest, since a lot of publication in science is effectively just advertising your brand...
The only sane way to do advertising is to do what’s done on TV: you buy a time slot based on estimated impressions and then a third party auditor (Nielsen) uses surveys to get a better after the fact number. Doing sales based on server traffic is just pointless. You get what you pay for (a server moving bits around), and not a damn thing more.
Yeah I've noticed I've even been drawn to something because of the mindless scroll to that's pretty neat, the button to buy it is right in front of me.

I suspect this really only works for more novelty things like clothing that are cheap enough to enough to impulse buy and of interest to image conscious people.
In my experience the Sales and Marketing teams of any large company have the loosest restrictions on how they account for their spending.

Other dept;s like IT have to justify every penny, but Sales and Marketing not sooo much
Making people click is not the problem. People follow garbage click-bait links all the time. Design is not just about "making things look nice". It's just as much about creating identity. What does it matter if you bring users to your site if it's the wrong kind that does not convert to real customers? Seems like there's a particular type of business leaders that thinks marketing is just a numbers game.
Depends how much of that is attributed to fraud. There should be equivalent of cyber security to ad “security”.
> Google had a clean-room data center specifically for pepsi/frito.

Why?
His, hers, its
great summary
What about useful things like ghostery and uMatrix?
That's funny of you to say.

Extending my example from above, American dining habits are: you stay in the restaurant for about as much time as what you need to eat/drink, then you go away (maybe gently nudged by staff to get out if you stop ordering something after 1 hour or so). Italian dining habits are: you go to dinner and you stay there until everyone has discussed about everything they wanted to discuss, no matter how long that takes.

I imagine for someone from the Italian culture your perspective would seem completely alien.

And regarding family members or friend that want to leave, surely everyone is mature enough to just get up and go when they have to. Why do you need to manage that for them?
Someone reads those reports!?! Wow, how do I write them to ensure someone who reads them takes them seriously?
I haven't listened to the podcast yet, so - why NUMMI we're not able to copy the Toyota production system - given that Toyota has sent them experienced advisors ?
I benchmarked it several times in the past and couldn't replicate std::sort being faster (GCC with high optimization settings). Anyway both are slow. If you need fast sort you need an implementation without any function calls (no recursive calls) and both the pivot choice and the chunk size at which insert sort kicks in optimized to your data and hardware. My experience is that you can beat built in sort by 2x to 3x.
I actually went the other way from Octave to scipy, numpy and matplotlib. This really long ago though - around 2007. As a programmer moving into quants needing to process huge amounts of data python/matplotlib seemed a much better fit for me. It also enabled me to run multiprocess number crunching on my 8-core desktop at home. Octave would be able to use just 1 core, I could code the python scripts to use all 8.

Octave was really good to prototype and enabled me to get somethings done really quick. But once I got to know the python libraries better it just seemed easier. I could do all my data processing and quants in a single language.

I'm sure much has changed and was actually quite sad when the original author of Octave (John Eaton) mentioned in 2017 that he was unable to maintain it.

I've lost touch on Octave over the years and genuinely pleased to see that it is still being actively maintained. I think its time for me to see what I've missed in the past 13 years.
Longtime GrokLaw and Popehat reader, here. I seem to recall Clark and Ken (Popehat) parting ways because of Clark's vitriolic tendencies.

I certainly remember Clark stepping way over the line more than a few times. It got pretty gross.
this is a really good episode, worth a listen
This is actually quite a good background story on the mRNA COVID-Vaccines, that also explains Karikós role in more detail.

https://www.statnews.com/2020/11/10/the-story-of-mrna-how-a-...

WSJ also has a number of good articles:

https://www.wsj.com/articles/how-pfizer-delivered-a-covid-va...

https://www.wsj.com/articles/how-a-couples-quest-to-cure-can...

https://www.wsj.com/articles/how-pfizer-partner-biontech-bec...

What I found quite interesting was the latest news release from BioNtech where they thank all their partners. Some parts of the supply chain are only served by very small companies.

https://investors.biontech.de/news-releases/news-release-det...
Wow, that went fast.
Tingalin
The author argues in the comments that it's statistically significant: https://www.gkogan.co/blog/looks-vs-results/?r=2#comment-520...
Absolutely mind blowing to watch that transformation. And not just in durability and features but in aesthetics as well. A BMW interior is still a BMW interior but the interior of a 2020 Hyundai is much closer to the interior of a 2020 BMW than the interior of a 2002 Hyundai was to the interior of a 2020 BMW.

This is one are where others impress as well. Even GM and Ford have come far in this regard.
Algorithms, Advertising and the Intimacy of Surveillance (2020)
Seeing Color: A Matter of Nature, or Culture?
I've lost my faith in all this Just int Time marketing stuff. I tried to buy a specific Toyota car in Brazil and they said that it would take 6 months to get me one. I don't know which kind of legal bureaucracy created this, but I went with a Honda.
Well, given the comments at the top:

// Contributed by Mark C. Lewis.

// Modified slightly by Chad Whipkey.

// Converted from Java to C++ and added SSE support by Branimir Maksimovic.

// Converted from C++ to C by Alexey Medvedchikov.

// Modified by Jeremy Zerfas.

It sounds like no-one bothered to actually write a from-scratch version of many of these things :)
No, the primary point was always to add UTM trackers to the URL. That’s why companies kept using them after Twitter introduced t.co.
Yes of course they can. They can run trials in different areas, and see if there’s an increase in spend. They run tests all the time.
Intel's TDP numbers are at best an indicator of which product segment a chip falls into. They are wildly inaccurate and unreliable indicators of power draw under any circumstance. For example, here's a "58W" TDP Celeron that can't seem to get above 20W: https://twitter.com/IanCutress/status/1345656830907789312

And on the flip side, if you're building a desktop PC with a more high-end Intel processor, you will usually have to change a lot of motherboard firmware settings to get the behavior to resemble Intel's own recommendations that their TDP numbers are supposedly based on. Without those changes, lots of consumer retail motherboards default to having most or all of the power limits effectively disabled. So out of the box, a "65W" i7-10700 and a "125W" i7-10700K will both hit 190-200W when all 8 cores/16 threads are loaded.

If a metric can in practice be off by a factor of three in either direction, it's really quite useless and should not be quantified with a scientific unit like Watts.
They did actually. I can't remember why specifically they closed the plant in the end. But one of the overriding laws of global capitalism is that it's possible to do everything right but and still lose cause of a trade deal or an acquisition or a global recession or...
Yes, had the same thought. The hand-drawn one is unusual. If this strategy proliferated then it might well stop working, losing the novelty effect.
Huh? It’s absolutely a temporal consistency problem. The ordering was absolutely clear and consistent (most->least popular at time of request). But the popularity scores were changing so rapidly that “at time of request” makes the ordering unstable. If the ordering was determined by popularity at the time I accessed page 1, the ordering would have been stable.

Sure, that popularity score would be stale. But who cares?

Think of it this way. Suppose you’re viewing your Twitter timeline in recent order, and suppose the pagination (lazy loaded on scroll) worked this way, and suppose you have new Tweets arriving at the same rate you scroll. What you would see is the same page of Tweets repeat forever (well, until you hit the pagination cap).

This is why people come up with solutions like cursors. But what I was suggesting is that you can instead continue to use offsets (for the benefits discussed in the article like parallelism and predictability) if you paginate on the state of the data at the time you began (edit: or on the state of your sorting criteria at the time you began, which allows for the mitigations I described upthread).

That’s not to suggest that once you begin a pagination, you’ll forever access stale data. It’s to suggest that a set of pagination requests can be treated as a session accessing a stable snapshot.

This can also be totally transparent to the client, and entirely optional (eg pagination is performed with an offset and an optional validAt token).
Yeah it’s one of the reasons I love playing with PICO-8 it hits that nostalgia with all the corners sanded off.