skysight-inc/HackerNews huggingface dataset:
I’m a heavy pycharm user and have found there are plugins that handle gaps in the IDE.

Some of them are for minor customization like hot keys to move tabs. But the product doesn’t support Environment Variable configuration very well.

For example, Pycharm can’t injest a .env file. The devs point at a plug-in, but that doesn’t cover runtime and terminal / python shell.
Ask HN: How can I improve my Logo interpeter website before launch?
I've been working on the website for my Logo interpreter turtleSpaces at https://turtlespaces.org and could use some feedback about how I can optimise the site and make it better before we officially launch... thanks for any help you can provide!
Good grief! I know I'm not Prince Charming but I was hoping for slightly less Shrek in mine. I think I'll be going back on that diet...
Oh well look, some actual support from the owners.

https://www.phoronix.com/scan.php?page=news_item&px=Arm-Panf...
Do you have a writeup of “porting a chrome extension to lambda” somewhere?
Couldn't drones + AI do the inspection work more effectively?
This is a common misconception, but the reason that they're war crime weapons isn't that they have some particularly dastardly effect. For example, police agencies across the world use hollow-point ammunition that's banned in warfare - not because they're trying to inflict unnecessary pain, but because the context of policing requires hollow-points to avoid collateral damage.
In Europe, giving employee less time than it's needed to complete a task is called mobbing.
There is no defense for PG&E for the Camp Fire. This is an organization that is notorious for under-maintaining its assets. Its state of repair is so shoddy that it regularly turns off power for many days at a time ("public safety power shutoffs") to huge swathes of its service area. No other comparable utility does this - not San Diego Gas and Electric, not the Victoria Electricity Cooperative (Australian utility), no one, because they have entered the 21st century and don't need to resort to crude hacks like shutting off all power to prevent fires.

The proof is in the thread. Barely 10 years ago, PG&E pleaded guilty to another felony, when its under-maintained gas pipeline in San Bruno exploded, killed 8 people, and leveled a neighborhood. That utility has a cultural problem going to the very top that prioritizes profit over safety, and I sincerely hope it emerges from bankruptcy reformed.
That website though—genuinely made me smile. I love the star field animation and the warp-drive effect when you hover over the "download" button.
Wow. With my bad ears, I wasn't sure it was working as you described until my right AirPod battery died and the spatial audio went away. Stunning is right.
I just feel bad for the oncalls...
At the same time retribution should not be the goal of justice, it should be rehabilitation. I'm totally against incarcerating anyone not posing imminent threat to life for a multitude of reasons but my most selfish is that locking people up is incredibly expensive and I'd rather not spend my tax dollar on it if its not actually protecting me from anything.

US corporate charter exists to exonerate decision makers from personal liability for crimes committed by the company. That absolution of responsibility is in my opinion the primary motivator for having incorporation at all - its a shield explicitly designed to protect you from culpability.

At that a fair judgment would then be something along the lines of - all acting leadership of PG&E or any other corporation using their immunity to be negligent and cause harm must disbar their ownership or face incarceration for being a threat to life. Because they are when they behave like this, at scales that the most deranged mass murderer could only hope to approach.
If you want your services to be in control of you, self-host everything. That way all of your weekends and nights are for updating to FreeBSD 14 and debugging why postgres can't write to disk anymore oh wait I need to buy more storage and migrate everything
There is plenty of blame to spread around.

Regulations should require sufficient redundancy for scheduled outages on individual lines for regularly scheduled service during non-critical times.

Communities should not be allowed to form, and should be actively wound down if they are within dangerous areas with seasonal problems. Fires, Floods, Extreme doubts, unsustainable water table use, etc. This should _begin_ at a federal level with a re-location act, and should involve planning and support at every stage of government to proceed in an orderly way for society.

Edit: Also, of course, the company is still at fault, I forgot to point that out while going over other aspects of the systemic failure of society (people and organizations of people) as a whole.
Apparently it's a Roam alternative but that's the best I've been able to determine. No idea what Roam is either.
I can do away Vim itself. It's the modal editing feature that I really need. That's why I am satisfied with IdeaVim even if it is not a full blown Vim instance.
Even 2G?
Prepare for the Trump Insurection
OP:
> "I want to build an active web site that will take up the gauntlet of the coming battle in November when Trump is defeated and fights to stay in the White House. I believe that he has a group of aides right now working on all the dirty tricks and illegal moves they can make to prevent Biden from assuming the presidency. This kind of thing happened once before in America with the Hayes election, but not on this scale. We need to anticipate this, we need to reach out to all Americans to thwart Trump, Barr, and McConnell from taking over America and destroying our democracy. I have a plan and I need a handful of programmers, designers and, especially, security experts. I will try to raise money to pay people, but I cannot promise compensation in the beginning. I need qualified people. Compassion is great, but this effort needs skill."
Like what? They have very similar specs, with the Xbox appearing to have a slight edge in GPU performance, and the PS5 having a slight edge in SSD speed.
Neural networks could help computers code themselves: Do we still need human?
Update:

As far as I know, this should be a subset of the PO format (http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html....).

The file format used by a18n is JSON, where its keys are extracted from code (using `a18n extract`) into one of these formats:

- "static text"

- "dynamic text with one variable: %s"

- "dynamic text with multiple variables: %1, %2, %3"

- "#some.text.id" or "xxx#some.text.id" -- user manually assign text an ID with: a18n("xxx", {_: "some.text.id"})

(It worth noting that my company further converts this JSON to Excel before sending to translators)
A shared characteristic (and that is still a long bow to draw) does not imply equality.
Also see Optical Fourier co-processors for a similar example.
Oh sure, you're going on the Evil/Good angle. That's fine. But let's set it aside for the moment because I will probably just agree with you on whichever stance you take, since I don't particularly care. I guess I did confuse the matter by using the words 'ethics' but I meant "not presenting your ability as far beyond what it is" so perhaps I can clarify and we can move on from that.

I'm going on the competent/incompetent angle which is orthogonal. The problem is that those guys just aren't good engineers. If they want to kill people and they're doing it, or they want to sell to ICE and they're doing it, or they want to monetize murders and they're doing it, then they're good at it. That's competence.

Aeronautics engineers, though. They want to make things fly and they fall instead. I don't think they've wanted to kill Boeing passengers, but you know, considering their skill, perhaps they did, perhaps they did. In which case, you're right, that's a field of highly competent passenger killers who we thought were incompetent passenger fliers!

Web developers writing React on the other hand? Zero people intended to be killed. Zero people killed. Billions of dollars of value. Creativity. Ability. Competence. The virtues of a real engineer. Perhaps one day other fields can emulate their techniques to understand how they do it.
Mandatory diversity training divides and weakens the country. For their revolution to succeed Communists need everyone - especially Party members - walking on eggshells. That way a politically incorrect look or word is enough to justify cancellation.
Oh.... let’s not do that again
I've implemented counters exactly like this. I actually migrated away from the tls_counter to something like the cas_multi_counter.

The problem with the tls_counter is memory usage that scales with the number of threads. In this example you need 16 bytes per thread because only one counter is supported, I believe we ended up with 48 bytes per thread. So with 10,000 threads you can end up with >=160KB of data for every counter. And 10,000 threads isn't that far-fetched if most are sleeping (though not ideal). Then you end up with 10,000 counters and you're spending >= 1.6 GB of RAM on counters. Where the cas_multi_counter would only be using 40.96 MB. And read() scales with the number of threads, so can get pretty slow, but that is secondary.

One optimization you can use to make the cas_multi_counter more memory efficient is to share the backing memory. You have 4096 bytes, but are only using the first 8 bytes of each 64-byte stripe. You can multiplex 8 counters into the same 4096 byte storage. The first counter gets offset 0, the second offset 8, and so on. This only adds 1 indirection in the hot operator++() path, and doesn't add any extra false sharing as long as the 4096 byte buffer is 64-byte aligned. Construction and destruction is more expensive, but not terribly so, and that is probably cold anyway. Now you're at 512 bytes per counter, and the size is independent of the cache-line size. If you can count the number of active CPUs you can dynamically size your buffer to only have # CPUs cachelines, further saving memory.
It's amazing how shortsighted & wrong one smarmy glib post can be.

Valve is kicking ass, leading massive technical charged doing great & fantastic work with none of the typical Service-as-a-Software-Substitute slimeware that everyone else keeps falling to. Great novel hardware with very high bandwidth & compelling input, best if not only useful end user drivers out there as we see with projects like Monado XR that are practically unimaginable elsewhere.

You're damned right they don't have a killer business instinct. They have a nurture protect & help instinct.

They aren't on inside-out tracking, not yet, they are building far more reliable open systems for outside-in, & that makes them more costly. But you know what you are getting & you know the raw data right out of the sensor is going to be great.
Where did you find DMT as a teenager?
The big change is not that somehow PG&E is going to inspect every hook on every tower. It’s not like they can just climb the tower and check it out, as you say they inspect with helicopters and cameras. Probably many of these towers don’t have a clear means to even access them with heavy equipment.

Instead, the approach is they will simply shut off the power during these high risk days.

Interesting that they actually warned that they could shut off power in the days leading up to the fire, but never actually did. To me, those are the meetings to zero in on when it comes time to lay the blame. I wonder, what was the calculus to cutting power (which itself can have health & safety impacts to the populace) and how much of it was political?

PG&E has 100,000 miles of transmission lines, so perhaps about a million of these towers. To put that in perspective, historically they spend billions of dollars a year on maintenance and upgrade on the order of 100-200 miles of transmission lines per year.
I don't agree. There are a lot of services which provide fully managed platforms with multiple competent providers you can migrate between. WordPress + CPanel does a great job at this, I've seen barely technical folks manage multiple websites and blogs,export and restore backups, migrate between providers. And this was all 10years back.
It feels like a great use case for a drone, you could get closer, the video can be taken by non-inspectors and then reviewed later/stored.
It is really not that hard... I spent less time setting some nginx / letsencrypt than trying to configure google loadbalancer for static files with https and their blob storage...

It likely will have a better uptime too and require less maintenance over the years
> Custom views that replace basic functionality

The only custom controls I see are the tabs, tab bar, and a few modals (like when opening a new tab), and a handful of buttons and segmented controls in the sidebar. Everything else is native, unmodified Cocoa controls: NSWindow, preference window and its contained controls, the sidebar, etc.

I actually am a bit curious about the decision to have those NSButtons with custom backgrounds … they don't really look right both on Catalina or Big Sur. Native-looking NSButtons are used everywhere else, though.

> the entire window frame

About the only thing that looks unusual here is the custom buttons at the top-left with the diagonal lines. No more custom than Xcode, iTunes.

If the problem is that the toolbar seems to be in the titlebar, that's been an accepted, Cocoa-supported window style for a long time — and much more prevalent in Big Sur.

It has the correct translucency behaviour in Big Sur. Maybe one day they'll update it to use Big Sur-style full-height sidebars.

> It looks, to me, like an Electron or RN "app"

Electron and React Native apps wish they could integrate with Cocoa as well as this.

Those never look like anything more than a plain NSWindow with a plain, thin titlebar with a web view inside — or worse, not even an NSWindow but one painted with custom controls.
How do we decide who is “personally responsible”? Wells Fargo’s tellers were the ones personally responsible for the fraud, but that was due to unreasonable targets set by management.
At this point it's clear that Facebook have "won" VR. At least for the current generation that's mostly focused on gaming.

The original Oculus Quest is already really good, and was constantly sold out for almost its entire lifetime, and now Facebook are selling a near-4K resolution headset with a top-of-the-line Snapdragon XR2 for $299.

I have been considering starting an open firmware project for the Oculus Quest 2 (Snapdragon XR2), and too a lesser extent, the Oculus Quest (Snapdragon 835) and Oculus Go (Snapdragon 821).

All 3 headsets are Android-based devices. Clearly, most of Facebook's innovations have been deep in the stack. The sensor fusion involved in 6DOF tracking and the approach taken for Oculus Link PC tethering are non-trivial problems that have taken entire teams of people years of work.

It would be many man-years of work to reverse engineer and re-implement Facebook's work to the quality level seen in the Quest.

But it can be done, and it would mean liberating the best value VR headset hardware on the market.

A hardware platform that is poised to dominate over at least the next decade.

This is Hacker News. Is anyone else interested?
I wouldn't care about the expense if they made a good product. The problem is when it comes to my notes if I don't control where the data is then it can't possibly be a good product.
The world’s longest burning fires: China’s unseen story (2013)
My understanding is that the German system is Mixed-Member Proportional Representation (MMP) [0] which usually involves having a list of top-up candidates who don't belong to any specific district. The Baden-Württemberg system is a clever way around this, although it does lead to some districts being represented by multiple representatives.

Having more representatives than districts seems like it would be an overly-ambitious cultural shift in the US, whereas my proposal keeps the familiar 1:1 correspondence, even if there is gerrymandering. It also doesn't change the ballot papers or counting process; and, if gerrymandering is successfully disincentivised, the process works exactly the same as under the existing system.

[0] https://en.wikipedia.org/wiki/Mixed-member_proportional_repr...
It's far from obvious to me that an AI would be able to inspect a complex system like this for (potentially unanticipated) failures more effectively than a knowledgeable, experienced human.

And aside from the proximate cause of the fire, the thread highlights a deeper and more insidious issue, namely the diffusion of management responsibility for decisions and their consequences. It seems to me that delegating inspections to an algorithm would make that problem much worse, not better.
take a bit more pride in what you do. even your handle, lowiqengineer, says something about yourself. you internalize that and it affects you. it's already been said but stop comparing yourself to others. you don't need those perks, you don't even need that much money. find something bigger than that.
Unfortunately, you'll probably have to talk to a lawyer and maybe go to court to get damages...
I'm working on a blogging platform which of course allows you to add your custom domain(s).

Another feature we have is being able to add any URL you like to your posts or even redirects to the "main URL". So for example if you migrate from WP and some post had this URL:

domain.com/posts/123

You could use that as your main URL, or use it with a redirect to a new URL such as:

domain.com/hello-world

We're also working on a feature to be able to download all your content in a .zip file with HTML files, markdown files, and images.

Are there other features you'd like to have to feel "in control"?
Oof, WINS is some super antique stuff. The (traditional) process to find and select a domain controller is known as "DC Locator"--or else search for DsGetDc--and is essentially DNS-based.

Caveat, I've been out of the Windows/AD game for 7+ years!
I came here to say this too
Native code but cross platform UI. It doesn't support Services[1], for example.

[1] https://developer.apple.com/design/human-interface-guideline...
I too want a 50k x 10x virtual desktop.
My favorite “console wars” story that I came across a while back, and is relevant to pricing advantage, is when Sony more-or-less immediately killed the Sega Saturn before it’s US release.

Right after Sega’s E3 presentation announcing the Saturn, US release date, and it’s $399 price tag, it was Sony’s turn. The guy from Sony walked up to the mic, said “$299”, and walked off stage. [1]

[1] https://youtu.be/ExaAYIKsDBI
AlphaGo vs. Ke Jie: Match One (2017)
Two things:

1. Once someone overcomes the upfront information barrier to piracy continued piracy has barely a convenience differential from using official channels. The user going to the steam page to enter their credit card and buy the game is doing as much work as the insider pirate knowing the right trackers to source a cracked version from that often comes with its own one click installer. Especially when official releases encumber the game in DRM that often breaks it for some fraction of legitimate buyers.

2. Games are still, if not region locked, regionally released. You still often cannot get AAA titles within months of publication at any price in many countries and if you can they often cost more than a whole days pay. There is a market to play the latest titles when you have no practical access to them where you live.
All of these blockades are simple ISP-level DNS redirections. Simply changing your DNS to google or cloudflare or similar resolves this quite nicely, no VPN needed.
It doesn't sound like that, and it isn't.
I think the biggest issue is that the relationship between pitch attitude (angle) and rate of ascent/descent in aircraft is tenuous at best. During landing, for example, it is typical to have a healthy descent rate with the nose slightly up from level. I don't think I've ever seen any procedure with a fixed pitch angle, it pretty much always depends on the gross weight anyway.

Emergency descent maneuvers in the C-172 and I believe many other small aircraft actually involve a 45 degree roll angle, and whatever pitch angle achieves a desired speed (e.g. 120 kias in the C-172). This produces a tight downward spiral, the spiral helps because it moves lift off the vertical axis which lets you descend more quickly at a fixed speed - otherwise you'll speed up until the wings fall off. I suspect the 45 degrees above may have come from confusion over which axis it was around. I'm not sure what the exact justification is for the choice of 45 degrees but 60 degrees roll angle is usually considered sort of the upper limit (beyond that is technically aerobatics) so 45 is pretty commonly considered the "steep" extreme.

It looks like the procedure is different for the big boys. A quick google shows that the emergency descent procedure for the 747 is thrust closed, speedbrakes at flight position, gear down, make 320 kias. Pitch angle that produces would depend on weight but it's not going to be 45. No spiraling involved, but then 747 seems to (unsurprisingly) have a lower max bank angle (really max load factor) than smaller planes.

The point is you wouldn't even really pay attention to the pitch attitude, you'd pay attention to airspeed. The answer to "what should the pitch be" is pretty much always "whatever results in the airspeed you want."
I actually use and prefer make + kustomize -- unfortunately the version of kustomize that is bundled with kubectl now is a bit behind on features sometimes but still it does "just enough" and I manage the rest with make.

Redistribution is important (and harder with a simple setup like make + kustomize) but I think obscuring the resources you need to run an application (custom or otherwise) is actually a bad thing for everyone in the ecosystem. If you're going to run something in your cluster, intimate knowledge of the resources required, the ways it changes your system is important.
Career Advice from Jeff Rothschild, First VP Eng at Facebook
Good IDEs allow you to change the layout or hide unnecessary parts.
> Communities should not be allowed to form, and should be actively wound down if they are within dangerous areas with seasonal problems.

But when we abandon most of the West (earthquake, fire, drought), midwest (flooding, tornados, east and particularly gulf coast (hurricanes), there's a whole lot of economic output lost from working land (farming, mineral extraction, etc.) that won't be replaceable when you crowd the remaining population into whatever safe bubble you have left.

The reason people live in dangerous areas is because they are often inherently economically productive, and in fact many of the things that make land suitable to human habitation are associated with periodic risk (freshwater supply and flood risk tend to go together, for instance.)
Steam and Proton beg to disagree. The biggest blocker "left" for games right now is the "Easy Anti Cheat" employed by titles such as Rainbow 6: Siege

Unfortunately Epic is notoriously Anti-Linux, from their CEO down. So the status of EAC under Linux is a giant question mark
Volunteer. Get out in the community and see how good you have it. I've always found that to be helpful when I'm feeling down.

If that doesn't help, switch jobs and try to make more money. Money is nice, but after a few years I'll bet one of two things will happen:

* you'll be happy you have gobs of money, and you'll keep chasing it

* you'll realize other things make you happy (status, time, relationships) and you'll decide to pursue those

Oh, and keep up with the therapy.
Ray-Tracing Support for Amdgpu LLVM Back-End Lands for RDNA 2
Living in Taiwan as well, and physical PS4 games are much cheaper after some time. I buy most of my games at around 500-600 NTD (17 to 20 USD). But PS4 (and Switch) seems to be much more popular here than Xbox, so that might be a reason.