skysight-inc/HackerNews huggingface dataset:
> Can't even change the small things, as we see through outrage over plastic straws still, nevermind trying to get people to eat less meat.

If you want people who aren't ideologically on board to sacrifice, you need viable alternatives. Cardboard straws suck ass. Without exception, every single cardboard straw I've ever used was soggy and tasted... well, like cardboard. They simply are not viable replacements. Fake meat is better at least (I've had impossible burger and it's legitimately good), but it's hella expensive and that's going to be a hard sell for people. Moreover, talk about not eating meat is absolutely dominated by people who have a moral objection to eating meat, not people who are concerned about carbon emissions. Which is fine, but the majority of people don't agree there is a moral issue (and many even think it's crazy to hold that position), so that's not going to convince anyone to bear a higher price. Get the price more on par with ground beef, get the public perception to be about the environment and not animal rights, and you could probably see big changes.

Conversely, look at LED bulbs versus incandescent. While they cost more up front, LED bulbs last forever and cost so much less in terms of electricity that they are just overwhelmingly better for most uses. I myself don't give two shits about the environment, but I don't see myself buying anything but LED bulbs ever again. They're just that much better. That's the kind of innovation one needs to advance if one wants to change the behavior of the masses. Give them something which is not only environmentally better but practically better, and they will adopt it. But you can't expect most people to sacrifice for the environment. The reality is that most people just don't care, and they aren't going to sacrifice for something they don't care about.
> When you write modular code that minimizes assumptions about its context, that situation is a common occurrence.

so your code isn't modular after all, because the code is _doing_ logging as a side-effect of the actual functionality.

The modularity of your code should mean that the outcome of the functionality is packaged into a bundle of data, and this bundle includes information about errors (or warnings) - aka, a status result.

The caller of this module will inspect this data, and they themselves will decide to log (or, if they are a module of their own, pass the data up again). This goes on, until the data goes into a logging layer - solely responsible for logging perhaps.
Tested Organic Maps for the first time on an emergency drive to Chicago and the Midwest, and with the fiancee? Author's got guts.
Organic Maps is the OSS fork of Maps.me, which was basically the best maps app ever made, but was sold. Both use OSM but also can load other map sources (iirc). I used to use Maps.me extensively when traveling abroad as it provided way better maps than Google, and all offline.

This is a tried and tested platform that works great, led by people who know their stuff and care deeply about the user. Please donate if you like it: https://github.com/organicmaps/organicmaps
Can you elaborate about colons?

% echo '{"address": "2::0"}' | yq -P -
address: 2::0

yq seems to be happy with unquoted colons.

String with ": " inside have to be quoted, that's correct, however you won't have space in your IPv6 address unless I miss something.
I had the same weird “do a u-turn at an arbitrary point on the freeway” problem with Google maps for about a month while there was construction in the area. Strangest thing. (Was not a get off the freeway and back on)
Oh hey, that's me! Thanks for the shout out, Brad.

I'm writing up my thoughts on the Strada launch right now. It will hit my newsletter, blog, and RSS feed tomorrow morning.

tl;dr - Strada alone doesn’t unlock new features for Turbo Native apps. Everything you can do with the framework you could already do before. Albeit with much, much more code. Strada provides structure and organization to the tangled mess that is the JavaScript bridge.
A lot fewer features, a lot more streamlined UI. OSMAnd has too many features for my needs, it takes longer to figure out how to do something. I think a lot of people agree. But maybe OSMAnd works better for you.
I'll admit X12 has its charms
I understand that this is an ad for airsequel, but as a musician and programmer I have no idea what this is. What kind of sheet music does it accept? Do I need to manually enter in all the fields?
I'd say that maybe the fact I didn't have to think about it is a good sign. To me it means that the desktop is out of my way. I can customize it for my liking and I don't need to keep fiddling with it. Sometimes the overly minimalist approach that GNOME is taking bothers me a bit, but not too much.

I also use KDE sometimes and I quite like it but it feels a little bloated and a bit unstable sometimes. Still love it though but I'd rather use GNOME as my daily driver.

I'm still trying to get used to tilling window managers and 8 have been giving Sway a try, but the radical metaphor change takes some time to get used to.
I was puzzled by the GP's choice to write the first YAML example in a completely unidiomatic way.

But I think the point of adding comments was just to show that comments are possible in some formats, and not others. Omitting possible comments from the XML example might have just been a sign of fatigue over this topic ;)

At any rate, I find the (idiomatic) YAML example to be -- by far -- the most readable of all, including the GGP's TOML example.
I love Organic Maps! I don't use it for driving, but I do use it regularly for hiking. It is reassuring to know that even if I don't have service I can open the app and can check to see if I'm still on the trail. Highly recommended! I'll have to try navigation sometime.
I can’t help but agree that if we had just built better tools, xml would have had better adoption.
I built a thing that makes it much simpler to make apps: https://www.applin.dev

You make a web server that returns JSON defining your UI. Then you make a native iOS app by copy/pasting the provided Main.swift file and adding the URL of your server. The app uses an iOS client library, fetches the JSON page definition, and builds/updates the page with native widgets. I'm planning to eventually build Android, web, and desktop clients.
After waiting for what feels like forever, I’m excited to finally explore the last missing piece of Hotwire.

Strada is an optional add-on for Turbo Native apps that enables native components driven by the web. It unlocks progressive enhancement of individual controls without converting entire screens to native.

For example, converting a <button> to a UIBarButtonItem on iOS or rendering a HTML modal with ModalBottomSheetLayout on Android.

It’s important to call out that Strada alone doesn’t unlock new features for Turbo Native apps. Everything you can do with the framework you could already do before. Albeit with much, much more code.

Strada provides structure and organization to the tangled mess that is the JavaScript bridge. It simplifies and standardizes communication between web and native components, which makes building robust native elements a joy.

Just my 2¢, having worked with Turbo Native for 6+ years now.
"Be more profitable". Remaining profitable hasn't been a problem for Google.
So does it mean that linux is rolling out updates but these updates do not consider security? Just curious about this thing, I just started using linux and this topic is interesting for me
As importantly, it reduces the noise in diffs when an item is added to a sequence.
Elon Musks Neuralink is looking for human subjects
There is going to be an imperative vs declarative AI flame war in a few years.

Conversational, interactive, and stateful vs Declarative, static, and "correct" AI UX
If you buy them; that's fine. I'm talking about the people who say they want organic food, but then buy on price and price alone. They go on about the horrible conditions laying hens are kept in, but then refuse to buy the eggs from free-range chickens because they cost two dollars more per dozen. Or they claim to care about climate change, but fly somewhere for a holiday.
Unless reptilian space overlords somehow gave it to us in their contrived crazy planet-scale experiments, of course.
The problem is so deeply seated with agreements, allotments, and obligations going back to homesteading acts and treaties with Native American nations that I fear the system is truly unfixable and needs a ground-up rebuild.

As with any genuine reform efforts, that too would take forever to work its way through legislature and also get blocked up in the courts for god knows how long. What can be done?
I scrolled through the entire list of 20 or whatever results and none of them were close to correct.

Half the results were in different cities.

The results for my city (Ho Chi Minh City) are for totally different roads. For instance "Hem 46 Vo Van Tan" is listed as a result, as is "Hẻm 46 Trần Quang Diệu". Also notice that one has correct diacritics and one doesn't, which gives the whole thing a weird amateurish vibe.

I know this is probably the fault on OSM data and not the app itself. But OSM sucks and anything built on it will suck.
Great idea. I did order directly from them. Thanks for this suggestion.
Unlikely; if it were lower stakes, maybe, but even high end poker houses are not such high margin enterprises that they can afford to comp $10k to an angry customer because of dealer error. Maybe some smaller comp, but not the whole pot.
Why do you think they didn't have a counterparty with a lot of purchases queued up at certain trigger levels on the exchange? It would have been an easy way to make a lot of money. Then blame a nameless employee for an honest mistake and come out looking as if they'd just absorbed a loss for moving too fast.
> but orders-of-magnitude much work will be spend to examine and analyze the actual changes to the store.

The compliance report requires Apple to hand in any internal documentation relating to the implementation requirements, including discussion of other options that weren't implemented in the end, plus the reason for them not being picked over the production ones.

It's not legalese. It's substantive company decision-making information.
This article wasn't what I was expecting. His complaints are primarily about ICE. His work was to put together a hiring plan to hire more ICE agents, but that was never actually put into place.

He pulls some examples of poor McKinsey behavior from other stories that he wasn't part of, but I'm not seeing a whole lot of McKinsey whistleblowing in this article.
It is merely virtue signaling if you are not prepared to live by it.
I legit just want the cheapest iPad internals that could drive the 12.9” screen. If they made that option, it’s what I’d have. Still being able to at least kinda use Pencil a big bonus, but its absence not a deal breaker.

I doubt I’m alone. But I also doubt I’m alone in buying the 12.9” pro just for having the giant screen on an iOS device. So they might be smart not to make that option.
toast0 suggested a chargeback as well; both seems like great mechanisms to encourage a refund. Thanks for the suggestion.
I've been trying to like it, but it doesn't have named places results like I'd really want, and it even fails to locate straight up addresses sometimes. I'm keeping it installed for now and will keep checking back.
What is interesting to me about this approach is that they're fine tuning an existing model. If they could train a model using input/output pairs from scratch and entirely on the optimization task, I could see a smaller LLM performing drastically better than the compiled output - according to whatever the loss function is implemented to optimize for.
Land would not be wild if it wasn't producing crop X. That land is put into productive use because it has been bought and sold to be put into productive use. If its not a field of cattle its a field of soy. If its not a field of soy its a junk yard. If its not a junk yard the owners are desperately trying to get a housing development or an amazon warehouse built, etc. No land owner in this country buys land content to let it sit wild generating no money and incurring costs, unless they are rich as hell and don't want neighbors nearby. If you want more land set aside to be wild, it comes from establishing preserves, not changing how one particular land using industry works. That's just cutting off one snake off the head of medusa, there are dozens left you haven't cut, and rest assured two more will take its place.
It's funny how something so simple & essential like a missing scrollbar can be an instant deal-breaker.
My phone is running a minor version of 4.4 from March 2023. Kernel 4.4 is originally from 2016. This means that they are still patching the kernel after 7 years even if it's not a LTS version.
Love the Mitchell and webb reference
That's an interesting coincidence... it wouldn't surprise me in the least. Never heard he had a bad losing poker habit, though. Sounds juicy if it comes out.
I had a brake failure once (which did not caused damage due to luck and reaction). It was a old car, but it was checked before.
I've long planned a cyberpunk setting where you can sneak past low-level corporate guards by plastering your clothes in ads for competing companies, because their neural interfaces are configured to only let them see their employers adverts.

Every year that plan feels less and less like silly hyperbole.
I recently started a new small software project, and, out of habit, reached for YAML as the configuration file format. This article reminded me of the ways that I do really dislike YAML, though it didn't mention what is to me a more annoying parsing oddity:

country: no

YAML will interpret that "no" as a boolean "false". Which... c'mon.

So I started thinking... maybe I should use something else instead.

TOML? Nah, my config file requires around 4 levels of nesting, and nesting in TOML isn't great, at least when done the more idiomatic way.

JSON? No, I want comments, and I hate having to double-quote all the keys.

XML? No, way too verbose; the author of the article goes into more detail why XML is bad for a configuration language.

HOCON? I've used it in some Scala projects, but I'm a little worried it's not mainstream enough and users might be confused at the syntax (or annoyed that they need to learn a new format, even if it's simple).

CUE? I'd never heard of it before it was mentioned in this article. "Validate, define, and use dynamic and text-based data" -- um, that sounds scary. I don't want a language, I want static, declarative configuration.

Sigh. I guess I'll stick with YAML for now.
In my opinion OSMAnd interface is slow, that of Organic is very responsive
The world CO2 emissions are 36 billion tons. 4.5 tons per person per year. The tech industry is .1% of that. There are more important things to worry, like how got to the store.

More importantly, the tech industry is a lot of electricity and some other energy in production. Decarbonize electricity and electrify everything possible, which we must do, will solve the problem with tech. There is nothing extra that needs to be done.
Oof. That's YAML 1.1. Need to use a 1.2 loader, which should have much better defaults around types. No more Norway problem unless explicitly opted into. We should badger^Wencourage our libraries to stop relying on a spec that's 14 years and multiple versions out of date.
Seeing these prices, so sad i sold so many cards. "Never sell unless you need the money," is a generally good piece of advice. it pays to horde . Such as throwing out or re-selling for pennies those old cartridge games in the early 2000s with the advent of X-Box. "No one will want that old junk when multi-player 3-d polygon games are so much better." Then around 2015 with the rise of YouTube and social media comes the whole DIY retro gaming scene...suddenly there is a huge market for that junk because it is rare and sought for collectible and nostalgia value.
The Apple CPU's architecture is already known (ARM). To iterate from there is probably easier than designing a modem without the basics already designed and ready to go.
You can supplement winter lighting with a cfl bulb.
By contrast, the sketchiest horse will avoid collisions with other horses.
At megacorp (years ago) we were transitioning to CentOS 7 (from 6) and just starting to wind down our 32-bit windows stuff in AWS. I'm sure there are plenty of legacy Linux systems out there, but I wonder how many folks are actually paying for them.

CentOS/RHEL 6 was already pretty long in the tooth, but being the contrarian I am, I was not looking forward to the impending systemd nonsense.
JSON is by far the easiest to reliably parse. It doesn't rely on tabs or spaces which YAML suffers from. XML is just more verbose JSON without an array object, and has some redundancy in spec which is not a good design.

Lack of comments for JSON isn't a huge issue considering you can make the keys fairly verbose. And it would be actually pretty easy to add this into the spec, and parsers would still be backwards compatible.
Turns out that the author of TFA did work at Alameda as confirmed by court documents.
> It is also clear that the frontends really need to be hosted in a way that they can't be modified.

Years ago the advice was IPFS and IPNS.

I agree. This is not the Web3 dream everyone was promising us when frontends and nft media assets themselves are mutably stored on some server relying on serveral entities in the DNS chain to maintain security, behave, and stay available.
And better conceptual docs because it's supposed to be that elements are complete deserializable objects. Having to resort to xpath as the default way of poking at XML where JSON has a good implicit default schema made XML feel so clunky.
I’m in Canada (BC), and unfortunately there is no law governing refunds for consumer goods. Apple offers if of their own volition and can implement it here as they see fit. In this case it’s within their right to insist that the unit is repaired rather than replaced.
although they will avoid colliding with other horses, AFAIK
https://www.patreon.com/posts/color-grid-28734535

From the artist
Author here, I'm going to bed now but it's exciting to see this level of interest in the blog post. I apologize in advance if the site crashes and burns while I'm asleep - this is my own made-from-scratch blogging platform and I'm not sure if it's really "front page of HN-scale" yet.
Why not read the github ReadMe. It has benchmarks section
Newton may have been rough/arrogant with other people, but this is entirely consistent with being humble in the face of the mysteries of the universe etc — there is nothing in his biography to suggest otherwise.

In fact, you can see hints of it even in this quote: “I don’t know what I may seem to the world” — suggests that he thinks of himself in an exalted position wrt the world (= other people, in this context), but a little boy wrt Nature. Something like: I am a little boy collecting pebbles on the shore, while everyone else is a senseless baby not even close to the ocean.
I wonder how much they cost to make when they were sold for that much new in 1990?
It's quite inaccurate. It makes frequent mistakes especially in unknown words like names, typos, and swear words. And at some length, it hallucinates the rest of the content.

So it seems to be able to "feel" the answer out there but it's not directly translating it. That's far more fascinating than if it were decoding while hooked to something else.
>I personally find the politicization of everything off putting and won't contribute to projects that do it. I'd call the constant push to shoehorn gender identity into every crevice of our lives toxic and I'd say it drives me and other people away.

Is gender identity being "shoehorned" into every crevice of our lives, or are people just more comfortable expressing who they really are? And now that they are, people who didn't need to feel bad about expressing their identity don't always know how to handle it.
anyone have any experience with this? This is the first time I'm seeing this!
In addition to the other examples given, it's a quick way to run sql commmands against a CSV, and lets you quickly export to Parquet as well run queries against Parquet files. If you're going to be using Parquet but want to run some quick tests (think setting up an Athena database) it's nice to do it ad hoc rather than having to setup a full ETL process first.
Do. Not. Write. Yaml. By. Hand. It is a serialization format. That means it is meant to be written to by a program, not a human. You will screw it up, a number of ways, if you write it by hand. It is only designed to be human-readable, not writeable. It is not a configuration format, it is a data serialization format.

I feel like we need that in giant bold red letters at the top of yaml.org. Nobody gets it.
Agreed. This is the same mentality that brought us MongoDB.

"Don't want to have to create a schema? Normalization is confusing? No problem, just chuck JSON in here instead!"
And it always will be, cdktf is the same but on Terraform objects. At some point you have to reach the end and spit out the final list of stuff you want.

If you want full imperative just use the AWS sdk or Ansible but I think people have realized how not maintainable that pattern is.
This is basically how they do fruit sales
Too Short; Didn't Understand - the link from your other comment is useful: https://humanorigins.si.edu/evidence/dating
Off the top of my head, two big accomplishments are compressed sensing and the existence of arbitrarily long arithmetic progressions in the primes (the Green-Tao Theorem, https://en.wikipedia.org/wiki/Green–Tao_theorem). But there is more than that. It’s a very googleable question.
I tried getting directions to the next stop on my rail line. When I searched for the station name it didn’t come up, but it did find a road under construction and two fences. I’m not sure why I would ever search for a fence. When I cancelled the search and selected the Transport category before searching, it found it but there was seemingly no way to view the route details beyond which line to get on and how long it would take.

With Google Maps, it will let you see the specific walking directions to the origin train station and how long it takes, it will tell you the line and direction to take, how long that train journey will take, which stops are between the two stations you are travelling between, which exit to leave the destination train station at, and walking directions to my destination once I leave the train station. It will also let me put in what time I want to arrive and work backwards to figure out what time I need to leave, taking the train schedules into account.

It’s great that there is an open source option available, but it has a long, long way to go before it’s a good choice.
Json diffs are horrible.
Neat idea! I'll give it a whirl

A monitoring app for bandwidth

Captured many false positives that which,

Once analyzed with a filter

Revealed nothing off-kilter.

So I told it to make me a sandwich
Apple also has a pretty robust ability to dictate to their developers how and what they must do to run on MacOS, and they produce the compiler and toolchain as well. They seem to do a lot less shimming and other compatibility work on behalf of developers. Modem doesn't work that way, there's tons of existing, immutable hardware across the world with its own quirks and edge cases, all of which you have to support seamlessly.
We can also look at which is the most dangerous to pedestrians (probably the car by a wide margin), or even which is the most dangerous when not ridden/in use. For that last point I would expect the horse to be the most dangerous, while you have the occasional death due to being crushed by a car I bet stable accidents are more frequent.
Yaml is literally not designed to be written by humans. It's a data serialization format, not a configuration format.