skysight-inc/HackerNews huggingface dataset:
The Farcical Redesign of the Euro
It is still fun to run the real thing[0].

0. https://www.nongnu.org/free-defrag/
Google IPv6 stats (approaching 50%, ever so slowly): https://www.google.com/intl/en/ipv6/statistics.html
It is interesting or ironic that the article's not actually dated (afaict), given the insistence on/fairly unusual and specific style of dating everything that's referenced within. 'As of 2002.11' within the text is the only hint I noticed, which doesn't actually mean it was written in November 2002, but in practice probably does (at least that sentence).
That organization would probably parallelize the download on multiple video level, not necessarily on subrange level on a single video.
Why host your own LLM?
Oh what an accomplishment it would be, to be able to change the meaning of the word "smart" with a single article!

(Don't take it too seriously, like I said this is mostly a brain dump, I'm sure there's a lot of stuff that can be improved)
I tend to agree with that, however don't understand the language barrier. Labeling comments makes the intent unambiguous.

I also enjoy a tactical use of smileys and other emojis where applicable :)
I'm worried about the long tail. IPv6 won't actually be useful until more or less everything supports v6; as long as there are enough clients which don't support v6 servers need v4, and as long as there are enough servers which don't support v6 clients need v4. And until we can start disabling v4, v6 gives no advantage and only causes significant added complexity.

I'm worried that the time when we can start removing v4 and therefore see the actual advantage of v6 won't be here for at least a hundred years, optimistically.
> You don't want to know what kind of laws Tim Cook would write if he was freed from having to comply with US law.

You've missed the point I think. Tim Cook is fine with US law. His corporation and other corporations are the ones that draft it!

> If an entity is too powerful and abusing their power, we can use the law to cut them down to size.

You and I do not draft laws. Corporations have no interest in cutting themselves down to size. (What world are you on?!?)

The only interest corporations have is giving us just enough to carry us over the line. They need our acceptance, consent, buy-in to justify their insane nonsense.

All that disappears very easily and naturally, once you realise that one only needs to refer to one's own innate morality over what one can and cannot do.
The OP literally says to ignore query builders, not just ORMs. When they state “just write SQL” that’s their actual thesis.
Applies, but feels like it's more closely related to the parent of my comment than to my comment itself.
Speaking of language

> what words are ok this week?

This kind of language takes any presumption of good faith on your part. You cannot possibly believe that these kind of changes happen on a weekly basis, and yet you imply it in making your argument.
OK but TFA is not just against ORMs, it’s also against query builders. That’s what GP is replying to.
(2002)

Previous comments:

- 2010: "The IPv6 Mess" (37 comments): https://news.ycombinator.com/item?id=1236048

- 2022: "The IPv6 Mess (2002)" (68 comments): https://news.ycombinator.com/item?id=29757361
Last-Modified
Sat, 02 Aug 2003 14:27:40 GMT
1) >About 3 million claims were received, and the latest estimate puts compensation at about $65 per claim, said Tyson Redenbarger, a lawyer who represented iPhone customers in the case.

2) No, it is a settlement with no admission of wrongdoing[1]

3) Very likely no.

[1] this is something I never understood of the Law about these kind of settlements, if someone pays something to the other party, something wrong must have been done
Ha! Love it.
> Scality utilized two different models for testing. The read-intensive workload had 10% idle, 80% reading, and 10% writing. On the contrary, the write-intensive workload consisted of 10% idling, 10% reading, and 80% writing

These assumptions don't make sense when HDDs and SSDs have vastly different speeds so the actual percentages will be different. You can't just will them to be the same.
Were this summer's wildfires caused or worsened by climate change? Please share your sources.
This one executes commands like "$ echo hi" as "echo hi".
I have this in my .zshrc, because sometimes copying from annoying code blocks has a "$" in front of it.

\$(){
$@
}

Check what file type a command is.
And if the file is a symbolic link, show what type the linked file is.

fich() {
f=$(which $1)
file $f;
if [[ -L $f ]]; then
file $(realpath $f);
fi
}

For example `fich 2to3` returns:

/usr/bin/2to3: symbolic link to 2to3-3.11
/usr/bin/2to3-3.11: Python script, ASCII text executable

Captures all SNI domains.

Stolen from: https://superuser.com/questions/538130/filter-in-wireshark-f...

tshark -p -Tfields -e tls.handshake.extensions_server_name -Y 'tls.handshake.extension.type == "server_name"'

And these functions extract a tar/zip to a temporary directory and cd into it.
Useful to quickly peek into tar/zip files without littering your home/download directory. (/tmp gets cleared after a system restart for me)

cdtar() {
if [[ $# > 0 ]]; then
tmp_dir=$(mktemp -d)
if tar -xvf $1 -C $tmp_dir; then
cd $tmp_dir
else
rm -rf $tmp_dir
fi
fi
}

cdzip() {
if [[ $# > 0 ]]; then
tmp_dir=$(mktemp -d)
if unzip $1 -d ${tmp_dir}; then
cd $tmp_dir
else
rm -rf $tmp_dir
fi
fi
}
archive.org has a snapshot from 2002-12-03, as further evidence that it was written on or around 2002-11. https://web.archive.org/web/20021203075817/https://cr.yp.to/...
I'm struggling to think of a way in which either individual or team earnings could possibly be lower now than in the 90's.
"Approved claimants are expected to receive $65 each."
If they’d simply added two or four bytes (IPs of 48 or 64 bits) by finding space in the V4 header we would have been done by the mid 2000s.

But at this point we are at almost 50% of traffic, so why stop.

I wonder if the disaster is partly due to the various standards boards of the time (late 90s) still acting like they had the kind of ability to do things in a coordinated manner they had when the net was just government and research institutions. The fact that it was now a giant unmanaged market hadn’t sunk in.
It is and it will be, you are feeding your model (or worse, someone else’s model) with peoples responses, which even if unidentified, still constitutes parts of the actual people…

What you are asking people to submit is highly private and personal data that, under normal circumstances, would be highly regulated in terms of transmission and usage, identifiable or not.

I advise you to reevaluate your choices and think of the consequences of what you’re proposing, whether your services manages to convince some gullible people to use it or not.
Well, tbh dual-stack is enabled in 70% of France's customers for example.

If you start with a solid base (having a fixed IPv6 /56 delegation for example), or at least a dynamic allocation with IPv6-PD, then you'll see that it's way easier than IPv4 in the long end
Forgive me if this sounds naive but it sort of reminds me of life in a way. I equate these little steps to the way most of our industries or institutions focus on producing incremental and predictable progress. In such an environment many of the power gives way to manager and administrator type participants. Think of academia or how most of tech has become (ie sass).

On the other hand, while that is certainly useful, it pales in comparison to that being combined with a non-linear aoproach, where you’re not trying to optimize a known process but fundamentally rethink the question altogether. To me that’s reminiscent of physics in the early twentieth century, democracy and liberal economies during the enlightenment, and even modern literature, in a sense, like Joyce.

I don’t really have a point beyond that, and it’s just an analogy after all. It’s still neat to think about and recognize similarities between a discovery in the computational world and a personal observation about our own world. Even if it’s a misguided analogy, it feels true.
Thank you for your comment. Your experience leads me to believe that the concept might be more useful for non-native speakers. The labels have helped us shorten lengthy PR discussions and focus on the factual aspects. For context: I work in a German company with an international team, and we use English as our business language
And from my experience, forcing people who know nothing about databases to write SQL will not make them learn about databases, all you end up with is worse SQL and more injections.

Although the worse offenders by far are those which decide ORM = bad and bypass it at every opportunity.
Low quality naive summary.
This is interesting if impractical.

It occurs to me that using LLMs for compression could, in principle, allow lossy compression of text. If a sequence of tokens happens to be costly to encode (in terms of bits), the compressor might be able to replace that sequence with a cheaper sequence that has a very similar meaning within the context. I don't imagine it would be very useful for anything but it's interesting to think about.
I wouldn't be surprised if the author was interested in quickly playing with variant light transport algorithms, BRDFs, etc.
There, hotloading might be useful.
This bot's behaviour made me drop all Google products.

A few years ago it marked my company's entire domain as unsafe without any reason. Any human would have been able to tell the flag was incorrect, but "algorithm says no".

There is no team in Google to escalate to, no team managing this service, and no way to get an incorrect flag lifted in anything like an acceptable timeframe.

In the meantime, Gmail just silently decided to drop any email I either sent or received that mentioned my own domain name. I didn't know my customers were notifying us of the problem, and they weren't getting any of my updates. It was horrific. Our production service was down for ~ 3 days whilst Google just sat on their hands and refused to do anything about it. We were running a highly visible citizen-facing service for the UK Government and Google didn't care they'd broken it for everyone.

This runaway bot is a menace to the web and I refuse to give Google any more money until they've demonstrated they can run this responsibly.
I recommend putting those code snippet I shared to VSCode and using default formatting - this will be more visible in IDE. But other annoying things for me:

1) SwiftUI feel more like jquery so that you can chain styles like padding, color, font etc. Because of that :

- code completion just works and is fast you just press a '.' and see all choices

- it's easy refactor the code if you wan't to change styling or layout

2) Flutter abusing too much composition and adapter pattern to the point they using refactoring in VSCode to add simple padding etc. Just have look at this official GIF from 'Test Drive' - how many times 'down arrow' got pressed:

https://codelabs.developers.google.com/static/codelabs/flutt...

Now imagine designer come to you and telling you we change layout and styling slightly - in flutter I feel it's easier to throw away such layout code and start from scratch than trying to refactor it. In swift UI you just change VStack to HStack, change maybe some parameters and move around chain of .padding().color() around and are done with it.

What would improve flutter readability is extending Dart to have something like Swift:

- first parameter can be marked as optional specifing parameters name such as '_ child:'

- escaping parameters in Swift so you instead of doing ... children: []) you can just close previous Widget and make also 'children' parameter name optional so that you can write :

Row(.min) {
ElevatedButton(
onPressed:() {
appState.getNext();
}
) {
Text('Next')
}
}

- similar enum behavior like in Swift when you can just type '.red' instead of 'Color.red' - this is even more useful for more nested enums.

edit: I gave up with proper formatting of code here in HN, super annoying.
> smooth brained shitheads

What an argument, I bet you are really proud of it.
I think the themes are fine. This just seems like an excuse to get upset about the EU, because your publication won't let you publish an article about how much you hate the EU directly.
Luckily our computer hardware can Not self-repruduce yet.
A site where you practice reading speed and comprehension
It's bewildering to me the number of large American ISP's that just don't (or won't?) support IPv6 for one reason or another. I dumped CenturyLink about a year ago over it (among other things with their wretched fiber service)

Of course those clowns proudly boasted about participating in "world IPv6 day" *12 years ago* but all their services and websites are still IPv4 only

For all of Comcast's innumerable faults and absolutely parasitic rent-seeking, at least they offer IPv6. Even if it's "only" a /64
Deploying a Scalable and Secure Node.js REST API with MongoDB on Aptible
I guess the author wrote the article with an audience that understands ML linage of programming languages.

I had no issue understanding it is an AST for lambda calculus, as it is clearly mentioned, however I know these kind of languages since Caml Light.
I mean pattern matching in the sense of binding a variable to each option.
> make do with less power

Good luck with that, internet commentator.
Machine learning doesnt pay high salaries, at least not in the uk.
I have the same problem, but I also have a suggestion: write down the stuff just for yourself. Like personal notes. Don’t think about publishing it anywhere. For me, this works really well for learning purposes. Although I would also like to publish some stuff, some day, maybe…
LMQL - https://lmql.ai/

Guidance (microsoft) - almost abandoned - https://github.com/microsoft/guidance
The effort is the same, regardless of the approach. If you're consuming a third-party database and the underlying schema changes, you'd have to patch your model definitions accordingly - or in the presented example, the dataclass definition. Creating code to dump dataclasses from a database is actually trivial.

In ORMS like Django, models are defined as code-first, not schema-first. Yeah, you can use inspectdb, but in any sufficiently complex application, odds are you need to add to the generated models any custom behaviors you already implemented, and verify all the names and whatnot, because data definition and operations on data are actually mixed in the same class. More often than not, if the change is profound (eg. imagine switching from reading a User model from the database to fetch it from an external service), you may have to refactor a large portion of your code due to the way it interacts with the model - eg. search operations won't be proxied via orm, but by using external service endpoints, etc. There is no free lunch.
And don't even get me started on field names that differ on the database.
Not if you print it in dark mode.
And YT-DLP could run the extracted Widevine plugin just as Kodi can today but ultimately it can’t spoof attestation and that’s already in the works as well.
Rationing? You do rationing when there's not enough of something to go to everyone. What product needs rationing? Do you think there's a shortage of bread, or milk, or gasoline, or anything else?

Of course, being on HN, I'm aware of the GPU shortage. I'm all in for rationing the GPUs.
Earliest version in the internet archive is from December 3 2002
I find this ends up being 90% of SELECT queries. Usually when selecting data you want to retrieve a bunch of related objects too. Often with complex criteria for which objects to pick. And doubly so for "list" type endpoints where you're selecting many records.

I tend to use the ORM function CUD operations, and just write raw SQL for SELECTs unless they're super-simple.

> It's also very hard if not impossible to guess which queries will end up in that group.
> You're better off building it with the ORM first and breaking out SQL later when you are trying to performance optimize.

I disagree on this. It's almost no extra work to just write these optimised in the first place (if you're not trying to squash everything into an ORM workflow). So it makes sense just to write them all optimised. Ditto for doing batch inserts and updates rather than looped inserts/updates (although you can usually use the ORM for this).
You need a “company uncle” and fast. Normally this would be one of the more experienced investors but could be someone hired in by them. This sort of this is quite a common growing pain, I saw it in my own startup and in the startup in which I was an early employee. Unfortunately our “company uncle” has long since retired. Thanks for all you did David, wherever you are.
Mozilla is a non-profit, and Firefox is explicitly a means (one of them) to an end, i.e. a healthy internet as described in the Mozilla Manifesto: https://www.mozilla.org/about/manifesto/

There's definitely an agenda. It's one that's good for users IMHO though, as opposed to the agendas of the for-profit browser makers.
Yes, I understand why this is the case. However, it is still a mild annoyance that you cant (sensibly) write e.g.

def foo(x, opt1: opt1, opt2: opt2)

If optional arguments were first-class citizens in the language, then you'd presumably be able to use patterns along these lines.
I love me some good old DJ Bernstein records.
And the weird thing is you'll find people that care about things you never expected anyone to care about.

Looking through my analytics, things that gets clicks are never what I expected them to be. They're never what I think is the coolest or what I consider to be the best written. They're just random shit I put out there just for the sake of updating my website.
At the rate of 50% support every 20 years, I guess we can expect that ipv6 will be a suitable default in… 2043?

Kidding, but also kinda not. We should make ipv7 which is just ipv6 but the extra bytes go in an expanded header, like the author suggests.
> I am curious as to what a larger codebase with "just SQL queries all over" ends up looking like. I have to imagine they all end up with some (granted, specialized) query builder pattern. But I think my bias is influenced by always working on software where there are just so many columns per table that it would be way too much busywork to not use something.

You end up writing a query per usecase, rather than writing generic queries that can be stitched together however in the business logic
"The feeling of flight is what I really enjoy. It just feels right! And very smooth response to flight controls."

Yes. This.

I am planning to try joining the group this Thursday evening. It looks like the best time is from 6PM Central Time Zone for a couple of hours. I can't start that early but I'll try to join about 7PM. I will probably be flying a Ki84. That was 1 of my best planes in Aces High and when I tried it in LAC it felt pretty much the same. Great plane.

Graphics in LAC are OK to me. I only fly aircraft sims and I dont do it for the graphics. As long as theyre good enough to fire up my imagination what I am after is the realistic feeling of flight and LAC has it. My limited experience in their online missions have been really engaging with lots of activity involving replay pilots. Actually the quality of those replay engagements is amazing. It's been a couple days since I was on but as I write this I think I'll go back into the desert mission one right away. I got my first kill there and had a blast. Just a constant drumbeat of targets trying to destroy my air field and I was constantly trying to keep up with the threats.

One thing I learned that helped me a lot was to press v for vocalize in flight which when you do that you hear a radio message directing you toward your target even if radar is out or if the target is flying below radar. Once I learned that the desert mission became my favorite.

I also tried the Peabody mission but that one was too hard and way to complicated for me until I get a lot more practice.
Not available yet, I guess that's the reason behind the lack of sound examples.
However, it's based on the TSynth so it should have similar capabilities; just follow the TSynth link on the same page and you'll find some links to demo videos at YouTube.
How to Write Clean Code and Save Your Sanity
> No. I shouldn't have to work harder myself to somehow cancel out the evil in the world.

Not only you should, but you should also support countermeasures that make it harder for evil, so you eventually wouldn't have to work harder.

If there is one reason, do it for your kids, to show them that a better world is possible.
Proof? The news I recently saw, if you're referring to that, actually said they'd offer a higher-bitrate 1080p option for YouTube Premium, not that they'd lock the (then) current bitrate behind YouTube Premium and downgrade everyone else.

Edit: I did some searching. In addition to that, the only relevant news I could find were about Google testing locking the 4K (2160p) resolution behind the Premium doors, which they ceased doing.
Because it's the only non-profit browser maker, and the only one that explicitly has a mission to protect the free and open internet, so people care about it. There's just the risk of people killing it with love though.
Yup - also those 3 games are available on steam so if someone wants to play them - there's an easier way to do so.
They don't have to explicitly require that of communications services. Just write interoperability into law and the problem goes away.

The reason they don't work with each other is there's a line in the terms of service that says you can't use anything but their official software to interact with their servers. WhatsApp will literally ban your number forevef if it detects this. That's the root cause of the shittiness of apps. They very much want you locked in and forced to use their shitty proprietary software. If society makes such terms illegal and unenforceable, free software clients will start showing up and other companies will start integrating with their competitors whether they like it or not. This will also fix all other apps of any kind, including social media apps. It will kill things like remote attestation and web environment integrity. It will just fix everything.
> The moment you build SQL with string formatting is the moment you're rewriting the SQL formatter from an ORM, meeting plenty of opportunities to shoot yourself in the foot.

I used to think this, but at my last company we ended up rewriting all these queries to use conditional string formatting as we found it much more readable. The key was having named parameter binding for that string, so you didn't have to worry about matching up position arguments. That along with JavaScripts template string interpolation actually made the string-formatted version pretty nice to work with.
It’s nothing to do with the language being functional or not. It’s because JS supports optional arguments. Haskell doesn’t support optional arguments which is why this is impossible in Haskell, but that is a huge trade off since optional arguments make it easy to evolve an API over time without causing breakage.

It’s a known good practice in JS to always wrap callbacks with a lambda in this situation. Even if you don’t, usually the type checking will catch it, this bug only works because the second argument is a number to both functions.
Go is well past the point of it mattering whether Google continues to use it or not. I don't think Dart or Flutter are.

And Dart's more of a barrier to that level of adoption than Flutter itself (if it were somehow language-agnostic, or a multi-platform JS framework even). Tauri has mobile support coming, and once it does with some level of polish, it's harder to imagine Flutter ever getting that popular? It would be trying to convince 'this is a great framework, this is the one you should choose [but sorry you need to learn Dart]' versus 'use whatever [JS] framework you want, you probably already have a favourite'.
Learning anything properly, in general, takes ages
Performance Update: Redpanda vs. Kafka with KRaft