skysight-inc/HackerNews huggingface dataset:
Whenever somebody complains about how Python uses indentation instead of { } or BEGIN END, you can prove to them that it actually does support that and more, by demonstrating that they simply need to prefix their favorite brackets or keywords with Python's unary "#" operator, like:

for i in range(10): #{
print(i)
#}

or:

for i in range(10): #BEGIN
print(i)
#END

You can even mix-and-match them, like:

for i in range(10): #BEGIN
print(i)
#}

or:

for i in range(10): #{
print(i)
#END

or turn them inside-out, like:

for i in range(10): #}
print(i)
#{

or:

for i in range(10): #END
print(i)
#BEGIN

Python is extremely flexible that way, and can easily strangle and eat all other languages.
Valve as well.
I wish you could do this with phones. I know more than one person stuck with a crappy pOLED screen with that terrible green tint to the bottom third of the panel.
Twitter has no reason to stop the trial until the deal has closed (it can happen early next week).

Why leave any room for Musk to delay or change his mind. Fool me once ...
There are so many stories like this, it is crazy! Thank you for sharing this.
Apart from the cost, this would allow bad actors to reregister domains, once a shop is expired, though. Subdomains do not.
The one you are using right now might be canceled by a Russian sub.
That would open up some non-trivial DoS attack vectors as things currently stand. Who would own the new partition? If all records for the company were removed, does the partition get deleted or remain empty? What happens if some performs a large insert with random customer ids?

However if you really want to go down this road, you could put a trigger on the main customer table for INSERT or UPDATE to run a SECURITY DEFINED (setuid) function that runs a CREATE TABLE … IF NOT EXISTS DDL query to your specifications. Just beware of corner cases and be extremely careful regarding secure access to modifications of that customers table.
> Any person who feels excluded from participating in the Free Software movement is a loss.

Yes, but not every loss is equal, and in a changing world, growing groups will eventually reach a point where not everyone who wants to play will agree on the same ethics, which will lead to someone feeling unappreciated.

If I had the choice between losing a F/L/OSS contributor who has spend their life writing highly influential software and a F/L/OSS contributor who opened a 200-line-Python script once, half a year ago, I know who I would consider less of a loss.
I don't know if I'd consider Dead "boomer music". Just yesterday, I met a bunch of new people from my wife's workplace, all 20/30 yo clean-cut career and family types. Surprisingly the Dead came up and about 1/3 of group jumped out of their chair at the mention of Jerry Garcia. We talked about shows we'd seen or listened to recently, favorite songs, the upcoming finale of the Dead's touring career... Deadheads are alive and well in the younger generation.

They definitely aren't your stereotypical "hippies" though! That whole aesthetic is a relic of the boomer past.
For the past 5 years I've used a macbook to ssh in to a Linux VM as my development environment. It was great for the work that I was doing (distributed web systems).

Now that I've changed jobs and I'm developing a desktop app again, I'm back on a physical Linux box under my desk, and I really miss the old experience. It was great to never care about a mac change tanking your productivity (i.e. I was totally unperturbed by the m1 switch), and it was also great not to have to run a Linux desktop environment, which it turns out is still a big pain.
Show HN: Onboard new hires and wish them on and special occasions like birthdays
AnnounceBot helps you welcome new team members and wish them on their birthdays, anniversaries, and special occasions in Microsoft Teams. Great for onboarding employees and staying connected with your team, whether working in an office or remotely!

Free for up to 20 users and offers a 30-day trial of the premium version with unlimited users. No credit card is required.
You won't find answers in a single case, which is why the question is irrelevant to this post.
Why even comment at this point
Consider that many other employees also have bills to pay, kids to support, plans they want to achieve...
Yes, now. Try that a year ago.

And there’s still big piles around in warehouses, turning brown and rubber straps deteriorating.
I never zoom out on GitHub, but this one time it was kind of neat.
It is an interesting problem to think about, for sure.

My suspicion is that this kind of verification is amenable to breaking down into stages, essentially by drawing boxes around highly-connected regions, proving those properties exhaustively, then treating the various interconnects as between two black boxes with those known properties.

I'm sure there's some deep literature on this subject, I don't even know where to begin looking for it however.
No, society is getting less smart. Average IQ is falling and has been for almost half a century, which has been obvious to anyone who has lived through it.
There are indeed closed drivers. Nvidia recently released a blob with accompanying harness source code for embedding their proprietary drivers into novel operating systems or environments, assuming you can provide the harness with all of the facilities needed.

It's a way to get people to use the OEM drivers without having to explicitly support each distro/OS. They can just release the blob and assume that the harness takes care of the rest.
Just because some person said this doesn't make it here suddenly true.

I personally find this anecdote really shitty to be honest. Only a balanced mind and body can sustaine quality over a long time.

Also bad health in old age is super critical for living long and bad. Would never thrive for this like laying in bed having pain every day being dependent
So let's look at this situation. It's a shop page, shop.{clientdomain}.tld. Now you need SSL for this, using AWS you need a TXT record from their ACM. You also need a CNAME to your domain (ideally) or to a Cloudfront instance. For your customer you now need them to make 2 DNS entries. This is from my experience having non-profit like entities setup DNS.

- Well the person who set that up stopped responding, isn't there another way to get this going?
- I've added all the record in what do you mean they don't match?
- I don't even know what DNS is, why is this necessary?
- I added in the record but the system didn't take one of them because it started with an underscore and they said that was invalid.
- We just switched websites to WIX, why is our shop page not loading, is your system down?
- Will this break my email, I don't want it to break my email.
- Here is my login, just go in and change what you need.

So in all, it's not just $10, it's a significant investment in time and resources to do this "simple" change that until this point did not have any downside. Hindsight is like that every time.
McKinsey paid out a $573m settlement in 2021 related to its role in pedaling oxycontin that contributed to more than 450,000 deaths. [1]

[1] https://www.nytimes.com/2021/02/03/business/mckinsey-opioids...
Yep, and that's one of the reasons we don't have basements in this country.
What a submission title.
Ask HN: Is DNS and HTTPS on a private network a problem for you?
Recently I've been setting up a private network for myself and I wanted to expose some services over HTTPS. The only reliable method I came up with was to buy a public domain and point its DNS records to private IPs, then I could generate Let's Encrypt certificates with a DNS challenge.

The downside is that my internal domain names are now public (e.g. you can find them by looking up issued certificates for my domain through https://crt.sh or https://developers.facebook.com/tools/ct/, or by looking up the public DNS records).

I could keep it all private if I set up my own root certificate, trusted it on all of my machines, and issued self-signed certificates. I could also set up my own DNS server and make all my machines use it. Needless to say, that's way more hassle than just making everything public and buying a domain.

Another way to keep it private is to issue a wildcard certificate through Let's Encrypt and point my DNS records to a reverse proxy which would use the certificate. This would require all network traffic to pass through the proxy, making it a single point of failure.

Have you encountered this problem before? Did you solve making your internal DNS private?
> How has nobody filed for a stay yet!?

Twitter doesn't want one, and would oppose a request for one. The judge in the case has been openly skeptical of Musk's delaying tactics and indicated the other day she thinks Musk let Signal conversations delete during discovery (https://www.theverge.com/2022/10/5/23389568/musk-twitter-sig...).

He's out of good will here.
Guys I mean it, i just bought a brand new fiber router (AVM fritz.box) and the first thing firefox would like me to do is to switch to the http version of said configuration page.

Chrome lets me add an exception for the box itself, but really how many end user do you know that will not click on "take me to the http version(unsafe)", when talking about their home router?

So given the fact that I am in your wifi, One could use dhcp (if active) for MITM attacks, grab the router password and install tracking daemons right on top.

Next step would be to forward the dns requests to one of mine so I can build a map of what sites you use and from there all I have to to is to make you accept an insecure ssl cert and done?
Wouldn't that be a GAN but with more steps?
Buy a handful of alternative domains that redirect to your primary (you could stand up a minimal url shortener on each domain).

Even if you get unblocked this time, it could easily happen again. Until there’s systematic reform to this nonsense, you just have to work around it with redundancy.

If they’re going to treat you like a scammer, work around it like the scammers do.
I wrote him to edit the top-level comment. Thanks.
Outside of silicon valley, the business world runs on Windows, no matter how cheap or expensive the machines are.

Being inflexible can certainly be a red flag though.
There are some: https://h-node.org/wifi/catalogue/en
Let's leave aside the American-style debate around ethnicity for a moment. We know what happens when high-income workers move en masse to a neighborhood. Things get more expensive, and the quality of life decreases for people who did absolutely nothing wrong except live in a place that eventually got settled by some adtech company. The character of the neighborhood changes, and is destroyed in favor of a copy-pasted hipster area with expensive coffee shops. The previous locals do not get the new jobs because the highly-educated workers are imported from other places or work remotely. They do not have the capacity to move easily unlike the new workers.

Yes, you could say tough luck, kids: that's just life and people can move in and out. However, we can clearly see that gentrification is a real concept that people will fight to prevent with some justification and not just some social justice dog-whistle.
ummmm, have you seen our criminal justice system?
I'm not sure what your point is. Terra is a programming language. In the context of programming languages, I would assume finding the correct Terra would be trivial.
Radical Acceptance.

There will always be different skills levels. As much as the people on the lower end of the spectrum need to raise their own level, those at the top end of the spectrum need to accept that not everyone will be at their level.

You need to really think about choosing your battles. Are the concerns with their work truly having a negative impact on the goals of the business? Or are they just not matching your personal style and preferences? Can the imperfections in the code be cleaned up down the road as tech debt while using that effort as an opportunity to teach? Or is the current PR truly the correct time to invoke change?

Sometimes the PR is the right time. If they are bringing in complexity that will slow down the teams ability to update the code, that needs to be fixed. When doing so, approach it as a teaching/mentoring moment, not a time to slap them on the wrist for not being you. But if we're talking about suboptimal naming, or arguing over colors... let those things go and mentor them over time. But keep notes - you do want to go back and improve the elegance in the codebase as you have time. (And if you never have time, your leadership needs guidance, not the junior devs.)

I constantly see things done by more junior team members that I would have done differently. 3 out of 5 times, I let it go and know that I'll refactor it when I next touch that code, but if it works, then it works. For the other two times, one is when it does need an immediate change and I'll call it out as such in the PR. The last is when their idea is better than mine. Junior devs are just junior, not stupid. Sometimes their new view on the world is refreshing and good, so be open to that.
That was just one example of managing out that is clearly no where near "constructive dismissal". There are lots and lots of levers that management can pull to either reduce or increase attrition, and lots of them are about the employer choosing not to give extra support rather than taking away the basics. The normal attrition rate at an average company is already 10%, so pushing it a bit up isn't particularly difficult, especially at these big tech companies that traditionally have done a lot to try and keep people.
There are two problems with your reasoning. First, you’re assuming Putin’s use of nukes would make him automatically win the war. That’s not how it works. Second, you’re ignoring other possibilities. For example, an interesting response to Russian attack would be an “unknown party” detonating a dirty bomb in one of Russian cities. It’s easy to do technically, wouldn’t result in large casualties, couldn’t be blamed on NATO, and would require absolutely enormous cleanup effort that would likely topple the regime.
This is all very terrible for Twitter. Forcing someone to be the owner of a company they don't want is just bad.

But this is very good for Twitter shareholders.

Forcing the deal is important for US Contract law in general. When people sign documents, they must be solid with the courts enforcing the contract. We can't just let one person give up deals after the fact.
I saw someone on Twitter say that this isn't drawing, it's sculpting with Ink. Insane that he's able to do this.
Remote code development tools like Gitpod and Codespaces may be a good answer to the issues from the post. They sit in the middle between purely using SSH and full remote desktop experience, so feel like using your local machine while giving you access to computing power from the cloud.
> Their support for paying clients is much better.

Perhaps worth it in this situation, but isn't that basically paying protection money? "Nice domain you've got there. Shame if anything happened to it."
2/3s of 1000 People Surveyed Canceled a Streaming Service in the Last Year
> So, you didn't give the explanation of what your snippet is supposed to do but, assuming that await returns control to f

No, await is a context switch of some kind. In a stackful implementation the stack is switched to another thread at that point (say for an I/O wait), in an async implementation, the point after await is resumed with the live variables needed for the remainder of the program because it will be passed an explicit continuation.

> Of course if you do not spawn a coroutine in f and it is instead part of another coroutine, v1 might be captured (unless the compiler identifies it as dead and reuses the stack slot, say, for v2). But to express the same with stackless coroutines you need to make f also a coroutine which will end up capturing v1 if live across the call.

Yes, the idea is that v1 is not live, and existing stackful implementations will capture it regardless, where an async written program written in CPS form will not capture it. As I initially said the state captured by the latter is a strict subset of the former.
I don't think there would be a labor savings. You are misusing the term skilled labor.
I'm not an RGB sort of guy, but that backlit motherboard is amazing.

This whole thing is a great read and an amazing labor of love.
> Because land is very easily taken away

Really? Are you referring to eminent domain? Unless you are going up against a highway, landowners have a ton of protections, in the US anyway.
Sorry for my misleading comment. As stated many times, Twitter suspends accounts to protect the activist. So this is in fact fine.
To me, unless there is a legal document you signed with your employer, there is no line. Even, IMO, IP is not `property` so that it cannot be used against. But that is another discussion.
Yes, a comment mentions something that I have seen more than once in practice: project use bound-checked access on std::vector, but it was too slow, so instead people turn to calling data() to get a raw pointer and use operator[] on that one which removes all possible form of safety.
Welcome to the leading edge of the Singularity.
With about 50% average effectiveness, overcapacity is fairly simple to calculate. With 100% capacity you get what we have today, ie around 50% from renewables and 50% from imports. At 200% capacity you get 75% from renewables, 25% from imports. at 400% capacity you get 87.5% from renewables, 12.5% from imports. At 800% capacity you get 93.75% from renewables, 6.25% from imports. at 1600% capacity its 96.875% from renewables, 3.125% from imports (assuming that renewables can scale down to that low weather conditions).

Obviously, running at high overcapacity results in significant less profits unless you can sell the overcapacity to other countries. When Denmark hit 100% wind capacity the growth of new wind halted dramatically down to basically the same as consumption growth. There is a limit on how much you can dump, i mean export, to other countries before there is no one willing to buy excess energy during periods of optimal weather conditions.
> Their support for paying clients is much better.

It would really be a shame if something was to happen to your domain in our ecosystem because you're not a paying partner.

They're mobsters.
I think it might have more to do with the actual content than the animation. A lot of today's trash on youtube that parents leave their kids watch unattended is dangerous, and seems to promote ADD.

Thankfully, there are still youtube channels with shows and cartoons we grew up with, so parents can show those to their kids instead of today's trash.
This mischaracterization of the discussion is curious, but it is certain that no two companies have the same problems in need of solving. Of course certain technologies could only emerge out of a place like Facebook. Only a place like Facebook would have a need, particularly with respect to resources, to pour R&D into these technologies to solve their particular problems.

But that's not what we're talking about. The question posed was if Facebook's good developers are better than good developers at run-of-the-mill companies. That is not clear. People at Facebook, with an average tenure of only 2.3 years, have almost certainly also worked at run-of-the-mill companies so that already suggests that you can find good developers all over the place.

That developers at Facebook solved problems Facebook had doesn't prove no other developer could also solve Facebook's problems if they also worked at Facebook. Solving problems is literally the job of a developer, so it seems highly unlikely that all other developers outside of Facebook cannot also solve problems. Of course developers are only going to solve the problems in front of them.
This is me right now, but only for a short time (I hope). I'm at an agency and currently on my first ever banking client. I'm on a Mac but I use Citrix Viewer to access a Windows 10 machine. The part I dislike the most is the context switching between Mac and Windows. First off, windows doesn't natively let you customize the keys (I can't install anything obviously, it's a bank client). Also, for some reason, the alt key doesn't work in the Citrix Viewer so I have to change a lot of my usual VSCode shortcuts to sone custom ones. I've googled the issue and some people on Mac use a program called Karabiner[1] but I didn't want to install yet another program, I'm just dealing with it for now.

Our agency has another banking client that I hear sends you a laptop, I much rather have that.

[1] https://karabiner-elements.pqrs.org/
Another good Weir-ism is, “We’re in the business of making music, not keeping it.”
I work in the solar industry, and very few large projects are turfing solar panels anymore. There are at least three companies that will usually bid against each other to purchase used/broken solar panels for recycling/reclaiming materials.

One of the early issues with recycling companies scaling is that solar modules don't break very often, so there hasn't been enough volume to get the industry off the ground. Solar modules are generally good for 10-40 years, so we're just starting to get the first generation of decommissioned plants (which by the way, are generally being repowered with more efficient modules).

Same with wind turbines. In any case, outside of the valuable heavy metals, landfills really aren't that huge of a problem, despite consumer focus. Decommissioned landfills are already a hot commodity among solar developers in the Northeast for instance because they're great, relatively flat, centrally located land that you can build a solar farm on. So as long as we're succeeding at reclaiming heavy metals, the waste generation component is pretty trivial. They're really just part of the cycle.

Finally, the decommissioning cost of solar plants is usually bonded in with a utility PPA to be borne by the project company, just like with nuclear, so it is indeed a fair comparison.

I agree regarding our regulatory environment for nuclear being counterproductive (it's counterproductive for wind and solar too, though to a lesser extent). However, even in positive regulatory environments such as France, Nuclear costs 3-5 times as much to build on a $/MWh basis and takes much longer to site, permit and construct. There may be a small role for base-loading nuclear in certain areas that have poor renewable resources, but it otherwise rarely makes sense, regulatory issues aside.
Ukraine has no reason to invade Russia back. There is nothing of value there.
But it creates jobs?
I have a Synology DS720+ and I use it to store all my photos. Two things have happened incidentally:
- I became an expert in networking. Opening ports, configuring VPNs, DNSs... all of this has required some time but ultimately I am happy.
- I became aware of security. Synology defaults are good enough even though you really fear the idea of being attacked, so I had to dig up how to secure my synology even more.

In the end, DS720+ together with Snyology Photos (Gphotos replacement), Drive (Dropbox replacement) and two drives of 6TB in RAID, costed me around 700€.
No, you automate all this on behalf of your clients. The customer is not registering the domain and managing DNS, you are.

The best reason not to do full domains is the risk of bad actors re-registering domains you release, as schroeding points out in another reply.
My company did this to us. I'm thinking of quitting.
The logic of the sanctions is that in the long term they prevent Russia from profitably exporting by denying them any imports to improve their productivity.

In simpler terms, how can you just switch to a different market when the pump to make the gaz is unavailable to you.
You had a phone with 12? And a smartphone with 14?

Wow crazy.

I bought my first Smartphone with 23.

I'm really really curious how this will and already affects lots of kids who don't have the skill set to learn by themselves how to handle it correctly.

I'm still waisting too much time with it.