skysight-inc/HackerNews huggingface dataset:
C++ deserves its rep for complexity. But, it comes from a promise to avoid a version upgrade debacle in the style of Python 3. C++ promises that you will forever be able to interleave new-style code right into the middle of ancient, battle-tested old-style code.

To do that, it can only add features and never take them away. Instead, it adds features that deprecate the practice of PITA patterns that were common, necessary and difficult.

Like, SFINAE was necessary all over the place to make libraries "just work" the way users would expect. But, it is a PITA to write and and PITA to read. Now, constexpr if and auto return types can usually collapse all that scattered, implicit, templated pattern matching down to a few if statements. Adding those features technically made the standard more complicated. But, it made new code moving forward much simpler to understand.

Similarly: Before variadic templates, parameter packs and fold expressions, you had the hell of recursive templates. Auto lambdas make a lot of 1-off templates blend right into the middle of regular code. Deduction guides set up library writers to set you up to write

std::array names{"Alice", "Bob", "Charlie};

instead of

std::array<const char*, 2> names{"Alice", "Bob", "Charlie};
Computer science is the study, that is looking at how computers and the use of computers can benefit mankind (in my short lay version). Software engineering is a subset of computer science where you build a real world application of the studies.

The algorithms behind the Facebook feed and your favorite AI/ML product is the science. The code that powers the feed and chatgpt is the engineering.

Wikipedia is not wrong IMHO, but then I studied computer science 20 years ago so maybe I’m out of touch
I'm thankful for them leaving the repos as hyperlinks

> The top repositories by issue comments:

> 1. │ kubernetes/kubernetes │ 1450081 │

and probably 50081 of them are `/remove-lifecycle stale` :-/
Another article that presumes capitalism will somehow put an end to global warming, when capitalism got us into this. The article spends all this time describing the economic benefits, which won't mean a damn thing when we're fighting wars over water and starving en masse from crop failures.

Capitalism has had 40 years to do something climate disruption, and instead, the hottest average days ever recorded all occurred in the last week.
The magic words you're looking for are "EDID emulation". The KVM will continue to send the EDID data from the monitor even after you've switched away, which will fix that issue.

It's relatively uncommon and not always implemented super well, but it's a requirement for any DP KVM to be not super annoying IMO.

There was one particular KVM brand that was supposed to do it well whose name is escaping me now :/. I was looking at buying one in ~ May 2020 for obvious reasons, but they were on super-backorder (also for obvious reasons), so I never got around to it. IIRC they were about $500 for a 4 input/2 output version, so not cheap.
I doubt that somehow, reason we are pushing wind and solar is cos people think it is “green” and “renewable” and are scared of nuclear.

Take example of Germany where they shut down the nuclear power plants just cos of popular pressure…
$250K per Raptor. Nasty typo that ruins my argument!
Yes, in 2003 not 2000 which is when they would have gotten it without Microsoft fucking them over.

First Halo was delayed to port it to windows and XBox on top of that two years after its initial release they let the already working Mac version out the door. That’s a huge fuck you by any standard.

On top of this Halo 2 etc was XBox and Windows exclusive fuck PS owners, fuck Mac owners, and fuck the free market.
Once thing that's missing (from both the article here, and for example the whole hydrogen discussion in Germany) is the round-trip efficiency.

Now the author of the article would likely argue that with prices dropping as fast as they do, a 60% efficiency is just a few years delay away from being economically efficient. (A quick search came up with a 68% efficiency for fuel cells and "80% - 95%" for electrolysis, putting the whole thing at 54%-65%)

But I can't help but think we'll come up with something a bit more efficient, because that'll be more viable sooner, and more profitable in the long run.
> the human brain averages having approximately 86 billion neurons, and GPT-4 has an estimated 1.8 trillion parameters.

But that's not an apples-to-apples comparison, as the artificial neurons of neural networks are just a rough approximation of our neurons. They are also connected in a much simpler way too (nicely divided into layers, where each layer can only pass signals to the very next layer), so it could be that it isn't just a matter of how many parameters you have.
1 million electricians strikes me as a lot of electricians. Also it already is 2020. Typo perhaps? Source?
harms to the market are harms to the consumer, consumer harm as the court standard is how we got this consolidated state
Sorry for the delay - just noticed this comment.

Looking at my own pantry of Indian branded spices I purchased from Indian grocery stores, I see they are packaged in the UAE and not India, and don't carry the AGMARK. I couldn't find any details on the certifications required for spices in the Emirates.
Oh, but there's a third. MiniDP. I have a pile of useless cables/adapters now, since Apple started using them but replaced them with USB-C back in 2015.
Fair enough. I haven't really looked at Falcon as a replacement for LLaMA yet because it isn't supported by llama.cpp, but it looks promising.
Things that are legal/illegal are not a perfect overlap with things that are right/wrong.
Allowing higher compression levels generally has a minimal impart on the maintenance cost of the compression code, so there's essentially only a cost to the user for allowing arbitrarily high compression level settings. Higher optimization levels in a compiler generally greatly add to the code complexity, and thus impose a tax on the developers, not just a cost to the users.

For compression settings, a higher number is usually just setting limits on the search space, and perhaps setting upper limits on the amount of memory required. Setting higher compression levels rarely executes lots of extra code.

For compilers, higher levels typically enable entirely new optimizations. That means lots of extra writing of optimizations that will almost never get used, are often tough to debug (particularly their interaction with other optimizations), and increase the maintenance cost of the compiler.
> You're conflating a communications channel with a new technology

I'm really not. Do you genuinely think that the last half of your sentence only applies to LLMs? A "technology that enables abuse (as well as positive outcomes) at a previously-unimagined scale" is literally a perfect description of social media platforms. LLMs virtually don't move the needle, look at the amount of propaganda and bots already on the web today.

I think that implying I am burying my head in the sand about LLMs by claiming they shouldn't be restricted to megacorps who already have demonstrated their willingness to engage in unethical activities at mass scale is fucking ridiculous too. But I do welcome your continued support of regulating AI in favor of corporations, it's a clear sign to never engage with you
Do you foresee any compatibility or integration issues with higher level frameworks, i.e. lightning, transformers, etc?
That about wanting to change mind... it touches a string! Somehow the let-downs must have been too much for me at a certain point in time. That being said, I'm curious to find out right now. Edit... no such thing found as string interpolation in cpp, at least not in my first 4 search hits. I'll crawl back.
Actually they do. You need to make a philosophical argument as how this different than us humans manipulating bits and neurons to come up with opinions. Good luck with that.
So, I went down an interesting rabbit hole with this. Claude was willing to give me (correctly) 100 digits of Pi, but when asked to write some Python code to let me confirm the digits of Pi, it failed over and over again (in different ways each time, interestingly enough). Basically, it's still wholly inadequate for coding.

Now, ChatGPT on the other hand... I shifted over to ChatGPT-4 Code Interpreter, and it gave me a working method (and of course was able to run the code directly) using mpmath the very first go, and then with BBP when asking for using just the standard library, and also via Leibniz as well, with the warning it would be slow, when asked for the shortest code. It was able to give me a chart of various known pi calculation methods and their relative speed/other properties, and then it refactored the code it had give me so far along with adding timings so I could see relative speed. Lastly, it helped me write the code for running Leibniz and timing the length for calculating each additional digit of precision, as well as projecting how long it would be to get to additional digits of precision (and how much precision I could get on my CPU at certain time periods). Lastly, I had it plot out how long it would take to get to 12 decimal places and it used matplotlib.pyplot to generate one for me. "As you can see, the time increases exponentially with each additional decimal place. Based on our estimates, it would take well over 100 years to compute."

I've yet to see any other service/model (open or closed) get close to doing what ChatGPT-4 + Code Interpreter is doing atm...
I guess I could have been clearer, but we aren't talking about smartphones, much less the fake pixel metrics that were kludged onto CSS to deal with Apple's introduction of retina screens.

And FWIW, little to nothing on the web is optimized for less than 800x600. We work with the fake pixels as just another measurement tool, but actually using most websites with physically less than 800x600 is brutal.
>So you have to take care of routing etc.

The routing of just load balancing is much simpler than the routing of exectution jumping between many microservices.

>You can overengineer both and make them a timesink

I agree, but a microservice architecture starts you out at a higher complexity.

>but being able to completely isolate business logic seems like a nice gain

That can also be done by having that business logic live in its own library.
There's a lot of vocal hangers on in the AI community that hijack the discussion towards "harms" and whatnot. Not to say it's not worth thinking about but it's run amok to the point that models are neutered (contrained within what a very specific political alignment calls ethics) before they're even used for anything, because someone speculates that somehow somewhere someone could do something bad with it. It's a dumb approach and hopefully as AI tools become more widely available and the activists move on, we can focus on building good AI and then putting guardrails in place for specific applications as required, rather than this "only the enlightened can be trusted with it" approach. Imagine if this is what had happened with general purpose computing. There are those that wish it had and see this as an opportunity to claw back some of their power.
Not everyone is like you or has the same needs as you.
Yes. That just means upgrade and install extra required packages.

The nonsensical one would be do-release-upgrade.
They stay in my inbox, whenever I have time I read one and archive.. I do not read them often.

I have also unsubscribed to a bunch as they have too much for me to casually consume. Pragmatic engineer one is great that it has a single topic and goes deep into it. Level up one is great as it has some great insight in the introduction and then it's more of a pointers to articles that I might click or not.
The load shifting part is similar to the way BigTable splits, merges, and assigns tablets. But the rest of it is not related, because BigTable does not try to offer mutation consistency across replicas. If you write to one replica of a BigTable, your mutation may be read at some other replica, after an undefined delay. Applications that need stronger consistency features must layer their own replication scheme atop BigTable (such as Megastore).

What this post is describing for replication seems more comparable to Spanner.
You might want to get your eyes checked at your next appointment. I'm severely color blind and yet I can see a significant difference in color diversity, vibrancy and image quality in these examples. The FP image is muted and muddy.
> There's got to be tens of trillions of dollars in deployed methane infrastructure

Highly doubt it is worth that much presently, so even if the investment was that large (which I doubt) we certainly aren't looking at walking away from that much presently.

The big reason to move away from methane is that gas delivery infrastructure is expensive to maintain, and nearly impossible to keep leak free. Reusing existing infrastructure implies investing in its maintenance, which may be more expensive than building new infrastructure for liquid fuel (which itself already exists).
Nothing Phone 2 is coming to the US
A startup smartphone company to challenge Apple & Samsung. What do you think?
Who cares. The whole of Dubai is a hodge-podge of "structures" to make the local rich people feel accomplished and tourists who view it as a giant mix of disneyland and vegas.

I actually wonder how those beachgoers can stand the july temperatures, it must be 40-45C now?

Once the novelty of supercar leases and fancy restaurants wears of, they are going to have to ramp up the prostitution to keep bringing in rich wannabes
> we measure the number of instructions and memory/cache accesses through CPU instrumentation performed with Valgrind. This approach gives repeatable and consistent results that couldn’t be obtained with a time based statistical approach, especially in extremely noisy CI and cloud environments.

This is a neat approach! I'm curious how well it maps to actual perf degradations though. Valgrind models an old CPU with a more naive branch predictor. For low-level branch-y code (say a native JSON parser), I'd be curious how well valgrind's simulated numbers map to real world measurements?

My probably naive intuition guesses that some low-level branchy code that valgrind thinks may be slower may run fine on a modern CPU (better branch predictor, deeper cache hierarchy). I'd expect false negatives to be rarer though - if valgrind thinks it's faster it probably is? What's your experience been like here?
I'm hoping for more along the lines of what happened with Mojang. Whatever Microsoft did there really worked.
Man the quickest way to get downvoted here is to dunk on Python huh?
are you thinking of DVI or something?

I've been using audio over DisplayPort for years and years and years without issue. every device I've ever had that supports DisplayPort supports audio over that connection.
That is completely untrue, one shell would not make a dent… but hey, it easier to spread FUD I guess…

Nuclear weapons exist after all…
Yeah, it works at the line level (as indicated by the way it highlights the selected lines) which I think is a limitation as much of git itself as magit. (I'm not sure what subline staging would even do.)

But the author isn't trying to stage a region, let alone a subline one. He's trying to stage a whole hunk and says its only working if point is at the start of the line.
It is really my only complaint about it, and since I needed a new laptop at the time it still made sense. I would definitely rather one of the 14” ones now - but not enough to buy a new device.
But - and I can't believe I forgot this in my other reply - this is one thing that really grinds my gears about Apple's releases since 2018, on everything except the Mac Pro (both 2019 and 2023).

They hard-code one DisplayPort stream to *something* other than Thunderbolt.

On laptops, they hard-code one via eDP to the display, which is useless if it's in clamshell mode.

On Mac Mini, Mac Studio, and the MacBook Pro with HDMI port, one stream from the GPU is hard-coded to the HDMI port. If you want maximum displays, always has to be from HDMI.

But neither the 2019 or 2023 Mac Pro have this limitation. Even on the 2019 model where the HDMI ports were physically on the card - they could route all video streams via system TB3 ports.

I just checked and the base M2 Mini, and the M2 Pro MBP seem to finally allow using two video streams over the TB4 ports, - but the M2 Ultra Studio, with the exact same SoC as the M2 Ultra Mac Pro, still has this stupid artificial limit.
Does this page need to be updated? It say's "We're currently working towards SOC 2 and HIPAA compliance", while in another place (can't find it at the moment) it say's you're compliant.

Also, the trust portal link on that page is a link to itself. Not the trust portal.

https://support.anthropic.com/en/articles/7996892-do-you-hav...
See also Bubblewrap[1]. I use Bubblewrap all the time, because it's just useful, and a bit easier than doing things with unshare directly.

To compare and contrast: bubblewrap is lower level, and is great for embedding or using in one-off invocations, whereas firejail is more oriented towards adding a bit of hardening to everyday applications like Firefox via built-in and custom profiles.

For example, you could temporarily override a path doing something like this:

bwrap --bind / / --bind /tmp/myoverride /usr/lib/qt5.15.2/plugins/kf5 -- ...

to, say, override the KDE plugins while testing. This is useful for me since it's rather challenging during development to actually get KDE apps to reliably load my plugins on NixOS: I think kio slaves are probably wrapped and getting other environments injected into them. Rather than bother with any tricky hacks, Linux namespaces make it relatively easy to test regardless.

Bubblewrap is used internally by Flatpak and others.

https://github.com/containers/bubblewrap
See also https://news.ycombinator.com/item?id=36681459
What are you blaming Apple for Microsoft’s direct customer harm here?

A more than 2 year delay for the first game and never getting the rest of the series is a major downside for existing customers. That’s exactly the kind of monopolist behavior you are supposed to block mergers for. Waiting 2 years cost Microsoft a little revenue directly, but pushed XBox sales which was far more valuable.
Fully justified text must drive you insane!
If it was cheap I would be ok with that.

The room in question is said to be in London. In the UK electrical sockets are not allowed in bathrooms so my main concern would be where to charge my phone, satnav, powerbank etc.
Barely Contained Rage: An Open Letter to Johnson and Johnson [video]
One of the Green Brothers posted an open letter to Johnson and Johnson so I thought I should share it here. What they are doing is absolutely despicable considering how many people still die from tuberculosis yearly.
Were you thinking of Level1techs?

https://store.level1techs.com/products/14-kvm-switch-triple-...
I took the time to read the EULA for the "Intel Driver and Support Assistent" on Windows and they monitor which websites you visit! In fact, if I'm reading their privacy notice, they obtain data from any software you run on their CPU at any time.

https://www.intel.com/content/www/us/en/support/articles/000...

https://www.intel.com/content/www/us/en/privacy/intel-privac...
And they will be there for half a century as opposed to wind turbines and solar panels which will have to be replaced and are hard to recycle…
Hi, first off thank you for your contributions, and this goes to the entire team. Keras is a wonderful tool and this was definitely the right move to do. No other package nails the “progressive disclosure” philosophy like Keras.

This caught my eye:

> “Right now, we use tf.nest (a Python data structure processing utility) extensively across the codebase, which requires the TensorFlow package. In the near future, we intend to turn tf.nest into a standalone package, so that you could use Keras Core without installing TensorFlow.”

I recently migrated a TF project to PyTorch (would have been great to have keras_core at the time) and used torch.nested. Could this not be an option?

A second question. For “customizing what happens in fit()”. Must this be written in either TF/PyTorch/Jax only, or can this be done with keras_core.ops, similar to the example shown for custom components? The idea would be you can reuse the same training loop logic across frameworks, like for custom components.
Sensor vendors will work with you to give you their blobs if you aren't idealogically required to distribute their source code. The SoC they are using should have a few blessed sensors which work pretty well out of the box.

Unless Qualcomm is totally out to lunch. I dunno I haven't worked with their SoCs personally.
Can you expand up on that?

I can't play Pokemon on my PC or Gran Turismo on my Xbox or WoW on my PS5. What will change "very bad for end consumer in long term"?
Not really. The reason coal was so popular was because you didn't really need any specialized infrastructure. It is a solid you can just ship using the same trains and trucks you use for TVs and apples. So you're really only giving up the mines and power plants.
I am not sure I want Linux to be super popular on the desktop, just usable enough for anyone who wants an alternative desktop OS to use.

It's thanks to redhat and corporate types using it so much that all sorts of controversial and divisive changes were introduced. The monetization aspect is also hard to resist when 100M+ people use your OS, takes a lot of character to resist becoming a billionaire by selling out your original users who heleped you succeed.
TOSLINK/S/PDIF is way out of date and no one uses it any more. Ironically, because it doesn't have enough bandwidth for things like Atmos.
Tablets remind me of vitess
Take your pick: https://en.m.wikipedia.org/wiki/War_crimes_in_the_Russian_in...
Makes sense to move the windows if you close a laptop lid, but not if you turn off a monitor. You can't disconnect the laptop screen, but you can easily disconnect the monitor.

I have a cheap laptop that doesn't understand a turned-off monitor as unusable, and it's actually way nicer that way.
What you describe just means our tech is not ready yet.

Not that it's not the best UI.

Nobody miss having to manually change their clock for DST or after a plane trip.

One day, the machine will read your mind, know you need some info, and download it into your brain. You will just know what you need to know without asking, as if it were obvious.

That's the best UI.

It's also the UI that will be the most abused with the most terrible consequences.

Dark patterns on neuralink are going to get, well, dark.
Thanks for the feedback! This is the first version of our educational SimTigerBeetle frontend.

The goal is to see and interact with a distributed database running visually under Easy/Medium/Hard levels of fault injection, giving you the opportunity to explore how the consensus handles failures, poke the otherwise deterministically simulated world, or inspect progress of the replicas.

So, it's a game in the sim genre, and we've got more to come, but the significance is hopefully what we tried to explain in the post:

You're seeing a new design of distributed database survive cosmic levels of fault injection (8% storage corruption on the read path across all replicas in the Radioactive level!), in your browser... and you can smash things with a hammer. ;)

You might also appreciate the video [0] at the end of our post, where we dive into the three insights behind deterministic simulation testing, and how DST moves beyond chaos engineering.

[0] SimTigerBeetle (Director's Cut!) https://www.youtube.com/watch?v=Vch4BWUVzMM
A parameter is comparable to a synapse, and the brain has around 100 trillion.
I don't think you would. VSCode is free, this one is not.