skysight-inc/HackerNews huggingface dataset:
It's actually the opposite. My current job is making a piece of code faster my predecessor tried to make faster using multiprocessing. I now try to pull stuff back into a single process.

The code for example loads a file from disk in a separate process to have the main process available for number crunching. The problem: This data is then sent to the main process and another copy is created which takes time. Doing the same with threads is way faster, since data i/o operations are releasing the gil anyways.
A hopefully-useful notice about Linux kernel security issues
Btrfs for Linux 6.6: Fixes, Partially Recovers from Performance Scrub Regression
I hear you and I'm sorry -- That is just the tricks I use to fight the calls from the void.

If you're just waiting -- I hope you at least find things you somewhat enjoy to pass the time. Escapism through books or video games or nature or whatever can make the waiting more bearable.

In reality, I think we're all just waiting but most have found some way to distract themselves from that fact :)

Thanks for the chat hope you find some kind of solace.
> which are conveniently given in knots (so nautical miles per hour)).

Yes. We may be misunderstanding each other.

It's convenient to have nautical miles per hour if you're using a base unit of nautical miles, and your map grid is nautical miles based. This isn't a surprise at all.

Estimating wind, tides, drift, etc, would be equally as easy if everyone was working in kilometres, and your maps were showing grids based on multiples-of-kilometres, and all speeds were given in kilometres per hour. Again, wouldn't be a surprise.
Do you think the EU consumers are trying harder than the US ones?
Cars are only a part of the problem, but people who need to drive any old car just to work are an even smaller one. There are many many people who drive oversized fuel inefficient cars for no particular reason, or are just as wasteful in the rest of their lives. Even in Europe many people drive alone in their cars even when great public transport is available just because it's more comfortable.

That's not the gas station's or the car manufacturer's fault, it's the driver's.
Sinch Voice API Now Available in Node-Red
It is now possible to initiate and receive phone calls in Node-RED through Sinch Voice API.
Or Matrix. With Matrix you can additionally bridge some chats from other platforms.
> But anyone can get laid off. CEOs get fired all the time, self employed contractors get fired from contracts. So then nobody is "capital".

The owners of the business, e.g., the stockholders, are capital.

There is some overlap, because employees can be compensated in stock, especially CEOs. The crucial difference is that when an employee is fired, they stop making a salary from the company, and they stop having any power in the company, whereas stockholders cannot be fired, and they continue making money from the company and having voting rights no matter what.
Fossil Fuel Subsidies Surged to Record $7 Trillion

https://www.imf.org/en/Blogs/Articles/2023/08/24/fossil-fuel...

... fossil-fuel subsidies rose by $2 trillion over the past two years as explicit subsidies (undercharging for supply costs) more than doubled to $1.3 trillion ...

Our analysis shows that consumers did not pay for over $5 trillion of environmental costs last year. This number would be almost double if damage to the climate was valued at levels found in a recent study published in the scientific journal Nature ...
I think this article makes sense when analyzing the current technology of AI. But it doesn’t make sense if AI continues to improve. I honestly believe AI will lead to a singularity in the sense that the future of AI cannot be defined and is currently unknowable
I think it was a combination of those, plus terrible market timing -- we released it, thinking we could sell to finance types, in 2008. In our sales pipeline spreadsheet, the "notes" column started saying things like "customer has gone bankrupt".
Python is 100x slower than a real language (I like python and use it often, not meant as a dig at the language just stating facts)

My favorite thing about Python is writing prototypes. The big risk with writing a prototype is that it survives into production. Using Python ensures that the code will be replaced by real code

Python is great for other non-production code like Jupyter notebooks, numpy experiments, etc
This is not bard.
Amusing that fossil fuel companies are now both

- Acknowledging that Anthropogenic Global Warming is real, and
- Revealing that their confidence on its effects is so strong, they can publicly predict its impact on global climate decades into the future.

I guess from their perspective, in spite of all criticism, they are just accommodating the energy demands of the global market, which have been universally "more energy now" until very recently.
Thanks for the Kremlin talking points on the Middle East. I'm sure instability in another continent is more risk to Europeans than the Russians having control over our energy AND food production -- had they taken all of Ukraine as Putin planned.

Luckily the Ukrainians are willing and able fight Russia for us, with reluctant support from their allies. An utterly embarrassing situation for most European countries.
Dictionary lookup is often a handy way to solve small tasks, when (a) there's no need to build a whole class hierarchy, etc. and (b) the solution is nicely declarative/data-oriented.

The article talks about string keys, but Python allows many things to be used as keys. For example, instead of chains of `elif` we can look up `True` in a dictionary:

>>> age = 25
>>> {
... (age < 18): "Forbidden",
... (age == 18): "OK, you're old enough now",
... (age > 18 and age < 20): "LOL teen emoji amirite?",
... (age >= 20 and age < 40): "Hi",
... (age >= 40): "Welcome",
... }[True]
'Hi'

One thing that's annoying with this pattern is that Python calculates values eagerly, so we can't use it for expensive calculations or observable effects. To make the values lazy we can wrap them in `lambda:`, but at that point we're essentially re-implementing dynamic dispatch, so classes may be better (or a couple of `elif`s, at most). Note: that's what the article's doing ;)
This isn't paying poorly for the long term. Firms would be willing to try out riskier hires on the margin, because there's less downside if someone turns out to be a bad fit and gets let go after a couple of weeks.

Percieved risk is higher for people with less industry experience. So if you believe, as I do, that people systematically overestimate the risk they take on bringing juniors on board, and hence systematically underhire them, then this would likely end up being good on net for juniors, as more of them would then be offered a chance to prove the bias wrong.
It all depends on the parameters and constraints. If you spend a lot of time defining, providing sufficient context, and clarifications, they work quite well. I think the reality is people's expectations were unreasonably optimistic and now they are unjustifiably pessimistic. The general public seems to oscillate between extremes quite rapidly while not appreciating the nuances.
I think there are probably quite a lot missing. Long Marston and St. Athan for two.
Here's two studies that show changes in the gut microbiota of fish on exposure to micro- and nano-plastics.

https://pubmed.ncbi.nlm.nih.gov/32361245/

https://pubmed.ncbi.nlm.nih.gov/33199151/

But it's probably fine.
Haha true, I am not talking about the entire world preserving but rather the family knowing who their ancestors are :). Further you can also preserve photos from this era so that the future can see how you lived your life.
The comment resonates with me:

> Attempting to 'unixify' Windows is indeed a task often drought with much pain

I chose TDM [1] to port some utility of mine to Windows (actually the initial port may have have been done with MSYS/Cygwin). TDM is MinGW-based and doesn't try to achieve full Posix compliance. It provides Win API header files instead.

I did the adaptations for my socket-related stuff a long time ago. A bit tedious, but worth it. I don't depend on a DLL that's bigger than my program, and I have fine control on what it does.

I discovered TDM thanks to Newlisp, a Lisp dialect interpreter which has quite a few batteries included [2] (some of its feature are still Linux-only though).

[1] https://jmeubank.github.io/tdm-gcc/
[2] http://www.newlisp.org/
Blaming individuals is useless.

Governments are the parties who generally are responsible for fixing structural problems.

The market is composed of companies that operate within boundaries set by the government.

Individuals are more or less forced to live their lives by the market environment where they live.

The solution is in governments and corporations.

The only reason why one would want to fix the problem via individual consumers is in fact if one:
a) does not want to fix the problem
b) wants to direct blame from the more guilty party (energy companies) to the consumer

OFC this is not that black or white. Currently there are NO OPTIONS to fossil fuels to keep planetary civilization running.
Been using this as my userChrome.css:

https://gist.github.com/BrianGilbert/1ad7e3931406f485a86a35a...
I can at best see this pattern as useful for some select use cases. At least, that’s when I’ve used it myself. Python’s class system generally works completely fine for me, as someone that’s been using it for the better part of a decade full-time.
Log scale can be -1000, -100, -10, 0, 10, 100, 1000. No need to be pedantic. And “doing nothing” is bad because of the opportunity cost. But you’re right that it is at the wrong place on the chart because “doing nothing” can’t be worse than actively making the world a worse place.
Nothing beyond vague appeals to protecting our brand and IP.
Go is my current favourite as well. Heck, just replacing python with Go would have done similar numbers. The key is “replacing python” and “rearch”, Elixir was just the mechanism.
If you take that logic line one more step, it’s a good thing Exxon stands ready to supply those consumers with the oil products they need.
Taiwanese report

The tritium concentration is to reach maximum levels in about four years after the discharge starts, but it would still be far below normal background radiation levels

https://www.taipeitimes.com/News/front/archives/2023/08/23/2...
Parental Alienation: A Disputed Theory with Big Implications
How is calling Python "not a real language" just stating facts?

I'm not sure by which metric we are judging whether a language is real or not, but I'm fairly sure that almost anything anyone comes up with will include Python, considering it's one of the most used languages in the world at this point, and used for a fairly large variety of use cases.
>"the water is treated and diluted to levels that are safer than international standards, and so far, testing by TEPCO and government agencies has found no detectable radioactivity in seawater and fish samples taken after the release."

Releasing contaminated water at a rate slow enough that it doesn't seem to raise ambient radioactivity levels certainly seems preferable to hoarding contaminated water that could be released en-masse due to another earthquake, weather event, containment failure, etc.
Creating human-generated content will cost a lot more, so it will be paywalled. This pattern already exists, limitless machine crap will just make the differential greater.
World’s Oldest Cat Door Has Let Working Cats Enter the Cathedral Since 14c
Not if Elixir enables you to use a better architecture. See all of the people who lifted linked-list structures out of C into C++/Rust vectors.
Toyota halts all Japan assembly plants due to glitch
Solving the myriad of social problems has always been the best quest IMO, but you have a vast number of manipulators that have a financial and social incentive to prevent solving these problems because solving any economic/social problems in America starts with effectively taxing the rich so the government can afford these programs. Good luck with that.
Same here. End of last year I had to take more time off than I wanted to because of my wrists and hands. Copilot and GPT4 (combined with good compression braces) got me back in the game.
Very comforting to know that most of the core underpinning of the internet doesn't follow the robustness principle by default.

Still, I guess it keeps support contracts active and network engineers in a perpetual hell of on call alerts
I have heard elsewhere that WSL is much faster with fork().

Cygwin is roughly 100x slower with forking than Linux on the same hardware.

I understand that Postgres benefits greatly in running under the WSL for this reason.
Even if we take this as a factor, there's still no reason why would a Go or Java or SBCL implementation be significantly worse than Elixir.
Hahah, me too. That was one of my first blog posts in 2003: https://www.mooreds.com/wordpress/archives/47
find activities where you can listen on the side. doing chores at home, going out for a walk, exercising, commute to work (for anyone with a dreading long commute this drastically improved the quality of the time), running errands, shopping...
Why not use the bookmark sidebar?
https://nitter.net/rawxrawxraw/status/1691253814769184768
Never Ending September Date
The fallacy you are falling victim to, which is common in these debates, is comparing an LLM teacher to a human teacher as a 1-1 replacement, when really you need to be comparing an LLM teacher to what a child has today outside of access to a human teacher: static books and today's internet + search engines.

It's very easy for me to see how an "LLM teacher" developed and trained specifically for that purpose could be of HUGE value over that status quo. That doesn't mean that the child's human teacher goes away, only that they now have access to a new amazing tool at home as well.
This has nothing to do with Bard.
Fiba Basketball World Cup tips off before record crowd of 38,115 in Manila
It's cool that something good can still come out of this "disaster" - it's a shame that it wasn't kept up, but if this sort of forensic analysis reveals ways to improve cable manufacturing or maintenance routine improvements, that feels like a pretty good win
One of the structural reasons is that US produces most of it's own energy (aka hydrocarbons) and has enough left to export, while afaik EU imports 50% of the energy it needs.
Haha yep, thats me. For some reason I couldn't login to that account turns out I enabled noprocrast enabled yesterday :).
> I’m not sure what this is buying over a static class

1. It is not static. It can be configured, changed at runtime, etc

2. First order functions are very powerful as well
Design behaviour here was on bad input, shutdown. Some bad input happened, thus shutdown happened. Seems fine to me. I'm not seeing a grave flaw.
That's neat but it's also kinda the definition of "clever code". When a later reader is going to have to pause and ask themselves what on earth is this.
> I think Node is still single core by default?

It’s complicated.

Node itself has never been single-threaded. The execution model for JavaScript is single-threaded, so there’s no working around that, but libuv uses threads to build async IO on top of blocking operations.

Then there’s worker threads, which are pretty similar to web workers AIUI, that give you parallel execution for cpu-intensive work.

Obviously, though, none of these facilities compare with BEAM
Thanks. Surprised there isn't an extension to allow toggling on/off.
As a US citizen, I have no knowledge of UK medical unions. However, if the only example you can cite is from the UK, then it shows the practice is not common. Moreover, the UK health system is socialized, so it isn't a free market in the first place.
Not if the increased cost is due to tax
Cars are basically the entire problem. Cars allow everyone to consume more space per person, and more space per person means more mass can be consumed and that mass has to travel further distances. And all of that translates to more energy consumed per person.
Silicon valley winner insists the "good quest" is making him and his pals win more.
> We did have some internal debate on if the system is a "simulator" or an "emulator", but really, it can be both, depending on how pedantic you want to be.

> The biggest reason for the name being what it is, however, is that since the beginning, the software was called the "DPS8M Simulator", and even if emulator might be (arguably) a better name, it's not worth changing it at this point.

Honestly, "simulator" vs "emulator" is just a matter of what I'm used to now, as opposed to anything I find needlessly confusing: It seems like everyone else talks about this kind of software in terms of it being emulators and emulation, and reserves the word simulation for things like circuit simulators. Kind of an interesting linguistic quirk to observe, but it does make your use of the word simulator in this context a bit unusual.
I don't want to piss on the OP effort, some people will find it useful.

For me, I don't understand the problem. Why do so many people need a tab manager in say Firefox, but not in Word, Excel, Windows Explorer or Total Commander?
>> 12 million requests / hour with sub-second latency, ~300GB of throughput / day.

around 3.3 k requests per second ....is that a lot ???
I am form the EU and I don't "manage" anything. It just happens that on average, Europe has more efficient infrastructure, more strict regulation on pollution and is massively supporting green energy.

Don't be fooled to believe that your personal life-choices will make the difference. In most countries 50% of all emissions are determined by the electricity you are consuming with transportation coming in second.

The US used to be a railroad country. But that was bad for big oil, cars and aircraft so it was dismantled.
And thus AREXX rises from the ashes of the corpse of Amiga.
When it comes to the overall problem of climate change cars are only one issue, the others being manufacturing, construction, services, agriculture, travel, etc. Many of these don't have a clean solution yet for the current demand so fossil fuels are here to stay unless we manage to reduce that demand, which the individual consumer needs to accept.
And they got a 50x reduction in server cost - 200 servers down to 4. I have never heard of a performance optimization project with such substantial gains without a complete rewrite.
> A big theme (of Dune) was around the scramble for Africa

An extractive industry moves into in the desert for an extremely valuable substance that is vital for transport, while the indigenous inhabitants are overlooked. Religious fervour and holy war. I think that the Middle-east and oil are the most obvious parallels.

It is indeed "commenting on the contemporary problems of its day".
Film Review: BlackBerry
Why would a much higher fuel tax, imposed on crude oil, and scaled in at 30% immediately and 10% over each the next 7 years, not work?
Grafana Pyroscope v1.0.0 Release
Grafana Pyroscope is continuous profiling at scale, and the AGPL OSS project has just hit version 1, and it's already in Grafana Cloud to try out if you don't fancy running it locally.
Sidebery is wonderful, but the real gem is Tab Stash. Lets me organize tabs into topic-related groups, with the added bonus that not all of these are "living" tabs. Some are archived/hibernated. By default, live tabs are in an unorganized/unnamed group. The only issue I had was I couldn't tell which tab was playing audio. Tab Stash doesn't have indicators for this, so I installed the Sound Control extension to list tabs playing audio and switch to them.

I got: vertical tabs, tab grouping by topic/label, tab archival (low memory use)
Not to forget the failure of Frankfurt airport systems earlier this year due to the breakage of a single glass-fibre cable:

https://www.dw.com/en/lufthansa-system-failure-causes-massiv...

Though this is not due to outdated IT, but lack of redundancy of a critical component of the system instead.
This is pretty amazing.

prefill: 16.9337 tokens/sec, decoding: 0.4631 tokens/sec on a Radeon 6600XT on the 7b default model.

Does feel something isn't quite right as it's only using a few % of GPU/CPU - though it is using the AMD GPU! Which I have never managed to get working in Windows or Linux with llama.cpp directly.

I wonder if using WebGPU somehow would avoid all the horrendous problems of GPU support in LLMs, as it seems there is some sort of semi-working abstraction layer here which works across M1/M2, Nvidia and AMD?
Zathura then with the mupdf plugin for epubs.
It's a mess.

Energy companies are both huge part of the problem - and at the same time the only reason modern civilization exists.

Hydrocarbons are primary input still to most of the processes we have to exist above ... well, actually exist, because the alternative with this amount of people to hydrocarbon driven economy is mass starvation.

The energy companies should be taken to court for the damage they have done to planet via their anti-climate-action PR.

But, at the same time we need their product to live.
The rush to just shit on everything is so tiresome.

Why write this article other than to to smugly say "told you so" in the cases where you turn out right. It is a zero risk take.

Looking at the advances in AI (Chess, Go, Protein Folding, MidJourney, ChatGPT) and your takeaway being "Humans will use this in bad ways" shows a ferocious lack of imagination.

I notice a desperate, but failing, attempt to lump the advances in AI to the same pool as Crypto greed because that was the smug naysayers nirvana.
ToDesktop – Web app to desktop app in minutes
This works on the LTS version of Firefox but needs an update if you’re running the latest version.

Type about:config in the address bar and press Enter to load it.

In the search box above the list, type userprof and pause while the list is filtered. If you do not see anything on the list, ignore this step.

Switch toolkit.legacyUserProfileCustomizations.stylesheets preference from false to true.

Type about:support in the address bar and press Enter to load it.

Note the Profile Directory.

cd to Profile Directory and create a folder called chrome.

***

mkdir chrome;

cat << EOF > ./chrome/userChrome.css
#TabsToolbar {
visibility: collapse;
}

EOF

***

In Firefox again:

Restart all Firefox sessions.

Right click anywhere menu section of Firefox, and check 'Menu Bar'.
Try their other book, "The Doomed City".

it's as upbeat as the title suggests.
I've settled on AllTabsHelper
https://addons.mozilla.org/en-US/firefox/addon/all-tabs-help...

Not as full featured as some of the others but does what I need.

I wish any of the tab managers would allow me to sort by domain, as it is I've installed a second add on just to do this https://addons.mozilla.org/en-US/firefox/addon/order-tabs-by...
No of course not. It is surprisingly different though. Is it all the nukes and renewables?
New Air-Conditioning Technology Could Be the Future of Cool
Even better, they may be able to prompt-inject the support AI to actually escalate the support case.
My question to you is: why do people spend money on those glorified stage plays and not just spend all their money on Hollywood movies? It's likely that Hollywood movies just don't align perfectly with the local culture due to limits/costs on localization. Now imagine if Hollywood movies had perfect dubbing (including changing scenes and lip movements), local references and jokes, removed cultural mismatches, etc. Would that make people less or more likely to spend their money on them?
So what is the business model? How do you make money from this?
It should be implemented on os-system level, so you can access the content, no matter with which app.