skysight-inc/HackerNews huggingface dataset:
If the company is going bust then the last thing their shareholders are going to do is let them pay devs to do stuff that doesn’t make money.
Nice how the article ends with ‘so now this one is banned, here’s another service that does pretty much the same thing’
Since this thread started discussing warts and has people versed in go comment, can anybody explain what we have https://golang.org/src/strings/compare.go?

Why is “symmetry with package bytes” so important that it is deemed a good idea to add a function that “no one should use” _and_ intentionally make that function slow?

Also, if that’s a good idea, why doesn’t https://golang.org/pkg/strings/#Compare shout out harder that that function shouldn’t be used?

(Came across that when googling whether string comparison in go uses locale)
We plan to write a porting guide and examples at some point, but we didn't yet, also because we are still in the experimental phase and the API is still subject to change (although it changes less quickly nowadays).

In theory, most of the porting could be automated. The only thing which cannot is turning Py_INCREF/DECREF into HPy_Dup/HPy_Close: they are closely related, but HPy requires that you close each handle independently, contrarily to Python/C where you can DECREF the same PyObject* multiple times, as long as the final refcount is correct.

For that, the debug mode will be very useful because it precisely tells you which handles you didn't close and which ones you closed multiple times.
Random earthquakes is TSMC fork of chaosmonkey
For a state this seems somewhat inevitable, however pretty much all state entities have a duty to use as little violence as possible to get the job done. See European human rights act, Geneva convention etc.

At the end of the day - Violet Gibson wasn’t an employee or representative of any government. She was just someone with mental health issues and a revolver.

Again we come back to Thomas Mair, if your principle is that political violence is fine (again - that’s facism), then the only thing you should find objectionable about him is his politics. He was, after all, following your rules.

Personally I try to follow the “do unto others...” golden rule.

“Kill all others” seems to be the guiding principle of too many people.
you forgot another class: big dick energy.
Like @chaz6 i'm really interested by tutorial/docs for example to use software on a RPI4 / nixos as an alternative to Tailscale :)
That is why most of the people are fine with $XXX million per day as it is not practical to narrow it down to thousands of dollars.

We lost $100 millions, so it does not matter if it was $10k or $20k more or less because that is less than 1% of the total. There is no meaningful decision you can make based on that 1% difference.
Am I the only one who is worried every time such a news drops? Achieving high-tech autarky is a first step towards a war with china becoming viable. Not that the alternative would be much better: a war being nonviable and the west bending to their wishes. But still, I think it shows there are real concerns on the highest levels and it is considered an actual possibility. Scary.
New Covid vaccines needed globally within a year, say scientists
I have previously, strenuously argued against ads in the App Store and will continue to do so until I manage to singlehandedly change Apple’s mind on this (yeah, not happening, I know…)

Outside of that, I’m okay with Apple showing ads for their music service or iCloud storage. As I said earlier, ads for services are one thing but ads for hardware are another. Intrusive or otherwise, I think it crosses a very big line to advertise your new hardware that replaces my old hardware from within a management control panel for said old hardware.

That said, I let it slide when it’s a feature distinction, for instance the management for the EdgeRouter X would mention features only in upgraded hardware or my AP management would have more features if combined with a Smart Firewall. That’s acceptable because I’m not asking you to fork your software to hide features I can’t use — it would be nice, but it’s understandable if you want to rub it in my face that there’s more you can do for me, like Premium Service upgrades or new software features (maybe).

Where I absolutely draw the line though is when perfectly good hardware advertises its replacement and I’ll stick with that, even if others are less consistent.
Or you can use base2048 [1] to compress it down to 3 tweets (4175 nucleobases * 2 bits per nucleobase / 3080 bits per base2048 tweet = 2.7 tweets).

[1] https://github.com/qntm/base2048/
There are more than two options. Some other options include building defenses against such weapons or actively working to subvert the other side's building process.
Generally in a similar way that it's possible to choose your electricity provider without needing 4 separate power lines outside your house.

Retail service providers sell plans to consumers, an in turn buy access from wholesalers.
When I moved from the US to Hungary it took a year maybe for me to really relax and realize for the first time how much stress I'd been carrying - all around guns.

If you had tried to talk to me about it before I had lived here I would have told you that you were crazy and that the US is really safe. And in a lot of ways it is safe, but the emotional reaction is legitimate and completely understandable.

The first time we took our kids back, one night we were out front of the house we were staying in. A truck drove by on the street and the girls kind of huddled together. I said, "What's wrong?" They said, "We don't want to get shot."

When you live in an environment where the idea of just any random person having and using a gun is close to unthinkable, shifting to an environment where anyone could have and use a gun at any time is stressful.
I was wondering whether someone would notice that it's a clone of q! Thanks! :)

q has the additional feature that you can decorate any function or method with `@q`, which causes invocations to be logged with arguments, return values, and exceptions. Really handy for tracing what's happening in your program.
Here in Ireland, i am living in a rural location half hour drive from small city (70k people) and have 1000/100mbit fiber to home.

Used to be fairly bad "up to" 3mbit wifi wireless, then 70mbit "4g" wireless, with serious contention in evenings and issues everytime wind or rain occurred (which is every day in west of ireland!)

The government has a plan to connecting everyone to fiber, this forced the local at&t like company (eir/eircon) to try connect as many people as they could, which they done with surprising speed
From the article:

> Animating elements out is not very straightforward in React, so let's keep all of the <circle>s rendered, and give them an opacity if they're not in the currently shown circles.

...Which is the crux of the problem I always run into trying to do complicated animations in React
IKEA Invests in Mapping Technology Startup What3words
> 1. Is it possible to use the same subnet on different innernets?

As moviuro mentioned, no, not unless you want to get fancy with independent network namespaces (https://man7.org/linux/man-pages/man8/ip-netns.8.html).

If you want to be more confident of not having an address space conflict, I recommend using a randomly generated private IPv6 block using the RFC 4193 specification: https://en.wikipedia.org/wiki/Private_network#Private_IPv6_a...

> 2. Could you please provide installation instructions for generic linux, as I am looking to host on almalinux and opensuse leap, neither of which use dpkg.

Our Arch PKGBUILD (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=inner...) may be the simplest existing guide for making your own package for your distro. If it's not a lot of work to add, I'm happy to maintain other package formats, or help you be a maintainer.

Thanks! Looking forward to hearing how it goes for you.
visx is great! It hides a lot of D3 complexity and provides a very composable React API. The D3 API are still there if and when you need them.
The three stages of an engineer’s relationship with Ubiquiti:

1/ Their APs are so cool! Check out this web interface! I can manage an entire fleet of both of these, all from my home office!

2/ Aha, the APs run Linux and I can ssh to them and upload settings — even cooler!

3/ Er, you know what else runs Linux, has a pair of wired and wireless NICs, and can be managed remotely with plain text files and ssh — literally every SBC on the market for $20.

I run a mixture of UAC PROs and PoE SBCs as APs now. The latter because I’m cheap and I can manage them myself. The former because I’m cheap and refuse to retire something for which I paid $100+ a piece.

Ubiquiti provide some fantastic and well polished products. I thought I needed them, but all I really needed was commodity hardware and a shell script.
I agree, and then they set up a price. Piracy is especially bad when you’re pirating from a particular person.

But not all developers have that “I made it and I will charge them the maximum equilibrium out of it” mindset. That’s where “free” part of FOSS began. Do you think that it’s unfair to use things which someone published for everyone to use?
The Rise and Fall of Thomas Cook
That's what the CCP always does: invade, stick their tentacles into every possible crevice, cut off any avenues by which it might lose power, and begin tightening and strangling, over the screaming protests of the local people. They did it in Tibet, they're doing it in Xinjiang, they're doing it in Hong Kong. They plan to do the same thing in Taiwan.
Automating Facebook Login Using Python
How would you know what the people being cancelled are like in real life when all you see of them are one sided Twitter rants?

Honestly, you could draw parallels to victim blaming. He deserved it because he didn't cultivate allies to defend himself against false accusations of sexism/racism/*ism
Insightful prediction of how development will be done in the future.
You're right. This is why I love dry underwear. You can readily stack them and put up a sewing machine on top of it after which you can make more dry underwear. It's basically free
I m in HK and I don't know what to think. Between protestors destroying the streets like monkeys and the country punishing everyone using this as an excuse, we're well surrounded :D

Hong Kong shouldn't be independent but is China the right country for us, is how I jokingly troll both extremes.

End of the day nobody cares, we're still discussing who elect the mayor of the city and people are talking like we're losing insane amount of representativity. We had not much to begin with :D

I d be more interested to move on and start discussing how we elect the president of our country now that we all agree we should be patriotic ;)
It depends on the situation.

In general, debuggers give you much more contextual information, but using a debugger is extremely slow. To see what's going on, you have to step through your program, one line at a time, until the interesting thing happens. That can take ages.

If you want to see how a specific function is behaving and it's called 100 times, it's a lot easier to look at a printed log of the 100 calls and scan or search it for interesting behaviour than to pause the program in a debugger and step through it over and over, hoping to catch the interesting moment.
Ask HN: How long does it take to hire a good developer?
In my experience hiring takes a lot of time and effort. I'm curious how companies scale their development teams while keeping enough capacity to develop?
There is some little value if you're short on USB ports and both mouse and keyboard use Logitech unifying... But it's a small advantage
All you need to do is specify all these unspecified things and it’ll be fine.

You forgot the localized decimal separator symbol.
Do you have any concrete usage examples of that? I’ve only used breakpoint() to stop execution while debugging.
The email workflow is objectively, measurably simpler and it works really well for kernel development.

Look at the examples on sourcehut.

Yes, it takes a moment to get used to something different, but that's a human problem.
I've arrived at the opinion that any use of reflect is a red flag that the author is trying to do something that Go wasn't designed to do and the code will probably be extremely flaky.

It's not a 100% match, but it's a good heuristic in most cases.

As my experience with Go has increased, the number of times I need to touch reflect has decreased.
"a trailer in the desert in Utah" probably amplifies that feeling.
How we got the unusual symbol used for the menu command key (1983)
Something tells me this would make for a good IQ test
Vertical videos on mobile are easier to mentally process
Sounds like good case of building a small device that will ensure uninterrupted supply to the real time clock. This would have to be done before PSN goes out so that the device can live indefinitely (assuming the batteries work, the console does not need servicing, and no other problem is discovered).
Wouldn’t that be lucky, rather than unlucky?

And who says TSMC has peaked? Surely it’s best for everyone if Intel are kept under pressure.
Some parts are actually in C, but they've all been.. containerized.

I'll see myself out.
What Can You Accomplish in a Day?
You'd be better off in the UK.
Next up Taiwan.
It doesn't really apply here.

When you create something in a field that already has other entrants, that's a completely different thing from trying to unify all the other entrants, and ending up just creating another also-ran.

There's nothing wrong with identifying an area that you think you can contribute something innovative to and building something opinionated for it.
I like how you added 'probably'.

It's down to the news and media we get across the pond; school shootings seem to be common, films and TV shows depict that gunfights are common, etc.

I mean the US could choose to go for a better world image, but they like the image that everybody has a gun and they have the Greatest army and all that.

Joke's on them though, China has a lot of influence on some US made films nowadays, so Hollywood blockbusters is not only American but now also Chinese propaganda.

Meanwhile in Europe we get err. idk. Scandi crime dramas?
The main difference in my opinion is that typical advertising is a lot more privacy invasive and malicious. Tons of cross-site tracking, ads of dubious quality, getting 3 ads per 5 minutes of YouTube, etc.

I’m not frustrated when I get an email or dismissible banner ad from a company regarding a new product. It’s possibly interesting to me, and easily dismissible if not.

Sure, technically, this is advertising. But the biggest problems people have with advertising (privacy invasion, seeing too many ads, or seeing low-quality ads) aren’t present in this example.

It’s advertising in the exact same way that GitHub might show a banner informing me of a new plan they have. While it can be annoying, yes, I would disagree that it’s “as bad” as typical advertising practices.
I would love to have the option to suspend computation for unwanted outputs somehow (to disk) so I can scale way, way down with only partial data. My solution for “fits in RAM” is just “shard it”... but really I haven’t gotten far enough in my experiments to need to yet.
You can also use the breakpoint() introduced in py3.7 via PEP533

https://www.python.org/dev/peps/pep-0553/
Any other makers to look at for setting up more than the b basic access point setup for a weekend warrior?
Two earlier discussions in recent days:

https://news.ycombinator.com/item?id=26625859 (68 points/119 comments)

https://news.ycombinator.com/item?id=26618206 (34 points/79 comments)
what do you mean by invade? Tibet, Xinjiang, Hong Kong are undoubtedly belongs to China. Sure the tightening is not good in a lot of ways, but I keep seeing the western media trying to convince the world that these regions should be 'independent', I wonder why they are doing that.
> I don't think the NPM ecosystem is as valuable as people think it is

I generally think the NPM ecosystem is pretty cool, but I have noticed that even simple stuff like creating a RESTful service doesn't seem to have stablised in the ways I would have expected given node's target audience, and you end up writing a lot of the boilerplate yourself. Hopefully this will result in hundreds of replies telling me how I should be doing it, but even the fact that it's not trivial to find that out is a sign of a fragmented ecosystem.
So far we have not yet seen a single phenomenon that cannot be explained in the natural system, but can be explained in an alternative system.

(No, "god did it" isn't an explanation.)

If this is all that 1000++ y.o. religions can muster, I say good riddance, laughable attempts at explaining the world.
Every company is always, under the surface, two companies at once
There is plenty of state going on in the react code and yes on the surface you just have a nice clean render declaration. But when you start to want to express complicated animations but insist on doing things by the React Bible (ie no dirty refs) it can easily become worse than the imperative solution with performance degradation s and difficult to understand code that is deceptive ly simple but leaves a lot of complexity poorly expressed. Even in this article itself ,which takes great pains to hype up the react way or the highway, the manner it handles exit animations in React shows that the abstraction is already leaking.
Leading Hair Transplant Platform
I would rather check our medihair. They good pretty big in europe in the last years and they have a good doctor partner network for hair transplants in turkey.
Cool. Has anyone tried to enter 1 barn-megaparsec [1] ?

[1] https://en.wikipedia.org/wiki/List_of_humorous_units_of_meas...
It's a concerted propaganda effort that is unfortunately not helped by the multitudes of people that uncritically accept their home country's stance on everything.
I like this guy's take on things:

https://youtu.be/mX4owHcVjFo
If there is no annotation or metadata FASTA format is usually preferred ;)
Proteins are written in standardised IUPAC amino acid codes that carry some semantic meaning, e.g. Alanine: A, Glycine: G etc. Also viral genomes often have overlapping transcription with shifted open reading frames. Biology is not as simple as you think.
What do I mean by invade? Simply ask anyone in Tibet, Xinjiang, Hong Kong, or Taiwan, if they want mainland Chinese there, or if they want to be governed by the CCP. I accept that territory is won or lost, and the Tibetans and Uyghurs lost their territory, but they were definitely invaded and conquered.
Use css.
Microsoft Azure Storage Account
Azure Storage Account monitoring and management challenges are solved by using Serverless360. Read the concepts of Azure Storage Account in this guide.
Could someone help me out? I understand how Wireguard and Tailscale work. But I don’t understand the various ways they could be used for personal and business use cases apart from a workaround for geoblocking. Could people currently using Tailscale chime in?
Younger patients are replacing seniors in some hospitals
The problem with trying to program genetics is that there is a bunch of code already running on the system and every variable is a global. You can't just start up a new program with minimal impact on the stuff that is already running, like you can in most human-made computers. Also don't forget that the extremely simplified version of the running system looks like this: https://www.sigmaaldrich.com/technical-documents/articles/bi...
The "undoubtedly belong to China" is the narrative from the CCP and not shared by many, especially peoples living in and native to those regions.
I'll add to this—because WA is awesome—that if you're on Mac you can use Alfred (https://www.alfredapp.com) and Ask WA directly from your desktop and it will open the result on your default browser.
Well I only visited San Francisco (and didn't feel particularly safe there...), so I can't speak for the whole country.
How to tell if your ship has sunk: the waterline is above your superstructure.
My guess, after lurking around the internet for the past few decades and keeping an eye on what BSDs generally do, it's a mix of NIH/people that don't want to change their existing workflows and lack of financial resources. It's hard to say what the percentages are for the two.
So called https://mediawiki.middlebury.edu/IPE/Golden_Arches_Theory_of...
Is it though? I though nomad was also an orchestrator. Let me look up.
> 4. unify.ui.com is a SaaS

The Ad has shown on my locally deployed piece of software that's controlling hardware. It's not SaaS, it's a program for managing physical hardware running on my hardware.

And it has replaced USEFUL information (channel utilization and client counts) with a fullscreen unremovable ad.

How can you defend this crap?
A wonderful read. Thank you.
Note that independently of the notation used the mRNA of those vaccines use even more "weird" bases, such as 1-methyl-3’-pseudouridylyl, to make the vaccine mRNA not be detected by the immune system [1].

[1] https://berthub.eu/articles/posts/reverse-engineering-source...
if you start going down that route you will have to specify the format for dates, network addresses, postal addresses, phone numbers...

it never ends
Tibet was independent before it was taken over by force
https://yarnpkg.com/

They don't do a great job of advertising the changes; take a look under features/zero-installs.

The common practice is to still use yarnv1 as your global yarn, just do "yarn set version berry" inside your project to use v2. 0-config can be a breaking change - though I haven't had problems in a long time.
I personally don't uncritically accept the tightening rules that is happening in the recent years, but I just like to point out that it's also a concerted propaganda effort that western media just gang up on China's issues, they don't really care about human rights but are using it a political weapon.
Hong Kong is done.
Only if you have millions , they are definitely not interested in poor HK folk that are living in cage homes.
Typecheck and Modularize AWS CloudFormation with Dhall
I'm using Tailscale for managing an old Mac Mini I have in the office, that does some simple 'cron' tasks. But it's behind NAT, but with Tailscale, I'm able to SSH into the box regardless, which is really nice. I believe it's also possible for instance to have Tailscale running on your servers, and only expose port 22 on the Tailscale interface, which is also quite neat.
Lisp-stat: An environment for Statistical Computing
Array Programming at Edgemesh
I never understood why lobbying, a.k.a. 'legalized bribing' is even allowed.
How does this compare performance-wise with Arrow, designed for zero-copy usage?
No te preocupes, de verdad, no lo hagas
Looks great, I would use it over gRPC just for being able to use objects instead of the java-like setX nonsense.
But most of the put will go through in the end, only the ones that chose to go the long way round will be the actual loss. Barring any delay discounts of course (if that is a thing).
A code of conduct doesn't teach people to say no, which is what is required when you write OSS. You will get demands (ranging from slightly to breathtakingly rude) on every channel that can even remotely be traced back to you. The more popular your software is, the worse it gets. That's leaving aside the toxic fellow devs (who will yell at you for presumably different but generally entirely inscrutable reasons).
MicroK8s and K3s are actually touted as orchrestrator for production too. I actually know atleast one organization that uses k3s in production. Ofcourse it is a nightmare at scale, but running a services without kubernetes at that scale is more nightmarish.
It's not because our brains thought up the concept of algorithm that reality must conform to the idea of an algorithm. The only scientific hint that we get on this mater we get from quantum mechanics which says that the universe isn't deterministic at all.