skysight-inc/HackerNews huggingface dataset:
Unfortunately in the UK medical market, clinics/dispensaries/growers don't have to provide patients with terpene profiles. Still, some CoAs (Certificates of Analysis) are made available, and the rest you can sometimes figure out from the likes of Leafly.

For me, I'd say terpinolene, limonene and pinene tend to be dominant in the stimulating sativas I've had, where caryophyllene and myrcene take their place in indicas.

But it's no simple challenge, as non-dominant terpenes exert an influence too - and there can be dozens of them. And just to make it an even harder problem, it also seems to vary to some degree from person to person.

I seem to recall seeing Leafly's data in Kaggle, might be worth a look if you want to dig in!
> Teams that work together on the same project should regularly get together in a synchronous conversation.

This generalization is clearly not strictly true, but people stick to it anyway without thinking.

Who should get together, exactly? When should they? Why? What is the goal, and are they meeting that goal?

Almost every single recurring meeting I've been in has not considered these things seriously. It's just generic people making a generic meeting to talk about generic things to make it feel like work is getting done, when usually, at the end of the meeting, you realize the entire meeting could have been an e-mail.

The only useful purpose of a generic, purposeless, recurring intra-team meeting is to reinforce social working relationships. They aren't going to solve a bug or ship a new feature or solve a design decision in one of these meetings. They exist solely to talk about work without doing work, because the interaction between humans smoothes the social dynamics of doing work. But nothing actually gets done.
Sure, you could have a Free Market Socialist economy in which there are sectors of the economy managed by the state. And that there's a lot to tease out in terms of what level of the state is doing the management (municipal utilities vs a national health care system, for instance). This is also true of Capitalism.

But it's not like Free Market Socialism sits in the middle of the spectrum from Capitalist Free Market to State Socialism. If anything it exists on a separate spectrum entirely where you're taken the variable "ownership of business" and flipped it to "workers". And then there's a different variable that forms the axis "how much of the economy is state managed".

But even the question of "how much" is the wrong one here. A much more valuable question is "which sectors" are state managed and why. And, as referenced above, at what level of the state.

And then there's the question of what kind of state we're dealing with (democratic or authoritarian) and how it's organized.

I think these sorts of things are why I don't generally find spectrums helpful when it comes to economics, politics, and policy. Then tend to boil down complex systems to single features of those systems. But the impact of those features depends heavily on the other pieces in the system. It's a feature of complex systems that tweaking a single variable can have unexpected consequences because it's heavily impacted by the state of the other variables in the system.

I think, in general, it's more useful to describe the systems as coherent objects with certain sets of features. Even trying a multi-dimensional map gets tricky fast.
> Bjarne's books might be great, but they aren't for anyone new to C++ and especially not anyone new to programming in general.

I disagree. Not sure why PPP[1] wouldn't fit the bill. It's specifically geared to people who haven't programmed before.

1: https://stroustrup.com/programming.html
Great question. You can do this with a cell consumer (i.e. the with() method). See OrientationTest for an example (e.g. leftToRightButton, rightToLeftButton):

https://github.com/HTTP-RPC/Sierra/blob/master/sierra-test/s...

I should probably add a better example.
> Yes, they did put u”” back in. No it did not destroy the world.

This saga isn't completely over, over here: We still have code running python2 that we don't have the room to upgrade, and libraries that have to work with both python2 and python3. Meanwhile, people are pushing "code consistency" to the point where people outside our team are taking those libraries and running the "black" formatter on them - but "black" doesn't understand python2, so it removes the "u" prefix and breaks the library.
Does Tobi even work these days? Sometimes I think he prioritizes playing video games over running a multibillion dollar company. It’s frustrating because Shopify could have been much bigger as a result of the pandemic if they had someone with a bit more ambition.
Just one example:

https://www.nbcnews.com/health/mental-health/psilocybin-mush...

"More than 80% of those who were given the psychedelic treatment had drastically reduced their drinking eight months after the study started, compared to just over 50% in the antihistamine control group, according to results published Wednesday in JAMA Psychiatry. At the end of the trial, half of those who received psilocybin had quit drinking altogether, compared to about one-quarter of those who were given the antihistamine."
This doesn't add up. Should the `work around` not be used because it lessens the need for social activism ?

One does not negate the other.
What this does is put people at the mercy of property owners. In other words, simply to exist one must either own land or pay someone rent (if this was implemented everywhere which is how one should evaluate its morality).

Reminds me of Are you a Real Libertarian, or a ROYAL Libertarian?:

> When the state granted land titles to a fraction of the population, it gave that fraction devices with which to levy, and pocket, tolls on the fruits of the labor of others. Those without land privileges must either buy or rent those privileges from the people who received the grants or from their assignees. Thus the state titles enable large landowners to collect a transfer payment, or "free lunch" from the actual land users.

https://geolib.com/essays/sullivan.dan/royallib.html
If you published libraries on pypi you were in exactly that nightmare scenario. How do you support users on both versions of python (because let's be real, it took _ten years_ to change so you had to support both major versions) without two totally separate codebases and all the massive headaches that entails. There were some partial solutions like the library six and all kinds of related tricks to write python that was compatible with both 2 and 3 at the same time.
How is baseline 50% in 4 choices exam?
VSCode integrates with clangd for good jump-to-definition and auto-completion. The problem is VSCode, which is built on JavaScript/HTML, has become quite slow of late. The editor feels sluggish to respond to keypresses, especially in large files with lots of includes. It's always just on the edge of bearable.
I'm helping my Chinese-teaching girlfriend expand her online teaching business. She has zero business background and zero tech background, but even then still managed to land some consistent students last year.

This year I'm using my product development/tech background to help her make a logo, brand guidelines, set up landing pages for her Chinese teaching programs, setup CRMs to track potential student leads, help her write a sales script, etc. It's lots of fun!
C++ is not object oriented; it's a multi-paradigm language that supports OO, generic, even some functional, etc. It is a schizophrenic beast that will go (and take you) in any direction you do and do not wish to go.

For example, the STL is everything with a sprinkling of OO. Generics and template metaprogramming are everywhere. Algorithms are defined as distinct for data structures IN ADDITION TO object methods. It is simultaneously elegant and monstrous.

Once the diamond inheritance pattern for iostreams emerged, there was a HARD turn away from OO in the standards body. C++ is literally the embodiment of every programming trend for the last 30 years.
The Problem with Eating Paste
Yeah I expected higher too. Even things like phone scams are doing 10x as much damage[1]. Maybe it has something to do with the bear market.

[1]: https://www.helpnetsecurity.com/2022/05/30/spam-phone-scams-...
The capabilites of the language and the libraries available for it can sometimes be a good reason for dealing with multiple languages.

E.g. if you end up having a requirement to add some machine learning to your application, you might be better off using Tensorflow/PyTorch via Python than trying to deal with it in whatever language the core of the app is written in.
I feel a bit like this with the whole firestorm around AI artwork as well— it's been a big wakeup call to people who have been creating using technology-assisted workflows for decades, but still felt in their gut that they were bringing something unique to the table and were therefore "safe" from being completely automated away. That hitting the button for magic eraser or magic lasso or magic color correction was someone okay in a way that the AI itself sitting in the driver's seat was not.

Now that's been reduced to pointing out minor flaws that the next generation of AI artists will trivially resolve, and sharing memes beseeching other humans to participate in a boycott.

There's real pain and angst there, and I don't want to be callous about it with a comparison to buggy-whip manufacturers or something. But I wish the participants in these types of discussions were able to zoom out a bit and see that there's a larger societal issue here around automation, and that the real solution is going to be rethinking the basic economics of how we distribute wealth in a time of extraordinary machine-driven productivity— productivity that is no longer just about assembly lines and primary industries, but now also includes an increasing bite out of realms previously classified as "knowledge work".
emacs is no longer constantly swapping, either.
The Seven Most in Demand Jobs for the Next Decade
The Most In Demand Talent for the Next Ten Years
My family used to have a 68040 Mac with 5MB of RAM, IIRC. One came standard, four were added.
Given all the idioms in C++, I don't think constraining the editor to one language is a bad idea *if* it caters to these unique constructs. E.g. I had a templated PImpl class [1] whose template parameter was the implementation. It was a pain to `grep` for the classes specializing it, especially when other classes extended this PImpl class (sometimes extending a specialization, sometimes not).

[1] - https://en.cppreference.com/w/cpp/language/pimpl
Update: Stripe is holding over $400k of mine with no explanation [resolved]
This is an update to my previous post https://news.ycombinator.com/item?id=34189717 . Stripe has resolved the issue and everything has been released. I told the contacts at Stripe that I would do a write up about what happened from my point of view to help them understand what happened to me. I figured it would be good to do that write up publicly to help both Stripe and potential Stripe customers understand what happened and how it was resolved.

Summary: Stripe put my accounts in review for a spike in sales on Cyber Monday. Throughout the month we received very little communication from Stripe and had many support chats and calls. Keep in mind that the whole time Stripe was still accepting payments on our behalf on all of these accounts. Each of the chats/calls asked us to upload the same invoices each time for review and gave us vague information that our accounts were being reviewed. Finally out of frustration I posted on HN about my issue. Thanks to @dang for getting a Stripe employee to respond and he was finally able to resolve the issue for me.

Overall this review process was pretty bad. Very little communication and nothing I could really do directly to move things along or get any real information. It took a random Stripe employee to get an email from @dang and post on HN in order to get this issue resolved. I’m lucky because I know about HN and know that Stripe employees frequent the site, but I don’t think HN wants to become the Stripe support forum.

Stripe you can do better. We all know that in order to scale you need to automate pieces of your infrastructure and communication. But, there is a balance between automation and manual review. When someone like me gets caught up in an automated system there needs to be better ways of letting support help that person.

See my comments below for actual details and dates.
Now that's pedantic.
He is lunatic and lots of other words because he and his cronies actively destroying 2 countries one of which is their own.

He is also pathetic as all that huge income from oil, gas, grains, metals etc. got basically stolen. His precious army appears to be a "shining" example of his policies.
indeed, you might as well build a distrubuted monolith if your priority is absolute flexebility and ability to re-design on the fly
devil's advocate:

> A few ways, the easiest being to scale up the whole monolith with more instance

as far as I know, there's no way to granularly scale up a monolith. if the monolith has 20 or 50 or 100 modules and you need 1 or 2 of them scaled, you have to scale up the entire thing which is huge, expensive, etc.

> Another way is run multiple "services" using the same codebase, so you have workload segmentation, either via synchronous network calls, or async worker systems.

this is interesting. a monolith with some form of IPC? why not do microservices at that point? that sounds like microservices-ish?
Then you can presumably go to another company. There isn't another YouTube.

More generally, unlikely as it is to hit even this comfortable but modest in the grand scheme of things success, it almost certainly won't last indefinitely. Whether because YouTube changes something or because audience tastes change.
Microservices has little to do with tech. It is a way of organizing teams of people, funnelling all communication between teams through well defined specifications instead of ad-hoc meetings. It is not clear where static typing, or lack thereof, comes into play here.

TDD is a method of documenting your application in a way that happens to be self-verifying. You could use a Word document instead, but lose the ability for the machine to verify that the application does what the documentation claims that it should. Static typing does provide some level of documentation as well, but even if you have static typing available static typing isn't sufficient to convey the full intent that your documentation needs to convey to other developers.
DNS over TLS.

Android calls it "Secure DNS". It's in the connection settings, I believe starting from Android 9 or 10.
These boilerplate code can be and are automated away using deterministic frameworks. No need to introduce a blackbox and be responsible to debug the stuff it creates, which sounds far more painful than the alternatives.
Probably because e.g. SWIFT, a small portion of the traditional western financial system, moves $5 trillion per day.

But also yeah, the crypto stuff is a distraction. Think of how much media, regulatory, financial, and technical mindshare has been consumed by this (as of now) hobbyist technology. It's pretty obscene.
Show HN: Feez: Track your progress in public
Hey all

I'm planning to create a new tool to track progress in public.

I often see indie hackers setting goals over Twitter or other platforms, but usually, the information on what has been done to achieve that goal is either missing or hard to find. To be more transparent and document steps, I thought of creating Feez.

If you're interested, please sign up. I'll implement the tool once there are 1000 subscribers. That's my first goal

https://www.feez.ws
I agree, but the problem is that eventually it becomes not okay. So it requires a bit of nuance to understand when it is and when it isn't.

Unfortunately most engineers don't like nuance, they want one-size-fits-all solutions.
The (lack of) infrastructure around crypto made the FTX fraud possible.
This is not just a Python problem. I remember when PHP shifted from 5.6 to 7 - I used many projects and software which needed to be updated because e.g. all the mysql_ functions and some crypto functions were removed.

Same Issue with e.g. converting Vue 2 to Vue 3 or Angular.js (Version 1) and Angular (Version 2).

I really hate when some programming languages or frameworks completely remove important functions which were used by nearly every project.
Yes, just as anti-feminist/pro-patriarchy behaviors can easily come from women. It’s part of our cultural programming and its very hard for people to sidestep that without a lot of self analysis.
well, why not text?

Ruby should work well, it's pretty close to plain english, and is not too heavy on punctuation, and is (mostly) not whitespace sensitive. You'll need some screenreader setup, of course.

Making games is a major hook for kids to go into programming, but there're text games, like zork etc.
For some background, there is a documentary that describes the past and the current state of using hallucinogenic drugs for therapy: “How to Change your Mind” on Netflix.
You do not want updates that solve bugs? Some support in case you have questions or problems? Maybe also some new features (usually the word changes and also your experience and expectations)?
You don't hear about it because it is only shades of illegal and/or hard to investigate, and most importantly, benefits powerful people (it is no coincidence that financial laws do not prevent this kind of rich people crime). It's been an open secret forever that London is dependent on laundering especially Russian oligarch's money.
FWIW, in Linux, this problem does not exist. Everything is UTF-8 and Python 2 would work just fine (and always did).

In order to support Windows better, Python 3 introduced support for UCS-4 (or worse, UTF-16) strings (depending on a compilation setting when Python was compiled) and they had to introduce extra string types to distinguish readable strings from binary strings ("bytes").

These extra types made Python 3 a lot harder to teach (I teach 30 person classes every year).

So it's not all roses now.

In the end, I got used to it, BUT I just gave up asking encode()/decode() questions at the exams. Very few people understand it, or care enough (and I understand why--it's a ridiculous thing to have). You only need it if your OS somehow slept through the introduction of UTF-8, which is backward compatible with ASCII, resilient even if there are transfer errors and can encode all unicode characters.

Encoding problem used to be really common in UNIX (and before that, in mainframes), but with the introduction of UTF-8, all encoding problems I had vanished and never appeared again.

Even Windows 10 has an UTF-8 mode now and the Windows API functions that end in "A" can be made to use UTF-8.

Now, in a sense, Python 3 has this entire complication for no reason.

That said, Python 3 is ok to use now--and, conceptually, distinguishing byte strings from unicode strings is better (for example so that you don't accidentially print the former to the terminal). It just uses up brain cycles that you could be using for solving your actual problems.
If you're worried about it being deployed too soon (like the issues we see with certain self driving systems), then I agree.

I'm assuming the case where it's actually good rather than merely better than me (I'm not a lawyer, so a low… bar… to pass).
https://www.youtube.com/watch?v=sxm8QwvESJk&ab_channel=TEDME...

https://www.nature.com/articles/d41586-022-02872-9

https://www.nejm.org/doi/full/10.1056/NEJMoa2206443

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8156539/

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8901083/

https://jamanetwork.com/journals/jamapsychiatry/fullarticle/...
You don't. The directives in Perl code tell the Perl interpreter, even the very latest one and it's the only one installed on your machine, how it should intepret loading the code.

If you don't write special in your code, Perl doesn't have a "say" method (because it didn't have one in Perl 5.8). If you declare in the code that you're code for Perl 5.10, magically there are all the Perl 5.10 features, including "say". You can also declare you want specific features, rather than declare a specific Perl version.

$ perl -v | head -2 | tail -1
This is perl 5, version 30, subversion 3 (v5.30.3) built for x86_64-cygwin-threads-multi
$ perl -e 'say 1'
Number found where operator expected at -e line 1, near "say 1"
(Do you need to predeclare say?)
syntax error at -e line 1, near "say 1"
Execution of -e aborted due to compilation errors.
$ perl -e 'use 5.010; say 1'
1
$ perl -e 'use feature "say"; say 1'
1

The best thing about this is you can mix and match libraries from earlier and newer Perl versions. If a library says they want Perl 5.10, they get Perl 5.10, even if you want both Perl 5.30 and that library.

If only Python were as reliable for backwards compatibility.

The Perl community is going through their own Py2->3 moment, and they're doing it with great care. They're going to create Perl 7, which will be Perl 5 where the "defaults" make the language look more like Perl 5.32 rather than Perl 5.8 [1]. Modern Perl scripts don't need so much boilerplate to enable modern features. They know exactly the trouble this will cause; if Perl 7 ever becomes the default Perl interpreter, the only one, it _will not run_ lots of very old Perl scripts untouched, because the defaults will make years worth of language changes suddenly visible to those scripts. Even if the fix is just to slap "use 5.008" on every script, they worry about it. That's a much better attitude than the Python developers.

[1] https://www.perl.com/article/announcing-perl-7/
Ok so let's put it as "conquer and/or control".

This seems implausible to me. There was never a chance to conquer and control a country the size and population of Ukraine with 200,000 soldiers. When Germany invaded Poland, a country half the size of Ukraine and roughly comparable population, they brought 1.6 million soldiers and two weeks later the Soviet Union attacked from the other side with an additional 0.6+ million soldiers. I can not imagine that Putin would think 200,000 soldiers would be enough, he does not seem to be that kind of idiot.

[...] while declaring that it doesn't have a historical reason to exist and belongs to them?

This seems to be based on Putins essay »On the historical unity of Russians and Ukrainians«, right? The following is also from that essay.

Things change: countries and communities are no exception. Of course, some part of a people in the process of its development, influenced by a number of reasons and historical circumstances, can become aware of itself as a separate nation at a certain moment. How should we treat that? There is only one answer: with respect! You want to establish a state of your own: you are welcome!

[...]

The Russian Federation recognized the new geopolitical realities: and not only recognized, but, indeed, did a lot for Ukraine to establish itself as an independent country.

And yes, it also talks about historic ties and disputed land and all that stuff, but you can not take this essay and draw the conclusion that Putin wants to conquer Ukraine unless you cherry-pick parts of it.

I just don't know how else we're supposed to interpret this.

Just as Putin said in his public address after the invasion started, he considers NATO expansion a threat to Russia and Russia will do whatever is necessary to make this not happen.
It can help treat a range of issues: addictions, various traumas, depression, fears and anxieties. Also, it can be very dangerous for anyone with genetic predispositions to a range of mental health issues, such as bipolarism and schizophrenia, so anyone who is dealing with mental health issues ought to know their family history or get personally tested for the genetic markers.
You know, I knew there was a major association between TDD and XP (wonder why!) and I had always heard of XP being Java related, but looking deeper I'm not sure that's has true as I thought
Good point. I edited my comment. Thank you!