skysight-inc/HackerNews huggingface dataset:
There is a lot of C++ code out there. A lot of it was not written by people who understand performance or who care. It is very easy to take that kind of code and make it faster, even without a switch to Rust.

The examples I have seen where a Rust rewrite is faster than original C++ code usually have glaring performance issues in the C++: Often, it is code that does a ton of unnecessary copies. The Rust code often doesn't copy as much because the Rust language makes that kind of copying inconvenient or because the person doing the rewrite is a Rust expert and not a C++ expert. The other kind of speedup I have seen is when people swap a C++ std::map for a Rust btree_map, and don't realize that absl::btree_map (a C++ btree map in Google's library) is what Rust's btree_map is based on.

I haven't seen any examples where C or C++ code written with performance in mind gets a rewrite to Rust and goes faster, and I have seen the opposite.
Consensus is a band with 6.2 being the median. No serious analyst would have said it “can’t be over 6.2”. 6.5 was the top of the bell curve I saw as late as yesterday.

6.4 is just not a weird number and won’t change any market expectations.
> Why are IEA forecasts spurious?

While I don't agree with the post you're replying to, the IEA has a long history of terrible predictions with renewable energy. Not sure if they've improved recently, but for the better part of two decades, they predicted negligible growth in the solar market, even after being contradicted every single year:

https://maartensteinbuch.com/2017/06/12/photovoltaic-growth-...
> Keep paying 50% more than registering with a genuine seller.

This is a naive view of how the economics work here and the power these platforms hold. The point of the OP is that sellers eat this cost, for the most part. Some of this is passed to the customer, but not a significant amount. The prices on Amazon are as low or lower than anywhere else (this is part of the problem).
"Benioff's digital detox offers an interesting glimpse into how one tech CEO navigated a time of change at the company, seeking out a temporary period of quiet, free of digital communication."

That would certainly be one way to put it (the businessinsider.com way). Another way would be "Benioff goes to where criticism cannot be heard".
I suspect that's largely because they have massive sunk costs since they've been doing it for longer than anyone else. I sincerely don't think you can count on that lasting. Especially since some models are getting up in the years, and their shoddy build quality is becoming increasingly evident to consumers.
Where in the article it says that it's the fastest growing language?
I can't speak for Haskell as I haven't looked at their implementation, avoiding copies is pretty typical of immutable data structures. Because each component of the data structure is immutable, you can safely point to any part of the structure that you don't need to change rather than copy it.

For example, in a basic binary search tree implementation of a map (using C-ish syntax for those who don't know a functional language):

struct Node {
String key;
int value;
Node left;
Node right;
}

Node set(Node n, String key, int value) {
if(n == null) {
return new Node { key = key, value = value, left = null, right = null };
}

if(key < n.key) {
return new Node {
key = n.key,
value = n.value,
left = set(n.left, key, value),
right = n.right
};
}

if(key > n.key) {
return new Node {
key = n.key,
value = n.value,
left = n.left,
right = set(n.right, key, value)
};
}

return new Node { key = key, value = value, left = n.left, right = n.right };
}

A perfectly-balanced tree with depth of 5 has 1 + 2 + 4 + 8 + 16 = 31 nodes. If you call the above function, on such a tree, the worst case scenario is that the key doesn't exist, so it modifies 5 nodes during its search and creates a new sixth node. 26 of the original 31 nodes are reused and referenced by the newly-created map. The percentage of nodes reused only improves as the perfectly-balanced tree gets larger.

Of course, if this is your implementation of set(), the tree won't be perfectly-balanced, so a production implementation of a tree-based map needs tree-rebalancing (as well as memory-reordering and compacting for cache locality). These extra constraints typically mean less of the tree can be re-used, but the percentage of nodes which can be reused remains high.
How many employees have leverage right now to jump ship? Theres a direct connection there. Cost of living is different than cost of employing.

If anything, cost of employing is going down in tech, going up in the service industry
There's some contradiction in this story: being "extremely smart" and using facebook. Without adblock. )
Quite a "u-turn" from the bloc which for two decades pushed (through regulation) dirty diesel engines as the solution.
While I get (and likely agree!) what you’re saying with regards to the likely level of this kind of presentation, my experience is that knowing what to implement is much harder than actually slinging some code. This is true both at the product and engineering level.
Children are not the property of their parents. I do see the attitude that parents should be able to fully control what content their children are exposed to as problematic. The school is full of education professionals, we're not in a random public space with who knows what kinds of materials. These are books that professionals already selected.
no we are getting layoff, anyone who thought they were to be promoted is oppressed to feel "lucky" if they don't get redundancy.
Investigating the tax affairs of the BBC is like probing the sexual history of monks who've taken a vow of celebacy. It only demonstrates the "independance and impartiality" of the Indian Tax authorities.
I came here as well to recommend the DOI. So many nice things can be had by using this rather than your own IDs, it means that site now becomes a tool that composes with other tools.
Yeah, the lack of new businesses is a big problem in Europe. Regulations and taxation kill them or drive them out of Europe.

But I was speaking from a US perspective (since I'm from the US and this story is about the US), and our biggest, most profitable businesses are mostly under fifty years old, not over.
Going from almost zero to some small number may present a rate of increase that appears huge.

Going from very large to even larger still may be a much lower rate of increase.

Never let the facts get the way of a good headline?
Reporting is always shit, you can't really trust the journalist or the editor that put the title to give you an accurate picture

Both are true, too

Inflation cooled, because Year over year in January is 6.4%, while in December it was 6.5% and in November it was 7.1%. So it has a downward trend

Inflation was 0.5% month over month in January, which was higher than the market expected 0.4%

The overall story is that inflation seems to be slowing down, but the market seems to think that the slowdown will happen quicker than it actually is, possibly making the Fed raise rates
I disagree, that just leads to extreme subjectivity in which you can argue for anything. I can justify killing all children I come across as they are not real, or if they are real nobody can argue that killing them is a bad thing. Or simply becoming catatonic since nothing outside of the mind matters.
I know it is common to think that Haskell is used only in academia and side/weird-projects, but there is a decent amount of companies using Haskell - e.g. we use Haskell in production for developing a DSL / web framework for building web apps (https://github.com/wasp-lang/wasp)!

I participated teaching students Haskell on my alma mater this year and "what can Haskell be used for" was a common question, with genuine expectation that the answer will be it is limited to only specific use cases. I would answer that it can be used anywhere where languages like Java, C#, Go, and similar can be used -> it is a general programming language that uses garbage collector! And while somewhat harder to learn due to abstractions that we are all not used to, it is a delight to express business logic in it once you get to know it well.

The biggest factor for deciding if Haskell is a good fit for the problem is probably ecosystem support -> are there enough libraries and tools to support efficient development in a specific problem domain. In our case, we are building a compiler/transpiler, and Haskell is well-known for great support in that area, so it was a no-brainer. We were actually also considering Rust, but we just had no need for that level of memory control and rather decided to go with language where we don't have to think about that (Haskell).
That would imply that it actually finished, which is not obvious to me. The last time I found Python 2 code must have been a few months ago, and I'm not a regular Python user. And that's kind of the problem: old code never just goes away. It lingers until you try to compile it and it fails.
And Toyota places second, and all others have worse numbers. And Ford a strong contender loses money per electric vehicle sold.
The exact same things could be said about companies themselves.

"The structure of companies is such that it facilitates and encourages seniority as well as corruption including ties to the mob. It's no accident that companies are targets of corruption by the feds [1] for various forms of malfeasance."

You're basically saying that crime exists among groups of people where there is a power differential. I mean, sure? I still don't understand [2] why unions are so specifically a target of it as compared to, say, insider traders. You don't typically see people saying we should just not have an executive board because some have been caught insider trading -- that would be absurd!

[1] https://www.fbi.gov/investigate/white-collar-crime

[2] I suspect though, that it has something to do with the typical judgements of "blue-collar" crime as being more heinous than "white-collar" crime.
Elmina Castle: First European Building in Sub-Saharan Africa
Dataclasses already exist and have throngs of users. It's for them. If you've never used dataclasses maybe it doesn't make sense to you.

Then, I agree Python is way too big a language now, but I'd rather start removing things like the walrus and operator overloading.
I'm in the US but if the US govt passed a ban on gas vehicles effective today, I'd be extremely upset. I love my car.
"The survey sample size was 37 companies from the Reach Capital portfolio. That’s large enough to see patterns"...[citation needed]. n=37 is skimpy.
There was both technical/business project delivery and executive update/briefing presentations. The knock I cited was on the second. The project part was fine (as suggested by the characterization that the results were "quite good".)
I personally grew up relatively sheltered from [hockey] and
my own kids don't participate or care

Broadly speaking this sounds a lot like America's relationship with youth sports. It's totally optional and easy to avoid.

Especially small-town/rural Canada

[...]

So, yeah, I guess what I'm saying is that hockey
is an obsession for hockey families. For everyone
else... kind of a shrug.

It differs greatly regionally in America too. I live far away from Texas but I think in parts of the South and Texas, etc. high school football is like the thing. Growing up in the Northeast nobody gave that much of a crap about high school football. I went to a bunch of games but it was just kind of a place to hang out.

The small town I live in now was the childhood home of a guy who won multiple Super Bowls. Nobody gives a crap about the high school team, the one he played for. It's just not a thing.

What I'm always shocked with with the US is the
degree to which just almost everyone is into football.
It's some sort of bizarre national religion, and a
default smalltalk conversation topic

It's definitely the default smalltalk conversation topic, at least for men. Feels less like "universal obsession" than "lowest common denominator" though, honestly. The comparison here is probably the other great national universal smalltalk topic, weather. You can talk about it with nearly anybody but it doesn't mean it's their biggest thing.

Honestly, I like football more than most, but even I only think about it for about 5 months a year and at least half the people in my life aren't fans.

religion

I really do like this comparison. I think it's central to understanding its appeal to America.

BUT here's the key: it is the national religion because it is something we do together, once per week more so than because we actually worship it that deeply. In other words, it's social. An excuse to get together on Sundays (if you're in an NFL town) or Saturdays (if you're in a college town).

It's also something we enjoy together that somewhat cuts across class and ideological divides. It is certainly imperfect but in a world that is lacking in unity and common ground, I don't think this is an entirely bad thing.
I feel like the latest Docker Desktop on Ventura works quite well in both amd64 and arm64 containers. This might be with the experimental VM settings on as well as the Rosetta x64 in containers support. As much as I don't love Docker Desktop with the forced login and what not, I can't tell what this is offering over it? Maybe VMs?

For VMs, I'm using UTM.app and it's fantastic.
Expensive Epiphanies
Cloudflare is a distributed denial of service to anyone that doesn't run javascript or have the latest browser.
It's 12 years out and this is a short time for the magnitude of the change.

The UK has enacted a similar ban that should come into effect 5 years earlier, in 2030, so in 7 years and at the moment my best guess is that this is going to be a bloodbath (and second hand petrol cars are going to become even more valuable) if it is not postponed. It requires gigantic investments and adaptation that are not happening, or are happening very, very slowly.
It's great the memory-safe languages that don't sacrifice performance are growing in popularity. But I must ask, what does Rust do better than Nim?
Uh, what is the other option?

Ban it in next 4 years?
Colour is used as a metaphor for the relationships lawyers want to create and the structuralist view that how you create logic matters as much or more than the content of the logic. Mushed together into one concept.

Then the author teases out the tangled truth. Logic and binary code can't support inherent relationships. Ones and zeros don't come with a 'colour'.

The ethical problems in the article conflates a symbolic representation generated by computer monitors from code, with the code itself being the problem. Like blaming the wind for carrying a dirty limerick into your ear.

Unfortunately the best way to deal with symbols is to burn them down. Detect and delete dirty pictures. You could make the Colour of generating unethical symbols illegal. Detect and prosecute after the fact like we do with most crimes. But not the binary code itself being illegal, just the symbolic representation of CP.

Also, DRM failing in the article's examples, is a feature not a bug. It gives a temporary structure to digital rights and doesn't constrain code re-use (like a software patent would) or try to lock down ownership of logic.
> Many Indians in America or Americans of Indian descent disagree with the rise of fascism in India

I'm aware of that, as I'm also aware that many Russians (especially the educated tech elites) are against the current government in Moscow.

I was trying to put myself in the shoes of the guys calling the shots in Washington, as in, what measures should be taken in regards to the Chinese very-well represented tech diaspora in case of a war against China? (and, as I said, if some skirmishes involving the current Indian leadership were to start). When it came to Russia it looks like the the US and the West went all in, almost all Russians were treated as guilty by default unless.

I'm wondering if the same actions will be taken against the Chinese working for the big US tech firms (or against the Indians). I'm saying that that would be harder for the US to carry out (compared to the current shitting on the Russian diaspora).
> The borrow checker just makes sure that a closure never outlives its captures or any of its references.

The point is that the borrow checker forces you to program in a fundamentally different style than idiomatic Haskell.
Sure, Cloudflare can protect you against almost any realistic technical attack. Let me know when they have a service tier that protects me from a hate mob writing angry e-mails, because currently nobody on Cloudflare is safe from that.
One thing to keep in mind is that the way the BLS measures shelter inflation is known to be extremely laggy. And shelter makes up 34% of the basket. High frequency metrics of shelter costs (like new leases or Zillow's metrics) show that housing is currently deflationary (i.e. below zero).

However the CPI metrics is still reporting shelter inflation at 8.0% YoY and a 9.6% annualized rate MoM. Within the next few months we should see a very notable decline in the shelter component of inflation as it heads towards zero. The reality is because of this lagginess, "true inflation" this time last year was probably closer to 12%+, and as of the last few months is probably closer to 3%.
> look we need to offer support to core-js because core-js is the software that ensures our website works for everyone using it

But that's demonstrably not true. In fact, nobody supports core-js and all the big websites keep on working.
small sample, and a single VC portfolio? Could also be selection bias in who they want to fund.
Seems a bit odd to accuse Corbyn supporters of not doing anything useful when they were being undermined from all angles. Smeared as anti-semites, hit pieces on state media, constant bashing in tabloids; sneakily undermined by a faction of their own party, as here, and even undermined by state security services (https://www.telegraph.co.uk/politics/2022/06/22/jeremy-corby...).

This wasn't because Corbyn's side didn't have policy positions or wasn't getting things done - it's because wealthy vested interests were fucking terrified of what he would do.

Blair is a full-on war criminal btw, so presenting the two as somehow equivalent is staggeringly dishonest.
one funny thing is almost everyone has to learn square dancing

That's very regional. I don't recall square dancing was ever an option where I grew up.
Yes, out of the frying pan and into the fire. They really should be bringing manufacturing and services back home or to closer countries.
> keep China out of "trivially easy to prove that the West is better for its own citizens"

China has concentration camps.
There seem to be so few seeders that it's stuck at 5% for me.
Good to know. Tx for sharing
hi, im an IAM union diesel engine mechanic and have been for over a decade. Maybe I can help explain a bit.

in a 'blue collar' job like manufacturing or shipping or any of the trades like plumbing or mechanical maintenance, the only part of the business that doesnt see meaningful pushback is the labor. My job performance as a TIG welder in Texas as part of an oil and gas company was stellar, but not stellar enough to keep me from things like "mandatory overtime" and having to show up at a frigid gas field at 4 am to fix a line in chronic disrepair. part of the reason for this is a rosy picture of the rugged life of a tradesman, a misunderstanding of just how hard this work is, and a disconnected culture of leadership that see us as expendables/undesireables/expenses. Personal relationships only go so far when your op supervisor only shows up to berate you about tardiness or demand you work a weekend.

The union isnt a third party agency, its you. you decide what needs fixing, what doesnt work, and what you want changed to make your job more effective and a lot of times that includes your pay. when our shop unionized we did things like reduce shop floor noise, change how overtime gets assigned and made it voluntary, and even added paternity leave (we also get a say in our healthcare and opt in or out.) We even amended the companies equal opportunity employment statement to include LGBTQ+, something leadership resisted for a long time.

unions dont guarantee everyone works hard (thats culture), but they help to make sure everyone whos hired to work is treated fairly and with respect, and they fight to prevent common excesses in trade like wage theft, mandatory overtime, unfair scheduling, retaliation, and dangerous work conditions. They can push back on myopic or bad management decisions that harm customers or degrade quality.

The relationship isnt perfect. strikes can and do happen but when they do its mostly for good reasons like demanding sick leave (go get em CSX railworkers!!) and health insurance we were told the free market would provide us (looking at you Starbucks.) Federal law requires good faith collective bargaining, regardless of how many hit pieces on the evening news try to spin it any other way.
Union crime _is_ white collar crime (they may represent blue collar workers but the reps are starched white collar workers --and aside from intimidation and other forms of violence). But why are Unions such magnets for corruption? For corporations you have various forms of oversight like SEC, SOX, and many others. In unions there is more of an unspoken code not to whistleblow because they are "you" and you don't wanna be a rat and target of violence so corruption goes less checked.
That may be true, but these two pilots had 25000 hours between them.
That ban is for new cars only. Existing gas cars won't go away any time soon.
I would love to know how you build a language that:

A) is easy to write one off scripts that do a job fast, with minimal thinking and effort. I am thinking of Python and Ruby. For me I can write code with high velocity in these languages.

B) Executes loops very fast and does automatic vectorization

C) Can scale toward large teams, such as that you can do drastic changes with faith that things shall not break at runtime.

D) zero cost abstractions and minimal indirections.

E) predictable runtime performance, no random pauses

F) powerful tooling, such as package manager and IDE integration
Because the requirements for anything health related are so absurdly high, the investment required to put something on the market is also absurdly high. You can’t make that investment if the next guy can then just go and sell your product for a quarter.
theres some big marketing push happening to "disrupt google" going on in the "forever 18-34" mac/linux demographic
What purpose would this serve? Just anonymity for the sake of anonymity, or something else?
It doesn't surprise me. There is a huge advantage, in the first years of a startup, to be able to sit around with all the co-founders and early employees and exchange ideas as they come. Later on it matters less, as the advantage of synchronous communication diminishes once you have more employees than one office room can fit, which seems to be reflected in the research results.
No, I used "insane" for training every day of the week, instead of just once or twice per week. "Imbalanced" is doing highly intensive every day training for a few months and then nothing the rest of the year.

I'm not calling the system in my country "superior", I'm just pointing out that it's generally once or twice a week all year round. And I think that's a more balanced approach.

But of course the systems are completely different because in the US it's attached to schools, whereas here it's all independent.
are you perhaps a teen? that's a magnet link, its used to transfer things via bittorrent. we used to put them in the spokes of our bicycles when we'd ride down to the five-and-dime