skysight-inc/HackerNews huggingface dataset:
Name a system that doesn't enrich a small group of people when actually implemented in real life. So yeah you pick the least bad of the options you have.

edit: That also includes being stable against competing systems. A utopia that is conquered in 5 minutes and replaced with a dystopia is not a utopia.
Ask HN: Android alarm clock app that can be managed over a REST/HTTP API?
Is there an Android alarm clock app that can be managed over a REST/HTTP API?

I would like to CRUD alarms on my Android phones over a REST/HTTP API.
Even better would be if I could set a note/reason for why the alarm exists.

I am a developer but never written an Android/mobile app before - if there's existing code out there that can be modified to fit this requirement, I would definitely check that out.

TIA.
I'm happy to announce that I'm minting my social relations as non-fungible tokens. Get in early for the best relationship airdrops. Lucky participants may even be able to snap a mom, dad, or poppop token.
The Machine Learning Scientist as Toolsmith: An Homage to Fred Brooks
I can assure you that it is possible and meaningful to have full code coverage in certain contexts (for instance for important projects that get only rarely touched) and doesn’t inevitably lead to bad test suites.

Railing against code coverage is at this point just as dogma as insisting on it.
If you disappoint him, could you deliver at least this one pizza under 30 minutes to this enclave down the road?
My own personal definition of Full Stack Dev is similar to the term one man army. It means I can design an app, do the front end, the backend, and handle the deployment.

Note that the app itself might not be great because you're doing the job or 4 or 5 specialists, but the idea is you could pull it off and have an ok app at the end without it being complete garbage.
How do you figure? They are making an argument that 2.5 billion searches isn't impressive, and Brave is framing it in "yearly searches" so they can use the word "billion" because it doesn't sound as impressive if you frame it in "searches per second".
DDG usually shows a SO preview in the right hand gutter for code related searches. I guess that must be a bing feature.
THe problem with this prediction is that there is an astronomical amount of money tied up in global trade.

To stop that would be incredibly disruptive.

Thats not to say it won't happen (history has plenty of examples. WWI is a recent one).

However for the "end of shipping" to happen we need those vested interests to stop being interested in literal trillions of dollars worth of trade.

I can see a few scenarios where that happens, but russian embargoes isnt one of them. China attacking Taiwan, perhaps. Again there is a huge amount of rich people who don't really want that to happen, both inside and outside of china.

Again, this isn't to say that Xi isn't stupid enough to try.
This is probably a plurality opinion on Hacker News, which means it in no way represents the opinion of the average user or business professional.

https://books.google.com/ngrams/graph?content=microsoft+word...

Note that 2010 is the year that MS first started adding cloud-based collaborative tools to MS word, reducing the downward trend.
> Nuclear is the safest way to generate electricity, but that safety comes at a financial cost. Pursuing nuclear is great but solar/wind are much cheaper.

If fossil fuel use was burdened with the level of safety regulations that nuclear fission is, sufficient enough to make it as safe and clean as nuclear, we might suddenly find that nuclear is actually very cheap.

To me it seems like a false dichotomy to suggest that nuclear is competing with solar/wind. At best it's competing with solar/wind + batteries, but in reality it's competing with natural gas and coal. And natural gas & coal have an unfair advantage because society and our governments have drastically more tolerance for it's absurdly greater lethality and pollution compared to nuclear.

Fun fact, since the NRC, the Nuclear Regulatory Commission, was founded in the US in 1975, they have not approved ANY new nuclear sites, only a few expansions of existing sites. I honestly wonder how many deaths the NRC is responsible for by beating down nuclear development to the benefit of the fossil fuel industry.
Yep. AirBnB is directly responsible for exacerbating housing crises and ruining neighborhoods world wide by making it easy to break the law and providing perverse incentives to do so. A negative externality of society if there ever was one.
One in every 13 incidents blamed on API insecurity – report
Java is now running on 58billion devices
You think Brave paying users to view ads and doing machine learning locally is worse than Google tracking you and showing you ads?
I was under the impression Solidity was a dumpster fire language. For example: https://news.ycombinator.com/item?id=14810008. It ranks surprisingly high. Is this riding off of Ethereum’s popularity? Perhaps in combination with the skewed sample (towards young/beginning devs).
>What I am saying is that GDPR is completely and utterly ineffective in what is "meant to do".

How,why? I mean, I did ask you multiple times. Seems you don't know anything about GDPR. You even said you had experience with it?

> First, I am not saying that all regulation is bad. What I am saying is that GDPR is completely and utterly ineffective in what is "meant to do".

> Second, it's not about being "anti-capitalist" but "anti-corporativist":

Your only argument so far is that big corps have more money(more lawyers) than other players on the market. How can one be a capitalist and against money(inequality) at the same time?
Possibly up to double (480MB/sec) that soon for large sequential read workloads. Seagate has their multi-actuator Exos 2X14 Mach.2 drives which should start hitting some level of channel availability within the coming weeks.

For video editing, ETL and other read-heavy workloads, they have a point.
Where did they say that 2.5 billion isn’t impressive?
Sorry, I should have been more clear: I just dislike the use of "billions!!!" when what should be discussed is either qps (system load) or daily-active users (engagement).

You could guesstimate DAU from qps by choosing a "queries per day" number (e.g., 10?) and assume the queries are done over just 8 hours. That's 1.25 queries per hour per user. Multiplying these terms out, you get ~500k DAU.
Secure? On the 'internet?' Okay, then.
Do not read idiots like Ammous. I don’t like to restrict people’s reading choices but this is equivalent to reading Deepak Chopra for economics. Between that and someone like Lee Smolin who is also extremely anti establishment, only one of them is an incredibly deep thinker.

People’s appearance on Lex Fridman shouldn’t be used as an indicator of anything. He interviews very widely and he does it well. But he isn’t very selective about guests.
Sane password manager uses a local database which you can't be banned from. You can easily make a backup of that database to some usb drive and put it into safe. You can't make a backup of your iCloud account and be sure that Apple won't ban you because you're living in a place that US does not like.
Cigarettes are directly marketed to kids and have been for decades. I still remember the DARE posters from high school THAT WERE MADE BY THE TOBACCO INDUSTRY, and were specifically designed to have the opposite effect.

I also remember that a solid quarter of the student population smoked. So good luck with your abstinence policies, they have such a strong track record.

Speaking of which, does abstinence only education result in less teen pregnancy, or more? I can't quite remember.
a $230 monthly electricity bill in Seattle is a lot
Brave's index is too similar to Google's nothing better or worse just roughly the same. I might start using Bing because it seems like the lesser evil of all. At this point Google is too much of a mess.
I've been gardening for a while but still try to do this. I plant more than I want in a variety of locations and conditions. I usually end up harvesting more than I need but still get upset when any one plant doesn't succeed.
Same Energy (visual search engine)
Yes. Several parts to it.

1) My experience is greater. Many of the problems that I encountered before, I know how to solve.

2) I know what knowledge I'm looking for if I don't know the answer. Instead of searching for the problem I am having (and ending up on SO), I am searching for the specific part of the documentation that I need for solving the problem that I have.

3) I tend to bias to project specific knowledge now. The general pollution of search on Stack Overflow means that it is more productive to search Spring documentation or the project specific forums ( https://github.com/spring-projects/spring-kafka/discussions ) rather than Stack Overflow itself.

4) Stack Overflow content is having difficulty with the lack of curation of old answers and the deceased quality of people answering now. Finding an answer written in recent times with a few variations on "have you tried {x}?" without the material leading to how that suggestion was derived means that trying to apply the answer is shotgun "maybe this works" without an understanding for how it works or if that is the right solution.

4b) I try to avoid the "have you tried {x}" answers as that impacts the rate I grow my experience (and thus part 1) at. Likewise, in general, people who try the shotgun solutions (and I can see that in code reviews if they're not good about cleaning up (and they aren't) tend to continue to make the same type of errors again as they are following cookbook / paint by numbers approaches rather than understanding some basic food science or aesthetic theory.
I love the search engine of Brave, because it's the first privacy-friendly alternative to Google, which competes with the quality of search results.

DuckDuckGo, Qwant and similar search engines never give me so good results.
Thank you for pointing that out!

I should have put "reuse" in quotes, since I meant copilot takes reuse one step further and replicates or regurgites code.
I don't think anyone can say, in good faith, that Juul didn't mean to market to kids. That doesn't even pass the laugh test. Every single facet of their brand design, products, and marketing were clearly and obviously intended to appeal to kids from the very beginning. Let's just be honest about that, at the very beginning of the debate, and move forward from there.
> Why is this meme so popular on HN? There's nothing 'harmless' about it, and a few minutes of Googling makes that incredibly clear.

My guess is because people who claim this rarely have any references, and when they can dig one out, it's very bad.
Yea I’ve been waiting for this. Feels like the biggest innovation in search in a long time . Can’t wait till the community builds a goggle to remove all built for SEO sites
In the European tradition, the number 1 thing government protects is private property. There's a reason that deeds are recorded with the county amd that you must pay tax on real estate and that these are fundamental things local government does in even in the most backwater province where they may not even have a library system.
This is how you fix CO2 emissions:
Add a $200/MWH tax on coal ($500 for lignite)
Add a $100/HWH tax on natural gas and oil.

Make all energy sources comply to the same safety standards (like $X in taxes per 1 million expected lost life-years, from radiation, air polution, floods, etc)

THEN make the free market sort out how to produce energy.
Developers have held a grudge since 1976 because of https://en.wikipedia.org/wiki/Open_Letter_to_Hobbyists
Ask HN: Competency in natural language correlates to competency in programming?
Does competency in writing in a natural language correlate to competency in a programming language?

I am wondering if there's opportunity in training english/french, anthropology, history, art majors who have demonstrated competency in writing in a natural language that have overlap in vocabulary and structure with programming languages?

Or is competency in writing in a natural language orthogonal to competency in a programming language?
Samsung home appliances (washer, dryer, dishwasher) are also supposed to have grave reliability problems. Anyway, appliance repair people on YT say so. (Plus, LG refrigerators, maybe still.)

(My experience is that Whirlpool/Maytag appliances now all have a gratuitous circuit board with parts that reliably burn up after warranty runs out, requiring a $100-300 replacement. In my washer, the top actually blew off of a LNK305 voltage converter, exposing the chip inside, along with several traces and various other parts.)
to be fair, caffeine is also a pesticide. their effects are to destroy the vascular systems of bugs that eat the plants - hence why the two evolved as plant defense mechanisms to begin with.
Agreed. Not really impressed by the results so far, maybe Goggles would change that but I'm frankly too lazy to check.
Ask HN: How do I efficiently track record count for big (distributed) DBs?
I've run in to this interesting question multiple times mostly during systems design interviews, but I'm never quite sure what's the "best" way to address this since I've not encountered it in any of my real world projects, unfortunately. This is usually in the context of high demand items such as limited time promotional vouchers, concert tickets, limited stock items, etc. that customers will for sure be rushing to buy, and will sell out in a relatively short period of time.

My naive solution to this is to basically count the number of reservations made (basically, do something like an SQL count of all the rows) and subtract it from some constant limit, which can be safely copied across multiple instances of the reservation/ticketing service. However, for millions of rows, this may be potentially slow and having to do this for thousands of requests per second could be fairly inefficient. Adding some caching in front of a (probably sharded/distributed) database might help, but due to the numbers being updated very quickly, I'm not sure the cache will help that much.

One alternative I can think of is maybe setup a lightweight(?) store (something like Redis perhaps, though I don't have first hand experience with it) to keep track of the count. This will introduce problems related to eventual consistency, but I think it could work. This can be durable store, or we can make it semi-durable and just do a count query if we ever need to restore the service. I always ask if it's possible for us to handle overbooking because there's a chance this could occur. Strong consistency guarantees will prevent this, but at the cost of slower performance.

Another alternative I can think of is adding a sequence number to the reservation records, and query the max instead. I'm not sure if this performs better than count or they're pretty similar in performance.

Any insights or pointers on this?
No, it isn't.

The US gains a lot through its ability to project power anywhere on Earth (including shipping). It's part of the total package that makes the US dollar the reserve currency for the world. There are simply too many vested interests in that status quo for the US to go full on isolationalist (aka "deglobalization").

Even if they do, China will step in to fill the void. This possibility alone will keep the US in the picture as it won't want to cede that ground.

What I really hope is with US foreign policy the left hand starts recognizing what the right hand is doing. For example, there is need for maritime esecurity in large part because of the regions the US has directly or indirectly destabilized to serve other goals.

Russia is of course the bad guy for invading Ukraine but the US sure did leave a lot of dry kindling lying around on a hot windy day (and is then shocked that a wildfire happened).

Take security around the Middle East. Saudi Arabia is a key US ally and is using US weapons to commit genocide on the Yemenese people and those that don't die from weapons are getting starved out by famine.

Maybe there wouldn't be such a need for maritive security if the US had a different foreign policy.
Packt Twitter Account Takeover (@Packtpub Twitter hacked)
Very short! We're trying to get beta keys to all of you today! :)
that's what I meant, that Amway hijacked Christianity, in the same way that web3 hijacked "crypto" (cryptocurrency and by extension cryptography).
> A majority of respondents (75%) have been working for 14 or fewer years as a professional developer, meaning they’ve never worked in a world without Stack Overflow.

Oh boy did this make me feel old.
You think Google giving small businesses a chance to reach their 2 billion plus users is worse than giving people volatile internet points?

Where do you think the money comes from? At least Bing gave people legit cash.
Odd naming scheme, aren't the version numbers supposed to increase?
"So does sugar" is not an argument.

Neither is "if we forbid everything that might be dangerous".

Let's try to move beyond Page 1 of the textbook for Logical Fallacies 101, please.
Yes, we have a cecum by name, as do other hypercarnivores including cats, but its design in no way suggests that humans developed to primarily eat plants or even digest them in an efficient way. Even the article you cited states explicitly that the function of the human cecum is different than that of herbavores, and it's dubious whether it should even be referred to as a cecum.

If you look at the digestive tract of herbavores, such as cows, deer, horses, and rabbits, their cecum is a distinctly large and is typically considered a separate digestive organ.

Besides absorbing salts, the human "cecum" is a glorified dead end to the large intestine. A human could easily live without one if it were removed. It would have nearly no impact on our ability to swallow cellulose and excrete it undigested. Removing the cecum from an herbavore like a horse would be an entirely different story because they need it to process cellulose.

> And we can digest plants just fine without having to ferment them.

This is not correct. Humans are entirely ill-adapted to digesting plant material. You will find no credible source that suggests that our digestive tracts are good at digesting cellulose, which makes up the bulk of plant material because it composes their cell walls. Just because we can swallow plants and poop them out without necessarily getting sick or dying doesn't mean it's at all optimal.

At best, we can ferment a small amount of cellulose given that it has been sufficiently broken down through cooking. Even if we were better at fermenting it, we are extremely poor at grinding it and are bad at harboring microbiota that produce cellulase enzyme.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8661373/

Can we derive energy from plants? Of course. If those plants are abundant in sugars and proteins, then we can access those. That is possible in present day because agriculture and selective breeding made edible and energy dense plants available and ubiquitous. Such plants did not exist the way they do today, were usually scarce, only available seasonally, and were energy-expensive to obtain and prepare.

> There's clearly a kind of madness in all those diets that starts to become dangerous when it becomes a fad.

Depends on if those diets are actually dangerous. What's more dangerous than believing that humans are developed to primarily eat meat is to ignore all available scientific evidence and promote fanciful ideas around plants being good or even better for humans. I await the day that a child dies from being fed plenty of meat.

Meanwhile...

https://www.independent.co.uk/news/world/americas/vegan-coup...

https://www.vice.com/en/article/wjqbem/judge-convicts-parent...

It's as if the human body is optimized to process animal material and is not so good at processing plants.
5GHz support on an ESP32 is something everyone has been waiting for for a loooong time. So, that would be good I guess?

But in general, 802.11ax is orthogonal to 'non-stop battery-based connectivity', so we'll have to wait and see how well that works out.

(Assuming they ship this one, and assuming anyone will be able to buy one in the next 2 years or so.)
I'm one of the authors of this. Happy to answer any questions.

One of the fun technical details is that, when enabled on a machine (tailscale up --ssh), the userspace tailscaled process takes over all TCP port 22 packets after the WireGuard decryption and doesn't even feed them into the kernel over TUN. We use gVisor's netstack to handle the TCP connections in-process.

So it doesn't matter whether you have other processes (or iptables rules, etc) that would prevent the Tailscale SSH server from binding to port 22. This lets people gradually use Tailscale SSH over time without messing with their system one.

The Tailscale SSH server currently only runs on Linux but there's support in git main for macOS too but it's not super well tested yet and not included in the sandboxed GUI builds currently.
Both on a moral and practical sense copilot is a licensing nightmare
This is great. That said, I would love to see this extended beyond just keyword search, to contextualization of a given piece of content. https://aviv.medium.com/contextualization-engines-can-fight-... ( I should note that the word authoritative here just means a particular 'lens' that has been vetted by a defined process—it's a way to make the problem simpler for prototyping. It might for example be a lens showing just accepted Stack Overflow answers.)

Imagine being able to select a bit of code in your editor, and getting an explanation of what that code does based off the content of all of the accepted answers on Stack Overflow.
Are you able to create terminal forms with multiple fields at the same time? I tried to look at the examples, but they all had single widget at a time. I used https://github.com/charmbracelet/bubbletea on one project, but it felt quite cumbersome to create forms with validation, multiple pages and states etc.
I never said Grok was vegan.

Maybe I should have worded it better... "realize that our Paleolithic friends ate more plants than we were lead to believe"
I would imagine that this would first manifest itself in smaller countries. For example Mali employs the Wagner group out of Russia as a supplement for its Army. And I believe they are used by other countries as well.

I don't see nuclear-armed nations using private companies, but possibly being the source of troops and technology. Really I don't see U.S. citizens joining mercenary groups, quality of life is too good. I would imagine 2nd world nations like Russia, Iraq being the main source of these troops, backed by cheap advanced armaments from China.
> Anything "may" be possible. But it probably won't be worth that much.

I'd suggest to get more information about the repercussions associated with appropriating GPL code into proprietary closed source.

This is a big deal. You may have to license your entire codebase under GPL if you incorporate GPL code and distribute it.
To have something to compare the number with: DuckDuckGo's average seems to be around 1,100-1,200 qps. [1] For Google, it's estimated to be around 63,000 qps [2].

[1]: https://duckduckgo.com/traffic

[2]: https://financialpost.com/personal-finance/business-essentia...
> Probably Computer Associates. Speaking of soulcrushing software graveyards,

The Google of Free Software then.
I have I'd estimate one issue (e.g. requiring quotes or site search) using Google a week.

When I try brave I estimate it's one impedence-mismatch a day. Not a bad product but reports of googles demise are overstated.
It’s NOT a good thing. I want to own my documents and not have to worry about some cloud provider mining them to sell data about me, or just disappearing one day.

Sure I can see the cases where the collaboration is useful, but there are many, many more cases where it’s not needed and cloud introduces far more risk than reward.