skysight-inc/HackerNews huggingface dataset:
Some examples I fixed just this week:

- feature name changed, feature autodetection fails, package doesn't build anymore

- new version of the package requires a new Apple SDK which is not used by default in the system yet

- SDL gets updated which bumps the minimal required Apple SDK version. The package depending on SDL declares lower minimal SDK which fails at linking

- package requires a specific flag when building with latest GCC, but that flag doesn't exist for clang, so it fails the build

- new C++ standard adds std::bind which breaks unscoped calls to bind. Upstream didn't force an older standard, so build breaks on clang update.

- Makefile makes assumptions about HOME being writable during a build.

- build system assumes where the completion files will go

And those are still the trivial problems. Some of those are fixable upstream, some will be "don't care" for the author or the package is already abandoned. Some exist because the author doesn't have particular hardware to test on. It's on the distributions to make it work for you regardless.
Yes but the problem is that fish is not POSIX and so can't be the standard.

Agreed that allowing non POSIX might improve an OS.
I was actually wondering (in Zig, which has a per-statement "try" which is essentially the same as the ? in Rust) whether it also makes sense for whole blocks, which would look a lot like traditional try-catch block in languages with exceptions, e.g. instead of:

try may_fail_1();
try may_fail_2();
try may_fail_3();

...this could be grouped into:

try {
may_fail_1();
may_fail_2();
may_fail_3();
}

...but would behave exactly the same as the indiviual trys, if any function in the block returns with an error, that same error is passed up to the caller. But I guess that forcing individual trys makes you think harder about handling individual errors than just pushing the responsibility for error handling up the callstack.
My cursory exploration here would suggest this is possible

https://imgur.com/a/YClX6xD

Going to try and play a few rounds with these rules
Noam Chomsky on Post-Modernism
The bug reporter is claiming there is a mass exodus from Ubuntu - is this really the case? I’m seeing more Amazon / Ubuntu/ mainstream distro stuff these days then I feel like I used to 10-15 years ago.

Is this mass exodus moving to Debian for things like Amazon AMI’s?
Thanks for that reference, it reminded me of Rainforest[0], which IIRC I found out about on the “Ohm: Early gurus of electronic music” album (one of the few physical CDs I have kept along with its packaging, it actually belongs to my daughter now).

0.
https://www.moma.org/calendar/exhibitions/5077
My reading of this: the AI was trained on pro level play and needs a few lower level games to learn the first thing anyone tries?
Thanks for the reference to Yoda conditions. I hadn't heard of Yoda code until a few weeks ago when a Go linter complained about some code I wrote a few years ago. I realized I've been writing Yoda code in C/C++ for quite a while and that habit had continued (somewhat inconsistently) into Go programming. It's nice to skim through pages of code and see the value that will cause the computer to enter an if-block. The linter made me feel like Yoda code was somehow wrong. It's good to know that others think it can help in some situations.
Why scale “gracefully” though? The boilerplate of bundlers and package managers isn’t difficult or time consuming in practice. Sure it’s a lot of code and bloat but it isn’t actually hard.
Everyone makes "what was I thinking?" mistakes, and we should not conclude, from that, a lack of relevant understanding.
Now that Java has algebraic data types and pattern matching, it explicitly espouses a programming style long associated with FP, especially when programming in the small. See Brian Goetz's (Java's chief language architect) article: https://www.infoq.com/articles/data-oriented-programming-jav...
Not a founder, but a serial side-project'er. Initial prototype typically has no tests, at least for the bits that are wired. Specific bits of complexity will have unit tests. At some stage might add integration tests using something like docker compose.

Use TDD for bits that have very limited scope and function. For instance, an order book class or similar. Otherwise code first, test bugs if needed. For smaller projects (that aren't critical espc.) overtesting can kill your momentum and motivation, which is an often overlooked resource.
How would you deal with the heat generated by the power electronics if everything is sealed in polymer resin?
I like reading things like this. Super niche regarding systems and goals, part self development, part techie. Fascinating read. For me the trifecta of the Notes, Reminders, and Calendar apps works best. While I've tried Notion, Evernote, Roam, Obsidian, etc. the native apps always worked best
Sets and maps do not required hashing. Specifically std::map and std::set in the C++ standard library are based on ordered trees.
It's the new crypto?
> I may be a little cynical but when I read the words "modern utilities" my first associations are: (...)

I think this comment is too short-sighted and naive. In the end at best it's an apples-to-oranges comparison between what you personally like and are used to with a cherry-picked set of tools and what you personally don't like and have an axe to grind with a cherry-picked set of strawmen.

There are plenty of decades-old tools that provide colorful TUI interfaces that don't integrate with standard tools and make them hard to reuse with UNIX tooling. There are plenty of excellent non-standard tools that are quite recent and raise the bar in UX. This is not an old-vs-new comparison. This is reads like a rant directed at strawmen.

Let's face the facts: JSON is excellent as a data interchange format, and YAML is a far improvement in expressiveness over INI-type formats. Colors are important to make things human-readable, and TUI is a UX godsend in applications that involve view-heavy data presentation and ensure complex commands can be a key press away.
In that case, is ubuntu-minimal also a metapackage? If that’s true, I assume that you could just as well replace the ubuntu-minimal package with your own package with equivalent dependencies, except the dependency on ubuntu-advantage-tools.
Realistically, if the Civ team were to want to do this, here's how I'd go about it:

1) Break the problem down into strategic goals and tactical actions, and then group the tactical actions into areas (e.g. diplomacy, resourcing, combat, research).

2) Process recorded online games of human players into streams of relevant events / choices.

3) Continually retrain your models on the output of 2.

You should thus have an AI that approximates the meta approaches of humans, which is really what we're talking about.

New players look exactly like bad AI: making poor choices, oblivious to things "the players community" already knows are always optimal, etc.

So really the problem is "How do we build a model that already knows what most of our players do, at this stage of the game's lifecycle?"

Which is essentially what one of the recent fighting games(?) did with their AI.
I have no idea of the extent to which it was his 'idea', but one of his products (from day -n) was AWS.

I too vastly prefer remote work, (and don't work at Amazon) but Jassy has a long way to fall to have done net destruction to the company.
E2E for the core & commonly used features. But I plan to add more E2E tests for less commonly used features that I’d still consider core (these are manually tested for now due to time constraints).
As far as I can see, this package doesn't replace the existing package, it merely contains metadata to prevent the existing package from being reinstalled.

I'd prefer a set of build files over a package like this, but if it's as empty as it claims to be then this is a great solution to this ridiculousness.
Except of course all the evidence which shows that isn't the case. Really, you should stop amplifying this nonsense.
> I don't know what working there is actually like but the interview made it sound like a goddamn cult.

I felt the same way on my induction ("Day 1"...) - it quickly became clear that the main relevance of LPs was as a weapon to automatically win an argument.

Trying to get someone to do something they ought not really to be on the hook for? Ownership! Bias for action!

Person objects to your suggestion because of a flaw in your logic? Think big! Dive deep! Disagree and commit!
> Full coverage?

No, risk-based.
That’s ubiquitous and normal across a range of demographics. Anodyne even
Funnily, I'm the exact opposite. I love the simple and consistent syntax of Lisp, but I don't want to use a dynamically typed language if I can avoid it.
It will, but it might take more will power and discipline to make those things happen than it used to.
https://techcrunch.com/2022/04/21/canonical-now-hopes-to-ipo...
Twitter: SMS 2FA is only for Blue subscribers
I long in to Twitter for the fist time in a while and this is the pop-up that I see:

You must remove text message two-factor authentication
Only Twitter Blue subscribers can use the text message two-factor authentication method. It’ll just take a few minutes to remove it. You can still use the authentication app and security key methods.

To avoid losing access to Twitter, remove text message two-factor authentication by Mar 19, 2023.

https://imgur.com/a/PYHSnji
Once on a Khronos promoted session someone asked about Fortran support roadmap for OpenCL, everyone was clueless that was really a thing the scientific community would cared about, and ended up with "if you care about this kind of stuff please come talk to us".

Meanwhile CUDA is having Fortran support for ages.
So? Nobody is surprised that lisps aren't popular.
Show HN: Fluxsort, a stable Quicksort, faster and more adaptive than Timsort
Most companies rent their offices, they are not in the real estate business
An argument I heard against "localization" [1] of video games and cartoons is that one would never dare "localize" [2] Moby Dick, the Odyssey, or the Gulag Archipelago, so why not extend the same courtesy to other media vying to be recognized as "art"?

But apparently they would dare.

The next question is, are they compelled to mark these books as altered from the original, or is there no recourse for this forgery, and they can lie with impunity about what Dahl has written, by putting his name above someone else's words?

[1] Instead of mere translation, the dialogue, characters, and plot, are adjusted for a target market. Rice balls become hamburgers, jokes are re-written to not cause offense, references and phrases are changed to ones more familiar with the target market, etc.. Usually the practice is defended by offering a false dichotomy between a literal, word-for-word translation, vs. recreating the work as if it were made by and about members of the target market.

"This person from Mumbai said X. But someone from San Francisco, in that same situation, would never have said X! They would say Y, so let's localize it to Y."

[2] Not to be confused with adaptations, that do not try to pass themselves off as faithful renditions of the original, e.g. Romeo + Juliet
> In that case, is ubuntu-minimal also a metapackage?

Yes - https://packages.ubuntu.com/bionic/ubuntu-minimal shows a lot of dependencies and two actual files with documentation.

I think the main issue would be getting this ubuntu-other-minimal package into Canonical's official repositories. Otherwise, you've just made another Ubuntu remix.
I also stopped letting my micromanager know what exactly I am working on. Just giving very broad task headlines.
In my experience there are both a users config files and an applications support files strewn all over the place with abandon. Maybe I wasn't clear, I'm suggesting distinguishing out-of-bundle application files by making them symlinks:

> Why are an applications files physically moved elsewhere in the first place?
That's actually funny
To clarify, new national flags will still be added to the standard in line with changes to ISO 3166. So new countries will (as I understand it) still receive flags. This seems like a reasonable compromise, though it’s not without its risks either.

But I agree generally that the addition of flags was, in retrospect, an unfortunate outcome.
From Erlang to Lunatic
Sure, but we have now (almost) gone full circle:).

When writing exception safe code, for me is more important to know which functions are guaranteed not to fail as they will be called in the commit path. Currently I just comment which operations are no-throw and otherwise assume that everything else can fail, but it would be nice to have the compiler tell me.
I think maybe the thing to do is not so much use LLMs (which I would still use for generating variety) for the AI's decision making, but to bring to bear the many lessons from TikTok and various other attention engines that we find on the internet.

Let the AI know everything, in the way that a father knows everything when teaching chess to his kid. But instead of just nurturing an independent chess player, feed the player with dopamine experiences that keeps him playing. Early victories, the joy of discovery, interesting diplomatic situations. Once they can play better, stretch it out a bit, more intricate setups.

No idea how to code this up.
My mistake for reading HN too early in the morning. You and the other poster are right.
I would argue any hard working is not clever by definition. But the ones who are otherwise clever but have a blind spot on the hard working part - they are scary. How efficiently and how far they can get into completely wrong and unexpected direction before stopping to think the overall picture can be mindboggling. The hardworking idiots are useful as long as their direction is contained.
I looked at moving our cloud machines to Debian rather than Ubuntu.
I concluded it may not be worth it:

- Debian still has the unattended-upgrades thing. I don't like this.

- Debian's package manager doesn't support zstd compression so you can't use modern Ubuntu packages on it (I _think_ they're fixing this)

- Debian's packages can be quite far behind, for example the current version of Boost is 1.74 where the offical release 1.81

- I couldn't see any obvious performance improvements (Apache stack)

+ No snap shit.

If anyone can provide me with more ammo to move to Debian I'd welcome it.
We use maplibre and map tiler for the map tiles in the startup that I run. We switched to that from leaflet and I've been pretty happy with it. I might invest some time at some point in self hosting tiles. But honestly, map tiler is good value for money for now.

I actually used to work with Nokia and Nokia Maps (in Berlin), which is now Here Maps. So, I know a thing or two about this market and still know some people working with various map companies, including at mapbox.

Mapbox is increasingly an alternative to Here, Tom Tom and a few others that offer a wide range of services. The most simple one of which is showing maps. Think of indoor maps, traffic services, routing, geo coding, address search (surprisingly hard problem with open data), etc. Customers for these services tend to spend a lot of money on getting all sorts of bespoke solutions. Maps are a commodity at this point and there's very little money in providing just some basic maps. It's all the other stuff that's built on top of that that is a lot harder and more valuable.

The recently announced overture collaboration could actually shake things up a little in this space. Openstreetmap is nice but also has some pretty significant limitations. Basically what the above mentioned companies do is creating proprietary services and data (with and without open data typically) that they then sell access to for a lot of money. The big companies behind overture are each big customers for this stuff. And now they are pooling resources to create a cheaper, more open alternative to all that.
The nice thing about ADTs is that you can couple the state variables with the enum, so that the representable state is better tied to the enum value. (Yes, you can kind of do this in C with a discriminated union of a struct holding an enum and a union, but the type system doesn't stop you form grabbing a union member that doesn't match up with the current enum value.)
Musk must have looked at their Twilio bill and decided to cut costs.
Last company, no tests for the first 6 months. Current company after 2 months, have some unit tests for complicated parts in place, will start writing tests once bugs are resolved.

I guess it really depends on what your company is doing, experience of the team and the language/tech you are using.
It’s not about internet speed. It’s about room reverb.

It’s fine for the people in the room, terrible for the people calling in.

You can fix it by proofing the room with soft audio mats on the walls but somehow nobody wants to do this.
Please stop. We have to ban accounts that post like this. It's not what this site is for, and destroys what it is for.

https://news.ycombinator.com/newsguidelines.html
Even here, comments are pointing out how bad Civ's AI is. The solution isn't more realistic AI. It's better deterministic "AI" that allows you to learn how it plays and devise different strategies for how to deal with it. Unfortunately, AI is largely an afterthought for developers and players don't really understand what they want either.
Are you sure it's not just the latency compared to talking to your more local clients? i.e. that yours doesn't seem as crap to them? (I'm also in Europe fwiw, not defending national pride in ISPs!)
I only write tests for important stuff that I must continually work on. Although in the past 12 months, my tests have been written by either chatgtp or playground codex models before that. Which makes me lose 0-time testing.
Email: Explained from first principles
the lxc-lxd and snap issues are the stuff that makes me go from "I don't care about ubuntu" to "I hate ubuntu"
> making friends

At the workplace? It only works in large orgs where your friend might be in a different department altogether.
A generalist: A weekly curation on product, design, & tech
A weekly curation on product, design, and documenting my journey as a generalist.
My impression was there was a lot of research and competent results in StarCraft AI.

And that was 10 or so years ago.

Which is more constrained than your average 4X, but not fundamentally different (resource + research + movement + combat).
In a game, especially a complete-information one that pits mind against mind, tactics are a matter of exploiting the rules to their utmost (maybe somehow tricking an opponent into breaking the rules, or letting you do so, would be an exploit, but I don't think this can be categorized as such.)
Nvidia took a risk and invented the whole "AI on GPU" industry. AMD and Intel ignored it until they saw big $ there and their strategy was to create an "open system" that would cause external pressure (from folks like you) on Nvidia to share the industry with them. Now, Nvidia's OpenCL performance is better than AMD's but strictly inferior to CUDA, so what are you going to do when AMD fails even in that?
Without a top down mandate, what else can you expect?

In OSS ecosystems it's usually plenty of choices, or nothing.

See NPM registry or choosing DE in Linux.
The only benefit of being on-site (the only one!) Is that the meetings aren't scheduled _exactly_ one after each other, but you have the possibility to switch room, grab a coffee before the next meeting starts and also doing smalltalk.

But being full time in an office is counter-productive as hell
I don’t think the feelings of purportedly marginalized communities have anything to do with this. This is performative nonsense meant to make the editors feel good.

I was a fat kid and struggled with my weight for most of my life. I was teased at school and all that. It sucked, and I was also really sensitive which didn’t help. That said, I don’t believe I would have registered “fat” or “enormous” as being different in any way or that one would have been more or less offensive than the other. I also don’t remember being offended by Augustus Gloop being fat or being described as fat when I read the book.
Eugene H. Spafford: Malware Nemesis
Doesn’t say you’ll lose access to your account. Just says sms 2fa will be disabled.

> Non-Twitter Blue subscribers that are already enrolled will have 30 days to disable this method and enroll in another. After 20 March 2023, we will no longer permit non-Twitter Blue subscribers to use text messages as a 2FA method. At that time, accounts with text message 2FA still enabled will have it disabled. Disabling text message 2FA does not automatically disassociate your phone number from your Twitter account. If you would like to do so, instructions to update your account phone number are available on our Help Center.
Math notation also features one-letter variable names, weak typing and lots of ambiguity. Do you want those in code?
A Guide to High-Altitude Objects
The new book Agency explores a fictitious AI that has agency and can affect its environment, which is anything, and gets people to work for it and do things it cannot yet do. Intelligence has many types and levels within each type, consciousness seems to be a spectrum that our everyday mind-body theorizes but cannot strictly define, except by some mystics. Recent scientific discoveries are also making some of us suspect that there may be an underlying field of mind, a universe mind that generates our reality and life as we know it. Like Gaia but for the entire universe and including physical phenomena, not just life on Earth. Our machines that mimic intelligence are only intelligent in appearance and our own intelligence is somewhat limited. Our own intelligence is easily skewed and rendered defective, eg conspiracy theories, brainwashing. Thinking that we are the most intelligent species is also a sign that we have serious weaknesses. Not seeing that we are completely integrated with nature and that we must be much more careful with nature is a sign of low intelligence. One good test of the level of intelligence could be comparing how the entity is taking care of its environment. Comparing that with an appropriate level of care. We would rate quite poorly.
I like this a lot. This is built upon Vosk [0], open source voice recognition. I must try it for some of my own projects!

[0] https://alphacephei.com/vosk/
I had a character that led one of the cities and a couple of different orders for a while there.

I would never have the time for it now that I'm a bit older, but I had a great time and probably played for 6 or 7 years in total.

It's 100% where I learned to code and to coherently structure ideas and arguments.

Quite a lot of PvP, city scale and 1v1. Loved it.
I read the comment as OP threatening a mass exodus rather than claiming one was already happening. Not clear, though, so it's a valid question. I don't see a mass exodus from Ubuntu but it seems that most Docker containers these days are based on either Debian or Alpine.
We’ve had it for while in the USA and Canada. Including lines built in 1932 for testing HVDC using mercury arc valves[1].

https://en.m.wikipedia.org/wiki/List_of_HVDC_projects

[1] https://en.m.wikipedia.org/wiki/Mercury-arc_valve
That selfish CEO of ARM China doesn't have the self-reflection noone wants to that guy in tech who flips the table on everyone playing in a moment of tantrum.
How Not to Test GPT-3
If SBF goes free or gets a Martha Stuart style low grade punishment, then he will be able to give millions in the future.
Reading between the lines, sounds like they want control handed over to large corporations with everything controlled by a CoC, enforced by representatives of those corporations, directly or covertly.
IBM zSeries runs Linux in big-endian mode and is still a mainstream product.

If your code doesn’t work on big-endian, it’s usually poorly designed.