skysight-inc/HackerNews huggingface dataset:
This may be beyond some people's comprehension, but where I work we're receiving huge amounts of push-back trying to move from green screen to Windows GUI apps. Yes, really. We tried explaining this to a "modern" developer and it's like we were speaking a different language. They couldn't get it, at all.

It works in a very different - and very keyboard-centric - way. Having to touch a mouse slows users down dramatically, and so they keep closing our "pretty" app and opening up another terminal session. Can you imagine using web apps without touching the mouse at all? Or even most GUI apps?

And the speed... the time it takes to navigate from one screen to the next is milliseconds. They'll be typing three or four screens in advance. And they'll have four to six terminal sessions open. There's no GUI app that comes close, and I'm not sure it's even possible.

So yes. Web as desktop is bad. Really bad. Backwards. Unusable. Broken. And the people who work on it can't even understand the problem - that user efficiency and speed are REALLY IMPORTANT. Until "modern" devs understand that sometimes the front-end of choice is "ncurses", we're going to continue to have lots and lots of problems.
Also it might be helpful for you to engage with the source text re:Turchin if you want to have conversations about his ideas.
In the web, requests are made in either `cors` mode or `no-cors` mode. In `cors` mode, the `Origin` header is sent in the request. So yes, in `cors` mode the server could reject the request based on the `Origin` header. But in `no-cors` mode (the default if you do something like `<img src='...'>`) the `Origin` header isn't set, so CORS doesn't help defend against any attacks.
Apparently I am out of a loop: Farmers are denying climate change? If my livelihood depends on good climate, how can I not notice a good climate going bad?

I'd like to understand. Is this something beyond wilful denial?
I was talking about the part where Hamilton is calling out Michael Pollan for approaching the subject from a naive position: https://youtu.be/XvMArmwI10Q?t=120
Spending a month or two doing really scrupulous test-driven development, perhaps? I don't personally like TDD as an end in and of itself, but I love it as a sort of kata-like practice to help ingrain good habits.

In this case, where I see it potentially helping is that the tests give you a very clear, objective way of deciding when the code is done, and it's time to stop futzing with it. Though you would have to be careful about remembering that the "refactor" phase is about refactoring for maintainability, not performance.

I don't know what the tooling situation is like in Rust, but another one is to try and be really scrupulous about never making a change whose purpose is performance without first profiling the code, so that you can objectively measure the impact of the change. You don't need to do this forever, either. But, if your experience is anything like my own, I'm guessing that a lot of what motivates you is the feeling that you've done something of tangible value when you optimize the code. Actually seeing some hard numbers might change your feelings a bit. It's a lot easier to feel good about, "I spent an afternoon making the code more efficient," than it is to feel good about, "I spent an afternoon reducing the time it takes this program to execute from 50ms to 49ms."
People might pay higher prices, but they also get better wages and the economy becomes more resilient against killing the whole area because the local economic network gets more edges. So there is a better chance to find a new job should your current job go away for some reason.
Show HN: Lampant, the virtual suggestion box for the modern workplace
Hey HN community! Simao here, founder of Lampant.

Lampant is the virtual suggestion box for the modern workplace. It's not unlike an innovation platform, where the organization leverages the ideas submitted by employees.

People submit, vote and discuss ideas; management is accountable to respond. Activity in the platform (like getting ideas implemented or helping others) gets you awards.

Two big "goals":
- increase employee engagement and tenure
- find great new initiatives to improve any and all aspects of the organization.

Looking to get some feedback from the community, especially around:
- clarity of the value proposition
- easy to work with
- target audience (big(er) companies I'm guessing) makes sense?

(fell free to register, no payment is needed)

thanks everyone <3
I don't know anything about this particular situation, so please consider the following purely speculative in regards to this case.

I have lived for a long time in a country where insane bureaucracy and corruption are the norm. Probably up there with some of the worst on this planet. I've also seen quite a bit of what happens behind the scenes, from relationships with what someone might call the more privileged section of society. One thing I can say with a high degree of certainty from those experiences (no, I won't talk details): there usually are strong connections between the interests of powerful corporations/entities and insane bureaucracy and corruption, whenever the latter two exist. Even if they might not be directly the source or reasons for the existence of the latter, powerful corporations certainly know how to use their influence to maintain a dysfunctional status quo and use it to their advantage wherever they see an opportunity for it.

While NYC bureaucracy no doubt exists for other reasons, it does not rule out there be something else going on here as well. Not a chance in hell anyone but a whistle-blower could ever prove that though. But that's exactly why it's so tempting for powerful entities to nurture and support corrupt/dysfunctional systems (as for them they work just fine, if not better).

I can not speak for NYC (or anywhere inside the USA for that matter), but I have seen powerful entities work officials so that the function of governments would not improve.

Of course, every American is free to believe no such things ever would take place in the USA .. however, that would certainly make the country exceptional (for a change), compared to how things works pretty much everywhere else on the planet.
And if, after reading Montague and Glimcher, people are interested, they can follow up with deeper dives into some relevant topics, like:

* Reinforcement Learning: An Introduction by Sutton and Barto

(required reading in our lab, but its computer science book)

* Decision Neuroscience: An Integrative Perspective by Jean-Claude Dreher and Leon Tremblay
When I'm out I drink 'Alton Browns' - soda water with bitters.
Are you sure this information isn't required because of your government? That's the case at least in the EU, and the EU gets angry if they miss people. Aliexpress tries to do what the regulators want, sadly they don't have user experience in mind.
Usually http handlers or a database functions are pointer methods on some larger Service or DB struct type. If the config changes, you'd have a mutex within that struct and a method that safely modifies its state by locking and unlocking the mutex.
How to Deploy a Machine Learning Model with FastAPI, Docker and GitHub Actions
This is the exact question ("how?") I always ask when someone parrots "tax evasion" and the answers I get back never make any sense, at all.

And it's always from a bunch of armchair "tax dodgers" that, judging from the fantasies they share, have never seen an IRS form in their lives.
You do know wiped away is a pretty fake news headline term yes? These animals and fruit will bounce back pretty fast. Wither away? Drama is getting big on here
Can you imagine the CI build time bloat? I'm getting anxiety just thinking about it
This is more about power and reach. I'm going to pick on Facebook since they are easy to dislike. They are the medium of disinformation that is hurting the US and the world. First, people are joining extremist groups due to FB recommendations [0]. Second, vaccine misinformation has been spreading on FB. [1] Those are two horrific examples, but there's more.

0. https://foundation.mozilla.org/en/campaigns/facebook-stop-gr...
1. https://www.vox.com/recode/22319681/vaccine-misinformation-f...
Do you have any tips for making Obsidian function like Noteplan? I'm out of the iOS/Mac ecosystem but love how it works.
The approach really should be to do _everything_. I love the idea of reforestation, sustainable agriculture, etc., but there's a ramp-up time inherent in all of these. The advantage of solar geoenegineering is that the effects would be relatively instantaneous.
It's a fair point, the whole concept of buying something in a sealed container, and never opening it because that would ruin the value, is a bit bonkers. Mind you, the same could be said of wine collectors - just how much 'fine wine' gets bought at auctions for it never to be opened? At least with the wine collectors, they don't think a bottle is worth 10x the going price simply because the label on it is slightly cleaner than another.
Things I’ve Learned About Software Development Management
> Good luck getting Amazon on the phone.

I've called Amazon quite a few times when I've had problems and have always had a pretty good experience when doing so.
There are two senses of 'elder' worth unpacking.

1. The oldest remaining members of a family. In this case, all you have to do is survive. I have friends who are already in this place, having seen their parents, aunts, uncles and others pass on.

2. Provide family memory and wisdom to those who want it. Some of this you can do by recounting your experiences, but a lot is by learning about the more distant past, distilling it, and sharing that. For example, I haven't seen any stats on this, but most folks I know who are really into genealogy started later in life. This takes more effort and I imagine that this kind of 'elder' status isn't something everyone attains.
Might take away on this is that there’s a really long delay from when technology becomes available to when it becomes widespread, and this can mean slower growth than you might expect. Which means there’s a pretty enormous opportunity for accelerating growth by utilizing things that already exist technologically but haven’t permeated through society.

We have pretty amazing electric cars but they’re only like 1% of the global fleet. Solar powers also only 2% of US electricity, and even less than that globally on average. Same for battery storage or even IT innovation. I think in some ways we still haven’t fully absorbed computer technology from 50 years ago. Electric aircraft is similar. A lot of people aren’t even aware that we really have electric aircraft as a technological possibility. We have probably 80 years of growth just to fully utilize lithium battery chemistries, IMHO. Things like mRNA tech are even more important.

I also wonder how events like pandemics and wars facilitate growth (in the form of increasing technology permeation through society) as compensation for the destructive effects of pandemics and wars. In the last year or so we experienced an explosion of infusion of work from home technology and online ordering/home-delivery that probably would’ve taken a decade or 2 to happen otherwise. The trick is to get the advantage of these events without the destructiveness. I don’t think we figured that one out yet.
My grandfather is 92. I have a small number of relatives I fully expect will want more than their share, the things that may fetch some coin. I hear the more brazen ones 'Grandad, when you're gone, Grandma can't drive, what do you plan on doing with the car?'

I would dearly like to ask him for his harmonica. I remember sitting on his lap while he'd play Larry Adler tunes (he doesn't have the breath for it anymore). I don't think anyone else will care for it, something to go in a box to the thrift store I'm sure, but watching the looters plan their moments I can hardly bring myself to say anything, and so I'll just sit and make him another cup of tea.

Thanks for your story OP.
Łukasz Langa Is the Inaugural CPython Developer-in-Residence
> … they are failing …

Do you have the data for this? I just saw a story showing that CA flight is largely a talking point more than an actual phenomenon. Would love to see the numbers here.
There feels like a deep truth to the constant assault of man-hand compounds in relation to our health. I recently started fasting every other day, and I've noticed odd issues just clearing up on their own.

I'd wager the down-votes related to the claims around curing cancer, but there is reason to pursue this. I'm self experimenting on myself and wife since the wife has an auto-immune issue (MS). She was on the anti-gluten train way before it was fashionable since there is an immediate cause and effect for her without celiacs.

We really should question all of our practices and values.
UK jobs.

I know "meaningful" isn't well-defined, but more than 1% of the entire UK workforce is not dependent on the App Store (that couldn't be replaced by any other app marketplace)
> advocate for more professional license requirements in some other comment thread.

How in the world is this now a comment on the validity of licensing services? An organization has bad customer service so you should throw the entire field out?

I know someone who was on hold with an airline for hours, should we dismantle airlines? Is notoriously impossible to get google on the phone, should we scrap search engines and online advertising?

This post is simply looking for an reason to push a personal point.
> That shit isn’t a conspiracy

What is it then?
As opposed to the other licenses such as the medallion system (Uber drivers clearly can do the job), the interstate commerce commission licenses (there are people without trucks who live off lending their licences), the insane regulations that make drug development cost billions (you need approval from gov every step of the way), the older aviation licensing ( your competitor aviation companies had to approve that there was a "public need" for your extra company to compete with them), the EMT licensing that does the exact same thing as the aviation companies got to do (you get to decide if there is a public need for the existence of your competitors, weirdly they never found the need for competition)?

I'm sure the list goes on, but the notion that a govt worker who knows nothing about the practical side of the business and that does not care about how those insanities of the law will destroy jobs (this is the guy who will fine you) combined with an apathetic worker behind a desk with no incentive or reason to be responsive to you when they f up will make anything safer is just utopian.

I just hope that people who run away from California and nyc realize that these policies just don't work. If you are in doubt about how much of the homelessness in California is the fault of the govt licenses/red tape just look up on YouTube how much bureaucracy you have to go through to build more housing. One guy had to wait 4 years and spend millions in lawyers just to get a no from the city council.
Everything is a tool in a toolbox. JWTs are not a good replacement for sessions for a couple reasons -

* You can't have decentralized authentication AND invalidate a token.
* You have to have complicated client side logic (opposed to a cookie with a session id) to maintain your tokens. (Much of this is "solved" by using third party packages to handle it.)

To me, it's reinventing the wheel to use JWTs as long term mutable storage. JWTs are GREAT for short term authentication between decentralized systems.

I can use a screwdriver as a makeshift hammer, but should I?
Pure Functional Programming App in Flutter
One other notable candidate for essentially "solving" XSRF is SameSite cookies:

https://web.dev/samesite-cookies-explained/

SameSite cookies are supported in Safari and IE11, so they're potentially a better candidate, but there are still come caveats (see here for some of them: https://security.stackexchange.com/questions/234386/do-i-sti...).
I love this aspect of USA. Hate the gov? Move to another state. It’s not easy and slightly prohibitive, but less prohibitive than moving to another country.

It also encourages states to compete with each other, try new ideas and attract businesses; for e.g. Arizona and Southwest chip industry: https://www.wsj.com/articles/the-southwest-is-americas-new-f...
... or pretty much every large organization ever if you're somehow falling between the cracks, and your approval isn't critical to their survival. Paying em money isn't enough, unless it's enough money to move the needle.

People blaming government for this nastiness apparently have never dealt with any big businesses?

I mean, the government is exceptionally large and powerful, so that's even worse simply by scale; but on the other hand, they don't tend to cut corners quite as extremely as businesses do. In any case it's hardly a night and day difference. If anything, the kinds of checks present on the government should be present on all organizations beyond a certain size. Not that that's ever going to happen...
Excellent idea. I suggest Athens, for the historical significance, and which also hosted the summer Olympics not too long ago, so the facilities are already there.
Money given to a megacorp leaves the local economy, leaving the local area poorer, overall. Money given to your neighbors stays in the local economy.

A well-off local economy supports more things than a poor one. Local seed & feed shops are a start, but think of every other business that might be part of a small town: grocery stores, bookshops, art galleries, clothing, musicians, movie theaters, children's party entertainers, furniture makers, car dealerships, repair shops... how many of these things used to be made locally, and are now made by people working under dubious conditions somewhere in Asia, then shipped across the world at a huge, but completely-ignored cost to the environment? How many local shops has Wal-Mart ruined by being large enough to cut predatory deals with suppliers that let them sell stuff below any sane price point? How much money left the entire US economy for Jeff Bezos' pockets during the pandemic?

Keeping money in the local economy leads to better-off neighbors. Better-off neighbors are less likely to resort to criminal acts to feed your family; better-off neighbors are more likely to be able to help you out if something bad happens.

The metaphor that comes easily to mind is water: each local economy is a pool, with the locals the fish swimming in it. Buying stuff from a megacorp may be cheaper in the short run, but every time you do that, the corporation is pumping a bit of the water out of your pond and putting a little of it in their pond, far far away, and most of it in their giant storage tank even further away, where it sits, unused. Ultimately your pond dries up and either you leave for a larger pond that hasn't been sucked dry by corporations, or you end up baking in the sun and dying.
Watching people play chess has entertainment value. Coding is lucrative because there's a lot of demand and not that many people who can do it well. What if a computer can do it better than almost anyone?
There’s no “switch” (yet), the C3 is their new MCU with a RISC-V core, but they will be continuing to manufacture their Xtensa-based designs for some time.
The bare module isn't too bad, there are some excellent breakouts that are only for bare modules.

But I can't recommend 16MB WROVER based boards enough for people making one-off projects.

https://www.digikey.com/en/products/detail/espressif-systems...

16MB of flash lets you use sooo many "creature comforts", and as an added bonus, a lot of them tend to be a more breadboard friendly width since the module itself is thinner and longer than the WROOM.

Like with 4MB of flash, even something as simple a <sstream> is off limits, because that pulls in locale data, and that in turn blows up your binary size budget unless you turn off OTA

(If you're making an actual product, then yeah obviously trading some creature comforts for a simpler codebase and a cheaper product is on the table)
What's your take on the Willamette Valley becoming the next Napa? I've heard this being discussed as climate change and wildfires become more apparent in California.
Also cities - see for example Atlanta 1996.
Interesting! As by pure chance, my current project already incorporates EnTT, so I will definitely give this a closer look. Thank you.
May 10, 1869 saw the completion of the transcontinental railroad across North America. July 20, 1969 saw the first human on the moon. 100 years, two months, and 10 days.
Unfortunately a lot of adfarm sites that hoover up abandoned/popular domains scrape content from other sites and aggregate it to keep Google engaged at driving clicks to their ad-laced pages.

On the surface a Yelp like system to rate domains as legit vs. click bait seems logical until you realize the scammers would just work at gaming that system too :p

This is where a universal ID would really help - but the other ways something like that could be used make me even more uncomfortable so here we are with no real good solution :(
C combines the power of assembly language with the readability and maintainability of assembly language.
Kind of reminds me of software engineering-- You usually only get credit for 'rescuing' a bad situation, but never for preventing that situation in the first place :)
The problem there is that farmers must do a lot of marketing to achieve that 2-3x multiple of commodity prices, so even if you're nominally more profitable, the additional time investment isn't really worth it, compared with taking your crops to a co-packager to get a 10-20x mark up.
The Air Force weather team that keeps canceling your rocket launches (2020)
You're wrong there I think. I personally was surprised by Chrome and the way it took off - initially when it started it looked like a me too product, it seemed pointless to repeat the good work at Firefox. And Android was also a good bet, though in my humble view, not as good a one as Chrome. Sundar got some big calls right.
One of many resources about ESP32 and a quite informative overview of ESP32 realm is
https://randomnerdtutorials.com/projects-esp32/

It also shows examples of projects to learn the use of the board.
You didn't at the time. The reason we got flagged was because we started talking to insurers about adding a policy at one point in anticipation of hiring.
> vitamins are pretty much unregulated for decades, but doesn't have this lead or toxic chemical problem.

Check out John Oliver and see how many problems we're having due to unregulated vitamins.

Also vitamins are used by a ton fewer people than medicine, and for purposes far, far less risky than medicine.

> Why do you feel so strongly this would happen in medicine?

Because it would happen for sure without regulation. Maybe not to the degree I pointed out, but if they wouldn't be forced to go through all those clinical trials, etc., I'm 99% sure that bean counters in a company would decide: "you know, maybe we could reduce the dosage of that super expensive ingredient by 10%, the side effects will only be known after 10 years and we're here only until we cash in our checks in 2 quarters".

> Do you really think companies (who spend a lot of capital building a business) will knowingly waste it all away by selling medicine that poisons people?

There are companies that periodically change their name to "cleanse" their image. Telecom companies, for example. Plus, they'd only have to persuade doctors, not regular people. Regular people don't really know who makes their specific medicine anyway (don't believe me, go ask your grandpa who makes each of his 10 drugs he's taking).
This is what I call soft tyranny.
Ferrari SF90 Stradale, Ferrari's first production plug-in hybrid car