skysight-inc/HackerNews huggingface dataset:
>but there's no reason why any _new_ house should NOT have a heat-pump

Are heatpumps always more economical than gas/oil? I know that natural gas almost always beats electrical resistive heaters in terms of cost, even though resistive heaters are more efficient than natural gas. Heatpumps are supposed to be more efficient than resistive heaters, but in areas with expensive electricity it still might be more expensive.
Running a different test the slowest part of the python script is the startup time, otherwise they're identical:

[admin@localhost ~]$ time ./test.py
real 0m0.295s
user 0m0.158s
sys 0m0.138s

[admin@localhost ~]$ time ./test.pl
real 0m0.164s
user 0m0.158s
sys 0m0.006s

#!/usr/bin/env perl
use 5.16.3;

open my $fh, '<', 'logs1.txt';
while (<$fh>) {
chomp;
if (/\b\w{15}\b/) {}
}
close $fh;

#!/usr/bin/env python

import re
regex = re.compile(r'\b\w{15}\b')

with open('logs1.txt', 'r') as fh:
for line in fh:
if regex.search(line):
continue
The communist bit refers to the CCP, the Chinese Communist Party. Neither communists or socialists are canceled, there is no limit. People who go too far right are canceled.
As soon as the 64-bit Raspberry Pi OS is fully baked I'll give it a try.
Scientists to join in combating pseudoscience that spreads on social media
TIMTOWTDIBSCINABTE

(for those unfamiliar: https://en.wikipedia.org/wiki/There%27s_more_than_one_way_to...)
I didn’t see much in the way of docs from the micro site at least. I’m wondering if there is IAM integration or the ability to call Lambdas. Those would be Airtable-killer features from where I sit.
And if its not obvious, the links are for Onivim1, rather than Oni2.

There is a somewhat out of date document on the motivation behind starting Oni2 here: https://github.com/onivim/oni2/blob/master/docs/MOTIVATION.m...

The big changes from Oni1 to Oni2:

- We moved from Typescript/Electron to ReasonML/Revery for a native rendering stack which is much faster (startup/in general) and generally lighter weight, with a solid FFI story for native libs (Like libvim below, but also stuff like tree-sitter etc).

- We moved from neovim via RPC to libvim, a fork of vim as a library, with motivation behind that change in the doc above, and why vim over nvim in the GitHub README for libvim.

This is allowing us to bring forward the things people liked in Oni1, but drop stuff that people didn't, with Electron being an obvious big one. The end result, combined with harnessing the VSCode ecosystem should hopefully make a compelling editor.
Composing Documents with MDX: Markdown for the Component Era
> The last I read, if you wanted security then Face ID and Touch ID definitely weren't the way to go.

Sounds vague and overly general. I don't think anyone can take this seriously without some more information.
"John is" is not contracted to "John's", so it's confusing to have "It is" contracted to "It's".
Not sure why you're implying that security in the private sector is useless. China has been known to hack and infiltrate private companies. Fun fact: this is why Google left China in the first place. You think China doesn't care what employees are discussing at Intel or AMD? You think they're not interested in worming their way into Apple's messaging systems to identify and monitor dissidents?

You think the backdoors that Zoom are likely creating for the Chinese government won't ever be found and used by malicious hackers?

You really think the Chinese-American human rights activists whose Zoom accounts were identified and banned from a private video call with Chinese-based allies and friends and family are thinking "what use is there for inferior products?"

Oh well, we live in free countries. You're free to open your company and possibly your Chinese colleagues/friends to China or whoever else is the boogeyman right now.
In theory I think requiring a cash bond could improve many distribution systems, but the reality is that these big tech companies are so terrible at moderation and curation that we'd end up with tons of people having their bonds seized for no reason. Then, since there's actual money involved, those people might actually have some recourse, so it'll never happen IMO.
> The issue is that many people do not realize the range to which they can acclimatize.

Said acclimatization normally comes with downsides... When its hot, one might be less productive, feel less motivated to get stuff done, etc. It's pretty hard to measure that cost on a personal basis.
As the Wikipedia article demonstrates, 'think of the children' is not usually a motivating factor, it is a way of stymieing criticism by implying the opponent is sociopathic and doesn't care about children. It is similar to accusing someone of racism or sexism, in an effort to shut them down. These tactics are all very effective in our currently sociopolitical climate.

Unfortunately, it is almost impossible to use this tactic to advocate in favor of something (rather than against it).

I wish I had a suggestion for how to parry the accusation, but I don't.
Rep. Devin Nunes can’t sue Twitter over statements by fake cow, judge rules
Previous discussion:

https://news.ycombinator.com/item?id=23529035
https://twitter.com/gary_weiss/status/1275879266450919427?s=...
Oh wow, yeah - I didn't realize that existed, and now I'm sad it never caught on. :(
You put this very nicely.

This is why functional programming and lisps are such fantastic development environment, because you can use components (functions) that are not very opinionated about what they are acting on.
As a 53-year-old Perl developer (my CPAN handle is MICHAEL, I'm that old), I freakin love Vue.

I haven't done paid work with Perl since the 90's. Now I'm glad I haven't. I use it for my private work because it does what I want it to do, but on the few occasions I've coded for pay since leaving the industry, I've used Python.
Hi there! Founder of Retool (https://retool.com) here (and long-time HN reader). Agreed that Honeycode is adjacent to us. I think an interesting way of viewing the space [1] is who the product is for. There are lots of drag and drop app-builders (e.g. mendix, outsystems, bubble, msft powerapps, amazon honeycode, etc.), but they're all built for non-technical people. Their goal is to make programming more accessible to all. (Which I think is a very noble and very interesting goal!)

Our bet, however, is that code is here to stay, since code is actually a pretty efficient way of getting a computer to do something [2]. With that said, though, building specific types of apps (in our case, internal front-end apps today) is surprisingly difficult (have you tried recently!? you have to use react, redux, install 10+ npm modules, etc... just to make a front-end that has a table + POSTs back to your internal API!).

And so that's why we're building Retool for engineers, which has resulted in a few interesting decisions:

* we are not a system of record, since engineers don't like to move data around. We'll connect to your data, no matter where it is (e.g. postgres, a custom API, salesforce, etc.).

* we rely on the user knowing how to write code. I think this is interesting because low-code is good for getting to 50%, 60%, etc. But as you try to get closer and closer to 100%, it becomes harder and harder, since full customizability within a GUI (without code) is just hard (cf 2.). Retool lets you get to 60 - 70% of what you want very quickly, but then relies on you finishing the last ~30% with code, if you really want to. (We provide APIs, let you import custom React components, let you write JS anywhere [3] within {{ }}.

this also has led us to embracing git syncing (serializing retool apps as yaml files and syncing them to git repos: https://docs.retool.com/docs/git-syncing ), being on-prem by default (https://docs.retool.com/docs/setup-instructions), etc.

(If anybody is interested in working on this, please email me at david AT retool DOT com. I think there's really a small chance we can really change how business apps are built.)

1. Funnily enough, when we started Retool, there was no low-code / no-code space. If you look at our original Show HN (https://news.ycombinator.com/item?id=17725966), you'll see that nobody mentions "no code", "low code", or anything siilar. It's certainly been fun to watch a "trend" pick up around us, haha.

2. For example, imagine a switch statement. Very simple and concise in most languages, but incredibly hard to implement in a GUI. (A graph with nodes and edges, perhaps?)

3. We secure it by running all JS in a sandboxed iframe.
The US generates $65k per capita vs. Russia's $11k. That we spend more on heating probably has more to do with having more money to spend on heating. I doubt very much that Russia's buildings' insulation is much better.
> Despite this, Haskell applications are _just as susceptible_ to the failures of software architecture that bind components of software together as other languages are.

I think it's more complicated than this. Yes, you can push poorly-architected Haskell to production & be in a rough spot. However, my experience says that even the gnarliest Haskell is easier to improve than any other language.

Because of the types, purity, etc, I find that it's much easier to zoom around a codebase without tracing every point in between. I can typically make one small change to "crack things open" [1], follow GHC's guidance, and then go from there. I've been able to take multiple large Haskell projects that other engineers deemed unfixable (to the point where there were talks of rewrites) & just fix them mechanically and have them live & improve continuously for years to come.

The big thing with Haskell IME is you don't really need to have design patterns that everyone follows. I don't freak out when I see multiple different idioms used in the same codebase because idgaf about folk programming aesthetic. If an idiom is used, I follow it. It's all mechanical. I barely use my brain when coding professionally in Haskell. I save it all for the higher-level work. Wish I could say that about professionally programming in other languages of equal experience :/

So while it's just as susceptible (because good vs bad software architecture is more a function of time & effort) it's also typically pretty braindead to fix.

[1] A favorite technique is to add a new case to a key datatype and have its body be Void. Then I just follow the pattern match errors & sprinkle in `absurd`. I now have a fork in the road that is actually a knowably a no-op at runtime.
Yeah, the problem is they deleted controls without warning, potentially opening up their customers to risks. Had they automatically migrated their third party packages to custom packages or gave more time it would have been OK.
Australian regulator says Google Fitbit acquisition deal could harm competition
Interesting ... there's a big push towards this "no code, low code" solutions lately in the industry, I wonder if this is just to sell more cloud services?
Myself and probably most of my coworkers just use our personal phones as company phones. Not sure if you see that as different. Also don't do activities on them that are... criminal.
"More importantly, we studied the process by which our Sun’s free energy powers blog posts via a transformation of nuclear binding energy to electromagnetic radiation to heat." this was the key part of the post!
It’s not about cute but about a person who is a software engineer and who’s privileged enough to afford not to have a job for enough time to only do open-source for a while.
The only problem I see here is that either you guys are not using a file structure that makes sense to everyone or you're sharing links for random things and the people receiving those links are losing/ignoring them. Neither of these things sound like problems with Google Drive to me.
You seem to have glossed over all the self-satisfied puffery about lazy Westerners. Throw in a quote from the Classics, doubleplusgood. What do you think is the career trajectory for a lawyer in China?
TIMTOWTDIBSCINABTE (pronounced "tim toady bicarbonate").

"There’s more than one way to do it, but sometimes consistency is not a bad thing either."
If anyone wants to deploy this server-side, I made a Django library that's very easy to use:

https://gitlab.com/stavros/django-webauthin

You can see a demo login here: https://www.pastery.net/

It allows the user to log in without a username or a password (untested on any Apple device as I don't have any, please file bugs if it doesn't work).
same exact boat.

the VC that use to approach us for insights would just never listen. my father literally knew the researchers that tried it in the past and failed.

it did not stop this VC from investing his LP's money in a vertical farm. although i suspect his willingness to allocate other people's money in this manner, for this particular company, had more to do with the social side of things re the founders and other investors.
The beginning of the end of America’s obsession with student standardized tests
These would contain Raku code. But as with Perl, the core developers value backward compatibility much. Since many versions of Raku in use do not know of the new .rakumod extension yet, the old extension is used for many modules still.

This is probably going to change in the next language revision of Raku. See https://github.com/Raku/problem-solving/blob/master/solution... for the nitty gritty.
Understand WebAssembly in 5 Minutes
Association of normal systolic BP w cardiovascular disease without risk factors
Don't spend hours on analytics tools
Just do it, start getting your hands dirty as other said.
I personally started with composting and now I have a system where my food waste becomes forests, I eat lots of vegetable/fruits and I just throw the bucket on a specific place, cover with mulch and food grows. Avocado, papayas, limes, cucumber, tomatos, lots of them grow easily here just by doing this.

If you look for "agroforest academy" in youtube you may find a video course in english on this syntropic agriculture topic too.
They could revoke your keys (in theory). I don't think they would though
I was thinking something portable and immutable.
Would https://old.reddit.com count?
I'm not sure what your point is. When you say "bubbles" and "software eats the world" I think you are saying that these tools were supposed to replace programming, but so far they haven't.

In fact I think that people who make that claim are wrong. Low code development tools have become hysterically successful, especially in recent years. WordPress (400+ million websites) has 50000+ plugins that can do almost anything. Look at Salesforce (17 billion revenue) and PeopleSoft. Airtable (1.1 billion valuation). Shopify is approaching 1 million sites. Wix has $600 million in revenue. There are a lot of other massively successful products that fit into the loose association you gave.
Litty Launches on ProductHunt
No idea when it was the last time you tried jelling. But Raku is very much a usable thing nowadays and is used in production: https://raku.org
Since when is making a plausible quip "racism"? It is common knowledge that public statements made by Chinese citizens are scrutinized by the government and are effectively "filtered". People like you have completely diluted the meaning of the word.
I'm surprised the author doesn't spend more time discussing Google's search engine.

I've been using DDG as my primary search for a while, because Google Search has been returning increasingly bad results already for quite some months.

For the past couple days I've tried Google's Search again, and, oh wow!, it is hilariously bad now, just laughable! It now entirely ignores search terms, and the AI and ad-based results work against me, not for me.

Google didn't blow a ten year lead, they blew a 20 year lead. AltaVista was better than this.
Not as far as I'm aware, WebAuthn is a standard, and Okta is an authn provider. You can use WebAuthn with many other things, like the Yubikey.
This redirects to the same URl of https://news.ycombinator.com/item?id=23633009
I'm familiar with scraping, but what in the world is web scrapping?
It still sounds very robotic to me. I think Google's WaveNet sounds much more natural: https://cloud.google.com/text-to-speech#section-2
Retired police officers & feds of various flavors aren't uncommon in California. Their retired LE status lets them carry concealed without issue, even in downtown San Francisco.

https://en.wikipedia.org/wiki/Law_Enforcement_Officers_Safet...

For some positions, the ability to carry concealed was mandatory (e.g. the CEO's driver/bodyguard). Related aside: the CEO I'm thinking of wasn't allowed to drive himself in order to avoid any stock hits if they whapped into a kid running into the street after a ball (or what have you).
you would be quite suprised actually. especially in cities.

Also, appartment buildings are far easier to heat, not to mention a lot of soviet era appartments only have communical heating available. Which basically means the heating gets turned on in oktober for entire city/appartment blocks, Some of those don't even have the option to change the temperate/flow.
Perl 6 may be erased. But the Raku Programming Language (https://raku.org, using the #rakulang tag on social media) rose from its ashes.
What's the problem with enhanced tracking protection?
I would love to see more of the common mistypes of the product name.
I'll just lay it at the feet of the people who stole ppe, shut down testing sites, encouraged people to drink bleach, refused to lockdown the nation, didn't implement contract tracing, didn't shut down the borders (only pretended to), didn't quarantine arrivals, and said that less testing will lead to less deaths. Interestingly all those assholes belong to the same political party.
I think one of the advantages is that markdown is not just that it is concise, but that it is also somewhat limiting.

If someone worked on a large team and moved all documentation from markdown to HTML, I think they'd quickly grow to become something a lot more messy than your example.
You can't say "but guns stayed the same and crime both increased and decreased at points, which means that guns don't affect crime".

I didn't say they don't affect crime, but if crime spikes, then drops then spikes, while gun ownership remains steady, then it is a piece of evidence that crime is largely driven by something other than the quantity of guns.
For those of us who live in high cost of living areas, its easy to forget just how cheap most of the US is: the median mortgage payment in the US is $1100.month (2017 data) [0]. That's 151 minimum wage hours, or about a month of ~40 hour weeks (before taxes, which are very low at that income level). So, a household with two minimum wage earners probably would struggle to afford the median mortgage, but remember half of mortgages are less than that.

This is not me attempting to justify the current minimum wage - I think it should come up. I just think many on this site live in areas where renting a small 1 bedroom apartment is more expensive than $1100/month, or even significantly more than that, much less owning a home.

[0] https://www.census.gov/programs-surveys/ahs/data/interactive...
When Apple announced App Clips, it sounded like something I had seen in A16Z briefings -- people scanning QR codes on super-apps in China. It seems that Wechat has the concept of Mini Apps which are similar (but less seamless than Apple's App Clips).

https://www.scmp.com/abacus/tech/article/3090269/ios-14-adds...
It's great that you did this. But YC and other accelerators really need to do more to educate startups on the perils of the VC backed investment track.

Given that getting a Series A is only a reality for what 1% of startups it's important to know why the other 99% failed. And what percentage of those startups would've been around today had they been more aware of the low failure rate and ran their company accordingly.
Start https://perldoc.perl.org/perlre.html#Extended-Patterns . I was trying to find an article from many years ago, but either my google skills fail me, or it is dead. Perl's regular expressions haven't been regular expressions for a long time. Beyond that, the ergonomics of perl make them much more useful for things like flow control than in other languages. It's similar to how you can do type matching in Java, but it's ugly, versus a language like Haskell where using type matching simplifies the code.

Perl 6 (as lizmat pointed out), has more powerful rules. I don't know a ton about them.
Maybe KaTeX https://katex.org/
I hate unless! It always makes me stop and think a few times, causing double or even triple negatives in my brain. What's wrong with something like "print this if not $error"?

Maybe that's because I'm not a native English speaker?
You could buy a 6s and 6s Plus new at the Apple Store just two years ago.
It's about as useful as amazon web services are, for 90% of the companies that are going to get rid of their infrastructure and become completely dependent on amazon for their business to continue functioning.

These little creepy 'useful' products are just vendor lock-in, the same way those creepy Internet Explorer-only features were 'useful', and forced the whole goddamn web development industry to complicate their tooling and made testing and providing the same experience across browsers a goddamn nightmare for decades (is it still ongoing? I thankfully escaped hell that is modern web development).

I'll probably be on my deathbed by the time these old idiot governments comprehend what these creepy IT companies have been up to since their inception.
https://archive.vn/f7HSw
Forgive me if I think this is both not enough and a little too late.

Too many incentives are aligned within Amazon to continue to ignore counterfeits sold on their marketplace, and the only way I'll believe that such a unit is effective against such incentives is with independent audits.

If this was an honest attempt to clean house, surely Amazon would welcome audits with open arms.
I think the thing that "coding without code" fundamentally misses is that learning to actually write Python or Java or whatever is not the hard part of being productive in a business context. The hard part of creating useful software is that you have to understand a business process and its requirements so precisely that you can write it down for the computer to do.

I work with business stakeholders creating internal line of business apps a lot, and most of the time the requirements that they are able to articulate are some variation of vague, ill-specified, and flat out wrong. And it's not their fault at all, it's just that unless you've gone through the process of writing code it's impossible to understand just how pedantic and explicit you need to be when building software versus, say, giving your human colleagues instructions.

And by the time you've got enough experience to be able to do that, tools like this just get in the way compared to writing some Python or SQL or C# or what have you.
That's a bold claim considering how many webpages there are claiming that it comes from Catch 22: https://www.google.com/search?q=heller+catch+22+%22paranoid.

On the other hand, my attempts to search for the word "paranoid" in the book on Amazon turn up nothing. And there is a semi-authoritative page that makes the same claim that you do, saying that the closest he found is a quote about a "persecution complex": https://quoteinvestigator.com/2016/07/09/paranoid/

Do you have more info?
I write new things in Perl all the time. Deploying highly functional backend services using Mojolicious, a framework which is VERY actively developed.
That's from 9 days ago and the story at that point was discussed here: https://news.ycombinator.com/item?id=23529035.

Not sure what's new in the current article.