skysight-inc/HackerNews huggingface dataset:
There was a long period where a fairly unknown theorem proving language ATS (1) was beating C in many test cases on the benchmark game (2) the benchmarks were removed though (3). I expect many languages could be made to win with sufficient effort.

1. http://www.ats-lang.org/
2. http://web.archive.org/web/20121218042116/http://shootout.al...
3. https://stackoverflow.com/questions/26958969/why-was-the-ats...
So many, but in recent years 'Hypernormalisation' by Adam Curtis.

Curtis's style and tone and bias can grate, and is not for everyone, but in this documentary his typical format gels. It describes a bunch of seemingly disparate world events that eventually appear integrated. No one comes out a hero. It subtly reminded me to not take 'positive change' for granted and for that there is no final victory, nor final defeat. The same arguments must continue to be put forward to each generation.
Buildin a Web API with Rust
Apart from those benchmark games a lot of real world C is a lot less performant than people think it might be. I spent a fair amount of time reviewing C code in the last 5 years - and things that pop up in nearly every review are costly string operations. Linear counts due to the use of null terminated strings and extra allocations for substrings to attach null terminators, or just deep copies because ownership can’t be determined are far more common than exceptional. This happens because null terminated strings feel like idiomatic C to most people.

Rust avoids those from the start by making slices idiomatic.

Another thing I commonly see is the usage of suboptimal containers (like arrays with linear search) - just because it’s there’s no better alternative at hand (standard library doesn’t offer ones and dependency management is messy). Which also makes it less surprising that code in higher level languages might perform better.
You'll be retired in 50 years. 20 year, probably not but I think there will be a way to make money for smart people.
I've used it a good bit. When I'm using it, I miss the tools I have in Smalltalk and Lisp environments.

When I use Smalltalk or Lisp, I don't miss pry or the other tools I have when working with Ruby.

I do like Ruby, though. I probably like it better than any other language that isn't made of s-expressions. (Well, I like ML a lot, too.) But the whole time I'm working with it it just makes me want to write another Ruby implementation, but this time on top of a proper interactive runtime.

There is one, actually: MagLev, which is built on a Smalltalk runtime. As far as I can tell, though, it's dormant.
Uber was just incredibly incompetent to not audit their ad spend at all.

I worked at an ad company. It was an absolutely standard metric to eg geo-fence ads out of a state or two for 3 months to demonstrate the impact of ads. This isn't easily externally visible, but tests like this are standard practice.

Particularly in the app install space, which is sketchy as hell once you stop buying from the top handful of vendors, buyers should be auditing by a couple million in annual spend. To get to $150m without looking hard at big chunks of their spend is just plain arrogance and/or incompetence.
The distribution of stock market returns (2020)
That kind of tit-for-tat in benchmarks seems like it's counter to the goal of benchmarks: what kind of performance could I expect to see using technology $FOO? Crucially, that question depends on how someone will realistically implement $FOO.

I like PyPy as an example: on the surface, implementing a Python runtime in Python and expecting performance gains seems crazy. PyPy manages to outperform CPython because although a C implementation should theoretically be faster, realistically the increased expressiveness of Python lets the PyPy devs opt into optimizations the CPython devs find out of reach.

I don't know C or Rust well enough to comment on these specific scenarios, but if two technologies can be fast, and one makes that speed accessible while the other encourages implementors to leave performance on the table, that's much more useful information to me than seeing a back-and-forth where folks compete to implement optimizations I'll never make in my own projects.
I think/hope it's an unstable equilibrium -- if either Altera/Intel or Xilinx/AMD give a nod to the open source tools, the others will follow.

Lattice is seemingly at "wink wink, nudge nudge" levels of support -- their lawyers won't allow them to say anything because they're afraid of pissing off Synopsys, but they also know that they're currently the best supported platform, and don't seem interested in deliberately making things difficult.
I recall reading papers about doing this by profiling Java apps a decade or so ago, but I would have to dig pretty deep in my HN comment history to find them.

The approach seems conceptually similar to the
optimizations available via the enterprise version of GraalVM.
FF containers are great. Edge profiles do basically the same thing as well.
Focusing efforts on converting the natural gas stove to electric might end up causing more environmental harm compared to keeping it as is. Once you take into account the brand new entire replacement unit and the disposal of the old one (not to mention the portion of electric powered by fossil fuels anyways) it just doesn't make sense. You get a much better return on replacing windows, sealing cracks, adding insulation where needed, etc.
The point is that you can't prevent failure by just buying something. You have to deal with the fact that failure can not be prevented.

In other words, if a single defective DIMM somewhere in your deployment is causing catastraphic failure, your mistake was not buying the wrong RAM modules. Your mistake was relying on a single point of failure for mission critical data.
You can just ship your application with a dynamically linked Qt library file(s). There is no extra step for the user.
> validate again

Recursion, see recursion.
It would work for some of Uber's ads. From the article, it looks like they were frauded mostly by in-app ads. And they were paying for installs - not actual trips.

So, no, Uber's advertising here is a little different than (I think) the majority of companies. They are mostly paying for installs rather than sales / conversions. A lot of newer "app" companies could be in similar situations.

Though, honestly, this seems like a massive fail on their analytics team for not figuring this out earlier. They should have been able to see that all of these "installs" from certain advertisers were not leading to trips.

In fact, it says they turned off 66% of ads. They didn't randomly turn of 66% of ALL ads. They turned off this TYPE of ad, which they failed to earlier recognize was ineffective.

Step 1) assume your ads won't work.

Step 2) have enough analytics / logging in place to convince yourself the ads do work.

Step 3) if they don't work, turn them off.

Looks like they skipped step 2 - which honestly, is not uncommon for a fast growing business - even if they are huge and already make a lot of money.

What they found isn't even what people are discussing. They found that certain networks they were buying ads from were almost 100% fraud (which is pretty well known).

Instead, people here seem to be discussing that most online advertising is fraud, and/or that there's no way to prove it's effective. That is absurd.
See the Pepsi Refresh Project of 2010. Where Pepsi redirected a sizable amount of ad budget (including super bowl ads) to community projects. They abandonded this strategy after a while because they lost market share.

This is the biggest large scale test of advertising I'm aware of. But it probably doesn't apply to all products.
First sign to me that the dot bomb was imminent was a two inch article in the WSJ summarizing a finding that something like 2/3rds of startups had board members or upper managers that had been sanctioned or investigated previously for securities fraud.

It's telling that all the FAANG companies are basically in open violation of a number of laws.
I use it from time to time. Octave performs very well to the point, where you have several encapsulated for-loops, where Matlab is several times faster in my experience.
> Profit margins can only absorb cost increases until they go to zero, after which point prices have to be raised.

That's not true. Businesses sell things at a loss all the time because that price still generates the most revenue. What good is raising the price if it reduces overall revenue? Consider when you buy something on sale.

> Additionally, it is NOT good if companies are forced to reduce profit margins below what free market forces would place them at.

It's not always free market forces. For example, businesses abuse their market and political power all the time, including to pay workers less.

Also, free market forces are useful tools, not scripture. They are not 'good' in themselves; like you and me, they are good when they do good. Like all tools, they are useful for some things and not for others; they have limitations.
You appear utterly convinced that VSCode will never demonstrate an obscure bug like the one discussed in TFA, or alternatively that if it does you'll be able to jump ship to some other tool. I don't share your confidence, and would prefer to know that such issues can be fixed with or without vendor participation.
Super simple, just hides the timeline on first load & replaces with an autosaving (localStorage) text area to note down ideas. – Could just be me but I forgetting my tweet ideas as I'd start reading the tweets at the top of the timeline & this just helps to remove that initial distraction and also adds an extra step to wade off potential procrastination as well.

Been using for a month or so now and according to Twitter analytics it works (for me at least)
Did they leave the industry because they realized their product wasn't providing a positive ROI, or were they fired for pointing that out to other people? I think the former is probably what you mean, I just want to be sure.
Level up the interactivity of your Django app
Let’s imagine this scenario, you’re building a Django project, everything going very well. At some point, you needed to level up the interactivity of your app. what are you gonna do?

You will probably achieve the desired behavior using jquery or you will keep your models, build an API, and use a JavaScript SPA for the frontend.

What if I told you that you can keep everything you build with Django, get the interactivity and convenience of Vue.js, without all the overhead of a SPA setup?

- I shared the answer in this short article: https://aymanemx.com/posts/using-vuejs-alongside-django-template/

- Demo app: https://github.com/aymaneMx/vuejs-alongside-django
Nano: Digital Money for the Modern World
"Nano makes money efficient for a more equal world - simple to pay with, easy to accept and open to all. Nano is fee-less, making it practical and inclusive for everyone in the world.Without relying on mining, printing or minting, Nano is sustainable digital money. Digital money should be quick and easy-to-use, Nano is ready when you are."
Two different folding iPhone prototypes allegedly pass first quality checks
Are you using general purpose Droplets? If so, DigitalOcean uses a heterogeneous mix of underlying hardware that has varying degrees of performance. Some of it is years old.

If you're looking for normalized performance, it's my strong suggestion you look at Droplets with dedicated resources. While I believe the disk virtualization layer is always technically "over-committed", these Droplets run on more modern hardware that typically has better and more normalized performance.

If you don't want to do that, an alternative strategy is just to destroy and recreate the general purpose Droplet to try and land on the better hardware by a stroke of luck...though that's probably not worth it.

I hope this helps you!
In aerospace where this is common, you often had multiple implementations, as you wanted to avoid software bugs made by humans. Problem was, different teams often created the same error at the same place, so it wasn’t as effective as it would have seemed.
It's from someone who worked at the parent company i work for ( Montreal ) and had that reference from someone working at Amazon
> With unusual characteristics (especially the use of outputs from transactions being used as inputs to new transactions without much confirmation depth on the chain)

I'd love to hear more thoughts on this. I'm new to crypto but what are your thoughts on the reasoning here, fraud?

Also, what would explain the creation of so many yellows?
If you look at market data, you can see that this market did not exist a few years ago and is now estimated to be worth billions, with major players releasing products in the space. Unless the dynamics pushing this forward change overnight, I think it's pretty safe to call it a trend.
Early 1990s X11 clients are sometimes broken on recent X.Org setups in my experience, in subtle ways usually involving keyboard.

And that's assuming running under X.Org.

As for Win32, if the application didn't do stupid things like setting bitflags that were "reserved for future use", things apparently work without recompile for basic GUI from 1.01 to Windows 10.
It's also a depressing tale for wannabe academics, however. mRNA vaccines are an impressive, groundbreaking development. Dr Kariko (and others) may get a Nobel for that. And yet, she was kicked off the tenure track because she failed to secure VC investments, for chrissake.
To be fair, they had to buy Cognitect to cope with the technical debt of Clojure and Datomic.
Lovely to see David and his castle on here.
Yes, on the very very very low end, this is the case, but generally, in more real programs, it's not.

(The program I linked is an example of exactly what you're talking about)
Why is it always called "the Pfizer vaccine" when it's clearly a joint operation between Biontech and Pfizer with Biontech being the inventor of the vaccine and Pfizer being the pharma giant that is able to help with resources and producing it at scale?
As a former scientist, the depths of academia I have visited and what I have seen had better not reach the light of day.
Since polystyrene has only carbon and hydrogen in it, the number of problematic chemicals you can make from it is quite limited.

Not zero certainly, I'm sure a chemist could find some, but starting from polystyrene (which is very stable) and ending up at a problematic chemical is unlikely because the mealworms are using the polystyrene for energy, so I would assume they fully oxidize it, leaving just CO2 and Water.
Also lack of generics can make it slow, e.g. qsort() requires a function call for each comparison. So C++'s std::sort() can be significantly faster on an array of integers.
What happened last time? Did he invest alot at the top in 2017?
I definitely agree that a PCI-E card is preferable. Hell even if you have it in CPU, you probably want it sat on the PCI-E bus anyways so it can P2P DMA with other hardware.

Also (not disagreeing but I'm curious), last time I checked FPGAs could pull off some level of partial reconfiguration in the millisecond and sub millisecond ranges. I may be a bit off on these times but I saw them in a research paper a few years back. What types of speed would be necessary for CPUs to actually be able to benefit from a small FPGA onboard (rather than on an expansion card) with all the context switching.
> Second, inefficient relative to what?

The sad thing is it's not inefficiency relative comparable things. But anyone that has worked at these places or sold B2B to them just knows it on intuitive level that they are garbage, and need a heavy sedative to think there are no alternative.

> not a predictive theory nor a powerful explanatory theory

It's not. It's about letting go of some efficient market ideal and then finding new ideas.

We can look at Fortune 500 case-by-case to learn new things

> Cola cola

Sugar drug cartel. Despicable business with very stable revenue despite being a net drag on society. (At least "regular" drugs have a lot more upside!)

> Proctor and Gamble

Just as restaurants are reaching down market, and the inefficiency of everyone cooking and cleaning is starting to have market implications, we should see their reign finally dwindle. Wash-and-Fold should follow laundromats. The specialization means that stupid differentiation between products for uninformative consumers (c.f. https://en.wikipedia.org/wiki/Monopolistic_competition) should go away and restaurants and laundromats optimize.

Personal soaps and cosmetics (of course many soaps are cosmetics) however will stay as cultural reasons ensure people will continue to clean themselves and not contract that out for the foreseeable future.
I'm pretty sure Bluespec and SpinalHDL compile to Verilog. Chisel uses it's own IR (FIRRTL). I think Migen used to target Verilog, but now targets (one of?) the IR(s) that Yosys supports (RTLIL?).
Yes, it keeps randoms out. Be careful asking friends in law enforcement to look something up for you. Requests are logged. And if another law enforcement group has an alert set, you will get a visit asking why you were asking.
fing awesome
wtf is dang
>When to Build a Faster Horse?

When customers are standing by willing, able, and already paying a premium for every bit of speed that can be delivered, with no end in sight.

And you want to get in the door of an already-occurring cash flow without having to create your own new market.

A faster horse than they've ever seen will get their attention immediately and make you money right away.

Even if you've already invented a Model T, have a working prototype, and are highly aware of the promise of mass production.

Once you're actually prevailing in the market for speed itself, then you have the best position to leverage the imagination about the possibilities of a world having automotive garages, pavement, motor fuels, etc, and your little invention delivering the no-end-in-sight that horses will not be able to keep up with.

This is a way of funding growth by directly participating in the target market you are planning to disrupt.

An established market is at least somewhat rational compared to a not-yet-established market, but at least it's already a market.

There were others long forgotten besides Ford who launched with cars trying to survive when there was only a horse market, they all became unknown because they failed to remain solvent while the new market was still becoming existent, then rational. Ford is a survivor head and shoulders above the turbulent waters.

Some established coach makers prospered with the arrival of the automotive age (simply supplying the faster buggys the motor companies needed for their mechanical horsepower) while things like highly innovative EV's never got past the prototype stage or off the drawing board.

Ford succeeded in creating a new mass market for his particular invention, which only allowed participation by others having products of great similarity, but could not keep them out within IP limitations.

He had a low cost advantage that lasted years also.

A very bold vision to insure worthwhile copies of his invention were available, and if popularized, many copies, each adding value to raw materials beyond the financial gains attainable.

Him and Edison seem to have a lot in common and enjoyed spending some time together real well.

He must have gotten a hold of more resources to work with compared to your average used horse salesman too.
They do, even if it's partially done via aid money. And again they could buy multiple F-16's for the price of a single F-35 through the same aid program.
Covid has made 'voice notes' the perfect way to stay connected
I started programming in the early 80s, and started programming professionally in 1987. The biggest difference between early micros and PCs was that most early micros had better documentation in the box than the PCs did. For example, a C64 or a TI 99/4a had documentation that would take you from beginner to being able to access hardware features. The PC, on the other hand, you had to buy books from third parties to get that level of documentation. To be fair, the PC had a lot more going to document.
I am! I'm working on a product named Vantage: an alternative to the AWS console with a focus on developer experience and cost transparency.

http://vantage.sh/
Two charts with different languages. Unclear what is being measured. Is this a humor article?
"Fed with Styrofoam as the sole diet, the larvae lived as well as those fed with a normal diet (bran) over a period of 1 month"

I do not believe this claim.

Polystyrene has only carbon and hydrogen - so where are the mealworms getting nitrogen for protein synthesis? If they are getting it from the air, that's pretty major, and I highly doubt it.

Another problematic claim:

"and the rest into mineralized organic material"

What mineral exactly are they making that is usable for plants? Carbon and Hydrogen would leave just CO2 and water as waste products. What could they possibly be making?
I Look Programs That Pair Processors If There Is Threath Tell Or Text Me I Help Way Out.I Ratchet In Code Help. Im Tool. Don's Send Worms Or Next Time I Burn
Laptops. Stop Send Those Worms That Eat A Bit Of Usb Port. Better Coperate. I Work On That Way Laptop So Be Good.
Be Smart Take Fast Option If Can Don't Wait.
Ratchet Me.
Ratchet Me. I Wait.

Go Bait Makes Laught! Just Try To Put Worm.
Be Smart And Stop Fight With Heads. Thats Alot. Until You Fight Make An Game.

Ratchet Me.
Ratchet Me. I Wait.
Marketing Follies of 2020
perhaps, or maybe it means we would have mRNA vaccines decades later.
This may be of interest:

Can Ternary Computing Improve Information Assurance?
https://www.mdpi.com/2410-387X/2/1/6/htm
I remember using pidgin (then called GAIM) on windows and having it fit right in visually, and that's a GTK2 app. It became slightly more noticeable on Windows 7, where UI animations that were present in the Windows UI would be absent due to, I believe, GTK2 not having a proper animation library, but it still looked like a native app. No idea if that's still the case for GTK3 and onward, though.
Thanks for the code!
And disproving a theory with lots of research backing it would be great. Imagine if someone found a huge hole in general relativity. There would be a boom in the grant writing industry.
Yes. But in fairness I retracted rent sneaking as a combination of monopolization, bonafied rents, addiction, and just shear damn inertia contributes to the malaise.

Calling it all "rent seeking" is not a hill I want to die one.
You raise a good point. I've always been fascinating by PyPy's performance, personally -- anecdotally, I've achieved ~10x speedups from just running a script with `pypy` instead of `python`. I always attributed that to better performance of the JIT, but I could be wrong.

I have nothing against Rust personally, but it's ultimately not an apples-to-apples comparison if they're not implementing the same algorithm, or even if they're not using the same mechanisms (e.g. Rust explicitly using SSE intrinsics, which are certainly available to C in just as idiomatic a fashion).
It is plausible, but the Great Seal (aka “the Thing”) only operated at 800Mhz. The microwave range is from 1 gigahertz (GHz), up to about 300 gigahertz.
I've never understood this argument. The change in mindset is extremely small. It's merely a matter of awareness. High level synthesis can work just fine if you don't go overboard with constructs that are hard to synthesize. There is no fundamental reason why a math equation in C should be harder to synthesize than the Verilog or VHDL equivalent.