skysight-inc/HackerNews huggingface dataset:
Ask HN: Advice for cross-platform dev environments for Python Extensions
I've been dipping my toes into extending Python with C/C++. I've experimented with ctypes, raw native Python C (#include <python.h>), and now I'm trying Pybind11.

My experience has been that setting up a development environment for this sort of thing is hell.

In the JetBrains line, PyCharm doesn't support C/C++ development, and CLion has limited Python support (I can't use Jupyter Notebooks in CLion for instance), and you can't use both IDEs on the same repo (Plus CLion is not free).

For Visual Studio, I'm actually pretty impressed with the python capabilities. Using the default MSBuild system, I can create a project that outputs a pyd file, and add a project with a Python file that has a reference to the pyd output directory, which works seamlessly. But the second I want to make it cross platform by using CMake, I can't add a reference to the output directory from the C++ project to the Python script. I thought to just append the output directory to the path, but then I can't differentiate between debug/release. And I'm sure mixed language debugging would be limited in CMake mode.

I haven't yet tried VS Code.

Does anyone have any tips or advice or best practices for setting up a cross platform C/C++ Python development environment?
Google deal brings Mozilla 90% of its revenue [1]. Money talks.

1: https://news.ycombinator.com/item?id=28954390
It wasn't FOSS that settled on Electron - it was businesses and corporations.

Decisions were taken with an eye to balance sheets and P&L reports; Electron remains the cheapest option of them all, because the supply of moderately-skilled HTML/JS labor is naturally larger than for any other language - all thanks to choices the Netscape Corporation made in 1995, when they needed interactivity in their product and they needed it quick.
Yeah I can confirm that as well.

My wife for many years has been complaining of bone and joint pain, strange rashes, and other odd symptoms suggestive of an auto-immune condition. I kept telling her to ask her doctor for at minimum an ANA to see if it comes back with anything. Her doctor kept brushing it off as "stress and anxiety" - something I've learned incompetent medical professionals throw around without ever gathering a mental history or referring the patient to a psychologist - and basically refused to do further tests. The GP basically wrote her off as a hypochondriac with zero evidence; no tests, no referrals to a mental health provider, no looking back at her history, nothing. Doesn't "give a whiff of a shit" is spot on.

I finally convinced my wife to see another GP. This one definitely fits the bill of "extraordinarily competent and dedicated" and on that first visit the new GP ordered an auto-immune panel. Well well well, she came back with high ANA and Rheumatoid Factor markers. She's been seeing a rheumatologist since then who has been evaluating her for rheumatoid arthritis and lupus.

EDIT: this is not my only anecdotal experience either. There's so many of them. For myself: over many years I was slowly losing sensation from the neck down along with a myriad of other neurological issues that were strange but had no specific point of origin. Got several MRIs all of which came back inconclusive.

About 3-4 years later the problem suddenly progressed to me running into walls, losing significant sense of sensation, and losing my balance. I visited an orthopedic clinic and got a second set of MRIs (brain and neck), but this time I asked for a CD so I could review the material myself. The radiologist reported no issues, but I used radiopedia and medical journals to study and cross-reference normal/abnormal MRIs with mine. I found an area between C5-C7 on my neck with significant spinal cord compression. The orthopedic doc read off my radiology report and said "your results were normal". I ended up begging her to go through the MRI stack with me just to see it with her own eyes. She reluctantly agreed. We get to the C5-C7 section and she pauses, says "I'll be right back, I need to consult with one of our surgeons" and boom, I was scheduled for surgery for the next month. Unfortunately I didn't make it a month. Over the next week things deteriorated quickly and I ended up having emergency surgery.
I just got access to this the other day and I'm excited to try it out!
This is for the steam release of Dwarf Fortress - it is getting an official UI overhaul!
Put it in a public phone directory and maybe SSN will finally not be used as some layer of security. Credit card numbers likewise.
Complicated software is required to evolution
Everything is limited by physics. But I think the limit is not close to where we are right now. Consider a smart phone. Physically, what is it? Some silicon, glass, a lithium-ion battery, and some other trace metals. If you were to have the raw inputs in front of you, it would be a small pile of dust. Yet, with just that small amount of material, a person can get access to a near infinite amount of information and entertainment. And smartphones can run software, which allows the phone to be updated for near-zero marginal cost. And this is only something invented in the last few decades. There are so many amazing things being created around us all the time. I don't know how you can look at this situation and think "yup, we've reached the end of human ingenuity."
I've counseled a number of founders on co-founder breakups.

It's hard to tell you what I think without knowing more detail, but based on what you wrote, and assuming you both signed customary IP assignments and RSPAs at incorporation, the simplest way to move on would be for the other founder to resign as an employee and director.

That would enable the company to repurchase his shares and you would own 100% of the company and the IP that belongs to the company.

Since he wants to start what is essentially a different company, he shouldn't have a problem basically walking away and leaving you with the old company.

You can sweeten the deal a little bit by allowing him to retain some small portion of his equity (like 1% to 5%) in exchange for his resignation.

There may be more details here and I'm going only off what you wrote. I'd recommend working with a lawyer if you're going to try to salvage the old company with your co-founder moving on to other things.
See also: "Change Your Name" - http://www.paulgraham.com/name.html
Maybe don't edit on a server. Have you heard of git?
Who even claimed that such a city exists? Saying "I think X is bad" does not mean "I also think everything that isn't X is good"
The Vim plugin in VSCode is the thing that drives me out of VSCode, to be honest.

I have to say that I built so much muscle memory in those years that it is kinda hard to realized I'm not using Vim, and there is always something not-quite-like-vim in VSCode-vim that usually gets in my way.

(To be honest, the only editor that I found that is really close to Vim without being a Vim-thing was GNOME Builder.)
I believe this is for the Steam release, which will have a graphical default tile set iirc.
Well, given the support for the former president, there’s a hell of a lot of imaginary stuff in the us. Given the opposition to the guy, you see the split forming.
Sickening. Twisting normality like that has always ended up in annihilation as reality has proven to be quite immutable. Problem is that the process is quite slow in human-lifespan term so such people have to be endured for a while.
How far apart are the target markets exactly?
Again, I totally agree with this, but if that's the case, why isn't the lawyer suing the jurisdiction as well?
>My co-founder has written all of the code

>he holds a majority of shares

>My co-founder has decided he wants to pivot

>My co-founder has said he would be fine with me pursuing the initial idea

>asked my co-founder for rights to use the existing code in my new venture, he refused

Are you sure you are a co-founder? It sounds like you are an employee
Is it different in West Germany? I had the feeling the casual nudism was more just German culture and not really different between East and West.
> Ghost is powered by a modern technology stack using Node.js

https://ghost.org/vs/wordpress/
Mistakes don't sort neatly by causes into fatal and non-fatal. Some of almost any kind are fatal. Anything that prevented fatal mistakes would eliminate most others.
If you are reading this please take a look at start9. https://start9.com/

The major problem with Umbrel is that even though they package all in one-solutions. If something goes wrong you rely on umbrel for issues (against decentralization). You will rely on their updates for any problems.

start9 built an linux os group up. all services are individually packaged from source.

umbrel packages all dependencies together (via docker container) which could causes issues for maintenace.

// start9 vs umbrel
https://youtu.be/kmfzATMxCj4

// what is start9 embassy?
https://www.youtube.com/watch?v=GfMvXJxYamw
The history of Zulip is one of my favorite counter-examples to this trend. They have seen great growth and success since spinning off from Dropbox!

https://zulip.com/history/
> That's not true.

It is unclear to me which part of my comment is "not true". Could you elaborate?

> E.g x = 5, y = 6, x+y does work in many languages.
> [...]
> It is an unambiguous command

It is absolutely not unambiguous; you only think it is because it happens to work the same way in most languages.
impotence means powerlessness or inability; the state of lacking potency. It's usually used to refer politely to erectile dysfunction.

Perhaps you meant impetus?

https://www.merriam-webster.com/dictionary/impetus
Judging surgeon competency is much easier than judging physician competency, and physicians make up a much larger share of "medical doctors" than surgeons.

Physicians sometimes jokingly refer to surgeons as "technicians" because what they are doing is often more discretely defined, clearer boundary conditions, clearer indicators of performance/success/quality (especially over X number of cases when you know the national averages for outcomes), and ultimately of a mechanical nature. The work physicians do can sometimes be described similarly, but much less frequently and it can be much harder to do.

The physician/surgeon distinction is a critical one in medicine that is under-appreciated in most conversations about "doctors".
> What you describe also works on X11 and probably what MacOS uses too.

Except its no where near as smooth or universal as in Windows. In Linux, you have to worry about KDE programs vs GNOME programs having different clipboards, for example.

Its also why compatible suites of programs (ie: Adobe) can be so useful when those custom formats come into play. Adobe can copy/paste layers from Photoshop and send them over to other programs. If the photoshop layer isn't understood, it seems to become a Bitmap, which works when I'm on a VBulletin forum over in Firefox land.

---------

Copy/paste works on files / file-managers, images, text, HTML. Yes, any OS could do the same thing, but they largely don't in my experience.
My suggestion would be that rather than considering 200 vs 404 implications, when in doubt just 302/307 to a page that gives as much sanitized non-sensitive debug output as possible or at very least a unique identifier so that customer support can look up the transaction. The 30x will not be cached for long by a CDN or search engine and will be retried later vs. being cached a long time as a 200 or removed from caches/search engines for being a 404.

If one did not mind bending the RFC's a bit they could even put the unique transaction identifier in the 302/307 for easy viewing from the client.
By demanding a mental health system that keeps people from harm while being perfectly compassionate, you're preferring the utopian social ideal to the possible. It's just too much to ask of doctors, nurses, and orderlies to be compassionate all the time. These people are human beings.

Mush-brained calls for empathy are a dime a dozen and they lead to failed policies, in SF and elsewhere.
>The reason I don't find it so ridiculous is that

So you're ok with lying as long as it matches your likes?

This is how we get terrible public policy - enough people believe the fake items of the day elect people that act on those items, "solving" the wrong problems, allocating resources inefficiently, and creating more problems.

Why not simply call for accurate information to help people make better decisions?

As to unrest, which causes more, social inequality or people acting out after being fed bad information? Which caused more attacks and deaths in the US over the past 4 years? Which causes more damage to the planet?
> I hate it when there are tons of unintelligible knobs on an application

Fore-warning, for your sake, dont use RetroArch!! It's a huge huge tweakfest, page after page of tweaking.

RetroArch, i think rightfully, targets power users.
Author please put domains.db file on torrent.
Are raves still a thing?

I'm a big fan of moody ambient electronica, but I can't imagine anybody pogoing to it.

What do the kids dance to these days?

Are there still mosh pits?
It's trite to say "the best tool for the job", but language support can vary drastically from one editor platform to another.

So I end up using IDEA if I'm working with Scala and Java at a job, Emacs if using Clojure, vim for those tasks that are kind of like using sed and awk but not quite, and for everything else, like Terraform, Python, shell, SQL, there's VS Code.
Yeah, It's a good learning experience at least. Never worked at one of these. Guess I naively assumed that since it was from #SiliconValley it might be different.

What do you think would be the best types of jobs to target for lower friction? Startups I guess.
Facebook may be evil, but I've never heard anything but good things about the work culture
I use and have used both a lot.

I was about to give up WebStorm the other day, but eventually got around it.

Jetbrains products are very good, but they feel a little "French" just like Macs: beautiful, but be aware that on some models the handbrake is on the same side as the door so you might end up tearing up your pants or bruising your thigh until you learn to be careful :-/

VS Code by comparison is very straightforward, but not always as sophisticated.

Personally I'd use NetBeans for backend and VS Code for frontend but because of Kotlin (which is great) I'm stuck with IntelliJ anyways.
VSCode killed Atom long before GitHub acquisition.
"Michigan State University, which was also accused of missing chances over many years to stop Nassar, agreed to pay $500 million to more than 300 women and girls who were assaulted by Nassar. USA Gymnastics and the U.S. Olympic and Paralympic Committee made a $380 million settlement."

It blows my mind that places like this even have that kind of money. Or maybe they have some sort of insurance.

Then there's the fact that any individuals responsible (besides the actual perpetrator) have no financial responsibility. The cost gets passed on to future students or other consumers of insured organizations.
Because it's not real antiracism. True "progressives" have practically never cared about marginalized races by and large, that sort of concern has most frequently been either religious or (quite rarely) broadly humanitarian/humanist in nature. The only concern of political radicals is power itself.
Is there any way you could offer to _buy_ the code from your cofounder ? If he/she believes there is no value in it (hence the pivoting), there shouldn't be any problem.
I've tried too many times already to use the Jetbrains IDEs, because I know they're great, specially about the IntelliSense stuff, autocompletion, suggestions, etc.

But I just can't. My fingers are just too used to vscode, and I can do everything I need to. I feel like vscode is better at everything, and faster, except for the IntelliSense stuff. But lately I've tried GitHub Copilot and that just compensates it sooooo much, to the point I think it is even better than IDEA at suggesting stuff.

Also, working mostly with JavaScript and Typescript makes the difference go away (for me at least) as it is damn good at it.

Being free and open source also is a big plus for using it. And I love also how easy it is to configure... just a JSON with autocompletion for any setting you want to tweak. So much easier than having to mess with a ton of tabs and sections and search for settings, etc, etc.

But, if your language is not well supported in vscode, I agree Jetbrain's IDES are great and probably the best option out there. Specially IntelliJ if you're doing Java/Kotlin etc...
Yes - I was just thinking this!
I personally found Atom + Hydrogen [0] to be the most productive interactive Python environment I've ever used. I really want to see VSCode adopt some way to run a Jupyter kernel for a Python file (with a notebook UI) and have rich results in line with the code (i.e. not a terminal output off to the right side of the screen).

[0] https://github.com/nteract/hydrogen
If Elm were really that bad, then maybe we wouldn't see the exact same salty blog article shoehorned into every thread about Elm.
> the primary reason it died was because Microsoft decided to make their own competing editor

> Microsoft likely gave zero shits about Atom as a competitive threat since it was effectively dead at the time anyways

How can Microsoft both give zero shits because it was effectively dead, while also still being the primary reason it died? That seems to be a chicken-egg problem.
A broad statement such as this inevitably gets it wrong.

I use micropython for developing embedded applications for industrial sensors. It is much faster to develop and I am fine using microcontrollers with enough memory that I do not need to optimize every last byte. Cost of the hardware is not the priority.

There are applications where there is not enough memory and python isn't the right tool. But in a world where microcontrollers keep getting more advanced and packaging more memory, claiming that languages like Python have no place is just as wrong as when people claimed Python had no place against C/C++ back when PCs were more resource constrained.

The economics for this type of question typically center around volume shipments. If you're shipping lots of hardware, optimizing hardware cost (and therefore minimizing software resource requirements) is the priority. If you're not, developer time is the main cost. There are a lot of products in the latter category.
I love the use of the word boggled here. As an idiot when it comes to office politics I can relate
Your co-founder's code is mostly worthless at this point without the continuing involvement of the co-founder. Developers have their own idiosyncratic coding styles, and without a multi-member dev team providing continuity of design, I expect that a new developer would rewrite it as the product evolves.

At the same time ... if you've been at this for 6 months already and you don't have any meaningful traction, you should strongly re-evaluate whether this is going to be a viable market for you.
SFR Toolkit: Investigate corporate homeownership in U.S. cities and states
I don't think you're wrong. The 308 seems to be gaining in popularity and value recently after having suffered a spell of "that didn't age well" itis.

Perhaps "fragile" was the wrong word. Although I never owned one, I have had a few friends who have and they have all said something along the lines of, "the car is not a daily driver." They all owned at least two, and in one case, more than 10 vintage Ferraris.
Adobe After Effects CC Course: Learn Stop Motion Techniques
In this Course you will learn from Scratch and how to became a Master in Creating a Stop Motion Slide Show .I Will Start with Basic Stuff Like Importing Files in After Effects and How to Use Software Shortcuts and I Will Teach You Amazing Creative Techniques in After Effects and How to Use Various Tools in After Effects and How to Draw custom shapes in After Effects and in This Course all the Effects are created With Out Third Party Plugins and you Will Learn How to Create Expressions for Some Animations It will Save you a lot of Time .If you Enroll this Course you Learn a lot of new Techniques Which are Very easy to Understand and Practice With these Easy Techniques you Will Achieve Very High Quality Results and you Will Learn how to Render this Project in Media Encoder .After Completing this Course Definitely you will a learn a new Creative techniques you have any queries regarding this course please Don’t hesitate to ask me and you can be in touch with me and am always available to answer your questions All the Best

Introduction
Introduction
Brief Understanding of Various Stopmotion Techniques
Creating a Background Texture For Our Scene
Creating Animated Shape Layers
Creating A Circular Shape Animations
Bringing Burger Into Our Scene
Animating Burger
Creating a Long Shadow For Burger
Adding additional Shape Layer Animations
Creating a Text In Our Scene
Animating a Text In Our Scene
Adding Additional Boom Animation Under Text
Creating Additional Noise Texture
Colour Correcting Our Scene and Adding Vibrant Effect To Our Scene
Creating a Transition For Our Scene
Creating a Second Scene For Our Project
Finalizing Our Project and Rendering With Media Encoder

https://futurenewsforyou.com/adobe-after-effects-cc-course-learn-stop-motion-techniques/
> For drug issues, jails solve that already by restricting freedom. However, the drug addict with socially provided housing is still free to continue using

If you think drugs aren't available in jails, I have a bridge to sell you. The effectiveness of jail time on drug cessation is marginal at best. We need better options.

> Economically speaking, most of these people will never be productive members of society again no matter how many resources we throw at them.

This is an incredibly strong statement for which I know no evidence exists because we have never tried. Additionally, the bar for productive member of society is fairly low and is not the only goal. Simply getting some people into a stable, semi-functional state can improve their lives and reduce the long term state costs.

> Fentanyl destroys your mind fairly quickly.

I know an individual with significant brain damage resulting in severely impaired mental functioning who is a productive member of society. He does require ongoing support from the state and can't live independently, but does have a job and does contribute some back to society.

I doubt we will see 100% recovery rates in our lifetimes, but don't be so quick to write people off before we even try.

Practically speaking, drug use and living on the street form a vicious cycle. Each increases the likelihood and severity of the other.
You’re not wrong, it is a punitive case against the government. It’s also about the actual damages that perpetrator caused, but those are difficult to quantify. I’m sure the prosecution is just starting what they consider to be the high side, knowing there are good odds a judge or jury might reduce it from there, if they win.
So in this land of topsy turvy logic, high crime stats is a good thing, because that means they're being reported?
It is a spam email.

Just because you were mildly interested in the spam doesn't make it not spam.
Oh - that is interesting - would you mind sharing what the registration system is?
Yeah I think I am in a similar camp. As a person involved in product development, I love the speed at which web technologies allow us to move.

As a computer scientist, I can't help but cringe at the massive amount of collective inefficiency in the current state of computing.

But don't get me wrong, I'd rather have the inefficient thing which creates value than nothing at all.