skysight-inc/HackerNews huggingface dataset:
Ask HN: Are you willing to teach free classes
hey guys

I'm curious what % of professionals would love the idea of traveling to another country to teach their skills for free (similarly to how YouTubers teach for 'free')

there are a lot of people left behind in this AI era. I'd like to create a win-win-win platform for this and somebody suggested I first make a survey to see if enough teachers/tutors/professionals share my drive to fix education, so here it is: https://rockstart.ai/pre-mvp-survey-tutors

I'm not sure where I can find people to help me with the survey, as this is not necessarily targeted towards teachers/coaches, but anyone that actually works in a particular field and is interested in teaching others for free (for various reasons, being social good, indirect travel benefits as in couchsurfing, more recognition, more indirect consulting gigs, private paid 1:1s with the students, -- there are many ways to attack this, thus why I put up the survey)
The author lists which programming languages were used, ML wasn't included. I'm sure ML refers to machine learning approach.
Great link that.

But in the end, if I am not mistaken the UCI rules state that the photo finish line is the final arbiter, not the paint on the ground. I don't think this is a great injustice - it's a sport and the rules are arbitrary to a great extent (e.g. male riders 180 cm to 189.9 cm tall must use a smaller bike than those 190 cm and taller in time trials - which sucks for those 189.9 cm tall).
It’s also training dependent.

It took a long time for Perl to go away from daily use in bioinformatics, solely dependent upon how common it was twenty years ago.

In our lab, there is me, a (mid career) polyglot who mixes Python, Go, Java, and R daily. I use tab delimited text files to transfer data. I also grew up coding in C++ and like learning new languages.

We also have a (mid career) staff scientist who grew up in Perl, but switched 100% to R and an (early career) postdoc who has always used 100% R. For both of these people, if work can be done in R, it is. If it can’t be done in R, they figure out how to do it in R anyway (even if that is shelling out to another program).

We also have a (young) grad student that is 95% Python. They try to keep to the Python tooling, even though they are quite aware of the R ecosystem.

There is a generational shift in the field, and it is more apparent each year. I find it interesting that Python took over from Perl first and now it’s trying to take over from R.
I think in the best case scenario, a person being physically together with their team will genuinely feel like working more often than they would if they were alone in their room.

I also agree with you that people in the office are more susceptible to straining themselves due to social pressure.

I'm not sure how these two balance out. It probably depends on the specific people.
> What would their options be? Their military is tiny compared to the US. Another data point is that they did sit by meekly when they had solid evidence that their leaders were taped by the US. Merkel, Chancellor of Germany at that time, didn't even shrug...

Do you think Europe’s only response was a military one?

If Europe was so scared of the US and willing to obey every move it makes, explain what happened over Iraq when even France and Germany opposed the US at the UNSC.

As for the spying revelations, they were met with a shrug because those countries do or attempt to do the same to enemies and allies alike too. It’s part of the game.

> The difference is that the US doesn't limit it's meddling with territory to its neighbours. They takeover globally when needed (Iraq, Afghanistan, South America, Libya, Syria, etc....)

What? Russian forces are in Syria in large numbers as we speak. Their Africa Corps is in nearly a dozen African countries, and they’ve helped launch coups across the Sahel, far from their own borders. There are Russian troops helping to sustain an illegal enclave in Moldova which doesn’t even share a border with Russia.

China, too, has become involved in conflicts and influence operations far from its own borders, including in Africa. Chinese ‘private’ security companies, which in actuality have clear ties to the state, are all over Africa and asserting ever stronger control over resources.

In any case, it’s irrelevant: It’s just as wrong to break international law when illegal stealing territory from your neighbours as it is to break international law further abroad.

The US at least had an unambiguous right in terms of international law to enter Afghanistan and Libya, complete with UNSC authorisations. What legal right do Russia and China have for their recent aggression and annexations?
>In some cases, this damage can be effectively permanent if let go long enough.

I have no expertise in leaf or ground quality. If this is the correct, even in very rare cases, over the quarter-billion years or so that trees have been shedding leaves, should the entire planet not be barren wasteland by now?

What's the process by which leaf damage is undone over very long time periods?
That's also true for sugar. And sugar is massively subsidised. Brazil spends $2.5bn a year subsidising sugar[0], for example.

[0] https://www.washingtontimes.com/news/2018/mar/16/steel-sugar...
I've noticed roofing crews use them to remove old shingles. It must work pretty well, if they are dealing with carrying them around on the top of a house.
The name sounds like illicit.
Jerry Seinfeld’s Duke Commencement Speech
San Jose, Burbank, Albuquerque. Not so much in Santa Cruz or the Denver suburbs.
I think the position lacks nuance, but I can easily undermine it. If anything, in person work favors people, who rely on relationships rather than skills. Remote is almost the exact opposite of this as it requires a verifiable result.
Show HN: Visualizing Prometheus node_exporter metrics from smartphone
Hello all,

As an individual developer, I manage a few servers on AWS and Scaleway for self-hosted open source services.

Therefore, I didn't need the whole artillery to monitor them (Prometheus, Grafana, etc.), which usually costs some money.

That's why I've added the direct integration between my app and Prometheus node_exporter. The funny thing is that thanks to it I've realized that the disk of one of my servers was starting to reach full capacity (AWS doesn't make it really easy to see by the way !)

I'd love to have your thoughts on that, and maybe sharing what other metrics than CPU, RAM, Disk, Uptime, you usually monitor.

I made a small video to show it in action : https://www.youtube.com/watch?v=9Ft20gqrfs8

PS : I'll be honest, the SSH feature is Pro only. But you can reach out to me via the app, with your platform (Android or iOS) and I'll add you to a testing group allowing you to upgrade to Pro for free.

Thanks a lot for your help.
As a remote worker and manager, I see you. When folks on my teams are not feeling it, I tell them to just let me know they're taking the rest of the day or the day and I've got it covered. People are not machines to grind widgets out all day long, some days will be very productive, some days will be useless. That's okay. I'm optimizing over long periods of time. I care about the mental health and wellbeing of those who report to me, and I will absolutely help them find work elsewhere if it isn't working where we're at.

None of this work really matters in the end, so no point in getting too bent out of shape about it. The work needs to get done to a defined standard, but overly focusing on high levels of consistent "engagement"? I don't drink the koolaid and neither should the folks who report to me. We show up, we grind, we go home. And that's fine, that's what the money is for.
Goodwill is like dark matter; they have to account for value increases or decreases when doing double entry bookkeeping so they invented goodwill for that.
Israel, North Korea, India, Pakistan and Iran did not bother about NPT. KSA most likely has nukes as well. Japan can assemble one fairly quickly.

We also have international treaties for chemical and biological weapons. But big countries are known to engage in things like pathogen gain of function research.
Was looking for a specific computer part not that long ago and only place I found indicating stock was seller on Amazon.

Never shopped there before but finally bit the bullet and made an account.

Deposited $300 gift card. Amazon blocked my account completely (can not even contact support) and not long after got an email telling me it's due to sanctions suspicion and they require full KYC (including proof of residency and employment!) before I can ever see my $300 back again. I really don't have the energy to fight them for it...

Still asked a friend with existing Amazon account to order it for me. The seller cancelled the order saying "out of stock".

Our thesis is that seller is a money laundering front without actual product. Somehow Amazon's not closing their accounts, though....
It might just be a meme, but supposedly it's very common in Chicago?
Yep the title is misleading. Here’s the Gemini summary https://g.co/gemini/share/efe3dc1870aa
I think this has more to do with workers who are only interested in doing the least amount of work they can get away with.

Even highly motivated workers are going to have off days that are less productive, but the average level of output will be higher.

Low performing / marginal workers, in my experience, tend to do their best work when they feel like they are being observed. Providing that sort of motivation is more difficult when they are remote.
CTO @ Inngest here. Each event is published with an API key associated with a particular account workspace. We add the workspace id along side the each event in the stream so matches are only evaluated against the matching expressions in a particular workspace. This is the first tier of filtering, but many customers send millions of events and have millions of matchers each day so even at the individual workspace level, the optimizations are necessary to prevent backlogs across user accounts.
Reality is not a chess board. Thing is, we don’t know what we don’t know and we can't put a probability on that.

We don't even know how much we don't know, but I would intuitively say very much.
https://twitter.com/moxie/status/1582154037700399104 moxie marlinspike invented one a few years ago
Show HN: Chessdream – Generate realistic chess positions with AI
For no specific reason, I trained a neural network to generate random chess positions that look similar to positions from actual games (from lichess db). I also made it so you can condition it on some fixed pieces, and adjust the number of pieces.

It turned out to be quite effective and I find it surprisingly fun and instructive to generate e.g. endgame positions with a certain pawn structure (set low temperature, place some pawns and position the kings, adjust number of pieces to get an endgame), and then figure out how to win vs. the computer in those positions.

I hooked it up so that you can easily play vs. a computer, either via lichess analysis → continue from here, or via my own project Noctie.

I’m thinking about whether I could develop it further to create position variants on a certain theme that the AI thinks I need to practice, or maybe make a PvP feature where you play a random position vs. a human. Ideas or feedback?
Site is pretty broken on mobile. And all of the install commands are essentially piping downloaded scripts to bash, and some of those scripts download and run other scripts! I realize they're all open source but it's still quite the security risk. I'd much rather see the whole scripts shown on the website.
> Overall, vegetarian and vegan diets are significantly associated with better lipid profile, glycemic control, body weight/BMI, inflammation, and lower risk of ischemic heart disease and cancer. Vegetarian diet is also associated with lower mortality from CVDs. On the other hand, no difference in the risk of developing gestational diabetes and hypertension were reported in pregnant women following vegetarian diets. Study quality was average. A key limitation is represented by the high heterogeneity of the study population in terms of sample size, demography, geographical origin, dietary patterns, and other lifestyle confounders.

> Plant-based diets appear beneficial in reducing cardiometabolic risk factors, as well as CVDs, cancer risk and mortality. However, caution should be paid before broadly suggesting the adoption of A/AFPDs since the strength-of-evidence of study results is significantly limited by the large study heterogeneity alongside the potential risks associated with potentially restrictive regimens.

tl;dr (which you've heard many times before): Eat less/no meat if you want to live longer and healthier. Ignore this advice at your own peril. I learned this lesson the hard way.
Thank you! We build Codea in our spare time, evenings and on weekends. It’s a really rewarding project
Ebury is alive but unseen: 400k Linux servers compromised [pdf]
And if programs use GBs of data, it should usually be in /var/tmp/ as that is backed usually by an actual storage device.
The Hype Trap – Valuation for AI Startups
The most interesting JS DB lib I came across was https://github.com/kysely-org/kysely but still didn't feel as good as EF Core.
Fixing a 2-Year-Old Bug: A Journey with Debugging SSL Handshake
It was a study of studies. The studies were meta analysis.

In other words this study used zero direct observational studies.

No one has ever fed one person a meat diet and another person meat free diet and shown there to be a increase or decreased risk of heart disease.

Daily reminder that Hong Kong has one of the highest meat consumption per person in the world And one of the highest life expectancies.

India has some of the lowest meat consumptions in the world and one of the lowest life expectancies.

So clearly meat is not the demon some of these biased studies make it out to be.
See past post: https://news.ycombinator.com/item?id=40342176
I've found https://lethain.com/partnering-with-your-manager/ to be a good way to think about it.

1:1s aren't to only tool for this, of course.
I wouldn't expect that to happen. In a world where AI makes it both easier to generate and process all those extra words why would they actually decrease? It seems like the motivation would be stronger to reduce it if it's humans doing the majority of the generation and processing.
Elon Musk reveals date Tesla Cybertruck will get Full Self-Driving
People on plant based diets probably are healthier on this metric than others, on average. But I wonder if that’s more of a case that the control group generally has a shit diet?

Would love to know if a primarily plant based diet (lots of varied vegetables, berries, nuts and fruit) + some lean meat and plenty of seafood on top would be as healthy as plant based, or healthier even?
> Matching string literals is kind of gross,

Only because the escape sequence for a quote is \" instead of, say, \q. Then it'd have been a very straightforward regex "[^"]*" to match a string literal. On a slightly related note, having the escape sequence for a backslash to be \z or something like that instead of \\ mitigates the "leaning toothpick syndrome" quite a lot. Both of these choices are unpopular for no particular reason IMHO other than "it's different from what all the C-like languages do".
> In the "to" address is something that's not even remotely my email. Suppose I'm godelski@gmail.com, the "to" has something like "robbert01@gmail.com" and always has a CC with a different number.

You probably already know this, but the content of these headers is not relevant for email routing. The list of email addresses which will actually receive an email message can be found on the SMTP commands, which precede (and are independent from) the email headers and body. If you look closely at all headers, you can probably find it, since most SMTP servers AFAIK add one or more header fields containing the email address found on the SMTP command.

That's how BCC can work: the list of emails in the BCC is never sent within the email message (unlike TO or CC), they are only sent on the SMTP commands.
Do you want your child to be the social pariah in the class?
> and perhaps Python-using academics also never make packages.

Your guess is (largely) correct. For most users, the workflow is exactly as you described:

> They make the notebook, use the build-in R functions and then their work is done.
> a foot is roughly equal to a nanosecond

I used to work with a company who insisted on timestamping their sensor data with nanosecond accuracy. Mind you they were not working on anything high speed, or explosive in nature. Just robots moving around at best with highway speeds.

I asked them if they care so much about the accuracy will they also adjust their data for time-of-flight delays. Since by the time the light bouncing from an object hits your lidar/camera meters away what you are sensing is several nanoseconds the past.

To top it off they stored the nanoseconds elapsed since the unix epoch as a float double. So floating point weirdness immediately destroyed all the precision they worked so hard on.
In the article the author does call out not doing research or at least cognitive bias toward research that agrees with RTO. They provide examples like Citrix who have been doing this for years. I would agree that a CEO who doesn't look at all the research and just does what Apple and Amazon do because they should have "done the research" is a bad CEO. Especially if the reason the big companies did it was to paint what would otherwise be layoffs in a way that they don't have to disclose to shareholders. Of course these "bad" CEOs may be doing this too. That just makes them bad to employees which is kind of a unspoken truth...
I'm a bit frightened to ask what surprising use cases you found for a lead blower.

On a more constructive note, I don't know where people get the idea that battery powered means quiet. My vacuum is electric and far from quiet – why would a leaf blower be?
> Sugar is addictive. Do we ban sugar, or regulate its consumption? No! I

I can't believe you chose sugar as an example. As a healthy lifestyle minority I would love to see some regation on cane sugar and syrups. One idea would be to tax it by volume and make it as expensive as premium honey or maple syrup. Of course, if something like this happened I think people would be mind blown at the effect of food prices as they'd immediately realize just how much of this bullshit is in everything.
Right. So if you have the $$$
> Remember, the goal isn't to prove some technical property, but to find the greatest number of bugs that matter to you

No. And this has been a particular challenge for poor C++. If we prove a property then the property holds, but if we just found and meticulously fixed 846 of the crucial holes in our system, the bad guys exploit #847 to break in just the same. Is there a #848? #849? Maybe.

We as an industry are significantly under-delivering and we ought to take responsibility for that.

I think you're correct about the gap but wrong about what the gap is. WUFFS exists today. Lots of people on HN have written or even are writing codecs in a general purpose programming language and don't even realise that's a terrible idea. "I'm pretty careful" substitutes for a machine checked proof and the results can be seen easily.
Tech layoffs tracker: Here's which Bay Area companies have cut the most jobs
elicit

transitive verb

1: to call forth or draw out (something, such as information or a response)
her remarks elicited cheers

2: to draw forth or bring out (something latent or potential)
hypnotism elicited his hidden fears

https://www.merriam-webster.com/dictionary/elicit
Small businesses became Goldman Sachs allies to fight Washington regulations
It would still be slower :P

At least once you start "gaming" benchmarks interpreted and/or dynamically typed languages have a strict ceiling they can't really surpass (just.js doesn't count as it's as thin wrapper on top of C as it can get)

https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

(all top entries are bottlenecked by DB driver implementation and its ability to multiplex queries, and context switching cost, so those frameworks which can do perfect static partitioning and query multiplexing win out)
Related to Europe https://www.who.int/europe/publications/i/item/WHO-EURO-2022...

"Sugar-sweetened beverage taxes in the WHO European Region" "Taxes were in place in Belgium, Finland, France, Hungary, Ireland, Latvia, Monaco, Norway, Portugal and the United Kingdom" "The taxes were implemented in the context of health policy commitments to prevent NCDs, which present a major health burden." (NCD = Non-communicable disease)
That’s mitigated a bit by the airflow implications of longer splitters, where a few extra cm might cost you more in drag or downforce reduction than you’d gain in a photo finish like this.
Sebastian Langue: https://www.youtube.com/@SebastianLague

Coding projects usually from first principles, really neat to see things like flight sims, font rendering, neural nets, chess bots, or ray tracers being built from the ground up:
How to Simulate MEV Arbitrage with REVM, Anvil and Alloy
Imagine the camera were floating just above the surface of the Earth, and also that it had perfect image stabilization. This image stabilization would keep the camera always oriented in the same direction. Same direction relative to what? To the rest of the universe. So if it was pointing right at a star, it would continue pointing directly at that star as it went around and around the Earth. From our perspective on the surface, the camera would appear to be flipping over itself as it kept pointing at that star.

Unfortunately, this would be pretty bad for taking a picture of something that was right in front of the camera (relative to the surface of the Earth). You'd be in front of the camera, ready for your picture, and the camera would appear start rotating as it kept that distant star in view.

So with a perfect image stabilizer, this is what the camera is actually trying to do, even when standing on the Earth with a tripod. It actually senses the rotation of the Earth, and tries to cancel it out, just like it would cancel out your hands shaking. But while it's good to cancel out your hands shaking (because that's a motion that's independent of the subject of the photo), it's not good to cancel out the rotation of the Earth (because the subject of the photo is actually moving with you).
So many people are going to misread that title.. not read the article.. and affirm their bias.
The constant feeling of small wins keeps you going

When you finally take 1 day a month off and look down from 10,000 feet up

The reality of how things are going is gloomy

It might also help if you can mentally spin things to be more boomy. Optimists in the house
Odin programming language now supports NetBSD
I am starting to think that part of the issue is 'one size fits all' approach that we centered our society around. I genuinely hate hybrid. I would rather have either full remote or full office, because hybrid messes with my routine and sleep pattern.

Unfortunately, employees choosing their preferred mode means more headaches for employers ( they want to track it somehow ).

I know what I prefer. I know what is possible. As humans, we do not agree on what is the 'right' way. And in US, employers used to hold all the cards ( which is part of the reason they are praying for a recession ).
@dang would it be possible to update the title of this post to match the results it shows better? Study finds lesser risk, not more
>I learned this lesson the hard way.

What do you mean by this?