skysight-inc/HackerNews huggingface dataset:
Because the vast majority of Python programs aren't doing symbolic maths with Sympy. It's not a hack, and it's pretty trivial. I type "a," and press up, and run the line from my command history with all the letters in it. Sympy also has a submodule named abc you can import variables from, but I like defining them as real number variables so I don't get complex answers when they don't make sense.

Sympy is just a Python library, and one of the types it defines is symbolic maths variables, so you define Python variables just like with any other library, and then use them.
May this also interest community:

https://rzr.github.io/rzr-presentations/docs/abandonware
As noted by aplummer (https://news.ycombinator.com/item?id=25621023), the “body” in the title is the virtual body, that is a 3D model including the animation rig.

The origin of the dispute is that the artist that made the model for her claims that, after she bought the model, he did some extra work that she did not pay:

> The artist said on Twitter that he stopped working with Melody earlier this year, claiming that she failed to pay him for “months of support” that included “free assets, fixes, and project management.” He then asked her to sign a “service deal” for ongoing support, which she refused. “She didn’t pay for the service deal nor the work I did leading up to it. So I said bye,” DigitrevX wrote.

> Melody claims she offered to pay for the “free” work, but DigitrevX refused. He continued to be “rude” and “insulting,” Melody wrote, so she eventually cut ties. “I finally blocked him after he kept saying shitty things about me, and now he has resorted to trying to de-platform me, starting with twitch,” Melody wrote.
I think SMRs like nuscale have a pretty good chance at the same as long as the myriad of startups can consolidate a little and not crowd each other out of the consistent volumes required to advance on the learning curve. It seems right now the medium term future of the industry largely wrests on the economic success of the nuscale ecosystem.
Why is there a difference (or double standard) in how Apple treats those who can afford to buy an iPhone to those who are forced to build them?

From the AppStore submission policies:
"Apps that encourage consumption of tobacco and vape products, illegal drugs, or excessive amounts of alcohol are not permitted on the App Store ".

I don't believe "Apple can do two things" is a valid argument. You cannot promote "protecting" one set of people from drugs whilst exploiting another set of people for financial gain. It is twisted logic and we shouldn't stand for it.

Recently Apple lobbied against a Bill in Congress to aimed at protecting Uyghur minorities in China: https://9to5mac.com/2020/11/23/anti-forced-labour-bill-apple...
Definitely don't. Nothing good will come to you from it.

You abandoned it for a reason and only people who'll benefit from it are other people. That would be fine if it was not at your expense. Someone may look at the source code and contact your support or even take you to court because one of your programmers ignored license of a third party library. You could get it audited and re-write parts of it... even so, there is a non-zero risk that someone will come after you.

If you're OK with that, do what you want. Otherwise, by default, don't opensource your abandonware.
“It works for me.”
How do you get around the niggling feeling that you'll be judged on the bad quality of your code from N years ago?
Bangle.js Open Source Hackable Smart Watch
And advertisers still cant predict what I may be interested in.
Geoengineering is arguably the most efficient (on average) way of containing and reverting climate change.

It is also a potentially devastating weapon. Just like gain-of-function research in human pathogens which may have given us SARS-CoV-2.

Rest assured China will experiment ruthlessly with weather and climate modification for its own political ends. With this in mind, we have nothing to lose by doing our own R&D and moving geoengineering closer to higher TRLs.
Too late, probably (open-sourcing, not the threat of monoculture). The owners of Opera AS (a Chinese VC as of now) aren't probably interested in that. It would be much more probable that Microsoft will release IE under MIT over open-sourcing Presto.
I would imagine the most interesting problems are the ones that impact you or that you think of, because everyone if different. Sometimes they aren't even "problems" but just improvements or curiosities. You might just need to dig a little more or reflect on things.

For example, I taught myself Java for Android and created an app to calculate party alcohol needs. One part was pretty trivial - cost/volume calculation for the price per pure unit of ethanol. Then I modified the BAC formula so that I could plug in the variables (number of people, estimated average weight, hours partying, etc) and have a slider for how drunk you wanted the people at the party, then it would tell you how much alcohol you needed to buy. I found it very interesting to make. Sadly it never made me rich (or any money for that matter).
Dan Wang's 2020 Letter
Be like America, thrive by incurring debt.
Show HN: Eat the Donut (a dumb game I made)
Why is GIMP a challenge to talk about? I'm worried because I've talked about it at work with colleagues and I work in the US...
it was pushed by moderators
Absolutely! Miko was the first one of these vtubers I saw. The video of her taking off the mo-cap suit while still plugged in[1] hooked me and the technician (out of character behind the scenes) streams keep me coming back.

I actually don't really watch the "real" streams as they're quite interview heavy with people I don't know[2] but I'm inhaling all the tech. Very impressive stuff!

1. https://clips.twitch.tv/UglyEasyPuddingDansGame

2. Nothing against them, I just follow a lot of high quality content streamers, sometimes someone's doing something more interesting is all.

e: updated link to the source rather than some random YouTube reupload
Wrils: Remote Jobs
I don't think "Don't name your apps after drugs, especially controlled substances" is a bad or disagreeable rule
The question I have; given a huge question set with varying questions - would it be possible to draw random subsets of questions and present to a randomly drawn set of participants (i.e. not WEIRD only) and get a consistent set of orthogonal factors coming out, even if they are not OCEAN?
You remember, that everyone was a beginner once and put a note for that in the release. Laugh at yourself, so it becomes unnecessary for others to laugh about you.
caps.name("min") returns an Option which you need to handle e.g. by unwrapping. You can use caps["min"] instead if you don't want an option.
Use an hackRF, yes you can.
>>> The cost per cubic yard to recycle styrofoam was insanely cheap.

No wonder. Maybe volume is not the good metric to look at when comparing styrofoam to paper.

Styrofoam is insanely bulky. The same orders could be filled with a fraction of the volume of paper.
Covid-19 Pandemic Likely Improved Your Commute to Work
Thanks a lot for the suggestion, I can't believe I didn't know about this. However I just tried it and I can't get it to work.

I added this to the top of https://github.com/etesync/etebase-rs/blob/master/src/lib.rs and then ran `cargo clippy`

#![warn(clippy::all)]

// Should fail https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
pub fn bool_test(x: f32, y: f32) -> bool {
x == y
}

Any idea what's missing? Why is it not failing?

Edit: I know the above example is bad code, that's the point. I want clippy to complain about it but it doesn't.
Sorry for the late reply. I was too busy.

From the original post:

> When my wife was sent with wrong healing fracture of feet to examination called by name gammametry of the skeleton

From https://en.wikipedia.org/wiki/Bone_scintigraphy

> A typical effective dose obtained during a bone scan is 6.3 millisieverts (mSv).

The number is in milisieverts, so it already has the conversions to be read in the xkcd table. You don't need more conversions. (Also, you don't need to apply the inverse square law. She'd get the ~6mSv.)

6mSv is a lot, it doubles your annual radiation dose, so this must be an important procedure. Anyway, it is an increase of 1% or 2% in your lifetime radiation dose, and it is less than the variation of living in some areas with more natural radiation. Also, it's 1/10 of the safe level of radiation for radiation workers.

> In other words, illegal experiments.

It is not an illegal experiment. It is like heart transplant. It's difficult and risky. Everyone think that a heart transplant is a bad idea unless you have a huge problem with your heart, but in some case it is the ony procedure. (The risk of a heart transplant is too high. Perhaps it is better to compare with a heart laparoscopy. The risk is very low, but nobody does heart laparoscopy for fun.)

> my wife should not be around any children that day

We all agree about that, you, your wife, me, the nurse, the doctor, everyone. In some procedures you take some radioactive material and you are radioactive for a day or two. Sometimes even your pee is radioactive. The important things are to choose wisely the radioactive material so it is completely eliminated or gone after a few days, and that the dose you get during that time is as low as possible. The recommendation is to meet as few people as possible, because the risk of radiation is real, and specially for kids.

IANAMD, but IIUC the advantage of gammametry is that it can detect cancer and precancerous formations inside the bones, before the bones are deformed by the cancer and is too late. So it detects them long before other techniques. It is a tradeoff, each medical procedures has risk and advantages, and you must weigh both.

Some important details that is missing: How old are you and your wife? Do you have children? Did she had a previous cancer problem, like breast cancer?
Human error: somebody sometimes did something they were not supposed to do. But they didn't know so they've done it anyways.
Intrinsic vs extrinsic motivation. A related quote from management guru Peter Drucker goes something like: don’t hire people and motivate them; hire motivated people.

There have been studies. Intrinsic motivation is always better. That said, if intrinsic is missing, for extrinsic, they say rewards should come often and timely. Eg, giving $100 for passing a midterm is not as effective as $10 for passing the weekly quiz.

To help myself accomplish tasks I’m not interested in, I leverage the rule of threes. I set 1-3 accomplishable tasks for a time period (say before lunch). Instead of “rebuild a deck,” I have much more fine grained milestones: tear out the old deck, take old debris to landfill, level the ground, place footings... The reward is moving onto the next task. By limiting how many projects I have, I don’t get to start a new one until I get something else “done enough.”

Some examples I’ve heard from others where external rewards helped: someone would buy the next $item in $set (game pieces for a table top game, or car part for a restore, or anything that let them do more with a hobby), would add $funds to $project (dollar in the music instrument fund, n minutes of video games, time to decompress), and my favorite, they would do something nice for someone (write a quick love note, or let someone know you appreciate them and why, a small compliment; give themselves the joy of helping others).
Glad you like it. I think I just made it up when typing the reply, since the documentation reminded me of a dictionary. But I wouldn't be surprised if this has been said before.
Fantastic images, never before did I see a more clear image of what 'continental drift' really looks like.
UK court to rule on WikiLeaks founder Assange’s US extradition
It does prove that it was worth a try, if anything... He even got some free publicity out of this.
Why do groups self-radicalize
the reason why info bubbles tend to self-radicalize is that everyone joining a group (FB group, Discord server, doesn't matter) wants clout within it.

one way to get it is to produce quality content. that is difficult.

another way to get it is to produce "brightly colored" content. that is easy. (bright blue for blue groups, bright red for red groups etc)

emergent behavior: most people do the latter, because it's easier / less taxing on the brain.

result: overton window shifts towards brighter hues.

https://www.sparringmind.com/supernormal-stimuli/
Hydro can't scale up to the extent of gas without causing massive floods and other havoc downstream. Batteries can probably help a lot for peak shaving but I think in the medium term is mostly going to displace SSGTs more than anything else.
This is why many open source licenses come with explicit warranty disclaimers.
I would want to also, but I imagine that third-pary components used will be problematic (plus the "Ha! That's why its insecure!" comments from some parts of the computing community).
Facebook might disagree with your assessment... hand tracking research for VR has come a long way:

https://research.fb.com/publications/constraining-dense-hand...
Thank you for all of these, awesome work.
I use Azure neural TTS for (Chinese) voice synthesis in my app, and honestly it's amazing.

I did experiment with Google's API at the beginning, the audio would contain recurring artefacts that made it painfully obvious it wasn't real. If I had to describe it, I'd say "50ms of the sound your computer makes when it hangs while playing an audio file".

No such problems with Azure. Zero artefacts and nice, crisp, natural enunciation, though unfortunately it is still quite unreliable when synthesizing single words (as compared with full sentences). You can actually test it out by using the "Read Aloud" feature inside Edge.

I don't know how well this translates to English, though. I definitely enjoy the benefit of working with a gender/language combination (female/Chinese) that's received the largest total investment of effort and resources. Many well-resourced Chinese companies (banks, tech services, gaming, etc) all use similar synthesized female voices in their phone/online/B&M services.
Enby is a good alternative
That's fair but there are vast number of people for whom having kids is an immense drain on their life. I am not just talking about the folks who fall into this category that visit HN (well off professionals who decide to forego kids for lifestyle reasons), I am also talking about those with financial issues whose life might objectively be better if they only had one kid as opposed to 3.
I'm more worried about the scenario where all commerce is happening within that garden and I'm forced to participate whether I like it or not.
Monkey Island (Roland MT-32)
It's always telling when you see a lot of down votes and no counterarguments.
Wouldn't the easiest solution be to screenshot the code in your normal IDE and embed that in the page?
One import statement is too much?
I prefer the ultraportable freeware (on any machine with a Z8 machine interpreter), but I'd gladly support the author by other means.
On a related note, you should also set proper DNS on domains you do not use!

https://www.gov.uk/guidance/protect-domains-that-dont-send-e...
If it's abandoned who cares?
A Charity Superstar Innovated Its Way to Political Scandal
Rust, like C++ if not more, elevates certain technical details like lifetime, static vs. dynamic dispatch, partial evaluation, and sequential composition ("default" vs. async) to multiple layers of syntactic constructs (types, generics, macros). That focuses the language on accidental complexity, although some people do find that C++ design philosophy appealing (I would expect some high correlation between people who like Scala and people who like Rust as I would between those who don't like either). Of course, it's a matter of personal aesthetics, but I think that style is misapplied for low-level domains, putting a lot of effort into a veneer of high abstraction without actually providing it (you still have to think about these aspects, as you do in all low-level languages, and, much more importantly, it still requires changing client code when details change, as in all low-level languages -- i.e. changing a Rust program is not like changing a Scala program), doing, IMO, more harm than good.

As someone who does a lot of low-level development, before Zig I didn't think any approach other than that of C or that of C++ was even possible. I don't know if Zig will fulfil its promise, but its radical design, that's unlike anything we've ever seen, sure offers a fresh perspective on things.

As to static guarantees -- they are never the point; they are a means to an end: writing more correct programs. That goal is just as valued by Zig as it is by Rust, Zig just tries to achieve it differently. Which achieves it better? It's hard to know right now. I have little doubt that Rust could make things that are today written in C++ safer, but I have serious doubts whether it would be adopted in truly safety-critical domains, where C is king. I think Zig could be.
AdLib vs. Roland MT-32: Police Quest 2
Float comparison is an anti-pattern. Use an epsilon instead. https://stackoverflow.com/questions/4915462/how-should-i-do-...
I agree but guys, let’s admit that that train has left the station. This is a well-trodden path at this point, it’s one of the only weapons you have when you’re in their position.
Five bites after a little training.
Good point, Julia is the Matlab of 21st century. Pythonista here, so Julia didn’t come to mind first.
From reading the blog, he only started getting into rust because of issues with Go, so this seems a pretty unfair criticism here.
Should I release it or add more features?
Movies and Television Shows about Invention
Monkey Island with various sound cards
Funny how once upon a time it was Silicon that was considered to be the rare material for semiconductor manufacture. Then it took over and Germanium was pretty much lost, though at 0.2V forward bias it has a lot of unique applications in sensing gear. It is also why you really want to use a Germanium diode for your crystal radio set!
I'm able to support myself from my online business now, but it took three years of learning and struggle to get here. This was not time wasted, as I grew a lot.

I get a compliment from time to time from my users asking if I'm really running my product solo.

The tool is https://syften.com and it's a keyword notification service for Reddit, Hacker News, Indie Hackers, Slack communities, Facebook groups etc.

I think that the biggest help was the Indie Hackers community.

Interestingly, after reading all of Paul Grahams essays and going through startup school I saw no spike in my MRR. On the other hand, reading a handful of James Clear articles had a profound effect. It's important to keep in mind that if what you read doesn't change your behaviour then it's just entertainment.
we all need to quit supporting monopoly store models. apple won’t ever stop as long as it makes them money to continue
Comparing floats by equality is a dangerous pattern. It's easy for small precision errors to occur. You should instead check that they are close enough to each other, using an epsilon that you find appropriate, perhaps 1e-10. `(x - y).abs() < epsilon` should do the trick
Before rushing out to buy a CNC and building your own fabrication workshop, there are a number of inexpensive robotic arm kits that can be used to develop/build skills. Also given popular interest in drones, there are a lot of cheap parts that can be used to build your own and add vision systems etc. Interested to hear from others about their best recommendations for inexpensive development of mechanical skills.
Code Age vs. Time to Recall
Are Relationships Supposed to Stressful?
> Raid 1 usually means a mirrored disk - how does this work with 4 drives?

“RAID1” in btrfs means “two copies of each file are stored on two disks” - so it’s closer to RAID10 in mdadm terms. It’s pretty nice as you can do things like having 3 x 1TB drives + 1 x 3TB drive and it Just Works to give 3TB of usable space.

> Staying away from unstable features: Is RAID 5 & 6 really considered unstable still?

Yup :(

Also last time I checked (I’d love to be corrected about this) even RAID1 still isn’t ideal (in particular, when a drive fails in a RAID1 array, you only get one chance to mount it r/w and rebalance your data - after that, the array is read-only, and you need to recover by creating a new array on new disks and copy all the data across)
> Languages are tools and not tribes.

That's incorrect.

The tribe is the more important feature than the programming language.

C became the tribe of "systems programmers". Lisp rose and fell with the initial tribe of AI. Perl was the tribe of the system administrator and fell when they did. Ruby rose and fell with the tribe of Rails. Python is riding the tribe of numerics.

The language needs to at least be not actively hostile to the tribe, but after that it's pretty irrelevant.
Iterative Development
> Why does Defender need to scan the contents of a bunch of non-executable files?

While I agree the overhead is atrocious, buffer overflows and similar bugs can turn an "innocent" non-executable file into an executable, like this[1] JPEG file parser issue affecting a large number of applications using GDI+.

That said, I'd be surprised if it couldn't be smarter about this.

[1]: https://us-cert.cisa.gov/ncas/archives/alerts/TA04-260A
IIRC btrfs operates on chunks of 1gb instead on the drives themselves. So each chunk is present on two drives for raid1. Data point: I have 10 disks between 1 and 4 TB in a single btrfs raid1 (failure rates don't matter for that private build-from-scrap backup server with a few hours uptime/week).

Don't know if raid5/6 are still considered unstable, but would be very interested as well.

//edit: shish2k was a bit faster and says nope to raid5/6
Interesting! Might also be useful for CSV mogrification then.
> but we haven't come across anything incomprehensible yet

Life, the universe, infinity, big numbers, quantum mechanics

To cite a few that personally come to my mind
This is running on the GPU. It's using a WebGL-oriented version of tensorflow. The problem is most likely the sorry state of GPU drivers on macOS, causing your system config to be disallowlisted against having hardware acceleration WebGL enabled by default.
I guess I was replying to him, but meant the general point. As long as people still treat Mac products as something that they want to be apart of they give a free pass to the behavior. Sure, speaking out does something, but not buying Apple tech does more to effect change.

Or maybe it's too late. Apple is so rich and so big, this is just people being ground up in the gears of bureaucracy.
Adopting canaries: How old can my canary get?
Canaries are very autonomous and easy to live with: they take care of themselves when you provide them with a small bathtub, a few perches of different sizes and a cuttlefish bone to peck at. But in some situations, your canary needs you to take care of it. To learn all about canaries, read on!
You could have them program their own, like the number guessing game that will pick a number between 1-100 and they have to guess it and it will tell them 'higher' or 'lower'. Then teach the trick about guessing in 7 tries (pick the middle number each time).
> Do not use a UID below 10,000

I see the point but this kinda looks like extreme paranoia.

I actually advise developers that are not so strong at docker and containers to use his 1000 in their container. Such uid is usually the default first uid in Ubuntu and thus makes running containers in their development machine easier (since now they don't have to deal with file permissions and uids without a corresponding user on their system).

Someone will boo this and maybe even downvote, but it really helps developer "think operationally", and gets their dev environment closer to prod.
I know, it's an example I was hoping clippy would catch in order for it to fail so I know it works. Read what I wrote...