skysight-inc/HackerNews huggingface dataset:
Can anyone give some examples how a "proper" robot control application looks like? I once was working on an DIY delta robot and the software layout is something I never understood how to do right, I fear.

I had no idea how to go about it, and if I remember correctly, I wrote the firmware to do the following every 10ms: (I was bare-metal C/C++ on a Cortex-m3.)

* Calculate new desired position of effector.

* Calculate new desired angle of every stepper motor.

* For every stepper motor, calculate deviation between current and desired angle.

* Program the timers to generate a PWM signal to make deviation zero. (Note: This whole thing was open loop, so I fed the PWM signal back into a counter to track the motor angles.)

Each of these bullet points was implemented as individual function, taking input parameters as function parameters and returning the result as return value.

For reference, this is how it looked like: https://youtu.be/9NzlfX5X_W8?t=23

At one point, I was wondering if I shouldn't just call the last function for the final value, and have it call the previous functions (and thereby calculate the input values) on demand. This would look a bit more functional-like, but I didn't see any benefits besides stylistic ones. Is functional programming a thing in embedded robot control software?

While building that demonstrator I realized that my attempt at doing so was a very shabby one. It's not enough to have in mind the acceleration/deceleration of the effector for smooth looks. If you would do things right, you would have to watch the torque and motion parameters of each individual joint. You would probably have to calculate the whole motion profile in advance. But I have no idea how I would go about doing that. Do you simply run a loop and iterate over time? What if you realize you violate some constraints at some point? Adjust some initial values by some fixed offset and run anew? I suppose there are smarter attempts.

edit: Not a HN heavy user, wow do I make lists right?
Is there any way these examples could become linter rules?
Thanks for the suggestion. I'll give it a shot.
Respectfully, I'm not sure there's much point in proposing an uncommon heterodox theory if you can't engage with people who have a conventional understanding of the topic.
Feynman was that kind of guy.

He pointed out a mistake he made during the Challenger investigation that the media took as "must be true because a Nobel prize winner says so".
Maybe it's looked down on to link to reddit on HN, but there are indeed conspiracies that are no longer just theories [1]

[1] https://www.reddit.com/r/conspiracy/comments/knppcu/heres_10...
Don't know if that's what OP was thinking, but a WYSIWYG editor is normally slower than a plaintext editor, so it could make the product more bearable.
38" monitors solve the vertical height problem while providing almost as much space. And they're curved so you look like you're in The Future.
What options have Microsoft now? Fire her and be accused of racism?
It's not arbitrary. You can get from France to UK without entering international waters, and without crossing waters controlled by another entity.

I don't think you can do that with Spain and Italy? To get from one to the other you'd have to go through French or Algerian waters I think.

And I might be agreeing with you; not sure here. Conversation went from rivers to lakes to "a coffee cup is the same as a donut" pretty quickly :)
DNS, DoH, and ODoH, Oh My: Year-in-Review 2020 – Electronic Frontier Foundation
Running a non-ancient Linux on ARM is what's difficult. Especially when connecting stuff to the internet, it's completely unacceptable to have to rely on some 3.x or 4.x kernel that the vendor patched to death to make it run, then abandoned to move on to the next SKU.
On the contrary: https://www.theverge.com/2021/1/2/22210295/apple-developer-a...

In this case, the complainer had several important details on their side: Apple had previously featured the app, the rule that they said was violated wasn't violated, and they tolerate other apps which violate those rules. It seems likely Apple realized in this case that it would be easier to keep the app since it's not like the app was ruining their family friendly image (although many people, especially in the US, picture the negative effects of methamphetamine additiction when they hear "amphetamine", amphetamine is actually an approved drug used by many in the US).
No luck. I look for things where people aren’t complaining and use those.
Aren't Europeans interested in ending this brain drain?
I mentioned in another comment about how I had the Pebble watch (before Apple and Android watches were a thing) and it had 128 kb ram total, but it lasted 11 days. That thing was a beast, but as someone else mentioned cost is a. big consideration too. It had 150 mAh on the newer models, before it was discontinued, so while I'm sure it definitely eats up energy I think it's definitely possible to fit more RAM in the power constraints.

Granted that was an e-paper display. (They had color and black and white options)
Show HN: I gathered 700 resources for devs, and you can help grow this number
> I feel like they missed opportunities to replace Craigslist as the de facto online classifieds and to offer a payment system like Apple Pay. Perhaps these are only obvious in hindsight

I think they're trying to rectify both of these exactly. I don't know about in the US but here in the UK, Facebook Marketplace is pretty much now the de facto online classifieds site, at least for everybody I know. As for payments, they seem to be struggling more, but that is, I assume, one of the purposes of Diem (formerly Libra).
‘Calvin and Hobbes’: Why Bill Watterson’s Masterwork Enchants Us Still
Some of these are just looking at averages and nothing else.

7 - Mortgage rates have not increased in 40 years. Clearly mortgage rates in places people want to live have skyrocketed, and in places people don't want to live they've plummeted.

9 - Marriage rate is not historically low. This one is just flat out wrong... the rate is the lowest its been in 100 years.
Thanks for the response, it is a very interesting approach, it sounds more practical than the typical MBSE way of building top down SysML diagrams and adding simulation models afterwards. Are your models liked to other product data in a PLM system or similar for traceability? I'm researching adjacent issues around the flexibility of product platforms and the integration of new technologies in later product variants and model-based approaches to decision making in that regard are fascinating.
And so the Jenga tower grows (again)
What was the difference in salary between the two of you when you were both working?
that matches my experience as well. whenever i've actively changed my diet (to small meals or low-carb, not necessarily vegetarian), it takes ~10 days for the body to re-habituate and settle on the new norm.
Does anyone have a copy of the story? It was deleted
Previous discussion: https://news.ycombinator.com/item?id=25605880

Original GitHub page: https://github.com/x74353/SaveAmphetamine

Twitter post: https://twitter.com/x74353/status/1345421211677949957
I quadrupled battery life when I switched form Windows to Ubuntu. No idea why. I'm using a Dell XPS 15 which has factory support for Linux. I didn't do a lot of digging into why... was just happy to be able to go 4 hours instead of one.
I suspect for both peer review and CVEs, and probably some similar situations I'm not thinking of, it's not just a misconception, it's often more like wishful thinking.

People really want there to be a way of telling what's good and important that doesn't cost them any money or effort. Ironically these systems can sort-of work for that purpose, only if people don't try to use them for that purpose.
Yeah, unfortunately ads is the most profitable business model on the internet for large sites with sticky user-bases.

If FB thought they'd have made more money going after Craiglist and PayPal, then that's what they would have done ten years ago.
> The logical conclusion of your argument is this - Facebook cannot be operated safely and still make a profit and should shut down as soon as possible.

sounds great! how soon can this happen?
Does anyone have a copy of the story? It seems to have been deleted
For those who are curious, here's the source code of the original compiler written in OCaml (rustboot) https://github.com/rust-lang/rust/tree/ef75860a0a72f79f97216...
I find these games super boring alone but so much fun in small groups.

I think they need to be designed as a facilitator of a story, ultimately played and told by you and your friends.

Kind of like if the story part of D&D was a standalone product where the software is the DM.
Looks like this is going to require existing companies to submit information about the beneficial owner as well. That's going to be interesting.
Career trajectory for technical co-founder?
I started a start-up 5 years ago as a side project during graduate school. I learned a lot from the experience (maybe don't do a start-up while in grad school...) but as the company grows it makes sense to bring on people who are better than I am. We are selling a hardware device, instead of continuing to do all the development myself we brought on a EE and a MechE to get the product better faster and I suppose the best case scenario is that we continue to hire specialists, leaving me to wonder...where should I be trying to level up? My role has transitioned into more of an general administrator/get-it-done person, but should that be the direction I continue in? Being in grad school the past several years has not exposed me much to career trajectories in tech, and I like having a plan for the future so I can begin chopping wood now.

Any advice would be appreciated.
Is Any other company doing smth like this?
Fincher himself, he spoke about it, I think on The Game, commentary track. You can also hear what he thinks about actors there and their input. Something along the lines of they're a color, but I'm the painter.
The people being taxed would be the billionares.
Those are by no measure the "productive" members of society, these people are statistical outliers created by chance and luck in an unstable system that sometimes creates self enforcing feedback loops that grow exponentially.

We should recognize these feedback loops as a bug and rectify them.

The fact that you even had a job that you could loose, means that you are NOT in that category, and (statistically speaking) never will be.
That monitor doesn't have upstream USB-B. How do you connect your keyboard & mouse?
Who is talking about "crusty old dependencies"? Or processes which are an "operational risk"? The previous poster never mentioned any of those things.
I've not read all of those, but not all of them seem to be conspiracy theories?
Good news about the self-hosted version being slow: Pretty soon you won’t be able to run self-hosted Atlassian products.
Did they really do that? MS's official line is that WSL is not deprecated, and can be run alongside WSL2.
Good KVMs are very expensive. I've used monitors with multiple inputs and a separate passive USB switch.
Being Facebook's "advertising integrity chief" sounds like a sinecure, anyway...
It really feels like this is the key fragment for the entire article:

> If “algorithms” is another name for “computer intelligence” in the prediction’s text, then yes...

If that fragment is to be taken seriously, then much of what Kurzweil predicted for 2019 was also true in 1998. Algorithms carried out by computer have been used to administer and surveil since before the 90s.

Personally, my understanding of Kurzweil is that "computer intelligence" is something greater than just an algorithm that is carried out by a machine, but could be done by a human. It would mean something more malleable and conscious than that. Based on that standard I'd say he's wrong about nearly everything (save the privacy one - but again - that was true in 1998 with weaker encryption).
I sell my own books. I started in 2018. As of 2020, that made about 80 % of my total income.

Previous programming experience was useful, I could hack together some WooCommerce plugins that help me take care of the customers (generating invoices, communication with the Czech Post, pairing bank payments to orders and informing me about payments that could not be paired reliably). That saved me a lot of repetitive work.
> 4k at 21.5"

Does that exist? I have never seek a 4k (or better) display smaller than 24", and I'd love to buy one.
Granted “platforms” was a weird phrase, but I assumed it was companies operating bug bounty programs because that’s the only thing I would expect to see on HN or care about seeing on HN.

If I were looking for a company to host one for me I would have no trouble. 10 seconds on Google, literally.
Can you give me an example for a privatised service that is doing better than the public one?

Because I only have negative examples, where after privatization prizes went up and quality went down.
Through a passive USB switch.
You could probably write a book about that, here is my favorite:

Illegally using Facebook log data to breach the accounts of journalists who he did not like.
I would have preferred that, but it wasn't a deal breaker. I ruled out an Apple LG 5K because it wouldn't have been able to connect with my PCs 1080 (I assume?) Also, my 1080 cannot really even handle 4K gaming, so I didn't see much point.

The MacBook has been perma-attached to the monitor due to the pandemic, so plugging power in via a different port on the MB was fine.
> current generation MacBooks only support one external monitor

My monitor supports Thunderbolt 3 daisy chaining - Connecting a thunderbolt 3 upstream port to the input of the 2nd monitor. Do you know if two monitors setup this way would work with a MacBook?
Not sure if your implication is that you could do the same thing on any other spot (e.g. a spot for disabled, a load/unload spot, a spot reserved for police cars), as long as "people are not waiting for it".

In any case, the rule I follow is to move the car where it doesn't block a scarce resource.
Your two paragraphs don't seem to be related, am I missing something?
If the CSS text-transform: property is in use, should the case-sensitive search match the text before or after the transformation? Either implementation could be infuriating, so just doing case-insensitive seems like an easy way around the problem.
>As a corporation, Facebook truly seems to be trying to improve its behavior for the benefit of society at large

Based on what? Lip service? Empty gestures? Those are worth as much as Google's "Don't be evil" motto and Apple's and Nike's social justice campaigns...
Color displays are great, but they should have had an option for a (color or black and white) e-paper display. More efficient for these purposes imo.
Can you explain (with links please) how Facebook are ethically equivalent to tobacco companies (who's product literally (not figuratively) kills people).

If you can't, then I'm going to assume that it's mindless hyperbole (a straight to which Facebook, for whatever reason, appears to be prone to).
Just running atlassian.com on Google Pagespeed shows why they're doing that: 12 from 100. That is really examplaric for other Atlassian products.

And it's really not hard to go over 95 on GPagespeed, just don't use JS fucking everywhere.
What is long period? Because plate of beans keep me full longer then non-beans vegetarian food. But meat based plate keeps me full even longer.

I don't think beans are unfamiliar for most people. We do eat them regularly. But, they don't make us as full as meat.
Let's see how many open source developers are going to move their repositories out of Github because of that (and maybe be called racist for that).

The answer: 0.

EDIT: You are still able to cancel silently your Github subscription as I did now.
Telling people that you love them. Showing people that you love them.
Original Tweet: https://twitter.com/x74353/status/1345421211677949957

There you go a happy ending for Amphetamine. Told you it was a complete waste of time for Apple. [0]

[0] https://news.ycombinator.com/item?id=25606196
The consumer price index is an average over an economy with a bunch of heterogenous goods, and a bunch of people who care different amounts about different subsets of them. I tend to agree that cheap housing is more important than cheap spaghetti or cheap iPhones, but that doesn't mean the CPI is wrong; it's just measuring something different than the details of what an optimal household budget ought to look like.
Can someone recommend me a good site to trade Bitcoin options on?
Couldn't help but smile at this one:

> Build an emergency liquid fund of 3L (Become a better investor)
Random Number Generator Tutorial with Python
It doesn’t matter to the people forced to drink the polluted river water if the person doing the polluting feels bad about it, or doesn’t. Feeing bad does not absolve the CEO of anything.

This analogy also ignores that Facebook is putting huge amounts of money into lobbying efforts to ensure that they continue to be able to figuratively pollute the river.
There are plenty such collections. Of course, every one by definition only lists the conspiracy theories that they want you to know about...

https://www.amazon.com/Encyclopedia-Conspiracies-Conspiracy-...

The problem is, conspiracy theories tend to be fluid and interconnected, and new ones pop up all the time, so it's all but impossible to compile an exhaustive list.
> Inflation is by definition an increase in prices.

Sure, I think everyone agrees on that but the CPI only measures a vary narrow range of goods and weights them such that it ends up ignoring some very obvious trends.

Most of the inflation could simply by accounted for by the drastic rise in stock prices, real estate values, etc. Even though the CPI/Fed doesn't care about those segments with regards to inflation does not mean it is not inflation.
I'm impressed with whatever branding exercise came up with Chief of Advertising Integrity. So much meaning and non meaning at all in the same four words.
And the other big list from that subreddit.

https://www.reddit.com/r/conspiracy/comments/4g7jay/updated_...
Paycheck is automatically deposited into various savings, what's leftover is spending money.

I think your investment strategy is pretty off. Don't bother with CDs, just get a high yield savings and keep 6 months expenses in it (it's an emergency fund and it should be liquid). The rest should go into mixture of index funds and bonds (the balance of which depends on your age and risk tolerance) in tax advantaged retirement accounts.

Once you've maxed out your tax advantaged accounts, the rest can go wherever. Personally, I do mostly index funds with a little bit of crypto and individual stocks for fun.

I recommend the book The Simple Path to Wealth. I didn't know anything about finances before that book and it provides a simple, set-and-forget strategy with ample reasoning behind each decision.
There is nothing heterodox about the concept of supply-side inflation
It does not [1].

[1] https://apple.stackexchange.com/a/406865
One heuristic: Can you build a faster horse? Marginally, a bit, maybe, but not really. That's telling you that they want something faster, but it can't actually be a horse.
Money is just paper. It’s the system behind it that gives it meaning. The banking system is not amoral, it does not want you to use its money for illegal activities.

Cryptocurrency has no morals, the system behind the money is all machine. You don’t sign an agreement that says you won’t break laws when you create a Bitcoin wallet, for example, but this is something that happens when open a bank account.
Complaint about people rising to the top who lack the qualities we want to see in leadership suggests [to me] that we [collectively] already have a complete picture of the qualities we admire. Our problem isn't in measuring the qualities but in rewarding the ratios. On a personal level we know how to pick a breeding partner. Collectively selecting the dna cant be all that different. It seems culturally disturbing to reward beauty for example but if beauty > reproduction is good why not beauty > wealth > reproduction? We already have greed > wealth > reproduction, intelligence > wealth > reproduction and inheritance > wealth > reproduction. Those seem just as lame upon close examination. You play chess for your life vs someone with 3 times the intellect? Or monopoly where the opponent starts with all the money and all the streets?

The phenotype is a confusing angle. We should do some honest objective conversation about it collectively. Do we want people to be their natural self or do we prefer it if one goes out of his way to become something? Do we genetically optimize for the biggest possible struggle or for the slacking? We seem to look at the flexibility as a positive quality but does it really make a healthy breeding stock?

As a human I have to constantly challenge myself mentally and physically or I decay pretty rapidly. I had a sick cat one time that slept on my sofa for 4 years only getting up to eat. Then one day another cat came into the house and she leaped 3 meters off the sofa and ran after it. If I sleep for 4 years I doubt there will be any walking, definitely no running, jumping is out of the question and getting into a fight is unimaginable. We might have really good brains and a good digestive system, the rest of the body could do with some updates.
> It’s so strange to me that so many truly believe a profit motive is all that’s needed to have good outcomes.

Not strange. In the U.S. at least, we're acculturated to this ideology our whole lives through education and media.

That said, many/most of the wealthiest or influential market participants, fortune 500 CEOS, academics from top biz/econ programs understand the importance of trust in the economy and the role that an effective government (contracts, the rule of law, and regulation) play in enabling that trust.

If you or your industry are the target of regulation, though, government BAD, regulation BAD, regardless of what you philosophically believe.
It's important to list what bugs you fixed. You can do fancy things like group your changelogs under headings if you want to make it easier to maintain focus for different audiences. A CAD tool I use, for example, lists every single bug fixed and references a ticket number with each. This is extreme, but much better than the opposite extreme.

It lets me know when I can stop using workarounds, or alert me to landmines I've unknowingly tripped and lets me go back to verify old designs.

Regardless of who the user is, a changelog is supposed to tell you what actually changed. If you're not going to do that, don't bother having one. But if you don't bother writing one, I'm not going to bother updating to the new version. From my (the user's) perspective there's no incentive to do so unless I know what I'm getting. There could be anything in there, so I'll stick to the devil I know.
From the linked article:

“The primary sources of dietary choline are found in beef, eggs, dairy products, fish, and chicken, with much lower levels found in nuts, beans, and cruciferous vegetables, such as broccoli.

In 1998, recognising the importance of choline, the US Institute of Medicine recommended minimum daily intakes. These range from 425 mg/day for women to 550 mg/day for men, and 450 mg/day and 550 mg/day for pregnant and breastfeeding women, respectively, because of the critical role the nutrient has in fetal development.

In 2016, the European Food Safety Authority published similar daily requirements.

...

‘This is....concerning given that current trends appear to be towards meat reduction and plant-based diets," says Dr Derbyshire.’”

Is something unclear about this?
I ended up getting an Arty-A7 as I wanted to have an ethernet port. It arrived a couple weeks ago. Still getting the build and toolchain built.

My goal is an array of 6502s - It was when I was researching that idea and dev boards I found your posts.