skysight-inc/HackerNews huggingface dataset:
The CFG configuration format is a text format for configuration files which is similar to, and a superset of, the JSON format. It's not new - it dates from well before its first announcement in 2008 - and has the following aims:

* Allow a hierarchical configuration scheme with support for key-value mappings and lists.

* Support cross-references between one part of the configuration and another.

* Provide a string interpolation facility to easily build up configuration values from other configuration values.

* Provide the ability to compose configurations (using include and merge facilities).

* Provide the ability to access real application objects safely, where supported by the platform.

* Be completely declarative.

It's similar to newer formats such as JSON5, HJSON, HOCON and similar but offers a number of features [0] which they don't, as indicated by the above list. It's not intended to occupy the niche where you find things like Cue, Jsonnet, Dhall and similar.

It was just never especially publicised when first implemented for use in Python projects, but it now also has implementations for the JVM, .NET, Go, Rust, D, JavaScript [1], Ruby and Elixir (all BSD-3-Clause licensed) and it would be great to get feedback on the project from the HN community.

[0]: https://docs.red-dove.com/cfg/intro.html - description of features and comparison with other similar systems

[1]: https://docs.red-dove.com/cfg/playground.html - uses the JS implementation to create an interactive playground
Hotwire is just a name for a bunch of tech that has been around for a while. The components of Hotwire - Turbo and stimulus - have improved over time, for sure, but the core ideas haven't changed much, if at all. I worked on a hotwire side project recently and described it to a friend as "writing Rails like it was 2009." It feels really good because I've always found it hard to grok SPAs and the like, but could generate tolerable server-side generated webapps.

Old wine in a new bottle, basically.
> The second rule of SPAs: we always underestimate the complexity of reimplementing history and link navigation. Often by a large margin. But we get away with not caring because nobody tests history management properly.

Exception to the second rule of SPAS: Users will always test your history management properly.
Successful experiments:

Removing tipped wages

Allowing employees to sit while working

Paid sick leave and parental leave

Overtime after 8 hours in a day

Non compete ban

Legal cannabis

Assisted suicide
I would be surprised if India didn't set a record. The fact that it took India so long to reach this milestone is almost embarrassing. India has in fact a very sophisticated network of trained vaccinators, cold chain equipment, surveillance of disease even at semi-rural level combined with being home to largest vaccine manufacturer.

It took Supreme Court of India's criticism for this government to finally get their act in order on Covid Vaccination Program.
The title of the article is ambiguous to the point of being deceiving. In fact:

“The organisations announced on Wednesday that viewers would not be able to publish anonymous comments on stories about COVID-19.”
As a successful power user making physical objects, I'm wondering how you work without dimensioned drawings?

If you want to learn the distance between two arbitrary points on a part, you need to read the code, and sometimes even do some trig even if you wrote the code. Having markings on the axes is not the same thing: you really want to select two points on a drawing and say "show me this".

This is my biggest wish for OpenSCAD.
So a pig is not worth saving your life because this species is subpar but good enough for being eaten?
Mark Zuckerberg hasn't decided on Facebook's new name despite rebrand looming
Agreed. It's more like switching from latex to enamel paint, and then someone inventing a new type of paint that has some better properties, but some worse, and is situational.

Nothing is static for any discipline.

Doctors have a constant influx of new medicines and procedures. The doctor that operated on my wife had heard of a just-in-case tip that ended up saving my wife from having full-blown have-to-get-kemo cancer. Most doctors still don't do it that way, and it's an incredibly rare situation... We got super lucky that that doctor was on the ball.

And while it's not life-threatening, I see the same kind of thing in webdev constantly. New 'best practices' come into effect all the time because of security vulnerabilities, and new tools come into existence to make hard things easier.

Yup, those same tools sometimes make easy things harder, but that's the trade-off. You do not need to make the switch. But it has its benefits.
PHP’s popularity is not only due to Wordpress.

The language is simple and accessible.

The ecosystem and community are ginormous. Are you stuck on something? A quick Google search has the answer. Finding PHP developers anywhere is also easy.

It’s fast. No, really. And keeps getting faster.

It’s easy to run directly on your local dev environment.

It’s boring in a good way. Evolution is incremental. Breaking changes happen, but nothing unmanageable, and every version is supported for a long time.

There’s not a ton of confusing options to choose from, with the risk that they will eventually become obsolete/un maintained. Laravel and Symfony are pretty damn good.

Need to get something done quickly, just for a prototype? PHP ‘s a good choice. You will get there quickly, even if the code is not something you’ll want to show off with.

Need to choose a language for a web application that need to be maintained long-term? PHP is not a bad choice either, for all the reasons mentioned above.
CURSE OF DEVELOPMENT: the depth of any transaction is limited by the depth of the shallower party. If the situational developmental gap between two people is sufficiently small, the more evolved person will systematically LOSE. A trivial example: if you speak English and French, and your friend only speaks English, you will be forced to converse in English.

Full quote from Gervais Principle here: https://dustingetz.com/d4337a942961484b8b408d4b1963e161

My transition from developer to founder is marked by needing to win more (all) transactions with minimized variance. As Warren Buffet says "never lose money", you might think it's +EV to apply Kelly Criterion here and risk a bit to maximize alpha, but in soft human affairs there are too many unknown unknowns to quantify risk, you need to keep it simple and not lose transactions. IMO
It probably is cheap, but one would have to sustain the network until the pandemic eases.

Greyhound seems like the kind of iconic US company that would pique the interest of Berkshire Hathaway -- it is telling that BH didn't pick it up.
Egypt detains artist robot AI-Da before historic pyramid show
Dupe. https://news.ycombinator.com/item?id=28942200
Like any niche, it's hard to know where to start and it also depends if you are more interested in HW design, or the firmware side of things. You need some knowledge of both since they overlap in many areas in embedded, but they are different paths.

Assuming you mean more writing firmware, the biggest thing to understand is that embedded is all about C. You'll absolutely want to learn the basics of C and properly understand pointers. A key part of C is understanding data types (signed, unsigned, float) and notations you rarely used in other fields like hexadecimal which is omnipresent in embedded. If you grew up learning C#, node, etc., you likely don't properly appreciate these fundamental types, and you'll need to learn those fundamentals, but that will come with learning C.

For books, I like Jack Ganssle's "The Art of Designing Embedded Systems". He does a good job of laying a solid foundation for planning embedded projects. It's opinionated, but you could do worse than start with his ideas.

And start with a professionally maintained foundation for your projects. Arduino is good for some people, but it won't scale and won't give you the skills you need professionally, and scripting languages like MicroPython won't help you later in life. Use a language (C) and platform you can go to production with, such as Zephyr RTOS, Azure RTOS, FreeRTOS, etc. It's more work and harder up front, but the investment will pay dividends and you'll learn good habits from the start.
If someone ask me what my salary is I usually say that I have no problem at all sharing what my salary is if I can ask them the same and also agree on keeping it to ourselves.
“LTS” means “stuck with obsolete software”.
Conspiracy theories aren't 100% irrational. It's irrational to assume that they are all 100% wrong and don't contain any correct or at least useful information. People do make plans together and influential people do tend to hang out together... It's not illogical to assume that they hatch plans to maintain the social order in a way that works for them and that some of these plans will be at the expense of the general population. Of course saying this isn't mathematically rigorous but each person who reads this should know axiomatically from first hand observation that rich people do hang out together and that rich people are generally good at implementating their visions/plans (how else they got rich?).

This kind of logic is acceptable because decisions about one's life can never be made on the basis of mathematically rigorous information because you very rarely come across such kind of information in your day to day life. To suggest that the mainstream consensus is always accurate is to deny past history and present reality. No matter your religion, you can always point to incredibly large groups of people who believe some facts that you perceive to be incorrect.
Tell HN: You can't take Screenshots from Netflix on Windows
What black magic is this?

I opened up Snipping Tool while watching Devil's Advocate (1997) and tried to get an opportune screenshot. But alas, the film area became black as soon as Snipping tool cast a cropping window above the page. News, to me.
The link to the GitHub issue is referring to the old archived repository. This should be the link to the most recent discussion: https://github.com/CadQuery/cadquery/issues/371
People don't value money linearly. You wouldn't pay an additional $10 for a cup of filter coffee, but most people wouldn't think twice about paying an additional $10 for a car. But it's the same amount of money, so surely that's irrational in that situation.

In other situations it makes complete sense. If you have $1M, losing $10 isn't nearly as big a deal as when those $10 were all you had.

If you try to apply game theory to economics you apply a utility function to money to model this, and a logarithmic function maps quite well to how humans think about money.
Yeah, desktops vs laptops.

20W parts vs 84W parts.

Honestly, I'm not sure what we're discussing anymore. If you don't need (or want) an all round better experience then that's on you.

But don't go saying that these things are too expensive or that the performance isn't there. Because it is.

If Apple had released something mediocre I'd understand this thread, but this is a legitimately large improvement in laptop performance, from GPU, to memory, to storage, to IO, to single threaded CPU performance.

Everyone kept bashing AMD for not beating Intel in single thread.

Everone bashed Apple for using previous Gen low TDP intel chips.

Now Apple has beaten both AMD and Intel in a very good form factor, and people still have a bone to pick.

Please understand that your preference is yours, these are legitimately good machines, every complaint that anyone had about macbooks has been addressed. Some people will just never be happy.
I think it's because many websites are incrementally built on. It's a case of tacking on this extra bit of complicated functionality vs rebuilding the entire site from scratch and migrating existing content to it in a new tool.
Trade-in value on electronics is way lower than resale value. I’ve sold a couple 2014/2015 MacBook Pros this year for $700+ and probably could’ve gotten more had I held out.
I think even Gab is a mastodon instance as well.
Heh, pigoons from Oryx and Crake (Margaret Atwood)!
Do you feel similar with artificially grown organs? Since they were never part of a real human?
In the 90s, when FM was considered inherently uncool, the DX7 was the keyboard du jour to use as a controller and subsequently smash to pieces in live sets for industrial, ebm, techno.

They were dirt cheap and as mentioned, insanely solid.

Same thing happened to to the Casio CZ line. I bought one at a time they were very undesirable for $75 and they now go for $500+

There's a financial lesson in here somewhere
I'm still using my 2014 16" MacBook Pro too - the SSD has made such a dramatic difference to the performance of machines that I think in general they age much better than previously.

I'm not a heavy user but that machine can easily handle xcode Objc/c++ programming quite handily.
I didn't say you couldn't, just that the 'nonsense' is actually quite nice to use in practice.

Lets play Rosetta Code for lazy attributes:

package Something;
use Moo;
has hostname => ( is => 'lazy' );
sub _build_hostname { chomp(my $x= `hostname -f`); $x }

How would those look in Python or Ruby?

Meanwhile there are many things not on that page which Perl can do and Python and Ruby can't. (most related to taboo runtime changes of global state which are not recommended, but come in very handy when debugging)
I was commenting only on whether “6 years is beyond the service life of any machine”, which I tried to make clear with my quoting and reply.

I’ve got no bone to pick with Apple and am not making any broad anti-Apple or anti-M1 case. (I decided to [have work] buy the very first MBPro after they un-broke the keyboard and am happy with it.)

Of the five to eight topics you raise after your first two sentences, I said exactly zero of them.
The title is refering this tweet[0]. The OP had a tweet with just the IP adress, and that tweet was DMCA'd.

[0] https://mobile.twitter.com/RayRedacted/status/14509454451995...
Anecdotally, I manage fine with just a multimeter for debugging my hobbyist projects. I generally use ARM Cortex M0 or 8051 microcontrollers. 90% of debugging, as in any domain, is just thinking hard about what the problem could be and trying out all the hypotheses. Not to deny that a logic analyzer and oscilloscope could be useful, but I wouldn't want someone on a budget to be discouraged into thinking that these things are necessarily required.
Is it just humbleness ?
> 6 years is also beyond the service life of a(ny) machine.

I'm still on 2013 MBP which doesn't show any signs of deterioration (except battery life). It's got retina, fast SSD, ok-ish GPU (it can play Civ V just fine).

I'd gladly pay for a guarantee that the machine will not break for the next 10 years - I think it will still be a prefectly usable laptop in 10 years from now.
IoT security tool SPIN releases version 1.0
This really resonated with me. When I was learning to program I had a mentor (who was just a few years older than me at 17) who was an amazing learner but was an incredible teacher. I didn't have any money for programming books and libraries at the time didn't carry many.

His ability to explain the complexities of Pascal, Basic and eventually C++ totally changed my life. I never became an amazing programmer, but I was a hacker at a time when that was valuable and it completely changed the trajectory of my life.

He set the bar for simplification of a subject and edification of an individual. It's something I look for and at some understanding someone's ability to explain something became the primary way for me to assess their intelligence.

The best way to do that? Ask really stupid questions.

That has really really worked against my in some contexts. I spent a lot of time working for a large US company and while many of the smartest and most capable executives LOVED those conversations where would explore the outer bounds of their new ideas, many of the mid level mangers truly thought I was a f$#ing idiot. They could not get past their impression of my after one simple, stupid, question.

I still don't know how many people I have left in my wake who truly think I am dim. I don't really care, but it took me a lot of years to realize how it was perceived.
Dutch forensic lab says it has decoded Tesla's driving data
Good old Curningham's law
Clippy is back with AI and he means business this time, punk.

;)
Slightly related video [0], specifically to I was shocked that somebody would deliberately do the wrong thing in order to reduce the odds of potentially looking stupid

[0] https://www.youtube.com/watch?v=o8BkzvP19v4
I think they are describing more of a primitive reaction than a rational opinion. Much like someone may have no ethical issues with eating tarantulas but still be disgusted by the idea of actually doing so.
What if you knew that the difference could be e.g 5x or 10x?

Wouldn't you be worried that it could affect that friendship?
> Going into an Apple store and asking for (and buying) the computer that comes in the smallest box, which I had a good reason to want at the time

This is such an odd example. Because OP makes an uncommon request, the sales person can't parse what this request is about, and neither can I for that matter, and OP doesn't give a reason.

So the sales person thinks: What an odd request, which in turn is parsed by the OP as sales person thinks I'm stupid for asking something that the sales person doesn't understand. In the end, OP might want to feel superior by asking stupid-looking questions on purpose and feeling above the sales person for not being able to get to why this question is asked.

Maybe just explain WHY you ask this or that and nobody thinks you're stupid anymore.
The gap between mathematics and physics is big, starting with the digital paradigm that dominates math, but also stuff like relativity and time don't properly exist in mathematics and mathematics routinely forgets about them. Time, law of nature, matter itself - anything disappears when you don't think about it, as if it's solipsism. But it never happens in physics.
If you look at the web by urls not weighted by traffic, you’ll come across the unfathomably large swath of autogenerated spam blogs. For every legitimate business in the world there are 100 people trying to ‘make money online’ paying for scripts that register and post spun content on thousands of domains. The long tail of the internet is an absolute wasteland. It’s tech choices should have little bearing on the rest of us.
I'd maybe not rely on information from a Total source, even if they themselves are nice people. The company itself has been waging a decades long campaign to discredit global warming which they knew was happening (they're in the headlines for it right as I type) so it would be out of character for them to be internally saying "Wow, offshore wind is amazingly cheap, no-one is going to want to buy fossil fuels once this catches on". That's not going to get you a promotion until they've managed to totally extract themselves from the fossil fuel business.
Java 17 is born, but banks prefer other programming languages
What's the screen for, then?
Conspiracy theory is the word used to discredit truth.
This seems like a very hostile reading of GP's comment... GP never said they eat pig (for all we know they might be vegan), and it's acknowledged that it's an irrational feeling. It doesn't really make sense to then challenge that feeling based on a rational argument.
Yeah. My current take on the shit coder jobs I've taken, as compared to the rocking blue collar jobs I've performed, is when you're a coder you're getting paid to learn.

Paid to learn. Does that sound noble? Maybe it is. It depends what you're learning, frankly. Learning to code for the very first time, and seeing the fruit of your imagination materialize in front of you? Great! Learning the idiosyncrasies of a system that was designed to dodge responsibility?
There is an element of truth to this, but they are easier to use than explain.

Part of the hardness comes from people wanting to use monads as an entry point to category theory.
> But it's the same amount of money, so surely that's irrational in that situation.

Not necessarily, since many people buy coffee way more often than they buy a car.
And you can’t take screenshots of Hulu on iOS.

DRM.
I remember that episode. The CEO of the pig company was a brain living in a metal box with legs.
That's a landing page, not a social media site
> Naturally, the established powers and polite society didn't find this to their liking. We all know how his story ended.

Socrates was sentenced to death not for exposing how little everyone else knew. The esteemed philosopher was sentenced to death because he was deliberately annoying people - like a fly - with badgering questions that would force the questionee into a corner.

Today we call this method of exposing contradictions in one's mindset the Socratic Method.
They could not really help it. It was not that clear these days what would exactly succeed x86 as the mainstream 64-bit architecture.
I read this example years ago, and it didn't clear anything up for me.

After half a year of trying to understand monads, I saw a video by MPJ/Funfunfunction [0] and it finally made sense.

[0] https://www.youtube.com/watch?v=9QveBbn7t_c
Perhaps it sounds grim, but it seems no different than what we're doing.

Do we base our morality on the patterns of the synapses or the shape of the bodies? The former makes more sense to me.

To be absolutely clear, this is not an endorsement of modifying humans for the purpose of farming organs. It's more about highlighting the thin moral line that relies on the body shape.
Everything you say is also true for Java or Kotlin, which are better languages and have even better backwards compatibility story. You also left out all the downsides of PHP so it looks more flattering than it should.

So while PHP is ok, why choose PHP when you can choose Java/Kotlin?

The only benefit of PHP over Java/JVM-langs is probably memory usage, which is generally not that important of a factor in today's environment where memory is cheap and devs are expensive.

I think unless you are already super familiar with PHP it's probably not the ideal choice. You could do worse, but you can also do better with Java/Kotlin/C# all of which have the good parts of PHP but none of it's bad parts, higher quality ecosystem, higher quality devs, better tools, faster runtime, etc.
Will email you picture ;)
I'm guessing they themselves copied from Margaret Atwood who wrote exactly the same idea in Oryx and Crake (2003)
You surely need a fair measure of confidence and security to absorb the downside risk.

It’s a lot easier when you are established in a career/network/relationship and have erected a safe space around yourself. You can unmuzzle your inner confusion without threat to your status or ego, as you know you’re not really stupid.

Not so easy as an outsider, or as a junior where you secretly worry that you might be stupid.
I see, so he is suggesting `div.foo.bar`, not `div.foo.foo` which is how I understood it.
SPIN is a project to visualize which devices connect to which endpoints to aid in creation of firewall/MUD rules. It can be placed on a router or as a bridge on all kinds of devices.

It's in dire need of better marketing, but I think this tool can be very interesting to researchers and people worried about what their IoT network is doing.

More details can be found here: https://spin.sidnlabs.nl/en/

A video of an older prototype shows off what it looks like in use: https://www.youtube.com/watch?v=jynMCQ1fyvM
Want to buy a wedding dress online boutique
They censored the people from discussing the truth. This is what nazis do.
Login and Registration Form Using HTML and CSS and JavaScript
hyperpigs are people too!