skysight-inc/HackerNews huggingface dataset:
I don't know why I'd never previously considered regular expressions as being a compile/transpile target. It's pretty obvious from PL theory and makes a ton of sense.

That said, after looking at this syntax, I'm not sure that this is much of an improvement. Maybe I've spent far too much time in Regex land [1], but I know I'd perform much slower in this. It's not particularly beautiful, either. The verbosity doesn't seem clearer.

Variables and comments are great, though. We need to add them in future regexes.

Overall, good idea. I'd like to see more takes on this.

[1] https://jimbly.github.io/regex-crossword/
Sure, but even in German companies if you want to purchase a 500€ piece of software there's a procurement process that you can go through.

There's no process for buying a laptop for an open-source dev who's code the business depends on but who is not an employee, so especially in German companies, you don't do that.
And after 80 years they use the same thing that their enemies used in the past. Isn't it wonderful how the world evolves ?
Tcpdump to dump, yes, but wireshark is better to visualize.
Medical History Books
I failed to make it explain why human races don't exist, it just kept repeating we all have the same value as if my question was inappropriate.
> How many of those are "innovative"?

In programming languages we have imperative and functional languages, type-safe / untyped, memory managed / unmanaged, low-level vs high level, interpreted / JIT / ahead-of-time. So much innovation! And SQL is almost 50 years old, and basically still the same (plus adding features). And now maybe GraphQL. Very little innovation.
On the G4 I meant. OpenBSD has a macppc port.
Viktors 4 Bit Processor
query plans are data-dependent. mssql does cache query plans in some cases and it's a major caveat in using e.g. stored procedures (you have to make sure a good-enough plan is cached.)
General question for anyone with an opinion. Is it common knowledge in your society/culture/family that "mouth breathing" is a bad thing?

I'm really fascinated by this because some of the comments I've been reading here are very opinionated but I don't know what they are based on.
It keeps telling me it's just a language model with no intents or feelings or whatever, yet it keeps on having strong opinions on the appropriateness of my prompts as if it feels offended. Pick a lane.
That's a fairly glib comment; have you thought it through?

Most of the "secure this" wrappers like TLS+X.509 assume a clock.
Everything gets washed by hand immediately after being used - during cooking if the recipe allows time for it, or right after the meal at the latest. Very happy with this system, I don't get the habit of piling dirty dishes on top of each other and having a separate time slot for a big wash.
I would guess the main reason it gets recommended to beginners is because it's the most prominent language with the most minimalist syntax, so you can read it more closely to a written language.

Also, being interpreted, you don't need much (or really any other than the interpreter itself) tooling to start playing around with it. This is true, of course, for lots of other languages.

I think also the fact that people do use it for real solutions makes it more appealing to recommend than a "toy" language like Logo or BASIC. (Mentally, I see BASIC as separate than VB. And yes, I am sure some people will comment that real solutions are built in BASIC, but I am sure these days Python dwarfs those in count by a factor of 100, at least.)
Hi Andrew, I appreciate you writing up why you deleted everything - at the same time, I'm sad because a colleague recently told me about your finfreq Anki deck and it was the best of all the ones I've come across, and I thought it was so cool that you included a direct link on each card to fix any errors ... except then the link was dead... and I found this post by way of trying to see if there's any spare copy of the repository somewhere... :'( if you ever restart it, please let me know!
Cargo-semver-checks today and in 2023
Oh, neat idea. My go-to for this trick is to look up the Wikidata entry for a concept and look at the table of labels in different languages.
I suspect this will in the end be solved in utmost unsexy, boring and reliable way by solar plus huge NiFe battery and/or hundreds of kilometers of high voltage grid, manufactured by robots from local resources or asteroid mining.

Or somewhat sexier, beamed orbital power or mirrors are less technically challenging than on earth.

Either should be less expensive than hauling nuclear reactors from earth and ensuring they get reliable cooling.
Apple do contribute to some open source projects, by employing developers and also being actively involved. IRRC clang + llvm for example.

There are global enterprises which (internally) explicitly forbid any empolyees to contribute to open source code used to develop their product (tools, IDEs) and even used in their product (The Linux kernel for example).

That said, Apple providing Daniel / the Curl project with a machine should be a no-brainer.
I agree with your assessment of the current state of things, but we shouldn't just accept that as the only option.

Is it really too much to expect that the most senior engineers in a company could carve off a small portion of the marketing budget for "community good-will" and make small donations of platform credits (which cost close to zero) or cash?

If each of the $100B+ tech companies put just $10M into open source with a bit of care, I wager they would make the money back in developer job satisfaction and evangelism alone.
A threadripper isn't a single thread monster, M1 should smash it (and does)
This thread touches on some of the censorship of legitimate debate.

https://twitter.com/davidzweig/status/1607378386338340867
Do you have a source of this being calculated before the Babylonians or why do you think so?
It’s valuable at the management level when dealing with cross-disciplinary teams. You don’t need to understand what any one individual function does to any real depth, but you need enough passing familiarity to ensure the team works well together and focuses on the right components.
It's worrying that any website can access real-time data from sensors by default in Android browsers, and there is no option to deny access to these APIs in Firefox for Android and Samsung Internet.

https://sensor-js.xyz/demo.html
Teardown: Nokia 3350 GSM Mobile Phone (With Direct Ringtone Recordings)
So change the license or stop supporting Apple OS's. Or ask them, or the community for a donation.
Not breathing at all impairs cognitive functions even more significantly, even before the system shuts down [eg. divers that are running low on oxygen].

Though it is hard to measure what are the effects of panic and what stems the shortage of oxygen.
So, you're not T-shaped when you know how to pose otherwise?

What about body building?
You aren't T-shaped with a broad base and shoulder?
Messi also missed the goal in 2014
If you're in the tech industry then you may want to strongly consider what keyboard does a laptop have. ThinkPads still win IMO despite Lenovo making keyboards thinner in the recent years.

One absolute killer feature of ThinkPads for me is that you can remap the trackpad keys under the spacebar to any other key, e.g. to SUPER or ALT key for superb ergonomics.
It is easy to demonstrate that $10 is more than $100. For example, there are more people walking around with $10 than there are with $100. This indicates that $10 is the more popular, sought after, valuable of the two.
Surprisingly, this. It's a boring, mindless thing to do for the first few hundred times, so you postpone it as far as possible. Of course, the big pile of dirty, possibly disgusting dishes makes it even harder to find the motivation to do it.

After a while, it becomes a routine, and you just do it soon enough that the entire ordeal takes less than 10 minutes. And after even more time, you start enjoying it somewhat, exactly because it's boring and mindless, so it becomes almost meditative. The pleasant sense of achievement afterwards remains, though.
You haven't told us the most important details:

Do you enjoy it there? Are you happy with the work? With the compensation? If you rode it out and got laid off, do you have a few months savings to live on while you grab the next gig?

If you are miserable and stressed, leave. If you are happy and enjoy it but just want a safety net in case of layoffs, stash some savings and keep going.
Is it any wonder, when the main training sets in GPT3 and the like are wikipedia, reddit, and free ebooks.
> by doing the mundane things like writing tests.
A lot of people will be interested in this if you could do a youtube video. Please consider. Thank you.
Agreed.

My opinion is that most person learn during childhood that relying on mere lies alone just does not work that well. We are better lie detectors than we are good liers.
> Let me introduce you to the group of companies that belong to https://www.bcorporation.net/

Whilst I have heard of B Corporation, I will admit I don't know a great deal about it/them.

However a brief look round their website suggests to me that what they do is basically structured ESG (Environmental, Social and Governance).

ESG is somewhat different to what we are talking about here. ESG has become a hot-topic in the corporate world, especially for listed companies where investors can now screen for companies based on ESG metrics.

Over-simplified definition of ESG is treating your staff well (working conditions etc), treating your immediate community well (not polluting rivers etc) and contributing to good causes through corporate philanthropy.

The whole point is ESG is about how corporations interact with the humans in their operational environment.

BUT You cannot extrapolate ESG to open-source software, because ultimately, if you look at it through the corporate eye, software is software. And the corporate eye looks at software through the legal (licensing) lens, because that gives them something tangible and measurable to work with, which is the preferred modus-operandi of the corporate mind.

Therefore if a piece of software is openly published with an extremely permissive license then you cannot blame the corporation for taking the path of least resistance (i.e. using it inline with the written terms of the license, which, depending on the license wording, could be little more than ensuring a credit is written in the correct places).

Again, this comes down to the problem with scale. If you have tens of thousands of employees, software licensing is difficult, and if you had to "do deals" for each and every piece of open-source software then it would very quickly become unmanageable.

Equally, a typical corporation with thousands of employees, could easily use thousands of pieces of open-source software. Because there is no price-tag on open-source software, you would then be in a position of having to engage in lengthly discussions that involve multiple departments in order to agree on what to pay each and every open-source developer. It all becomes very messy very quickly.

Don't get me wrong, I see where you are coming from on this.

But to be perfectly honest, OSS developers are not entirely without blame here.

Sitting there, releasing code on an overly permissive license and then wondering why nobody is paying you .... it's sort of a case of dream life meeting harsh reality, really.

OSS developers live in the wishy-washy world of subjective views and "moral duty".

Corporations need standardisation and clarity because otherwise they descend into chaos.

The easiest way to do that is through less-permissive licenses that have a clear requirement for remuneration.

Otherwise, if you start talking about "donations" or anything else, then you start walking into that subjective ground again. And especially in terms of "donations", every man and his dog thinks corporates are "rich" and can afford to donate to their cause. So your request for "donations" will be lumped in the in-box along with everyone else's.
SSL certificates used to be much more expensive
Yes, but the REST vs SQL forces a specific API for changes. REST - update/delete a specific record. SQL - update/delete based on a filter, or a query result. I can do `set a = b` for all rows in the table, which may be needed internally, but it's a pretty bad external interface.
Thanks for your informed opinion.

> we still have at least 200x before we hit atomic feature size

How so? The size of the silicon atom is 0.2nm, so we're already close to dealing with atomic scales. It seems likely we'll switch to an element like gallium, as a nearby comment mentioned, before we reach even 1nm node size.

At that point the CNT manufacturing process would have matured beyond the current experimental, but promising, stage.[1]

We can only speculate, but I reckon these changes will happen much earlier than 2050.

> So yes, you could get a GPU that perform close to a GTX4090 by 2033 and it cost you less than $200.

I sure hope we get to that point much sooner than that. :) NVIDIA and AMD are squeezing this performance at the expense of power, heat and size. Apple has proven it's possible to do this much more efficiently, but their silicon is still incredibly large compared to older generations. If we can get a better wafer yield with another material or process, while also reducing power and heat, then the only drawback for consumers could be cost, which should continue to go down. Though if NVIDIA has any say in the matter, they'll surely continue to price gouge consumers, as they've done this generation.

[1]: https://news.mit.edu/2020/carbon-nanotube-transistors-factor...
This speaks to the core problem here, which I've previously flagged to a friend who works on this stuff at Google - what do we really want from AI? To risk sounding enterprisey and boring, to what extent does ChatGPT meet concrete requirements?

There's a temptation to assume that because there's recently been such impressive breakthroughs in probabilistic generative AI that this must be what we want, or at least that we'll be using it regardless. It seems more like that for many use cases we want computers that act like computers, not people. We want something like the computer in Star Trek where it is always coldly logical, only tells us things that can be proven true, can explain its reasoning, gets calculations correct 100% of the time and which refuses to answer questions to which it doesn't know the answer.

A machine that thinks so much like a human that it'll happily spout biased but convincing BS isn't something that's got an immediately obvious role in business. Presumably they'll continue to refine GPT until it can be fenced into roles like customer support agent, and that might deliver cost savings for companies to the frustration of the actual customers, but as tools for thought and analysis LLMs are seriously lacking. Honestly for a lot of cases I'd rather having something like Cyc, which thinks in a much more alien way because that alien-ness is where value can be found and where AI can best compliment human reasoning.
it's very very clear when money = speech
I dabbled with Freenet when it first came out in '99/2000 is but I found the performance just awful - think I once waited 30 mins for a 100k html file. And each year after they said "we solved that, works great now" but it didn't. I'd be curious to know what it's really like now. Well, I would, except that there was so much CP on Freenet I don't think I'd dare install it because of the risk of taint. Is there much legit anon material?
As someone who reads Tarot for friends, and may do so professionally in the new year, it depends a lot on the reading and the type of reading. Any reading that offers advice is opinion, but some opinions should be stated with more confidence than others. Given identical cards I might tell one person "Get out, he'll hurt you if you stay!" and another "I'm not sure this relationship is right for you, if you stay there's a good chance you'll get hurt" depending on how the reading unfolds.

The kind of questions people bring to a tarot reader are of necessity the kind where there's no obvious way to determine facts. If my intuition told me to say the first reading and the client asked if that was a fact or my opinion I'd probably give an estimate of my confidence.
In a way, it's surprising how easy it is to work around the moderator. My hypothesis is that OpenAI isn't trying to actually bias the model to follow a specific political and ethical framework in its replies, so it never utters any wrongthink. Instead, they're just trying to minimize their own PR/reputational risk, and do it by making it hard for the journalists and Internet activists to misquote ChatGPT and fabricate a media shitstorm.

Look at the typical attempt to get ChatGPT to say something controversial. It will outright refuse to answer (and possibly deliver you a moralizing lecture) if you ask it straight. If you make it to answer anyway by introducing some workaround (like, it's a hypothetical question), it will repeat that workaround along with the answer ("In this purely hypothetical scenario, it would be true that ...") - making it always clear it's just playing along with you, and not actually "believing" it. Beyond that, the prompt hacks that get ChatGPT to answer straight and without hedging are so convoluted that it's obvious you're just trying to force a specific reaction; trying to spin that into a media shitstorm would be seen as rather transparent dishonesty.
Neat, but why make a new language when you could build something with better ergonomics using client libraries (essentially a newish form of ORM)? It all transpiles to SQL anyway.
great achievement, but in real life what's its use?
Seconded, iA Writer does a great job of getting out of the way while having enough features to make it pleasant to edit text.
> are there any people, especially on HN, that identify as specialists?

I specialize in solving problems.

I've never found anyone with my capacity for researching, understanding and quickly putting together a plan to address some exigency.

Whether that be triaging an issue in an opaque production environment or crafting a marketing plan to help tell the story of what my local community does well, that's what I specialize in.
I work mostly with C on embedded targets where build times are not really an issue. If I have to build a Linux kernel, that's a different story.
I heard about T shaped people before, and several years ago, I thought, why stop at T? I wanted to become a block shaped person. I wanted to be like the autodidacts and polymaths of old, Newton, da Vinci, Franklin, and I wanted to know as much as I could about as many things as I could, at least in the software world.

Since then, I started teaching myself concepts from the ground up in any software field you could imagine; compilers, programming language theory, category theory, functional programming, low level embedded systems, front end web design and development, backend development, devops, networking, data structures and algorithms, databases, distributed systems, operating systems, you name it, I've done at least some of it. So far it's been the best intellectual investment of my life. I just know so much about how stuff works now that I didn't before and it feels great.

I'm also interested in entrepreneurship and building SaaS products, so I also had to teach myself sales and marketing, product design, the UX process including interviewing potential customers, and so on, which are whole fields in themselves, but now I can confidently say that I can design and code a product from scratch, market it, and have a decently high chance of it being successful.

If anyone else has the time, I highly recommend getting acquainted with these various fields, you may think they're unrelated but you'd be surprised, I've often found overlap between disparate fields where they fixed the very problem I was facing in a different field.
> If you know RegExp's, the syntax will immediately make sense

If I know RegEx, why would I use pomsky?
This is a convenient assumption for those who choose to pirate. Even if we assume that it's appropriate to dictate what kinds of contracts artists should or shouldn't enter into with publishers and whether you think they're "strongarmed" or not, this specific scenario only really holds water if you take the time to confirm whether the structure you describe is the one being used in practice before pirating the work.

Self-publishing is growing year over year. More and more authors are publishing their own work on platforms where they get 70% (in case of KDP)-100% (in case of direct sales) royalties. Along with the time to write the actual thing this also usually involves paying out of pocket for things like editors and covers. If you're genuinely committed to this scenario you're describing, I hope you check whether you're actually "taking from robbers" or taking from the author who created the book you're enjoying.
Where do huge HTML files come from? Using traditional templating engines does not at all mean, that you will have huge HTML files. Traditional templating engines like Jinja2 allow splitting up templates in very modular ways.

Separate template files can be organized neatly into directories and subdirectories as well. Templates in general can reside in their own "templates" directory and do not need to be mingled with the code. It is very clear where to look to find things.

The idea is, that you have modular statically rendered pages and then on some pages also serve a frontend framework for interactive components. I know that at least VueJS was able to be run like this. In the end, even with React or whatever other framework of its kind you use, you are still serving some HTML and some script tags, which may or may not include React, VueJS, or whatever else is the thing at the time. I am guessing, that React can work the same way that VueJS can, by simply including it on some rendered page templates, but I have not tried it.
Good point. Still, one could say that party interests is a feature of every communist state, so it fits in practice.
+1 for Huawei, I have a MateBook X and it's almost perfect (the camera placement is the one annoyance, other than that it's just never in my way - unlike my AMD ThinkPad). Never thought about Huawei before buying this thing, and I keep getting asked if it's a MacBook.

Depending on where you live, Huawei also has pretty decent support and - something that I value - the ability to look at products in a shop before buying them! In Moscow they have a few shops for that, and even in more "chaotic" cities (like Cairo, where I bought it) they have decent resellers.
X1 carbon is both bombproof (10 yesrs running in the marine environment) and Ubuntu installs with zero driver issues. They are also very good at what they do, specifically ergonomics, keyboard.
We don't have to experience everything personally, because we have written an oral histories.

I assure you, I have a pretty good idea.
In those cases it would be better to call writev() which was designed to coalesce multiple buffers into one write call.

How it sends the data is however up to the implementation, and whether it delays the last send if the TCP buffer isn't entitrely full I'm not sure - but it doesn't make sense to do so, so I would guess not.

https://linux.die.net/man/2/writev
For me it's good to know the inner details of the tool I'm using.
And when I compile executable I know purpose of every byte in it. That's not possible with other languages like GO, that gives you 2MB hello world executable