skysight-inc/HackerNews huggingface dataset:
Lifesaver! Without this, error handling in bash functions is a gigantic, unintuitive pain. Thank you for bringing this to my attention.
You can look back at least as far as Ada83 to find a specification for a library manager as part of the system, where precompiled modules are stored in a format that lends itself to faster compilation.
So let's say I'm a book seller, offering books on a variety of topics.

Some particular country does not allow books promoting religions other than their official religion. What am I supposed to do? Refuse to sell books on pet care or calculus or gardening in that country because I can't sell books about Druidism?
Nice. Being thinking on doing the same for an ETF composite I’ve been following. I’d love to see how it changes over time
all of those are observational studies, which are pretty much useless for determining causation.
On Sparks Before the Prairie Fire
Std: Variant is broken in Clang, pointer aliasing and unions are broken in C++
Moore’s Law of Mad Science: “Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.”

I'm happy that GPG/PGP etc. are a bit difficult to use, because it makes the IQ threshold necessary to coordinate nastiness secretly a bit higher.

Remember how great the blogosphere was prior to the advent of social media? Social media made "blogging" a little more accessible and it became a cesspool. Speed bumps can be a very good thing.
It's a bit surprising at first, but I'd like to think most people deeper into bash are aware of Subshells.
My understanding is that you can. (Again, you can sue for anything.) But if the original suit was more or less a reasonable dispute, you generally won't win--and now you'll be out even more money.
The argument this relates to - will machines be able to think - seems to have died out rather. Back in the day people worried about things like John Searle's Chinese Room argument as a philosophical proof that computers wouldn't be able to understand stuff. I always thought the Chinese Room thing was a bit silly and the Meat story a good rebuttal.

I guess these days computers have advanced enough that the worry is more will Facebook's AI use it's understanding of us in bad ways rather than will machines be able to understand.
How to change the port of a Next.js application
From the essay:

> A group of 10 people within a large organization is a kind of fake tribe. The number of people you interact with is about right. But something is missing: individual initiative. Tribes of hunter-gatherers have much more freedom. The leaders have a little more power than other members of the tribe, but they don't generally tell them what to do and when the way a boss can.
It's a recent EU directive (2017 I think) and might not be implemented in every national law yet, I don't know. A lot of companies haven't caught up yet and enforcement might vary.
Teachbook.com was finally renamed to TeachQuest.com 2 years after the lawsuit
Yes, it was an early suggestion as it doesn't feel right to depend on twitch/youtube for a Open-Source distro conference.

C3VOC is the main stream and are kind enough to do a restream towards the twitch channel to have some better reach, along with the chat.

I'll do a writeup of all the Open Broadcaster Software that has been done along with an FTP drop with the resources :) Everything is CC-licensed as well.
Access to the right compute infrastructure. While the training itself cost 4.6$M (unsure if this include hyper parameter search done on smaller models beforehand), even if an open source organization had that money available, I don't believe they would be able to access the kind of infra needed to train GPT-3. The closest thing would probably be some TPU pods on GCP, but even then, I think the biggest pod you can publicly access is too small (unless you are ok training for 3 years).
'You cannot program without mutation in the general case. You simply don’t always have the performance/power budget for it.'

So by 'general case' you mean 'every case'? Because to my mind, those instances you don't have the performance/power budget for 'it' are very much special cases, not general ones. It also seems a curious distinction; I mean, Python and Ruby both allow for mutable data, but are quite slow and memory intensive. Haskell doesn't allow mutability, but is quite fast, and also surprisingly memory efficient when written well. What languages do you consider to be able to address 'the general case'?
The problem isn't just due to climate change. It's also due to the constant destruction and expansion into natural/wild areas.
Best Fragrance Perfume for Women
> - Trap ctrl+c to gracefully exit (details here https://www.tothenew.com/blog/foolproof-your-bash-script-som...)

I'd rather that most devs don't touch that signal. Using that binding and having a GUI or CLI program continue hanging because the dev screwed up the cleanup is a real pain. And someone writing a Bash script is highly likely for doing something "very clever" with that signal to make my life harder.

Or if you're going to do something with it, at least make it clear you're trolling me. Show me a text add that forces me to choose my favorite Korean boy band before I can exit, or something in that vein.
https://outline.com/XarLGs
There are ways to sort to limit the vendor-based solutions in the Landscape and just focus on open-source projects by the Linux Foundation and others that are considered official projects. It is an excellent invaluable resource IMO and they've done a great job so far.
Headers not including other headers is a great thing IMO.

If you’re coming into a code base with new eyes there’s less confusion as to where things came from.

Of course if you’re reading code - ctags, and cscope are invaluable. I’ve yet to use this fancy new LSP stuff but it seems popular.

Convenience headers can be ok occasionally but it kind of runs in the face of writing modular software at times.

Syntax highlighting has caught a few mistakes for me in the past but I do think it’s kind of a crutch.
That's exactly the use case for me. I own a business and don't want to give out my personal number for anything related to the business side. Helps me stay organized. I know when a call is coming through I know the nature of the call before I pick up.
As domestic terrorist plots go, this was actually one of the more competent ones. In many such cases, the FBI undercover agents took a rather active role in advancing the plot, because the suspects were so clueless. If the criminal complaint here is to be believed, despite the presence of multiple moles, it was primarily the suspects who developed the plot.
> The asterisk is far too heavy for anyone working in a language that makes heavy use of it.

It has an alternate, lighter asterisk.
That's 2 families, not 2 operating systems. If you can tell me with a straight face that Debian, FreeBSD, and iOS are the same thing, then we're really not having the same conversation.
Yes, GPL defines some boundaries but as long WSL acts as stand-alone software and Windows doesn't link against it that's allowed.
Read my last paragraph. The point is that you can't jailbreak one without jailbreaking the other.
How is it avoiding subtle bugs? Looks like a sane default to me
What is the gotcha here? You’re telling it to pipefail and exit on fail, so it exits.
If it’s not by default there’s a reason. Bash is literally running commands in a shell session. Think terminal session. When a command fails, would you want the terminal session to end? That’d be annoying.

Same theory for unset variable. Referencing an undefined variable shouldn’t break your session. Why initialize it anyway? It’s more code to change if you don’t use it if you have to initialize it when it might not be needed. And, you’d have to call the script with A= just to check A wasn’t defined, and in the process now you have A assigned to an empty string, instead of only defaulting to one when called, which uses more memory and execution time.

The pipeline doesn’t die because && and || and parens are seriously helpful for one-liners.

Don’t think of it as a script. Think of it as a script for a shell.
It was weird to me that you said nobody needs virtual memory.

On Unix, any time you mmap() or fork(). And loading code from disk looks very similar to the former.
There's also freedos, haiku, and reactos.
Judge rules Apple can continue blocking Fortnite from the App Store
I didn't claim they were equivalent.
Agreed. You need to first have a good strategy, and then tackle the tactical points. Having a positive life is way more important than anything else. You can try to give yourself good sleep or good food, but if your life is miserable (not necessary poor, but of poor quality), you won't even have the mood to have good sleep/food.
Thank you for posting the actual number instead of just saying "excessive" or "megadose".

(It's true, I didn't read the article.)
I hope you're right!

My local neighborhood has about 70,000 people. Let's say 10% are on a network, how many of that 7,000 people do you need to 'ruin' it for others, or make it an unwelcoming place?

I've seen smaller forums and email lists suffer at much smaller scale.
Auto-formatting punctuation - or syntax. You can show it a few examples and it will insert punctuation into raw words coming in from speech recognition, or convert badly formatted Python into well-formatted Python. It can correct syntax errors in C++ (!).

More generally, it can convert text from a simple, unstructured form into more complex, more structured form, with just a few example transforms. It's astonishingly good at it, but I haven't seen much on the public net about it. I don't know why people aren't exploring it more tbh.
Seems to work great in the US, where the nutjbobs with guns and "muh free speech" are at the forefront of fighting against democracy and defending the party and officials doing the most to harm it.
Switching from Ubuntu to Arch as a teenager kicked off my professional career.
I don't know anything, but curious about it.

How far back would you want to see?

Should it hide after a letter or word is typed? Or a sentence? Or paragraph?
Apparently that‘s allowed as long as they specify an RDA of no more than 1.000 IU per day (averaged) on the packaging.
Progress 4GL was an excellent language for many years, a superb framework for building CRUD applications with inline data manipulation features that long predated Linq etc.

Eventually it fell so far out of the norm it became difficult to sustain as a career choice but it doesn't warrant your dismissal I think.

Agree the name change was dubious, though an understandable attempt to get away from dated 4GL connotations.
It’s not just the habitats that are complex, either. Intelligent mammals like whales and elephants, orcas and dolphins, actually have their own culture as well, and by culture I mean survival specific knowledge passed down between generations.

Simply cloning one of these animals and dumping it into the ocean reminds me of seal conservation efforts where seals were rehabilitated and then basically dumped into the ocean and swiftly eaten by orcas. A naïve approach is unlikely to work.
Better cameras, better screen, better battery.
>Nothing because Apple has ZERO, no place meddling in this business.

Not meddling means enforcing its TOS in an evenhanded way. Otherwise it's playing favorites.
The way this is worded, it seems like the author simply counted the number of posts with negative words in them. And then compared the number to last year.

In that case, the increase could be explained by more posts on HN overall. Without any change in "mental state".

Lets have a look into the calculations ...

Hmm.. as far as I can see, the calculations indeed do not take overall change in posts into account.
Probably Impossible Improvements to JavaScript
Is it a good model though to move the world forward?

If I just look at Tesla's battery day, the amount of effort that's needed to stop air pollution & CO2 emissions is huge, and it looks like vertical integration is winning, as car companies that depend on other companies to make those risks while depending on eachother are failing to scale.
Every time I hear such a story, it involves Gnome or X or some similar GUI issue.

I run Arch on headless servers and can't relate - maybe there's a connection there.
What could "meat" mean besides "the edible parts of conscious beings"?
Tiny sensors can hitch a ride on mothback
There is plenty of evidence to suggest it's not as bad as we thought if you search out there. You'll never see it in the popular mainstream news though.
Interviews → Cinedicate – The Truman Show
Part of this is also on the readers. Science is suppose to change as more evidence comes in. But, many people for whatever reasons ignore updates unless they match their narrative. Nuance is lost.
And even if Google did do the same kind of shit with Android, it has an open source base, and there are distributions ( LineageOS to name one) over which Google has no control whatsoever.
Australia warns Covid-19 border closures could last into late 2021
There's nothing particularly difficult about side loading on Google. It's off by default because it's an excellent vector for malicious actors to compromise a user's phone. Users, in the average case, haven't gotten smarter since the days of trojans and malware running rampant under the Windows architecture.
> If, hypothetically, some credible scientists tomorrow did some research that showed global warming is not as bad as we thought, would that get reported widely?

Absolutely yes. It would be hard to come up with strong evidence that the hundreds (thousands?) of other papers are wrong, but extraordinary evidence would absolutely be shared widely.
Related question, how do C and Go compare on compilation speed in similar codebases? Neither of them have monomorphized generics, and codegen loads should be similar.

This will tell whether pragmas / include guards have largely solved the problem.
my names dessacra is hacker
Create Golang HTTP Server in 15 Lines
Which meat doesn't come from a conscious creature?
Yes. People were literally claiming to be able to write code using English language descriptions. This guy on Twitter generated a ton of hype with these cherry picked examples...even from people who should know better like Eliezer Yudkowsky.

https://twitter.com/sharifshameem/status/1284095222939451393...
My use case would be I have my regular SIM and I have a SIM/SIMs for international travel. In practice, I use an older phone for this purpose but if I had dual-SIMs I wouldn't need to.
Two totally irrelevant news. I am from Pakistan. I know lots of horrible stuff that goes around. But this is no different from horrible stuff that happens elsewhere in the world.

People no matter where they live or what religion or culture they follow can inflict horrendous crimes against weak. That's what happened in the news you linked in a low belt attempt.
Perhaps. There is the danger that those employees aren't party to all the relevant information, so their version of the story might be inaccurate too.
Needed to get that by entity id, so its a Hash.
I think you need to start with a limited language in a given paradigm before you use a language that tries to be all things.

Back when I first wanted to learn FP principles, I tried with Scala. It went nowhere. I had a problem, and I didn't know how address it in an FP manner. The language didn't help me by getting in my way when I went down a wrong path, so I never learned the 'right' one for FP.

As a trivial example - I want to iterate, I can use a loop; it doesn't prevent me from using a loop and instead directing me to recursion. In fact, with recursion I get all sorts of terrifying comments about making sure it can be tail call optimized, to use @tailrec to make sure of that, or else I might explode the stack, oh-God-what-is-this-why-would-I-ever-do-this-etc. Meanwhile there is that good ol' friend 'for' waiting for me to help me get things done...

Having used other languages, though, recursion holds no fears. I still am not a fan of Scala, but I'd be okay with being given all the options. Though not for any sort of team development unless everyone else had also been exposed separately to the paradigm we were standardizing on.
I agree in principle.

In practice, this can be achieved today for a handful of apps with AltStore.io.
Personalized Video Message: A Guide to Boost Your Video Marketing
Possibly a hot take:

I would say that OpenAI is still “open”, in about the same sense that Nginx or Redis is “open”. They seem to be pursuing an open-core model, where the architecture and skeleton of the project is open, but the extra stuff that lots of corporate money was dedicated to building on top is closed.

Remember, GPT-3 is just GPT-2 with (a lot) more training data—training data that cost a lot of money to acquire, and therefore training data that (unlike GPT-2’s training set) has corporate interests invested in its creation. GPT-2 is still the “core” of GPT-3’s architecture; GPT-3 can be seen as a commercial “extension” on top of the GPT-2 core.

If you want to understand “how GPT-3 works”, you can just study GPT-2. Nothing is different architecturally between them.

It is a shame that GPT-3 isn’t open for study, because it has emergent capabilities (meta-learning) that GPT-2 didn’t express, and which are worthy of study. But they couldn’t have known it would do that when they set off to create GPT-3; and they did know they needed a bunch of money for compute + training-data scraping, so they likely made agreements (handshake or contractual) to license this beefed-up “extension” to GPT-2 in advance of knowing what it could do; and in fact as a prerequisite to getting that funding to build it.

I would suspect that OpenAI’s goal with GPT-3 was mostly to observe for themselves what a much-better-trained GPT-2 would be capable of; to study those observed capabilities (like meta-learning), and to try to figure out if they can replicate them using only tweaks to GPT-2’s architecture, without needing the big load of commercially-funded training data. (Sort of like seeing what optimal solutions a brute-force algorithm can find, and then trying to come up with an efficient algorithm to emit those same solutions.)

If they can come up with something like that, then there’s likely a GPT-4 brewing right now, which wouldn’t need all that compute and training data to create; and therefore wouldn’t be beholden to corporate interests; and therefore would be open for study.
Intel's Compute Code Is Enabling OpenCL 3.0 for All Hardware Since Broadwell
Given the frequency, HN needs an automatic OpenAI submission checker that changes all titles to read 'ClosedAI' instead.

How far the original initiative has fallen; how smug it now looks.
Alzabraic types and records have strutural equality while classes don't have it I believe.
What happens if someones code accidentally (or purposely) uses a malicious module [0] in their code? Seems like a great way to spread some malware... It would be cool if there was some sort of dependency validation system integrated into this.

[0](https://www.zdnet.com/article/two-malicious-python-libraries...)
I took a sci-fi literature course in university, back in the ‘90’s. This stuck with me about Asimov. The prof said he didn’t include any Asimov in the course because, though he had great stories, he told you everything that was interesting in the story itself, so there wasn’t anything left to ruminate and discuss.
To add to this, all the major phone carriers in the states engineer their plans to force you to buy new phones either through discounts or "free" bonus phones from them in order to get good value for what you are paying. It is almost always cheaper to go with a cheap MVNO plan and pay for your phone outright, you will come out ahead instead of paying $80-$100 a month with a major carrier while getting a "free" phone with the caveat you have to stick with them for 2 years. Its all engineered to get you to spend more money, if you look at the prices on MVNOs you will realize you are getting scammed - I pay $10/month for my minimal cellular plan through redpocket and getting more data only costs tens of dollars more, it doesn't come close to tmobile's prices.
> A story like this is meant to be enjoyed for what it is, not dissected for accuracy of language or scientific principles.

Why not both? I am certainly enjoying both aspects of this discussion.
This is the sort of planning a 12 year old would come up with while daydreaming. Except these guys are adults so they have an actual chance of trying to put it into action. It's part scary and part embarrassing.
I've had a merge request open to add an app to F-Droid for 4 months now.

It's gotten some attention, and I've addressed all the requests for changes I've gotten. But still, no resolution after 4 months.

In contrast it took me a few days at most to publish to Google Play and the App Store, which I did at the same time as I submitted to F-Droid. And I've shipped numerous updates to both since then.

So "Switch to F-Droid!" rings a little hollow for me.
Yeah, a reason founders could be seen as happier in this regard could be that they are climbing the hierarchy while employed ones are set in place but that doesn't mean hierarchical structure is unnatural, I find authority almost instinctual.
It's despicable how they make him crawl into a perspex box for this, how they're torturing him and keeping him away from anyone.
Reasons You Should Learn Code in Your Lifetime
That's kiiiiiiinda the point
I'm glad that he told the world the truth about what our governments do. It's called journalism.
Covert Channel via the TLB
Most popular hasn't always been accurate either. If you asked in the 90s there'd be alpha, ppc, sparc. There was a time when I would have put all of those as more relevant than ARM.
Totally non scientific (just my gut feeling), but I have a feeling that this is because the number of non-technical submissions has increased dramatically.
The trick is that Apple is essentially a utility company and replacing it is a significant expense to the user.
And it needs to be aware of it's power and act accordingly. Maybe a "device neutrality" law should be in order.

To throw a dumb example your electricity company is not policing you for how you are using your killowats.
Is it true that you worked with your brother behind-the-scenes so he could buy your failing startup?

For reference: https://en.wikipedia.org/wiki/Homejoy#Controversies
>Allow the poor to sue when they do have a case but no money to fallow through.

The issue is that lawsuits are often not obvious. There's almost always a non-trivial risk of losing. Therefore, in a universal "loser pays" system, it's even riskier for a poor (or even middle-class) person to sue a company given that they could be responsible for bankruptcy-level legal fees if they lose.
I visited France a few years ago. It was incredible how e.g. the entire Vieux Port market in Marseille would close down from roughly 1-3pm. Just about nothing was open. Storefronts, restaurants, all closed. Seemed like a very peaceful place to make a living. I guess money's not everything.
Wikipedia says it's "critically endangered", not extinct.

https://en.wikipedia.org/wiki/Baiji
Exactly. Maybe we should look into compiling pgBouncer connection management directly into postmaster if the target platform permits it.

I see no downside to doing this and you can probably get it done in <1000 lines of code, most pgBouncer features aren't needed.
Do you think a story that showed global warming was not as bad as we thought would get a lot of traction on HN?
> Gentle reminder that architect of C# was snatched by Microsoft from Borland.

snatching wutt? They could have paid more to keep him.

Not a Microsoft fan either, but Borland managers have no right to complain :)
There is a new upcoming book by Matthew Justice to show and teach people of how computer really works:

https://www.penguinrandomhouse.com/books/645954/how-computer...

The book is still in writing stage thus not sure about the quality though but by looking at the table of contents it's looking very promising.
Vaquita as well