skysight-inc/HackerNews huggingface dataset:
> I doubt, as that would break any FileChannel.write(ByteBuffer) that expects the buffer to be consumed (remaining()==0)

You can't expect that with AsynchronousFileChannel::write at the moment, though, because the buffer is consumed on a background thread. As the docs say [1]:

> Buffers are not safe for use by multiple concurrent threads so care should be taken to not access the buffer until the operation has completed.

And as the article says, on Windows, these writes are "truly" async at the OS level, so portable code already needs to deal with that.

[1] https://docs.oracle.com/en/java/javase/17/docs/api/java.base...
Oh I see - yeah, that's the part of the lawsuit that's about Bing and ChatGPT Browse mode retrieval augmented generation.

It's a separate issue from the fact that the model can regurgitate it's NYT training data.

There's a section on page 63 which helps clarify that:

Defendants materially contributed to and directly assisted
with the direct infringement perpetrated by end-users of the
GPT-based products by way of: (i) jointly-developing LLM
models capable of distributing unlicensed copies of Times
Works to end-users; (ii) building and training the GPT LLMs
using Times Works; and (iii) deciding what content is
actually outputted by the GenAI products, such as grounding
output in Times Works through retrieval augmented generation,
fine-tuning the models for desired outcomes, and/or
selecting and weighting the parameters of the GPT LLMs.

So they are complaining about models that are capable of distributing unlicensed copies (the regurgitated training data issue), the fact that the models were trained on NYT work at all, and the fact that the RAG implementation in Bing and ChatGPT Browse further creates "natural-language substitutes that serve the same informative purpose as the original".
Great example of plausible but completely incorrect outputs from an AI model that would go largely undetected by a non-expert human.
task: printing non-repeating patterns in relatively small files to the screen, optionally with some context

context should be printed exactly as it appears in the file, i.e., newlines should be printed

ired vs ripgrep, which one is better suited for this task

one uses regular expressions, the other does not

one is a 76k static binary that fits in 2MB L2 cache, the other is a 5.7MB dynamically-linked binary

2 shell scripts to demonstrate differences

usage: echo pattern|1.sh [num chars before] [num chars after]

1. "1.sh" using 5.7MB binary, PCRE2

#!/bin/sh
read x;
case $# in :)
;;0)exec echo "usage: ${0##*/} file [num chars before] [num chars after]"
;;1)exec rg -uuu -no-unicode --block-buffered --color=never -NUo "$x" $1
esac
case $# in 2|3)printf "((.)|(\\\\n)|(\\\\r)){"$2"}$x((.)|(\\\\n)|(\\\\r)){"${3-0}"}";esac \
|rg -f/dev/stdin -uuu --no-unicode --block-buffered --color=never -NUo $1

2. "2.sh" using 76k static binary, no regular expressions

#!/bin/sh
read x;
len=${#x};
b=$(($2+$len));
case $# in 0)exec echo "usage ${0##*/} file [num chars before] [num chars after]"
;;2)b=$(($2+$len))
;;3)b=$(($3+$2+$len))
esac
echo "$x" > .x
{ printf /;ired -n -c X1 .x;} \
|ired -n $1 \
|sed "s/.*/s&@s-${2-0}@b$b@X/;" \
|tr @ '\12' \
|ired -n $1 \
|sed 's/.*/w&0a/' \
|ired -n /dev/stdout \
|sed -e '/^Invalid hexpair/d'

generate test data:

curl -4si0 -A "" https://www.google.com > test.html

usage example: find the pattern "(" in test.html, display results to screen

echo \(|1.sh test.html

regex parse error:
(?:()
^
error: unclosed group

echo '[(]'|1.sh test.html

echo \(|2.sh test.html

cat .x

observation: the task is simple but 1.sh may require more typing and knowledge of regular expressions

observation: 2.sh does not require knowledge of PCRE; the pattern requires no extra chars, e.g., brackets

usage example: find the pattern "(a" in test.html, display results to screen with 0 chars before and 3 chars after

echo '[(]a'|1.sh test.html 0 3|sed -n l|less -N

echo \(a|2.sh test.html 0 3|sed -n l|less -N

observation: 1.sh does not include the newline after match #187; some workaround is required for 1.sh

conclusion: for me, ripgrep is too large and complicated for this simple task involving relatively small files; it's overkill. it does not feel any faster than ired at the command line. in fact, it feels slower. like python or java, or other large rust/go binaries, there is a small initial delay, a jank. whereas ired feels very smooth.
German torque specs: "gutentight!"
>People at large simply cannot be bothered to care about anything

People care deeply about a lot of things, just not this. And why should they? When you have every business decision made either by private equity or public companies with a focus only on the next 90 days it turns out everything goes to shit. Wages are stagnant. Wealth inequality is massive. Our society is sick. Issues like this will only increase. Our rail ecosystem is experiencing the same issues for the same reason.
as in most cases like this, the whole thing ended with zero consequences for the perp
1) https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...

2) Study used 25 people

3) via Mechanical Turk

Interesting topic but I don't see a breakthrough.
It's more complicated it isn't that they can't. Desktop memory is still behind GPU memory in bandwidth. So making a GPU greater than a certain footprint looses efficiency. However you could probably achieve low-midrange dGPU performance.
If it is a common task like decoding base64 then you can compare the results of your function with the results of a well established existing implementation and abort when they are not equal.
What's crazy to me is that these things do not roll of the factory line in large numbers. If it was a car plant or some other line where large numbers come off per shift, you could find that possibly one operator for one shift set their torque wrench to the wrong setting causing the finished items for that shift to be suspect. But seeing as not one plane rolls of the floor per shift, this is much more systemic like possibly the documentation was wrong or similar where it is persistently done incorrectly. Or maybe just the one plane for that one day that the worker incorrectly set their torque wrench that day.
"Pretty rare unless you do something bad."

Or there are layoffs.
Interestingly the uiua order is the same as lisp (if you add some parenthesis)

(* (+ 1 2) 5)
AM5 has iGPU in all parts which makes it easier to use as server indeed. But normal AM5 parts are chiplet designs so they idle at relatively high power. These are monolithic dies from the laptop line so they have that going for them. According to the AMD website ECC support is enabled in these too:

https://www.amd.com/en/product/14066

It seems AM5 motherboards are back to having ECC confirmed in the specs after AMD AGESA updates:

https://www.asrock.com/MB/AMD/B650M%20Pro%20RS/index.asp#Spe...

So pending some benchmarks 8700G+B650+ECC sounds like a good home server that should idle at low power.
You're catastrophizing a bit. This isn't an America problem it's a Boeing problem.

American air travel is safer than it's ever been. Going years without a single fatality is now the norm, not an exception. The airlines are well run and do care deeply about safety. The regulators aren't perfect but generally do a good job. The NTSB is world-class.

Boeing will continue to lose marketshare to Airbus and feel some pain which is appropriate. Eventually they'll get their act together or they will continue to suffer real consequences.
Really? You receive two files from your CA. One of them is the leaf, the other one is the chain. You just have to upload the latter (not the former) into the server's config directory. That doesn't sound that hard.

If it actually is, I am ready to eat my words, but the actual blame would be on the webserver developers then. Default settings should be boring, but secure; advanced configuration should be approachable; and dangerous settings should require the admin to jump through hoops.
Thank you! We like the analogy of dehydrating knowledge that can be used (hydrated) later. Beyond even unloved repos, we'd even argue broader organizational knowledge that seems to have been lost to history like Roman Concrete or how to precisely build the Saturn V could potentially be "stored" using AI.
I would have thought so too, before I worked on a team where we had our own load-bearing Mac Mini installed at a client site - in that case, load-bearing for A/V reasons (no one was able to get PulseAudio working in time).

Client's IT loved to unplug that thing.
https://github.com/simjanos-dev/LinguaCafe?tab=readme-ov-fil...
RBBS used DOS files for user data, the filename was your username. So the limit for usernames in the software to sign up was 8 characters. But if you could get into the filesystem direct, and create your own user file, you could use the extension and have up to 11 characters (8.3); because it was liberal in what it read and strict in what it wrote.

I'd pop up as "h2odragon" on people's boards and be there for a while before anybody noticed and said "hey wait WTF?"
Pros: More of the software has been audited. That's it really. There's nice documentation but that's true for many linux distros as well, and much of the security claims are overblown.

Cons: Lack of available software and software compatibility. Lack of good security options to restrict software and the system.
How novices use LLM-based code generators [pdf]
An example would be if you had a large article of text recording the history of a given subject, and you wanted a table of years and the number of times a given event happened in each year. It's now possible to do a task in less than a minute that which used to take hours.
If a terror organization wanted to do that, they'd probably end up using rifles or missiles.

https://xkcd.com/538/
Smalltalk and Javascript? https://github.com/codefrau/SqueakJS
> it is a generative system.

It's supposed to be, but it regurgitated the NYT article and that's the problem.
It’s a current Fox News talking point. Don’t have a link at hand currently, but one host in a recent segment drew an explicit line between this disaster and DEI initiatives in general, with zero evidence. (As always, it was under the guise of “just asking questions.”)
> In days past, my team there owned a product that hit over 100M MAU, and it wasn't attention-worthy in any way

This statement is meaningless without knowing what the product, revenue and its Total Addressable Market are. 100M MAU out of 1.5B TAM is not attention-worthy. Twitter at it's peak had 550M MAU, so Threads doing close to 20% of that in less than a year is impressive.
What you describe about WireShark sounds zen.
Not really. European navies suffer from very similar problems to their airforces and armies. Small amounts of expensive kit, surprising unavailability of forces at any given time - very limited logistical kit, manpower available for any operation.
Workshop manuals are your friend.
> We downplay what it means to drive

I wondered about that reading some of the comments about the 737 Max. We routinely travel in exponentially more risky ways all the time, yet we expend time thinking about the safety benefit of avoiding a specific type of aircraft.

Not downplaying airline safety as a whole there, but thinking about it for yourself on a personal level is maybe not moving the needle.
> We do literally have the biggest air force in the world, for example.

In fact we have 4 of the top 10: #1 (airforce), #2 (Navy), 4(Army), and #5(marines).
Yes, because no catastrophic defects have been present in airliners in the past 50 years.
Neat! Thanks for the info!
The article only mentioned 737 Max. By now, I'm sure many would want the full Max list given its spotty track record.

If you want airlines that are flying 737 Max 9, there aren't many. And you can get that list here.

https://www.planespotters.net/aircraft/production/boeing-737...

Lion Air

Thai Lion Air

United Airlines

Copa Airlines

FlyDubai

Icelandair

Turkish Airlines

Aeromexico

Alaska Airlines

SCAT airlines

And all US carriers + Turkish Air + Aeromexico have grounded it.
My beef is that torque specs are for factory assembly. If you’re using new parts, sure, but once they’re old/re-used parts with some corrosion due to dissimilar metals, age or salt belt, you’re flying blind and probably undertorquing if going by the book.

Given the amount of (soft) aluminum on aircraft, (737 is 80% aluminum), it would be insane to not precisely consider torque.

Steel on steel is more forgiving.
A Lightweight and Low-Prototyping-Cost Full-Size Bipedal Robot
> It seems too early to make conclusions.

In this specific case, I would agree.

I share much of the sentiment of the OP, but I wonder if it is simply my perspective changing as I take on more and more responsibilities. Maybe things have always kind of been this way.

I would be hesitant to say it's all going to hell in a handbasket because that tends to be one of those self-fulfiling prophecies. I prefer to look at things as "challenging, but workable".
I have 2 decades of linux system dev programming.

Most of open source SDKs are abominations and code is being literaly brain fucked by ultra-complex syntax languages like c++, rust and similar. I am disgusted, to a point for me, open source software is now hardly less worse than msft or apple trash.

I have open source software only because I can still customize it enough to let me bear with it and it is free as in free beer.

That to say, the amount of insane and broken knowledge you need to properly maintain a fully custom linux distro (very custom) is obscene.

I am trying to find ways out of some of the critical issues for myself, basically trying to move a mountain with a spoon.
Congrats on Dashwave Beta! Best wishes to the team
> If I had to invest in any one area of LLM usage, it would be this. There is so much unstructured data in the world, and converting things like legal contracts or chatlogs into structured, queryable data is absurdly powerful.

I tested poorly OCR'd text from a late 1800s magazine and was pretty impressed with the results from both GPT-4 and even Bard. In addition to making inferences based on the letters, it was able to infer from context the historically accurate terms. However, one prompt asking it to correct words didn't work as well as two prompts with the first one listing candidates for bad OCR'd words.

While that might not seem like what you're talking about, it has the benefit of adding to the overall corpus that the future models are trained on. Also, with the NYT lawsuit, I'd presume fixing OCRs of old magazines and articles would be a pretty good way to fill the gap left behind.
Ask HN: Good book to learn modern networking?
I'm looking for a book to get up to speed on networking in 2024

Including classical topics from sockets, to the TCP/IP stack, to DNS, to AnyCast, and similar layers and technologys, but also modern networking setups that might include cloud providers, or other 2024-ish considerations
Having used Forth professionally for about ten years, the language has always held a special place in my heart. I have had the experience (fun!) of implementing Forth from nothing in a couple of processors (6502 and 68K).

While I do think the language is useful in certain domains, the main problem everyone has with it will be finding qualified programmers. I’ve had to convert codebases to C for this reason and, back in the day, made a fair bit of money doing this as a gun for hire.
I did a "Sportsball Fields" conversion tool for calculator. Only thing is it assumes area, not length. It lets me convert between regulation fields for National Football League, International Football Association Board, Canadian Football League, Rugby Union (max and min permissible), Rugby League (max & min) plus curling, and ice hockey (NFL and IIHF). Just need to figure out Australian Rules Football. And then sorry do it all over for length.

Anything but metric.
Don’t forget IT ignorance. A lot of places IT is full of Microsoft MVPs that have no understanding of the needs of people developing in and for Linux systems.
> And every time you upgrade to the next major release, you start again from square one because the requirements of your software have changed.

Nah. That's a huge exaggeration. Most software doesn't change its base behavior like that and certainly not with every new release, and certainly browsers don't.
Buy a service manual for your vehicle? I have yet to see an important fastener without a specification (torque and pattern).

If you are a professional mechanic, it's your responsibility to obtain the specifications and follow them. This is especially true when it comes to a licensed and certified A&P mechanic and not your neighborhood shadetree mechanic.
Aren’t there counterexamples? How would Dresden be considered?
>I would believe you regarding an odd downplay of "death to" with "down with," were it not for how willing to kill a lot of the actors in the area are?

It’s important to understand what terms of phrase are.

It’s very common in American English to say “I killed it” or “I murdered it” to mean someone did a task well. It doesn’t mean the literal thing that is said.

The houthis are obviously violent and have murderous intent. That is what armed conflict entails (this is true of the Houthis, the saudis, the Iranians, the israelis and the Americans, etc etc). But that doesn’t mean you have free to strip words and phrases of their cultural context.
Well, could be, but another possibility:

- most pilot errors resulting in an incident occur close to the incident and thus the # of times it's their fault will drop off with longer recording time

- the longer recording time may allow for some complaints about the Boeing aircraft or some clunking noises to be identified which could indicate an issue with the aircraft
Or use a few drops of threadlocker...
Seems like a potential fingerprinting risk, but I haven’t checked if the actual implementation is built to guard against that somehow.
Ah! What you are saying honestly enriches my understanding of this line in the piece I cited:

> When it comes to war with Israel, Nasrallah is the ultimate decision maker.
If Theo stopped being so resistant to solutions like AppArmor, then OpenBSD could have a real security layer instead of toys like unveil and pledge.
"Tank" is actually wanted for his involvement in running an IcedID botnet, not his earlier work with JabberZeus. I wonder why. Maybe they have better evidence for the more recent stuff.
I wonder what fraction of seats/revenue come from people who take one or fewer trips per year.
Oh wow I thought they abandoned the monolithic APUs in newer generations as well. I guess that does help then.
> blue check was supposed to stop them

I think this was always an illusion. The blue checkmark certainly hasn't presented a barrier to spammers, and if anything, the reply/promotion boost it gives you has accelerated the rate of spam now that you can more easily get attention.
Author here -- working on it atm. Will post an update soon.
My grandfather worked for Braniff as a mechanic, and I've heard stories where very strange things would happen that definitely gave merit to some sort of sabotage being a likely explanation. From very specialized tools would be missing not from just one bay, but from all of the bays to other issues that would cause regular maintenance from being able to be completed in a timely turn causing more and more planes to be taken out of service. Lots of things went wrong with that airline, but some of the things just makes you scratch your chin in wonder if it might not be possible.
Welcome to part five of effective B2B ad campaigns, where we dive deeply into attribution and ad performance measurement.
The only cultural problem is in management.
In hindsight it is.
in worms
I'd quite like some more high level documentation for the Matrix JS SDK (https://github.com/matrix-org/matrix-js-sdk). I've been looking at it for quite some time and still don't understand how timelines work.
Would bw fascinating if your tool could bring something useful to light.
Nach fest kommt ab.
I have had a Ryzen 7 Pro 3700U based Thinkpad T495 since 2019, running Fedora.

I can't remember many full system lockups, but there may have been a few. I ran Steam games on it for a year or two before switching those to a different system. But I ran a number of Linux native or Proton-based games and it was the best performing system I had for a while.

What I do recall is that OpenCL barely worked and could get into strange "stuck" states only resolved by rebooting. I could still use the windowing system for a bit, but some kernel calls seemed to begin hanging. It was very disappointing, as I knew this machine had a lot of FLOPS I could have put to use if the OpenCL drivers worked.

One quirk I never resolved in Linux is that the mouse pointer would seem to jump around sometimes while typing. I haven't seen this on any other Thinkpad and it seemed to persist across multiple different Fedora installations. No adjustments to the "mouse" controls menu seemed to make a difference.

I recently started using a Ryzen 7 Pro 7840U based Thinkpad P14s. It doesn't seem to have either of these two issues, but I haven't used it for very long. I find it to be an impressive machine so far.
Is the model number relevant because 7s, 8s, and 9s have different MCAS, the system that Boeing deleted from the flight manual that contributed to the catastrophes in 2018 and 2019?

Or because the defect in engine inlets and anti-ice systems that can cause the engine housing to overheat and break off during flight, for which Boeing requested an exemption to postpone fixes, is different for each model number?

Or because each model has different pressurization systems and warning lights, that Alaska Airlines "reset" to turn off the light so they could continue to fly, instead of thoroughly investigating and resolving?

Or because not all the models have the same door plug with a loose bolt that blew out?

How much is common among all Max models, and why shouldn't the public be concerned about all variants of them?
Random aside: I looked up an Acela ticket this morning.

$1000 for a first class ticket from DC to BOS. 6.5 hours.

Same flight first class with Delta this week is $850. Also 6 hours with layover.

Blows my mind first class rail travel is as much as first class air travel.
Or the lock wire was left off or done incorrectly
In my opinion, it should depend on their role. And only look for active intoxication.

(Separately, regarding business and political leaders in particular) I’m not in favor of the “blackmail vulnerability” arguments in this discussion. Substance use should not be stigmatized.
It's fairly obvious at this point that the only way to stop it is to bomb targets in Yemen...which isn't going to be politically popular. The US is even struggling to put together a coalition to secure the water ways.
Maybe this (and the answers therein) can help: https://stats.stackexchange.com/q/550619/18417
> but a quite search of market data reveals that China isn't even in the top 10 of tuna producers NOR consumers.

To be in that rank, a country would need first to declare the real number of the captures officially.

But it does not really matter. Is all about collateral effects.

"we catch only herrings and respect the Tuna (liar, liar, fins on fire), so why 9 of each 10 tuna in the planet vanished?".

Hem... Are we talking about the herring-eating tuna?"
Yes, like now for instance.