skysight-inc/HackerNews huggingface dataset:
> [Unnecessary crude remark]. He made the mess, so if he has any integrity he'll foot the bill for cleaning it up.

He [set up a server with a link shortening service pro bono, eating the cost of server maintenance for 11 years], so if he has any integrity he'll [do more free work].

I'd argue it's the user's fault if they decide to trust a small hobby site to last until the end of time. How many link shortening services have you used which promptly died, causing you to find this ridiculous hill to die on?
How would you perform this optimization? If it’s the same data getting sorted, why not put it in an ordered data structure?
IIRC sometimes bots will click on random ads to try to obscure the nefarious other things they are doing. You are just collateral.
Yes, but that reduces drama/colosseum fights. I think the original colosseum fights were mostly not fair either, but the audience just wants blood.
Just as we saw Fashion Nova, Gym Shark, and dozens of other e-com companies build multi-million dollar empires by leveraging Instagram, I think we will see the same thing on TikTok.
> You posted this from your phone or computer that was created by capitalism, from an OS created by capitalism, using a browser created by capitalism, to a message board for an organization who literally specializes in capitalism.

... that all base on centuries of research, science and technological development that happened before capitalism was even first proposed. Your point being?
> I think happiness was self-reported

Isn’t that implied? How else can you measure happiness aside from someone telling you they’re happy?

Somewhat of a genuine question — curious if studies/surveys use some other way to measure happiness.
Their web site is very sparse on what programming models the tool supports. Traditionally, the things you can easily accelerate automatically are algorithms you can write naturally in Fortran 77 (lots of arrays, no pointers), and that's one limit on the applicability of these automatic tools. (Other limits that other posters have pointed out are compilation+place+route runtime, and reconfiguration time.)

They are claiming you can use malloc and make "extensive" use of pointers in C programs and still have them automatically compiled for the FPGA. That's where details are needed and they are mostly missing.

I watched their 30 minute demo film. The speedups are impressive, and on the small example it's impressive that it does the partitioning automatically. However, the program contains only a single call to malloc, and all pointers are derived from that address, so it doesn't do much to convince us that it the memory model and alias analysis give you more flexibility than the F77 model.
Because the ideology of capitalism is "cooridation failure, whatever", It sure would be nice to find a way for one of those companies to freeload off the culture-shaping the others do, and bring the whole enterprise crashing down!
It worked for godaddy...
See also Byzantine fault tolerance: https://scholar.harvard.edu/files/mickens/files/thesaddestmo...
Hello, codes seems ko
> A friend and I were sitting at a bar, iPhones in pockets, discussing our recent trips in Japan and how we’d like to go back. The very next day, we both received pop-up ads on Facebook about cheap return flights to Tokyo.

> A private conversation with a friend about how I’d run out of data led to an ad about cheap 20 GB data plans

> Suddenly I was being told [sic] mid-semester courses at various universities

I absolutely belive Facebook can find system information like data caps, or can read notifications (as they explicitly ask for this to auto-fill SMS-based 2FA logins). As far as being in the same location as your buddy you took a trip with, that's a lack of imagination on the advertisers part - you get ads to return to Japan the same way you get ads for the vacuum you just. bought. As far as the writer possibly going back to school? I'd say many writers enjoy writing - so many, in fact, that prices have been depressed for decades. I'd assume many writers have to return to school and change careers.

Is it possible Facebook is listening? I won't dismiss it without at least reading the article. But the linked article reads like the author believes people are unique and, while they are, they're also far more predicatable than we like to pretend.
Solvent-based methods have some unfortunate side-effects, and are difficult to scale [1]. Low and slow heat appears to work. I'm still trying to find reports of anyone who takes end user styrofoam and turns it back into desired styrofoam shapes with carbon dioxide as a foaming agent, entraining it into the closed cells. I've yet to hear of people who reduce styrofoam into polystyrene being able to turn it back into styrofoam again, but can't tell if that is an outcome of the chemistry/thermochemistry (very difficult to address), or lack of foaming equipment (addressable with enough expertise, space and capital).

Ideally, I'd like to figure out a way to take all styrofoam entering say a neighborhood as end user packing gets continuously turned into standardized insulation interlocking blocks that is continuously, incrementally installed into buildings that are pre-built with say, 2-4 meter thick wall cavities for incrementally build up the insulation over time. The styrofoam that enters our lives as packing material for a brief period and becomes unwanted detritus ends up in multi-decade and hopefully multi-century building insulation.

I want to do the same with the polyethylene used for most bags, though for those I'd want to turn them into sheets and use them for endlessly making Kaizen foam to organize, protect and store my tooling.

[1] https://davehakkens.nl/community/forums/topic/has-anyone-tri...
How about an immediate-mode renderer that works like a Rust async executor?

The executor could run all of the rendering closures on one core and benefit from caching.

It could detect slow rendering closures and automatically switch them to buffered mode and run them on a "slow renderers" thread. This would keep the rest of the UI snappy. It could also tint those portions of the UI so users can see which app is the culprit of UI slowness.

I hope that Rust can someday be used as the basis of an OS that does not rely on sandboxing for security, but instead uses the compiler to enforce security. Such an OS could use cooperative multitasking and use a lot less energy and less expensive hardware than our current multi-core CPU + MMU + kernel ring model.
There's still value in getting people to buy now instead of maybe buying later.
Wouldn't the C compiler be allowed to make similar assumptions with -flto or -fwhole-program?
I’ve found niche subreddits to be quite useful. Focal enough to attract a substantial interest group, and small enough that it’s not an attractive target for poisoning reviews. Eg: r/thinkpad, r/BudgetAudiophile, r/wicked_edge, etc.

Some of these enthusiast communities also have fantastic wikis/guides.
There's an amazing story by Spyder Robinson that expolres exactly that: Melancholy Elephants, http://www.spiderrobinson.com/melancholyelephants.html It was published in 1983 and won Hugo Award for Best Short Story. It's as relvant today, as then. Even more relevant.
The graphs on this look really close to how the ones in iStat Menus 6 look. I love the aesthetics of this app and how it shows all the graphs, but wonder if it has the ability to show things like temperatures and powers
Because most advertising is not effective on a 1:1 basis. The clean, direct conversion funnel is in most industries and sectors a complete myth.

Advertising is about awareness. All good marketing is long-term. Digital advertising has been sold (by overzealous marketers) as magical 1:1 sales machines. It is almost always not that.

This is the hardest thing to convey to clients. Clients want a promise and a guarantee on their investment. The truth is there are no gurantees. But that is what clients want so they go with whoever promises the most the most confidently. The most confident ones are usually either lying or don’t know what they are talking about.
>Bitflips are not the root cause here.

So those systems didn't fail when a bitflip happened?

> The root cause is that somebody engineered something life-critical that mistakenly assumed hardware can not fail.

The systems I am aware of were designed with bitflips in mind. NO software can handle arbitrary amounts of bitflips. ALL software designed to mitigate bitflips only lower the odds via various forms of redundancy. (For context, I've written code for NASA, written a few proposals on making things more radiation hardened, and my PhD thesis was on a new class of error correcting codes - so I do know a little about making redundant software and hardware specifically designed to mitigate bitflips).

By claiming a bitflip didn't kick off the problems, and trying to push the cause elsewhere, you may as well blame all of engineering for making a device that can kill on failure.

So your argument is a red herring

>On the whole, you fail to make a case that preventing bitflips is the solution to a problem

Yes, had those bitflips been prevented, or not happened, those fatalities would not have happened.

>Ya, I'm not buying that biyflips are a problem.

If bitflips are not a problem then we don't need ECC ram (or ECC almost anything!) which is clearly used a lot. So bitflips are enough of a problem that a massively widespread technology is in place to handle precisely that problem.

I guess you've never written a program and watched bits flip on computers you control? You should try it - it's a good exercise to see how often it does happen.

I guess you define something being a problem differently than I or the ECC ram industry do.
Similar story, we saw that one particular IP address in a public cloud network had a 3% TLS handshake error rate. We diverted traffic and then analyzed with wireshark. We found one particular bit was being pulled low (i.e. 0 -> 0 and 1 -> 0). HTTP connections didn't notice but TLS checksum verifications would randomly fail. Had a hell of a time convincing the cloud provider they had a hardware fault- turned out to be a bug which disabled ECC on some of their hardware.

Aside: I'm surprised you got a TPMS programming tool instead of a set of steelies. Big wheels? Multiple winter vehicles?
Ads don't work
I am not sure I can buy such a comparison.
Someone smarter than me already argued about test implementations.
Someone else also put compilers and interpreters into prospective.
Of course language expressiveness can gauge in but, IMHO, comparing the same sort algorithm or the same hash table implementation (or n-queens algo) could make much more sense especially with comparable compilers.

If Rust implementation is father than C's, kudos goes to the compiler, not to the language
His settlement with SEC
Isn't it slightly embarrassing that we:

a) can't predict the impact of most research programs very well but

b) make pretty drastic decisions based on them, and

c) [for Penn specifically], never revisit those decisions.

Her publication record from 2005 onwards is pretty solid: Immunity and Nature papers with a thousand citations each, an out-licensed patent, and a bunch of other papers too.

It probably wouldn't kill anyone for UPenn to say "The value/success of her work wasn't obvious to our P&T committee at the time" or something vaguely apologetic.
You're equivocating now between the executive's power to conduct warfare, and an evidentiary rule that allows them to escape discovery. The nonjudiciable issues in this case were already dismissed.

No other developed country has a kill/kidnap database as large as ours. The US also has a bill of rights which does not depend on the rights respected in other countries across the world.
The default Adwords settings are garbage (unless you are Google).
bit.ly and t.co both do, and they're hugely popular. I just left the HTTP responses out of the post for brevity. From the post:

>While neither redirect you to an advertising company like TinyURL, Twitter’s primary business model is advertising, and bit.ly’s privacy policy says they share data with third parties to “…provide advertising products and services…”

Both services set long-lived tracking cookies:

curl -v 'http://bit.ly/aFzVh0'
...
< Location: http://nymag.com/daily/entertainment/2010/08/hear_katy_perrys_milk_milk_lem.html
< Set-Cookie: _bit=l03lLp-b899a3350a02095760-00P; Domain=bit.ly; Expires=Fri, 02 Jul 2021 21:47:25 GMT

curl -v 'https://t.co/45cMiYOHQ8'
...
< location: https://luke.cat/
< set-cookie: muc=6d0d0800-f738-4704-b292-f03b6e5a5f91; Max-Age=63072000; Expires=Tue, 03 Jan 2023 21:49:09 GMT; Domain=t.co; Secure; SameSite=None
> I wouldn't be surprised if there's something similar happening here.

In this case it seems like benchmark code is allowed to use intrinsics, which can degenerate into a situation where a benchmark in language X is more "glorified x86 Assembly code" than actual code in language X.

This is not very useful for comparing languages IMO. Especially since all of Rust, C, C++ can use this strategy and become almost identical in both code and performance.
Let's Become Better Writers in 2021
I've read somewhere that porn ads and political ads perform better when they don't look professionally made. If I were a publisher, I would be very selective about the quality of the ads being displayed. I would also be in the minority since even CNN has ugly ads at the bottom of every article ("You won't believe what she looks like today!")
> since most the interesting developments in programming languages center on type systems, that implies that huddling together on the Big Two bytecode VMs stifles a lot of really interesting innovation.

Not disagreeing at all. Interop with a library means interop/conformance with its type system. Which means if you want languages with new / innovative type systems, someone will need to build a library system to resolve this.

Either an untyped library system as large as the .NET or Java library systems, or a library that has a trivial way to tack on type transformation of some form so that each language that interops with it can minimally add a type translation layer between the two. What that looks like, I'm not certain.

But as long as engineers need to be productive, they need a robust modern library system. No new lang will get adopted if the lang author also needs to build up a complete library system, so it must be a general component.
I’m not saying the conclusion is definitely wrong, I’m saying it’s unreasonable to assume it’s correct.

What I’m saying is that the premise in the syllogism you replied to is that, in the case it applies to, the conclusion is suspect due to the errors that led to it.

Empiricism doesn’t stop at falsification, it also involves reconsidering assumptions and trying to identify and eliminate complicating factors.
This all true. Source: My 11 years running ads on these platforms.
Could some of this be because the given timelines are too short? They gave the example of Chase, which moved from 400,000 digital ads to only 5,000, but they declared there was no significant difference in business after "only a few days."

As a person who has never used Chase, I'm not going to suddenly want to switch to them just because I saw a banner ad. That would be ridiculous. It's the sum of all the Chase advertisements I've seen in the past decades that have made me believe they're a popular and trustworthy bank.
> + lots and lots of intense social interactions with family and close friends.

As an introvert, I find “lots and lots of intense social interactions” draining (by definition).

Granted, I do enjoy hanging out with friends and family, but often feel drained a bit afterwards.

Of course, I’m not advocating being a loner. I wouldn’t like that either.

My main point is, I wonder if extroverts — or those that are energized from intense social interactions — are more destined to be happy vs. introverts.
OK thanks, indeed Clang is able to generate better assembly using __restrict__. And -O3 generates the same assembly as -O3 -fstrict-aliasing (which is not as good as __restrict__).

I wish there was a C/C++ compiler flag for treating all pointers as __restrict__. However I guess that C/C++ standard libraries wouldn't work with this compiler option (and therefore this compiler option wouldn't be useful in practice).
I spent many hours creating games using the Graphic Adventure Creator. Despite it's name it was really just text adventures but with the occasional slowly-drawn static scene.

Also a big fan of Level 9 and Infocom, though the only one of theirs I ever completed was the Leather Goddesses of Phobos. Quirky, funny, and clever, but quite stereotypical in retrospect.
Darn. Missed the new ones too!
Together with https://news.ycombinator.com/item?id=25623858 it might appear like there's a coordinated takedown of ad tech companies going on.

Google derives 80% of its revenue from ads, Facebook 99%. Imagine these giants coming down if it turns out that online ads aren't effective?

EDIT: Tweaked the wording regarding the alleged "coordinated takedown" as a reaction to a comment.
Author here! These 10B log lines are from the last 60 days of activity from https://gocardless.com/ systems.

It includes:

- System logs, such as our Kubernetes VM host logs, or our Chef Postgres machines

- Application logs from Kubernetes pods

- HTTP and RPC logs

- Audit logs from Stackdriver (we use GCP for all our infrastructure)

> do you ever do anything with them that requires you to store so much data rather than just a representative subset?

Some of the logs are already sampled, such as VPC flow logs, but the majority aim for 100% capture.

Especially for application logs, which are used for audit and many other purposes, developers expect all of their logs to stick around for 60d.

Why we do this is quite simple: for the amount of value we get from storing this data, in terms of introspection, observability and in some cases differentiated product capabilities like fraud detection, the cost of running this cluster is quite a bargain.

I suspect we'll soon cross a threshold where keeping everything will cost us more than it's worth, but I'm confident we can significantly reduce our costs with a simple tagging system, where developers mark logs as requiring shorter retention windows.

Hopefully that gives you a good answer! In case you're interested, my previous post mentioned how keeping our HTTP logs around in a queryable form was really useful for helping make a product decision:

https://blog.lawrencejones.dev/connected-data/
The long life thing heavily correlates with the lack of quality in record keeping.
But... reverse psychology works? Wouldn't people be curious what's behind the "curtain"?
Was in high school in the 2010s and I had to buy a TI-84. They have a version with more storage and a color display but it’s still that same calculator all these years later.
The thing about the "advertising doesn't matter" argument is that there are situations where advertising absolutely matters - when a company is just starting out and there's no way they can get organic referrals, when the public is unaware of their existence, etc.

Moreover, most companies started small at some point so advertising and maintaining advertising made sense up to a point.

And if we look at those companies where maybe advertising actually doesn't help, companies that have reached a level of success where organic referrals and public awareness drive most of their business. And they're ongoing businesses that probably reached that level through advertising and have money now to use for that.

But not only are they already advertising but they don't if their word-of-mouth/public-knowledge presence will last indefinitely, they don't know if just word-of-mouth would let them control their image, would stand-up against future competitors ads and so-forth. So, even supposing you could show advertising didn't offer any immediate increase in customers, continuing to spend on it doesn't seem to me as irrational as it sounds.
Trump pressures Georgia secretary of state to recalculate the vote in his favor
It's a familiar course of things. First you encounter the thing, and the grand picture of importance of that encounter will be seen much later. You spend critical time with it, which changes you. Which probably Changes you. Then, as the time period you're in dictates, you're separated, and the thing dissolves into oblivion, and you're up in the world, changed but still in the beginning of the road - which you're among few others see, dimly, but more or less fully ahead. More time passes, you're well ahead on the road, and got lots of stories to tell about trophies under your belt. The thing is firmly in memory, until at some time you realize it's possible to conjure - at least the physical recreation of the thing. You do that, and a smile lightens up your face. Just few others can understand you - those are your tribe in a sense, your brothers in arms. Time can't be returned, but you're somehow more stable, stronger and more confident for that.
Andrei Alexanrescu has a talk on doing this - he calls them metaparameters e.g. where a hybrid sort chooses to change algorithm.

One library I have exploits the fact that D templates are embarrassingly better than C++'s, so you can actually benchmark a template against it's parameters in a clean manner without overhead - that could be anything from a size_t parameter for a sort or a datastructure for example.

enum cpuidRange = iota(1, 10).map!(ctfeRepeater).array;
@TemplateBenchmark!(0, cpuidRange)
@FunctionBenchmark!("Measure", iota(1, 10), (_) => [1, 2, 3, 4])(meas)
static int sum(string asmLine)(inout int[] input)
{
int tmp;
foreach (i; input)
{
tmp += i;
mixin("asm { ", asmLine, ";}");
}
return tmp;
}

This made-up (pointless) benchmark measures how insert a number of cpuid instructions into the loop of a summing function affects it's runtime. My library writes the code from your specification as above to generate the instantiations and loop to measure the performance. As you might guess, the answer is a lot (CPUID is slow and serializing).

edit: https://github.com/maxhaton/chimpfella - I haven't bothered to add pmc support yet
Is it just me or has that 'benchmarks game' site been growing less navigable over time? It use to be easy to compare benchmarks across several languages. If that capability still exists somewhere it's buried and I'm not interested in puzzling it out. There are no side bars or menus or anything helpful.
You've nailed this!

This logging system was for all https://gocardless.com/ systems. We're a B2C company which means we have different economies of scale than many scale-ups of our size, but you were close with your guess:

Currently 450 people worldwide, ~150 in product development, of which ~100 fulltime developers.
> I suppose that if the memory contains code, the process is killed (if ECC correction failed).

Generally, it would make the most sense to kill the process if the corrupted page is data, but if it's code, then maybe re-load that page from the executable file on non-volatile storage. (You might also be able to rescue some data pages from swap space this way.)
By "idiomatic C" I meant any of the following:

- Code that most C books/courses would teach you how to write

- Portable C code (arguably portability is one of C's biggest successes!)

- Code that you'd expect to find in the K&R book