skysight-inc/HackerNews huggingface dataset:
Well said. Robotics is indeed the art of system integration and such remains (and will) one the biggest tech hurdles.

We wrote about this, and raised-funding, and worked for years on it. Hell, we even created an extension of ROS for it called the "Hardware Robot Operating System" (H-ROS) that aimed to address many of these issues you describe using ROS as the common language and Programmable Logic (FPGAs) to deal with physical interfaces. More on this at https://ieeexplore.ieee.org/document/8046383.

Problem was that the market didn't really accept it. I still believe on the tech problem landscape in here. I'm just not so sure anymore if there's any real market/business for such a solution. After all, vendor lock-ins are great business, and generate business.
You only need 4 directions, and can look at the sign of the dot-product.
It exists, many times over
Reading between the lines - MediaTek will probably send Intel some obscure parts for a small production run. This is "Intel 16" we're talking about, which is revised 22nm FinFET Low Power (that Intel thinks is comparable to 3rd-party 16nm). Aka Smart Home device chips, nothing near smartphone level.

So... they might have extra capacity, sure, but extra capacity isn't the problem right now. NVIDIA has overbooked and is desperately seeking a buyer for capacity when everyone is cutting back or has all the capacity they need. This won't affect the 5nm-ish capacity, but only TSMC 22nm capacity, which... how many buyers does that have? Is it overbooked?
Eh, bombers aren't a fixed cost. There's certainly a fixed CapEx, but the B2 OpEx is ~$130,000 per hour (https://www.wearethemighty.com/articles/air-forces-10-expens...).

Still, strategic bombers add capability that drones/missiles don't. In particular, eyes on the target still haven't been deprecated by remote optics in drones and missiles can't loiter.
Immunity and level of exposure are very tightly coupled. Children would ordinarily be exposed to a variety of viruses from birth. Most encounters with a virus happen at very low viral load (e.g. total number of virus particles you're exposed to). During lockdowns, the diversity of viruses that children were exposed to dramatically dropped. Newborns and young children were now only exposed to viruses that were already in their household. Hence, young children have likely developed immunity to a smaller pool of viruses.

Once lockdowns ended, they were then exposed to many viruses their immune systems had never seen. Some of these exposures would be at low viral load, giving them a chance to build immunity. Some of these exposures would be at high viral load, overwhelming their immune system and leading to illness.
You can't send a function/closure like data over the wire. You have to limit yourself to what kind of code you want executed in the future, but you can send or store it limitless.
And why would I believe what MSM says on the matter concerning the "enemy" state?

A quick google shows that this particular propagandist item was planted quite a few years ago:

https://www.reddit.com/r/todayilearned/comments/1ospuo/til_i...

If there are any Iranians on HN, I would be glad if they could share some light on the recent developments, of course.

UPD: More Reddit: https://www.reddit.com/r/iran/comments/snigug/comment/hw5oqw...
You obviously have no idea how expensive construction is in Melbourne.
It definitely would. RoboDK is one product that is moving in the right direction.

In the PLC space, Beckhoff controllers using commodity x86/64 hardware and standardized IEC 61131 programming languages are gobbling up Rockwell and Siemens' market share.

Given they're perpetually about 20 years behind the times, perhaps this year someone at Fanuc, ABB, Kuka, and Yaskawa will catch up to the year 2002 and read Spolsky's admonition [1] that says:

> Smart companies try to commoditize their products’ complements.

Stop trying to turn every division of your company into its own product center. I loathe paying $800/year to Rockwell for the privilege of reading "update your firmware" (and subsequently bricking my controller as an unwilling beta tester) on TechConnect. They're a PLC vendor, they should focus on selling PLC hardware, not making their customers hate them by nickel-and-diming them for software licenses and support contracts. They were down for FOUR DAYS this weekend for planned maintenance. FOUR DAYS!

Likewise, Fanuc should focus on selling servos and castings - robotic manipulator hardware - and stop trying to get the training division to turn a profit. If, instead of a 40 hour course costing $2,000, it was free, there would be more people able to use their $40,000 robot arms! If Roboguide software was free instead of $2,650, clients could more efficiently build more robot cells, and sell more yellow paint! Gah!

[1] https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/
Yet in that hazing there is blowback. I think society needs therapy.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3427189/

A small amount of UV exposure is necessary for some processes, including Vitamin D production and a few others.

The tricky part is that it is very widely known how dangerous UV is, and people with an outdoor lifestyle can easily overdo it, but at the same time there is an increasing portion of the population that spends almost ALL time indoors (except when they are on vacation) and gets close to NO UV exposure normally.

This almost total lack of exposure to UV can be especially problematic due to high latitude, winter, or even slightly high latitude and darker skin tones.
I think this is something you get almost for free when talking to someone you know in a real-world face-to-face conversation. You get full-bandwidth communication with a real human, and it's impossible to ignore their humanity. When you step back from having a conversation with a person you know, to having an argument with a person you don't know, the humanity diminishes - they become just a character on the other side of the room. When you step back from reality altogether, and argue with people online, the humanity is absent entirely (and indeed, the thing you are interacting with might not be human).

I conclude that a healthy debate can only take place in the real world and a prerequisite is getting to know the person first.
Being able to use search engines is a definite skill that certainly cannot be understated. Once upon a time we'd have shelves of $100 books to pore over, and that would take time in itself. Being able to use the correct terminology and the correct search engine logic will help in delivering software faster.
See: namecoin
https://www.namecoin.org/
What you are really saying is that people should develop influencing skills. OP starts by asking about programming tricks, but then mentions career, so it's hard to discern whether they just want some trivia. A programmer learning any soft skill will pay off exponentially in work and their personal life. The payoffs will be much bigger than any technical skill once two years into a career.
Generic Utility Types are beautiful!!
https://www.typescriptlang.org/docs/handbook/utility-types.h...

I miss working with TS, it's just so much superior to old JS.
> Complains C++ evolution is too slow due to enforced standardizations by committee.

> Introduces yet another non standardized, corporately backed Rust look-alike language.

What's gonna happen when we have 5 of these things crawling around, are they going to be compatible with each other?
Disclaimer: This suggestion is not a cheap idea though perhaps something to think about. As a matter of water storage and preparation, one could use solar power to pump water into one or more elevated water tanks during the day then let it run into a ground level or underground tanks at night passing through some turbines. There are some hobbyists on youtube that do this and produce between 500 and 2000 watts continuous, depending on volume and flow rate. This is may be useful if your power consumption is higher at night. Some math should be done in advance to determine the volume of water required to sustain the desired flow rate for most of the night and to determine the size and number of tanks and of course the overall cost.

There is likely no harm in keeping extra water around for the rule of 3's. [1]

[1] - https://www.trailhiking.com.au/safety/survival-rule-of-three...
It is easier to parse. Less ambiguity with something like int32_t r(); what is that?
Of cause such articles are first, advocating for something, therefore per-definition, skewed and non-objective by very design. By that I mean that 1) it focuses on a goal rather than actual process, 2) there is no trade-off analysis.

Without any need to go into details such estimate(s) are 100% wrong easily several orders of magnitude underestimating (as per point 1,2 above). Just imagine running a semi-complex industrial or technological project estimated in a similar fashion. I work on government-funded space-projects and could tell stories about overruns 2-3 orders of magnitude and schedule delay of factor 5-10. I am aware, that in business it is basically the same, and extending this to multiple-governments, as this article pre-supposes, linked through geo-politics and many other real-world constraints, is on the side of "stupid" if to be taken seriously.

Is this just for activists to chat about something? It certainly has nothing to offer as actual plan to prosper for the said states, or address realistically and meaningfully environmental pressures societies create.
I'd have to brush up on my math but even that feels bounded. Per cent is just division by 100, you take it out as a common divisor and you still arrive at the same sum.

Unless you mean something like

1 * 1.01 * 1.02 * 1.03.....

Which is indeed unbounded.
That's a massive game-changer, I agree. I really like the approach described by my former colleague: https://softwarephilosopher.com/2022/03/07/personal-worklog/ but I haven't manage to fully implement it
Nowadays I think you will find that if you speak to the search engine in the form of a question and in as plain terms as possible you'll have better results than by formulating it in keywords and google-fu like in the early days. I find that developers who "try to think in search engine" have gotten increasingly worse results over time as the search engine adapted to the general population's way of using it. This is all personal anecdata though, so you might want to try different ways that work for you.
Replacing arrays of structures with structures of arrays.

https://en.wikipedia.org/wiki/AoS_and_SoA
I've worked on some start up ideas in this industry and love https://www.balena.io/ for this
IDK what the motivation is here for Iran, but I think humans blew it with pets. We have non native cats destroying sensitive ecosystems, i was just reading about rabies outbreaks in stray dog populations. Theres over population of these pets in general so we kill them. the abusive breeds that exist. If people really cared about taking care of animals we wouldn't have breeders making pure animals for people to have as status symbols. Then people just dump their pets when they get bored of them. Dont bother training them or taking care of them properly.I could go on with the issues pets cause.

theres to many terrible owners and issues pets cause, we really should have some control over these animals. its wild out there.
> Those kids didn't spend 2 years locked at home.

Plenty of kids spent two years locked at home. Plenty of middle-class adults with remote jobs spent two years locked at home, with weeks at a time literally not opening a door to the outside.

In the two cases I know of relatively wealthy (upper-middle class developers) couples with remote jobs who had a child either in the year before or at the beginning of lockdown, they were 100x more isolated than the other people I knew.

I blame this on the hysterical coverage of infant covid deaths on the news, when the national numbers of infant deaths were something you could have counted on your fingers. Every infant death was national news for some stupid, obvious reason.

edit: And this was real isolation. People wouldn't allow relatives or parents to visit. They were more likely to get their mothers to move in and live with them than to let them visit (thinking about one of the two couples specifically.) This is the opposite of what normally happens with newborns.
A lot of people haven't developed the muscle to look at anything discussing "demographics" extremely critically.
.sex Considered Dangerous
As far as "tricks" go, my favorites are:

* Recursive descent parsing, see https://craftinginterpreters.com/ for a great introduction

* ConcurrentHashMap#computeIfAbsent() for a thread safe caching mechanism: https://www.geeksforgeeks.org/concurrenthashmap-computeifabs...

* Using Hypermedia As The Engine of Application State (https://htmx.org/essays/hateoas/ :)
BTW do you think twitch is best for this? I'm working with js for the first time and tools seem really slow and poor, I'm sure I'm doing something wrong, I figure looking at others would be great.
Monolith, microservices, and micromonoliths – a story on rightsizing teams
If you work with numerical algorithms, understanding the architecture you’re running on can make a huge difference to performance.

I once saw a colleague achieve something like a 30% speed-up just by swapping the inner and outer loops in an algorithm that worked on largish 2D arrays (matrices), just because the new nesting better matched the memory layout of the array and so made the hardware caches more effective.
Why you all dissing HNS? Shit's awesome
I really loved technology connections but after a while (and not sure if it was me or him changing, probably me) the pedantic ranti-ness of it started to make it less fun to watch, even though that was a draw at first.
You have a good point and are probably correct, but still.

These days most McDonalds seem to have automatic doors and card payments are contactless via phone or card.

Assuming the kitchen staff keep their hands clean and the trays are washed the touchscreens are the most obvious thing too break the illusion of hygene.

The real problem I guess is eating food with your hands without immediately washing them first.

Historically before contactless payments and automatic doors the world didn't end so it probably is just a percived "yuck factor" on my part, I fully acknowledge that.

It's just... those screens and their suspicious smears... :-###..
Fast inverse square root for computer graphics programming! [1] Popularized by leaked Quake III code (attributed to John Carmack), but dates back much further.

[1] https://en.wikipedia.org/wiki/Fast_inverse_square_root
Dog owners probably %)
This is NOT a view expressed in the document (nor is it a view held by its authors).

One of the key risks this document highlights is the risk that many populations, which contribute helpful diversity and different perspectives to the world, go extinct before people find a way to sustain them (e.g. Koreans, Japanese, Jains, Parsi, Emirates, Tanka, Macanese, Taiwanese, Italians, etc.).

This is not about "I want the 'good' people to reproduce and the 'bad' people to stop;" this is about raising awareness of various implications of population decline, which affect not just cultural/ethnic diversity, but also the viability of many major cities, stock markets, and governing formats.
Good idea. Only four inproducts and comparisons are needed: the other four have the same value, but negated. Might be SIMD-able.
OTOH, I find that writing some prototype code is one of the best ways to understand the problem and solution before starting to write the real program.

If you’re worried about lacking the discipline to throw away the prototype, do it in another language.
Carbon Capture and Hydrogen Electrolysis will make Syngas (methan + CO ) Which can be formed into multiple organic compounds (fuels, etc) It seems like the
capital costs is something like $0.75 per gallon of gasoline on a respectable
scale. (skylon study). The electrical cost is where the real cost of synfuels.

Or, on a small scale, you could charge an electric car. :)
If your function is supposed to perform some side effects, and you want to test complex cases where the effects are difficult to verify, than changing the function from

function foo() : void {
doBar();
if (...) {
doBaz(12);
}
}

to something like:

function fooEffects(): Effects[] {
results = [ { type: 'bar' }]
if (....) {
results.push({ type: 'baz', value: 12 })
}
return result
}

function executeEffects(effects: Effects) {
if (effects.type === 'bar') {
....
}
if (effects.type === 'baz') {
...
}
}

Then you can easily test the "fooEffects" function (it just return values that you can compare to the expected effects").

The `executeEffects` is still hard to test (you must mock / fake / stub things), but at least you only have to setup the mocking once.

Obviously, all hells break loose if you need to test some effects that depend on the result of other effects, which limits the technique to "single flow" of effects (printing stuff, sending commands, etc...)
Sure, but I'm not trying to capture the geopolitical situation there. It's only an example. Some people do think this way (for example displaying the Z as a tribal symbol) and that's enough reason to not just assume charitability or altruism on another's part.

IMO it's an oversimplification to do otherwise.
Its 5 extra characters actually.. because any sensible C++ project has i32 etc defined.

The type omission version isn't very useful, as this type of code is difficult to read later. Generally end up regretting using auto, and end up converting it to the actual type, except with iterators or nasty templates.
Because we've intentionally designed it so that we have to rely on cars or else we can't function, which puts us at the mercy of other countries for our day-to-day existence. If we can't get cheap oil, we can't function because of this intentional fragility.
> 130 gal/hr ... 226 gallons of jet fuel an hour

I see one mistake in my calculation. That Piaggio Avanti has a cruising speed of 360kts vs. 0.85 mach = 547kts for the cruising speed of Gates' G650ER.

(360 nautical miles / hour) / (130 gal / hour) = 2.76 gal / nautical mile
(547 nautical miles / hour) / (226 gal / hour) = 2.4 gal / nautical mile

And I thought my old car was a gas guzzler at 20 statute mi/gal.
Wanting UBI can be purely driven by a desire of a better world and belief that people will contribute more to society on average given space and resources to think and catch their breath.

Just because a minority might "sit at home all day and collect free money" doesn't mean the UBI proponent wants it on any level.

Projecting this want onto the proponent as part of their argument makes it a strawman.
It's a fun book and available for free both as an eBook and as an audio book put out as a podcast if your interest is piqued.

https://atrbook.com/download/

https://www.iheart.com/podcast/1119-after-the-revolution-829...
With no mission statement or philosophy about data privacy or content filtering it's just appears to me as another for-profit company with no ethical stand point, pass.
> I don't see how this is a strawman.

Because it is an absurd mischaracterisation of the benefits people see in UBI and most proposals for it.

> UBI literally lets people receive free money even if they sit at home all day.

See this is where nuance starts showing the straw. There is an important and significant difference between "you want UBI so you can sit at home and do nothing" and "even if you did nothing UBI would still cover you." One of the differences is intent. If you want UBI because you are lazy, is a very different situation from, you wanted UBI for good reasons but ended up using it while unemployed.

> At some level, a UBI proponent has to "want" this outcome.

Some proponents of UBI do not want it to cover rent + food + bills. So no, some proponents do not want that. Some just want to simplify goverment aid into a single payment. Some want the residuals of automation to be shared by all. In either case it would hardly cover for people to be sitting at home doing nothing.
Bringing the lightbulb to market – sprints and recovery in life and business
There was a huge financial fraud involving a Belgian company, Lernout & Hauspie, which acquired many of the other startups doing voice recognition and then went bust. The guy who built Dragon NaturallySpeaking and owned Dragon Systems was paid in ultimately completely worthless shares of L&H.

The technology was bought out of bankruptcy and successfully commercialized. One of the two guys involved in the fraud claimed he was a victim of a CIA conspiracy, although the other one admitted the fraud.
Mechanics invent an axle that can achieve steering angles of up to 80 degrees
Well, it could have something to do with right wing weirdos slamming wind farms as the reason for all failures of Ercot. And the article bringing up the winter issues when mostly the gas/thermal plants failed. And not mentioning the fact Ercot decided out to be a part of a bigger market that could help the situation by trading the energy with other states. And the capacity planning issues.

Instead it effectively says: look at this graph, wind doesn't solve all our issues, so we're going to call it the reason instead. It's a shallow opinion piece not a serious article.
What about for C++? Reading the docs, the C++ support seems somewhat of a side-show, and documentation seems patchy on it.
This is the thing people miss with Agile processes. Agile without shipping is merely wasted churn. Nothing is more demotivating than wasted churn. Agile requires progress. How can everyone learn and re-evaluate if you always stay in same spot but just keeping turning in circles?
If working in a team, create a policy document that everyone signs off on. Don't sacrifice quality for speed when it comes to policy.
This ensures that code is transferable between team members without too much noise.
To me that seemingly irrelevant reading/doing is all still enhances the daytime facility.

And I don't think it's unfair any more than for automechanics or woodworkers or anything else.

If you're only in IT because it's seen as paying well, I can't express how little sympathy I have for that complaint.

Really just think about that, it's unfair that I spent a million hours figuring out how to get tech to do things instead of going to parties I wasn't invited to by those same people, and they didn't, and now I know how to do things and get paid for it, and that's unfair?

Unfair would be if you want to talk about the uneven distribution of the luxury and opportunity to spend a million hours playing with IT stuff. Not everyone has or had the access to the toys and the time to play with them, but you can say that about everything else also, like every musician or artist.

Is it unfair that their favorite guitarist really loved playing and practing 24/7 all their life? It's so unfair they can't just punch in somewhere at 9 and punch out at 5 and not e en like guitar or be very good at it, and still be a rock star?
> Fails to provide any actual demonstrable impact, but doing the old "left to the reader" as to how it's clearly exploitable.

Yup.

PoC or GTFO.
Not by as much as you might think when your standards have been informed by more conventional models of state-led evil. Vranyo is a cultural disease whose impact cannot be overstated. I'll leave it to a Russian to explain: https://www.youtube.com/watch?v=d1pOahq4TCk
Oversimplification from which point of view? Russians, Ukrainians, or some outside observer?
you could move to iran :^)
China Chases Chip-Factory Dominance–and Global Clout
I switched mostly from Amazon to Argos here in the UK. There are like 10 of them within a 15 minute drive of me, and I don’t live in a big city. I can see what is in stock and go and pick it up in less than an hour with click and collect.