skysight-inc/HackerNews huggingface dataset:
In practice they do tend to be mixed, if not in exactly the way you describe. Immediate mode systems often retain/cache a lot of state under the hood for performance reasons, and determine exactly what needs to be redrawn on each iteration. Virtual doms (React, Vue, etc) are a great example of this.
Show HN: TSPlate – a simple templating library for TypeScript
FYI that your site is blocked by this list: https://gitlab.com/The_Quantum_Alpha/the-quantum-ad-list

HN post for that list here: https://news.ycombinator.com/item?id=25512273
fixer-upper castles come onto the market reasonably regularly in Scotland, and they're not (depending on your property market expectations) even that expensive. One example that seems to be available at the moment. https://search.savills.com/property-detail/gbedrseds200210
You've got it backwards. For the same amount of polymorphism in the design of a program C++ is likely to be faster because a C++ compiler can often devirtualize calls but a C compiler faced with a home-grown vtable (the struct of function pointers that every large C program eventually uses) will never be able to do so.
I tried running it a couple of years ago, no luck. I can't recall what the problem was. Is it actually functional?
It really does. I did a write-up recently on it as I was diving in and understanding the benefits: https://qvault.io/2020/09/17/very-basic-intro-to-elliptic-cu...
JIT Compiler in PHP8
Effectively every restaurant in the US has to pay either PepsiCo or Coca Cola. Similarly, if you want to buy a non-alcoholic beverage at the grocery store it's mostly down to those two (with Dr. Pepper having a much smaller but still significant stake). Any competitor that emerges just gets bought up by one of the three.

Apple's half of the phone Duopoly. Either you pay them or pay Google if you want a phone and want to buy software for it.
So long as the file system is fixed, it should be straightforward to fix the git repository. I'm no git expert but maybe 'git repair' can deal with it; and if not then 'rm -rf' and 'git clone'.

To avoid silent corruption requires full metadata and data checksumming, ala Btrfs or ZFS. In those cases, not only is corruption unambiguously detected, but it's not allowed to propagate.
To the commenter calling me a Randroid, I've only read the one book, and I absolutely do not consider myself to be in the latter category.

I'm absolutely a follower. I want an easy life. I'm not ashamed to admit it, and there is no shame in admitting that. The vast majority of us fit in this category.
As I read it, the amount they were spending on the ads themselves was more than the converted revenue from ad clicks. While the decline was probably (guessing) not linear, spending more on ads led to less than proportionally more revenue. If that had happened I can imagine calling that negative ROI.
A lot of ad spend isn't about positive ROI but "being in the game," i.e. if you don't advertise then customers, suppliers and partners all perceive you as a market laggard. That perception has major consequences. For example, the top technical and managerial talent goes to your competitors.

But there are companies that do little advertising - they have other ways of building and sustaining their brands.
is it able to store the document somewhere via a protocol? that would be really helpful, perhaps with tags?
I didn't say they achieved their goal. Though I do think it was/is an admirable one. It would be nice if marketing budgets weren't a near limitless accountability-free money pit.
As I said elsewhere, when I say "repl-driven programming", I do not mean "programming in a repl window", or "programming at a command shell". I'm talking about the runtime's read-eval-print loop, not the UI's repl window.

When I'm working, there is little or no migrating of code from the repl buffer to a file because it's already all in a file. I almost always work in a file. I write snippets in a file, send them to the repl with a keystroke, and build up the world incrementally as I discover what it needs to be. As the contents of the file get larger and more complicated, I move things around and organize them. It's a conversation with the repl, not an editing session in the repl window.

I don't consider any Clojure tools I know of to constitute a proper repl-driven environment, precisely because the language and runtime lack support for the kinds of programming and debugging that I've taken for granted for decades. If I can't inspect and edit and redefine everything in the runtime, it's not the full, proper set of tools.

I've written a good bit of Clojure code, and I'll happily do it again if I need to do something that isn't convenient in, say, Common Lisp, but I consider it an acceptable alternative to things like Haskell and Scala and F# and Swift, not an attractive alternative to Lisp and Smalltalk.

I do occasionally need to restart a Lisp environment because of some gnarly breakage I've committed, but it's pretty rare. Moreover, killing and restarting my favorite lisps takes about--wait, let me check--okay, a second and a half to kill a live app in staging and have it back up, fully-functioning.
In some cases! It sounds like your tool doesn’t (yet) deliver that kind of value. If your viable price point really is closer to $10/seat, consider reframing these conversations as “$1,000/month for up to 100 users.” As patio11 points out in that essay, dollar figures below $500 or so seem like a rounding error to an enterprise. Or worse, something unserious.
The Most Loved Spotify Features, and How I Would Measure Success
The only conclusion I have got about this web site is how much some programmers like to write benchmark code in Rust.
As you say it is actually using very little energy in overcoming the inertia of the system to go up as the counterweight outweighs an empty elevator, and the weight of a drone is insignificant in this regard. However when coming back down the system must raise the heavy counterweight which is only partially balanced by the empty elevator.
Well, it's a power measurement that isn't total and can't be used for design... So, it's a lie.

If they gave it some other name, it would be only misleading. Calling it TDP is a lie.
I'm pretty sure that for the classic "Hello World" example that's not the case, because we can simply use the linux write system call.

For example, an assembly program that just calls write and then exits is much smaller than even an unlinked version of it that uses printf, because the ELF binary doesn't need to contain information for the linker.
Nothing stops someone from copying and submitting other implementation's algorithm. There are multiple implementations of each benchmark for every language:

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

• https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

It's possible that someone has already submitted both algorithms for both languages, and different approaches won for language-specific reasons.
Very good point. I was referencing Tops-10, which I am the most familiar with.
> how do you ensure the computer that does the comparison is not affected by memory failures?

You do the comparison on multiple nodes too. Get the calculations. Pass them to multiple nodes, validate again and if it all matches, you use it.
I saw this. It was pretty good.
> there was no change in buying behavior.

I suspect that if our browser isn't blocking ads then our brain is. It's complete conjecture, but I assume that adblockers eliminate this cognitive load explaining a portion of why they became successful before they were necessary for security/malvertising.
Can someone explain the tweet for me please? I am really confused on what she's trying to say.
Look Up Unknown Phone Numbers Using Facebook Reset Password
If your camera is low-res enough, sure.
Socialism and capitalism are both fake
What 10% of the book is good?
This reminds me of last year we ordered a new $14K server, it arrived and we ran it through our burn-in process which included running memtest86 on it, and it would, after around 7 hours, generate errors.

Support was only interested if their built-in memory tester, which even on it's most thorough, would only run for ~3 hours, would show errors, which it wouldn't. IIRC, the BMC was logging "correctable memory errors", but I may be misremembering that.

"We've run this test on every server we've gotten from you, including several others that were exactly the same config as this, this is the only one that's ever thrown errors". Usually support is really great, but they really didn't care in this case.

We finally contacted sales. "Uh, how long do we have to return this server for a refund?" All of a sudden support was willing to ship us out a replacement memory module (memtest86 identified which slot was having the problem), which resolved the problem.

They were all too willing to have us go to production relying on ECC to handle the memory error.
Beware extremes like "no one can actually prove". One difference between internet ads and their more ethereal tv and radio predecessors is that adviews, clicks and purchases can be tracked. Also, there are techniques that can make even TV, radio, print and even digital to physical world ad performance more visible: coupons, response codes and campaign-specific phone numbers and URLS. That Uber was buying hundreds of millions in ads and could not attribute performance (sales, for example) speaks more to poorly designed campaigns and potentially very bad actors in the supply chain.
> In practice, the complexity of expressing equivalent performance can vary considerably depending on what you are trying to do.

Yep. Rust's safety means that in some cases, you can be more aggressive because you know the compiler has your back. And in other cases, it makes harder things tractable. The example of Stylo is instructive; Mozilla tried multiple times to pull the architecture off in C++, but couldn't manage to do it until Rust.
Yes, correct.

The typical use case is a human message, not a URL. If you want a redirect you need to explicitly prefix it like that…
I agree with that, no aliasing in C is an ugly kludge that bitches about perfectly fine code that benefit benefit from it. And it's hard insure that it actually works in code that does. Worse the failure is completely silent.
I am not surprised. URL shorteners will try to monetize eventually. One way is to support ad networks, other is to show ads and videos before navigating to the target URL. I am 100% sure TOS allow it since the beginning.

As far it seems to be a grim future, it is almost only way they can monetize. Otherwise they will close their businesses rendering millions of URLs broken, what I think is the future that is too easy to predict.
Can't remember a single company where anyone was willing to write or read beyond some (shitty) slides. I am sick of management by slides.
Leadership needs to know their experts and whom to follow when and then trust them to get the job done. For that of course you need the real experts. Know what I mean?
Kubuntu - i prefer KDE because for me it seems to be more flexible and less resource hungry.
7 year old egg (but in hindsight good for the world). They pushed her out, so she went to BioNTech. There she helped to create the world's first Corona vaccine:

https://biontech.de/sites/default/files/2019-08/20140202_Bio...
I think calling attention to issues with ad tech is good, that's where my 1/10 score comes from.
The only thing you can think of doing once you were to ween yourself from your vices (like OP and social media) is work? Even worse, making someone else rich?

You obviously don’t think that, so I don’t get why you and grandparent are projecting that onto OP.

I want to minimize my wasted time like mindless Redditing so that I can maximize my time spent doing things that fulfill me. It’s just a great tragedy that it’s so much easier to waste time in unfulfilling ways like spending a day in a heroin nod than it is to do the things that maximize my life.
You got my point exactly, this is why I mentioned the colosseum entrance ticket.

The few friends who could afford an AirAsia ticket were annoyed by the high entrance fee that many South East Asian attractions charge to foreigners, regardless of whether you’re from Vietnam or Iceland.

When the price difference is preposterous I skip the attraction altogether as a matter of principle. The Yogyakarta attractions you mentioned are the perfect example with the 25 USD entrance fee for Prambanan vs 5 USD for locals.
It's not about whether they make money. It's about whether you can do absolutely everything needed to build your program interactively by talking to it while it's while it's running.
Somewhat unfortunately, I just tried that (on Mac, latest CLion) and it didn't work. I edited the `vmoptions` file to remove `-XX:+UseConcMarkSweepGC` and `-XX:+UseCompressedOops`, added `-XX:+UnlockExperimentalVMOptions` and `-XX:+UseZGC`, and the IDE failed to start until I restored the original file content.
Xilinx had laid off a good chunk right before their sale to AMD. Xilinx was having some financial troubles; when that happens, investors want out before a company craters. So selling themselves was one possible solution.
Certain types of product have become directly linked to a product name, yes. Google is smart enough to know this, though. If I google for my non VC funded product name, which is unique, why should the first result be for a direct competitor with deep pockets in advertising?

This would be fine if Google embraced their dependance on ads, but Google still labels itself as a “search engine”.
I work at a fortune 50 company, a top 10 advertizer. We have a universal holdout poplation that NEVER recieves any directed/targeted marketing that serves as a control group for many marketing programs. Further in more mass areas there are direct A/B tests that go on. There is a very strong awareness of campaigns that are measurable with ROI's and other programs that are general branding that you can see the impacts in gneral customer awareness surveys', favorability ratings etc.
Why bother to write the vtable in the first place?

My experience is that C++ that's written for performance will often prefer the use of templates over inheritance since the cost is then paid upfront by the compiler. What's stopping a C programmer from hand-coding template instantiations (via macro or otherwise)?
However I have not logged into FB in six months because the actual content in my newsfeed is so toxic. I wonder if this will cause things to change, although it seems unlikely.
> The Rust code has CPU feature detection and SSE intrinsics, while the C code is more idiomatic.

These benchmarks are almost always either useless or a scam - you either end up writing rewriting the same implementation n times or you don't utilize the capabilities of the language, either way you're not really measuring much of anything intrinsic to the language itself - Rust and C both have the same backends and if you really care about performance you're going to take it to the max anyway, so inference by the compiler isn't that important.
About the Time Travel Service
Ubuntu with as few packages as possible and dwm.
Let's talk about speed when we are implementing the same algorithm and optimizations, please. If $1 was donated to cure cancer every time a developer games a comparison like this, there would be no more cancer.
Agreed. Companies often don't understand the "directionality" of purchasing behavior.

For instance, I recently bought a new iPhone directly from Apple, and I bought a case for it on Amazon. Now two months later, Amazon is recommending that I buy an iPhone (...which I bought two months ago from Apple).

Buying a case an then waiting two months to buy the actual phone would be a very strange thing to do, but Amazon seems to think I should do this.
Yes, it seems everyone is always trying to beat C, but really, no one can.
I guess there are 3 reasons why reducing ad spend might not show a negative effect:

(1) Due to fraud, the money wasn't actually going to ads.

(2) You didn't need the ads. You were over some saturation threshold and the law of diminishing returns kicked in hard.

(3) The ads were valuable to you but not in an easily measured way. Maybe you could coast on brand awareness inertia for 6 months or a year before it affects sales.

This case seems to have decent evidence for at least part of it being #1, but not necessarily all of it.
I assume because it creates/introduces an arguably unnecessary point of potential future failure.
That makes more sense!

Thanks
Another great perspective is This American Life's episode on the NUMMI plant[1]. Coming full circle from Deming back to GM.

[1] https://www.thisamericanlife.org/561/nummi-2015
I attended a couple of FOSDEM talks from him, very nice experience.
As another person responded - based on your income and situation ( family, age, stability of the job) and very basic loan history ( stored at the central bank, basically for the lender to know if you have outstanding debts and if you've defaulted on loans before)
First signs of bubbles are fraud and wrong valuation.
These are all the C versions I can find:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

None of them have SSE intrinsics or are quite as long as the Rust version.

I find it doubtful that SSE intrinsics wouldn't help the C version, if they are indeed helping the Rust version. This seems fairly easy to check as the Rust version has a non-SSE fallback code path - I'd do it myself but am not able to at the moment.
It's easier to provide "custom instructions" and only accelerate CPU bottlenecks if you don't have PCIe as a massive bottleneck. If you are using an accelerator behind a bus you always have to make sure there is enough work for the accelerator to justify a data transfer. GPUs are built around the idea of batching a lot of work and running it in parallel. You can make an FPGA work like that but you are throwing away the low latency benefits of FPGAs.
Author is just weirdo.

Here is a "normal" system looks like https://imgur.com/a/hvKNWIs

Everything that isn't a terminal or VSCode on those screenshots is GTK3.

Everything has the same color scheme, icons, fonts. Qt included.
Recently read "The machine that changed the world", and I too wish there was a more recent study. I've worked in several Michigan and Indiana tier 1s and OEM plants, and seen some of the differences described, but the book is 30 years old now. The fundamentals are still fundamental, and culture change is really, really slow, but everyone's making improvements.
A wall is a really different thing. I guess China (at that time) did the math that the wall construction was going to cost a million life; but a wall was going to save them all from the enemy. So it made sense and actually saved lives.
Tesla's marketing spend is whatever it costs them in legal fees and fines to keep the mouthy celebrity CEO - and their high-profile campaigns in 2018 seemed pretty effective.
In European cities you will often see pedestrians walking 1m from cars driving 50-70 km/h. Human drivers can take this risk, AI to be useful needs to handle it well.
First off, congratulations!

I've done a lot of pricing work for various developer tools products and at established companies like DigitalOcean and AWS.

Feel free to contact me and I'm happy to help (both with pricing and attempting to lift spirits as you call out depression) for free if you'd like: bpschaechter at gmail.
No. A negative ROI just implies that the ratio of benefit/cost is less than one. If I incur a cost/investment of $100 but it creates value of $200 then I have an ROI of 100%. If this same expenditure instead only produced $80 value then I would have -20% ROI as in the value I’m realizing from my investment is 20% less than the cost of the investment.
Thanks for pointing this out! I've changed them to be more consistently "of X"
> Well you are saying that even in C you can use the restrict keyword to tell the compiler that 2 memory locations can overlap. Of course is in the hand of the programmer to tell the compiler to do so.

It says that they can't overlap, but yes, you can get the compiler to optimize based on this if you provide the aliasing information and remember to keep it accurate. You probably won't do that, though, for anything except the most performance-critical of inner loops. A compiler that can infer more about aliasing can provide more optimization, safely, in the >99% of code that doesn't have explicit aliasing annotations, and that's probably worth some decent speedups in practice.

There are two main things you might be talking about when you call a programming language fast:

1. Given some really performance-critical code and enough time to hand-optimize it, how close can you get the compiler's output to the optimal machine code?

2. If you write code normally, not making any effort to micro-optimize, how fast will it usually be?

Both of these matter. #1 matters when you've got some bottlenecks that you really care about, and #2 matters when you've got a flatter profile -- and both situations are common.

Another illustrative example of the #2 type of performance with Rust is the default collections compared to the ones in C++. Rust's default HashMap is faster than C++'s std::unordered_map because of some ill-advised API constraints in the C++ STL. You can get similar performance by using a custom C++ hash table implementation, and in fact Rust's HashMap is a port of a C++ hash table that Google wrote for that purpose, but most people probably won't bother.

So, a semantic question: if you can get the same speed in one language as you can in another, but in practice usually don't, is one language faster than the other?
Some of the rust versions calls C libraries for its heavy lifting (gmp, pcre) so I wouldn't take this too seriously.
Probably not, the compiler doesn't need permission to constant fold of its own accord if it doesn't launch any missiles.
Show HN: I Built a Chrome Extension to Make Me Tweet More by Hiding Distractions
What do you mean by the two references to not being in the ad industry anymore? Quit? Fired? Why?
Indeed, never heard of her until a few months ago. How many followers has she?
The experments are run. Why don't you look at the work that comes out of the Advertizing research foundation.
"I’ve recently joined a company that for security reasons doesn’t allow their source code on laptops. Development happens strictly on workstations inside their private networks, with some using their text editor’s support for remote file editing and others running editors on those machines via SSH."

I think using TRAMP or similar technologies is bypassing, if not the letter, then the spirit of that companies' security policy. Sure, not the whole repository is lost when the laptop is, but having an (ephemeral) copy of the files one is working on outside the security perimeter is kind of defeating its purpose. Why is that company granting access to remote file transfer? I'd think they would be better off restricting access to some form of desktop virtualization (the old SunRays were nice) if they must offer remote access.
To be fair, if there's a language that has a fair chance it's Rust.
Ask HN: Recommendations for Stock Historical Fundamental Data
I'm looking for free or cheaper apis/services that support getting historical fundamental data from companies (eg balance sheets and other SEC filings).
1.76 days idle? I'd call that impossible. How can you be busy the whole waking time? Sounds like burn out is creeping in.

Idle is my most important state of mind. Daydreaming. Suddenly some ideas pop into my mind. It is almost Zen like. Without being idle no focussed work. It fuels my work.