skysight-inc/HackerNews huggingface dataset:
Arduino programming + motor control (Stepper robots, for robotics - toy, not industrial) cobbled with 3D printing.

I've always been fascinated with robotics, and the barrier to entry is getting lower by the second.

But I want to know all the details, so I'm going slow and steady at it (Like, instead of using libraries - at least when learning - I'm coding 100% of the stepper motor control routines).

I plan on making my own designs, and make my own versions of known ones: The first thing I want to try my hand at is either (my own version of) a PolarGraph or an AxiDraw.

Then I'll move to other things, also in the early stages of designing a chess playing (arm) robot.
Thomas Hogan (author) is an adjunct fellow at the Manhattan Institute. He has served as a federal prosecutor, local prosecutor, and elected district attorney

What a shock. A former prosecutor doesn't like this law. Also, the Manhattan Institute was behind Reaganomics and other conservative ideas.

Decriminalization may be a bad idea, but I don't trust the above for an objective look.

Update: How's it going? They're coming up with ways to compel people to go into treatment since not many are volunteering

https://www.oregonlive.com/politics/2022/04/oregon-decrimina...
Finding the best possible choice is impossible, but selecting the choice that maximizes expectation is possible. The former would be driving a different route because you know that a specific driver would rear-end you, and is impossible because it requires knowing the future. The latter would be driving a different route because you know that there's an annoying left turn.

The distinction isn't in whether your have access to all possible information for use in a decision. It's whether you use all available information in a decision.
Honestly, I think what you describe is a much more defensible claim--in fact, I suspect it's true that the vast majority of bugs in C++ code aren't memory safety. I've often seen the stronger claim that memory safety problems don't come up at all in idiomatic C++, though, and that isn't true.
You claim facts. Back them up. I see a lot of these kind of comments claiming facts, but rarely see any surveys, studies, or statistics to back them up.

You may believe that a core tenant of qanon is someone believing leftist politicians are “evil”, and you might get 25% of republicans agree with that. Does that mean all of that 25% who believe leftists are evil also believe that leftist politicians are reptilian shapeshifting pedophiles that eat baby brains on sundays in a pizza restaurant basement?

Doubtful.
You can apply the same idea to hash tables: Store hashes and dense-array indices in your sparse array, during lookup use robin hood hashing to cache efficiently probe the sparse array for a matching hash value, and if a match is found use the dense-array indice to lookup the data in the packed/dense array. This approach is both cache efficient and space efficient as the dense array can grow independently of the sparse array.
Something doesn't quite make sense here. It seems there is good evidence that certain figures in Lesne's papers are fraudulent. Certainly that is a huge red flag and it is likely that some (or all) of the findings are wrong. But that doesn't mean that the paper's ultimate conclusions are necessarily incorrect. I mean, thousands of papers go on to report on Aβ56, do they all just assume that Lesne's findings are true without further investigation? That seems highly unlikely. What's notable is that the entire article here never once refutes the most important finding of the original Lesne paper (Aβ56 can produce alzheimer's like symptoms in rats).
I'm a decades-long C hacker and I'm not sure why I should use Zig anywhere that I use C. What's the killer feature/reason?
>In the first half of the XXth century, there were relatively few scientists, and these scientists were generally not lavishly funded.

But aren't there still some scientists who work outside of grant funding and prestige ratrace? People at industry research labs who don't write grants, and aren't trying to impress a tenure committee, for example. Shouldn't we be able to point to them and say, "look how much more productive they are"?
I was reading up on C++'s standard library and found out that maps and sets are generally implemented as continually sorted lists
https://www.cdc.gov/nchs/fastats/obesity-overweight.htm

According to this 73.6% of adults over 20 in the US are classified as overweight or obese, so 78% of Covid hospitalizations being overweight or obese is not at all surprising.

This means that overweight and obese people are roughly 5.8% more likely to be hospitalized with Covid than people who are not overweight or obese. Hardly the slam dunk you're implying it is. (Of course I'm potentially making a mistake by excluding under 20s without knowing if the covid hospitalization statistic you're mentioning also excludes them, but taking that into account is too much research/math for today - what percentage of the US pop is < 20 years old?).

(As a side note, that article is awful (and I assume the source of your mistake) - it seems to imply that "obese" and "overweight or obese" are the same thing, except the former is 41.9% of the population and the latter is 73.6%. Not sure if intentional misuse of statistics, or just incompetence).
> Do you disallow function pointers/closures/virtual methods too [...]

Maybe? Of these features, AFAIK Zig only has function pointers, and they already don't seem to interact very well with other parts of the language. I wouldn't be surprised if they restricted them to comptime-only usage or made "how much stack space does the function need" part of the pointer type or something.
How do I transfer out of AEM? I’m a junior dev at a company that uses AEM and I realized long ago that I’m wasting my time with it, but I have trouble landing interviews with AEM as my primary dev experience. I’m not an AEM author, I use Java every day.
I don’t have a real opinion in this particular topic area, but I am certain many people will find the Andrew Kelly reference to be not entirely accurate.
The sparse population argument seems kind of BS

Switzerland has a low population and is covered in trains

https://news.ycombinator.com/item?id=32180236
mcdonalds in particular seems to have deliberate price discrimination. if you go in and buy one of the prominently featured combos, you could end up spending over $10. on the other hand, ordering from the dollar menu and using discounts through the app, you can get a lot of food for not much money. today I got two mcdoubles, large fries, and a soda for $3.50. I dunno where you would find a cheaper ~1200 calorie hot meal.
The region borrow checker was originally designed for a reference-counted system, but not any more.

We later discovered generational references, a method for memory-safe single ownership with no borrow checker, reference counting, nor garbage collection. To our delight, the region borrow checker works even better with generational references than with reference counting =)
I searched this thread far and wide for fountain codes. Surprised they're so low on the list. I find them amazing. Aso, the name is really good. The fact that you can collect any random packets in any order invokes the idea of putting a cup under a fountain and letting it fill up with water. Love it.
not really. The population of the bay area is on par with the entire population of the country of Switzerland yet they manage to have tons of trains in a much larger area

https://news.ycombinator.com/item?id=32180236
You can try in your terminal:

curl \
-X POST http://13.213.8.21:8081/post \
-H 'Content-Type: application/json' \
-d '{"data":[{"uri": "https://www.cs.toronto.edu/~kriz/cifar-10-sample/airplane1.p..."},
{"uri": "https://www.cs.toronto.edu/~kriz/cifar-10-sample/airplane2.p..."},
{"uri": "https://www.cs.toronto.edu/~kriz/cifar-10-sample/airplane3.p..."},
{"uri": "https://www.cs.toronto.edu/~kriz/cifar-10-sample/airplane4.p..."},
{"uri": "https://www.cs.toronto.edu/~kriz/cifar-10-sample/airplane5.p..."}],
"parameters": {"budget": 3},
"execEndpoint":"/query"}'
Eggs can be hyperlocal - we were as low as $.25 a dozen just a few years ago, now we hit about $2 a dozen. The eggs from further away are more - the latest price increases have made the "grown local by cage free hens" eggs competitive again.
If Democrats were serious, they would give McConnell a Hobson’s choice - either accede to court packing or split Oklahoma into two states, rump Oklahoma and Tulsa and environs (“Indian Territory”, “Lafferty Land”, what have you), get more senators, and tell him PR and DC are the next chambered rounds if he interferes with abortion rights on Indian lands.
TLDR from the article: “A SaaS business targeting a niche market, run by one person or a very small team, with small costs, a narrow focus, a small but dedicated user base, and no outside funding. Hence, micro-SaaS.”

I'm interested in niche things so this idea is a good fit for me, as I have motivation to build things for niches (like FPV drone pilots, etc). I almost interpret this as a way to monetize interesting hobbies, or to be more meta, taking on a new hobby of attempting to monetize your niche interests.
- CloudFlare's Durable Objects. Pretty cool so far
- Español
Peace is relative. The US has not had war on its own territory since the Civil War, so the civilian population has experienced peace for over 150 years.

During WW1 and especially WW2, the US military was employed to nearly maximum capacity, in other words, 1945 was the last time the military was in a state of all-out war.

During the Korean and Vietnam wars, the military was partially committed to the wars, maybe around 25% of 1945's commitment. I would label these limited wars.

The invasion phases of the two Iraqi wars as well as the invasion phase in Afghanistan saw similar levels of mobilization, but these were over so quickly they would be more like skirmishes.

And for the rest, I would label them as little more than policing of occupied territories.

(All of the above from the US perspective, from the perspective of the adversary, several of the above were total wars.)

If you look at the death toll, WW2 cost 0.4% of the US population at the time. The Vietnam and Korean wars cost less than 0.1% of the population each, and the rest hardly register.

Compare that to the 5%-20% death toll of many European countries during WW2, and similar numbers for numerous other wars through history, and you get a perspective of how peaceful the US has been since the Civil War.
Oh, I'm sorry, I didn't mean to imply that Rust invented any of those things. Cyclone was a big influence on Rust actually. We chatted with Dan Grossman early on, and his presentation "Existential Types and Imperative Languages" is the earliest description of the problem the borrow checker is trying to solve (check it out, it's a great presentation!)

We stand on the shoulders of giants :)
Huh? I was talking about a world where they only concert between those assets. If coinbase is additionally doing that, then that’s not what I’m describing.

And it’s it’s not even the service I was referring to (which requires that the asset classes be kept distinct).

I swear, something about that comment just set people off, when it should be uncontroversial with the caveats I gave.
Likeness is bidirectional and doesn’t imply derivedness, though.
REPLs make a lot of sense in the functional world where everything is an expression. These languages tend to encourage writing lots of small, referentially transparent functions, which are easy to write and test in a REPL. Because the referentially transparent, when you're happy with them, you can copy what you wrote directly into your code.

I think you don't see it used as much in the imperative world because each line of code tends to depend a lot on context that isn't immediately available. When you make a mistake in the REPL, you probably altered state, which means you have to run everything again from scratch to know if your corrected flow actually works. If you're going to run everything again anyway, you may as well just be working in a file with a proper text editor and a good test framework.

(An exception to this might be Ruby, whose Smalltalk heritage gives it a good interactive programming legacy to build on.)
> Same with the "away from home" which seems to randomly think I'm away and I have no idea why.

Away from home should be an easy problem to solve assuming Nest can talk to your phone(which is almost 100% true in real life). IN my experience there are several easy heuristics that can achieve ~ 90% precision and recall in home detection, like are you connected to a wifi or even combining it with some IMU data to be more confident.
Yes, R-tree turned out to be a godsend when working with larger geospatial data and calculating intersections.
Early stage investing does indeed need to be done by specialists: small business experts/entrepreneurs with prior M&A experience/exits. These are the angels, and they want to help.

In my opinion and experience as an angel investor, there are typically three things missing from most tech startup investment opportunities I see. The founders usually lack:

1. Domain experience and expertise (5 years minimum)

2. Business knowledge and experience (understanding financials, prior team leadership, etc.)

3. Marketing and sales experience (how to build relationships, partnerships, work to find initial customers and make them happy, etc.)

The most successful startups are founded by people in their 30’s and 40’s. It’s because these folks have the necessary experience and expertise to run a business.

https://www.statista.com/statistics/1220545/founder-age-star...

And yes, it is important to actually sell a product and make a profit. Cash flow keeps a business alive, not VC money. Most small businesses will exit through acquisition, and the value of the business will be directly tied to revenue, gross profit and net profit.
Make sure you have proper ventilation and air filtering for that 3d printer.

https://3dinsider.com/3d-printer-fumes/
Demand for chips remains strong, but getting fab tools is hard
Colonies/hives, which have fast insertion/erasure/iteration and preserve pointers on insertion/erasure. I remember that Cataclysm: DDA used this data structure for keeping track of the items on each map tile.

https://plflib.org/colony.htm
Intel's not the only one who has had inferior performance in DX11. AMD's DX11 driver suffers in drawcall heavy scenarios, particularly in dense open world games like Witcher 3 [1]. In the old days they used to underperform even more. It surprisingly is quite hard to develop a performant DX11 driver.

[1] https://www-purepc-pl.translate.goog/test-ryzen-7-5800x-i-ra...
I'm not going to go full ketohead here, but I really don't think it's the pulled pork making us fat.
And the liberal response is to decrease the speed for a road that was previously 45mph, down to 30mph. Of course, the road is perfectly straight, downhill, has a center turn lane, and a multiuse pathway to the side. There's absolutely no reason for 30mph, other than for enhanced revenue generation aka cop theft..

Basically the city I lived in is going anti-car, which would be cool... if it weren't for ALSO de-prioritizing bicycling, busses, and sidewalks. Basically, it's anti-car and laggard to non-caring about alternate choices.

note: i am a leftist. Cars need reduced, significantly. But that also means converting roads to trails, making friendlier bicycling/walking areas, better and free public transit. Basically it'd be improving society at all levels upward - from a pollution, transit, AND poverty position. Which, in the case of the US neoliberal "you will suffer", well, won't really happen except in actual leftist enclaves.
Strength is multidimensional. Power projection and defense entail different capabilities. It's not like a "strong military" is something you order online, it takes an economic and demographic base which Ukraine couldn't support. Maybe a better argument is that they shouldn't have denuclearized -- for defense you don't need a military, you just need MAD.
The WLCSP is even tinier pitch! I was thinking maybe I could superglue the chip to a board balls up and dead-bug it?

Thanks for the explanation of "commercial-grade" as "not automotive-grade"!
Oh boy you are in for a treat. Google parking minimums and single family zoning. And watch some videos from this channel: https://youtu.be/bnKIVX968PQ
People can take protective measures when appropriate, but there's really no way to keep the disabled and immunocompromised safe. The latest variants are so contagious that everyone will be exposed eventually. The virus is here to stay and there will be no significant herd immunity effect.

https://www.medpagetoday.com/opinion/vinay-prasad/94646

https://www.businessinsider.com/delta-variant-made-herd-immu...
> The article presses only a single hypothesis (food input costs going up)

It also talks about gas prices, which affect a cook who quit and a customer with a lawnmowing business.
only 30%? I'd have guessed that most IT projects at least fail to achieve goals if they don't crater completely. the bigger the projects, the more they resemble interplanetary collisions.
You just (accidentally, no doubt!) well-actually’d someone who helped build Rust and has been invoked in it since long before 1.0. ;-p He’s aware of the direction of influence and was just saying they’re similar, not saying one influenced the other.
Nobody uses all available information, whoever did would probably start by collecting every millennium prize.
As more people do a thing, and do it more, it's natural consequences happen more. Funny how that happens?
Using my eyes to approximate the changes from this graph[1]

* Death rate per mile driven is down like 95% or nonetheless drastically since 1925.

* Current deaths per year is less than 1975, despite driving like 50% more miles

Now, safety likely could be much greater if people gave the same care to driving as in the past. Two phenomenon are likely happening :

1. Driving is more familiar, so its approached with less care, and

2. People have become accustomed to the safety technologies aiding them such that they increase the riskiness of their behavior to match their base risk tolerance. Eg: as brakes get better people drive faster and closer. As cruise radar gets better people use their phones more and rely on it braking.

Alas, this may fall to the same issue with greenhouse gasses / climate change -- Technological change is simply not fast enough for the goals of society, and a net reduction must occur. We cannot make our economy green enough soon enough such that we must simply reduce our consumption, and it seems our safety standards cannot keep up with increasing consumption

[1]: https://en.wikipedia.org/wiki/Transportation_safety_in_the_U...
Julia mostly ignores static compilation (although there now is work to add the ability to statically compile for a relatively large but limited subset of the language).

The big thing that this allows is for you take the ideas of C++ templates to the extreme. In Julia pretty much every function behaves like a C++ function that is templated on the type of every input. This has the major advantage that it is really easy to write extremely fast generic code. This only works in general though because Julia only has to generate code for the types that actually appear rather than all the type combinations that static analysis can conclude might appear.
Are you talking about pedestrian deaths when you mention car risk for your children?

If so, good news. Those have been going down. Since 1975 pedestrian deaths of under 13 year olds have steadily declined by more than an order of magnitude. For 13-19 year olds the decline hasn't been as big, but is still over a factor of 3 [1].

[1] https://www.iihs.org/topics/fatality-statistics/detail/pedes...
Running inside a memory safe virtual machine is obviously safe though, that doesn’t mean the language itself is safe.
Neither do I. The word seems was used as a tentative qualifier rather than an assertion. Feel free to provide context that would indicate otherwise if you deem it salient.
Not sure? I wasn't aware people didn't get this problem. Maybe its the domain I'm in. Uncomment to fix. I have to repeat myself all the time and it's obnoxious (IDK how to show code on this site but heres a link https://play.rust-lang.org/?version=stable&mode=debug&editio...)
> Higher margins is exactly what we would expect in a supply constrained environment... The natural temptation here is to enforce price controls or whatever, but they come with their own problems.

Or in markets with limited effective competition, no? In which case breaking up businesses is another option.
The XOR Linked List blew my mind when I first read about it. Clever!

https://en.wikipedia.org/wiki/XOR_linked_list
This series of blog posts explains this sqrt behaviour quite nicely, covering both theory (including black holes) and practice:

http://www.ilikebigbits.com/2014_04_21_myth_of_ram_1.html
Parenting. We have a very energetic 15 month old who has decided that 8 hours of sleep at night + a 1.5 hour nap is all she needs. Also, she has been teething pretty much non stop for 9 months.

Aside from that, I'm learning a lot about virtual machines by porting FreeBSD to run in the Firecracker VM.
Depends on how much work you are having done. On a remodel you need a GC unless you have a lot of time and expertise to hire all the trades and such yourself. They really do provide value.
I suspect they're referring to the more recent Sensor Watch: https://www.crowdsupply.com/oddly-specific-objects/sensor-wa...

Quick review: I have one of the early units and I've really enjoyed using it. It's totally hackable, well documented, and I fully anticipate using mine for the next decade or longer. It's far from a smartwatch - it's more like you're sitting in on the Casio product meeting where they wrote the original F-91W specs. The year-scale battery life remains, but it comes with the ability to fully customize the watch behavior. For me, that meant adding sunrise/sunset and moon phase faces. I might build a quick-timezone switcher in the future.
Letting Leon Panetta curb stomp her in front of her reports over drones in AfPak does not make for presidential timber.
No worries, it's my fault for not being clear. The absolute last thing I want to do is to take credit for things we didn't do. Rust wouldn't exist without that academic work by Tofte, Talpin, Grossman, etc.
large: yes, justifiable: very possibly.

I think of a laptop in the same way as a chef's knife: it needs to be an extension of your being when you are in the zone, and good tools do that. Ive had near-religious experiences woodworking with good tools and other craft types tell me they have too.

for such a tool, 1% is nothing.
"Lose weight, get in shape" is good advice that would lower all cause mortality if it reliably resulted in such a change. The advice that we ought be perfect to avoid mortality doesn't take into account reality.

I agree with your statement in the small (yes, get fit, try to motivate friends and family to do the same), but it's not useful to moralize about what-if on a population level in my opinion, and it is tantamount to blaming the victims of the pandemic for bad outcomes. Especially before the vaccines, many young and healthy people died or experienced very bad outcomes, and it still happens, though the vaccines have helped a ton in this regard.
Well they don't need to hire thousands of such people, they need like a dozen. I'm certain they can find that many competent engineers in greater Vancouver, even if some of their peers have left to the US.