skysight-inc/HackerNews huggingface dataset:
> That's obvious? Computers don't understand anything. They're just machines. What did you expect?

They do arithmetic's perfectly.

> You're going to tell me that if I want to use math, I have to let go of every preconception I had and crawl into Plato's cave, to see the light in the darkness.

No, math is a huge with an extreme amount of flexibility and power. You have lists of solutions like this one, you can add those in a program and then have the program look them up and spit out answers, with maybe some simple algebra testing:

https://en.wikipedia.org/wiki/List_of_mathematical_series

But nobody will be able to just program all solutions to all math problems like that, or give you a bible of everything to look up, as nobody knows what math is useful to you specifically. This is why every field that applies math tend to create their own subfield in math, like mathematical physics or chemistry or statistics or computer science. They create their own compendiums of useful notation and results that you can use. Nobody understands even a fraction of all of that and where it is useful, instead you will have to understand what discipline the paper you are reading is coming from, usually noted somewhere on the paper, and then look that up. For someone doing computer science you mostly look at the subfields statistics, probability, combinatorics and algorithmic complexity. Most of those papers will be written by people who do math mostly on the side though, not pure mathematicians. Pure mathematicians mostly works on problems that are too abstract for programming. (Pure vs applied, probability statistics and combinatorics are examples of applied math fields).

Edit: So from my perspective the main problem you have is that CS professors have yet fleshed out and formalized the subfield Computer Science math. When I studied higher level physics all the math was taught by physics professors, since mathematicians doesn't understand that math, it is mostly developed by physicists. Why doesn't CS do the same? You can't expect mathematicians to do that work for your field, as there are too many fields depending on math and too few mathematicians to handle everything.
Lean Time Keto: Reviews, Scam or Legit?
Lean Time Keto

Consistent practicing and eating fewer carbs are not every person's favorite thing in the world. Remembering these worries, it is fundamental to throw a tantrum body. However, accomplishing that is an assignment in itself. Also, that is the justification behind the plan of Lean Time Keto. Here is a nitty gritty survey of all that you really want to have some familiarity with about this enhancement.

Order Now >> https://www.clevescene.com/cleveland/lean-time-keto-reviews-...
There's no more Moka pot; now he's on his own. ;-) I'm really surprised that my friend managed to melt the goddamned metal. I was wondering did the metal really melt? How long did he leave it on fire for the metal to melt? The bugger didn't answer these questions.
It exist multiple libraries/frameworks that allow you to write modern dynamic applications with server side rendering only, like Hotwire, Livewire, htmx and unpoly, thus the need to write a large amount of JavaScript for the frontend is no longer needed.
Interesting, but, if you are handling anywhere near 100,000 elements you should probably be maintaining references rather than querying the DOM each time.
Especially considering that you also have to look at the benefits. There still is no evidence that mass surveillance helped even in the most trivial cases.

Crime numbers? Completely unaffected. I have no illusion that it is a mechanism to empower executive forces of course, but these invasive mechanism have to justify their existence. They have not done that to any degree at all.
How do you say it in portuguese?
W3Schools presumably comes up because Google favours them. I don't trust it.
I'll be honest, I have this problem in most cafes the last few years as well, it's not just at home. It just all tastes disgustingly sour to me (and again, horrible hints of compost and manure). I assume I just don't like what modern coffee drinkers like, but I cannot imagine ever acquiring a taste for it however hard I try.
Kafka is awesome, but I have one major gripe with it. It gives a solid interface to JVM applications. But if your application is outside of the JVM and you want it to consume from a topic, it's a terrible experience.
"Yule log"™
Genocide is not always done by mass murder; forced sterilization also qualifies: https://apnews.com/article/ap-top-news-international-news-we...
I know enough US citizens personally that I can assure you, I'm aware of the correction that needs to be applied but consider that you might be underestimating how bad things are in the US because you are comfortable.

I personally would not want to live in that system. I am 29, debt free, with a university education from one of the countries top universities where I spend 1.5 years extra for an exchange and having needed hospitalisation multiple times in my life. This experience is something that, statistically, not many US citizens my age have (especially the debt freeness), and I have had enough interactions with exchange students who expressed genuine surprise I had no second thought of going to the hospital to appreciate this carefreeness over the benefits the US system might bring for people like me in the happy path.

But that's personal opinion of course.
Canonical want your feedback on Ubuntu Linux Gaming
that's an interesting design. never seen that anywhere. do they hold the patent but fail to scale beyond italy? I find usual espresso machines to be too complicated and technical - also too expensive.
Maybe it's just me, but when a cheatsheet reaches 10 pages and includes multiple areas like this one I'd just split it up into multiple ones. It almost feels like this needs a table of contents.

And I think a bit more theoretical CS stuff, maybe a few diagrams, would be more helpful than e.g. the Pythagorean theorem or the powers of 2 which shouldn't be a problem to just memorize at that level.
My personal definition / distinction between ML and AI is that the latter refers to an agent, whereas the former refers to an optimization procedure.

True, there are times where a system can be described as both to some degree, but one is typically more than the other.

In the case of Amazon automation processes, I would call that ML. In that, you are more likely to tweak the parameters to tweak the procedure directly, instead of having to interface with an AI agent's "communication interface" to achieve the same.
Why Carbon Taxes Work
Are the case modification and @operator in ksh also? @Q is the one I use on occasion.
> No code I've ever written looks up so many elements in a single interaction that this micro optimization would ever matter to me.

Exactly. This is the type of nano-optimization that is pretty common to see in e.g. SO answers. Sure, selecting _a hundred thousand_ items in a loop might be some milliseconds faster, but so what? How often are you selecting more than a few at most?
IDK why they use rubber whereas knock-offs use silicone gaskets which make a more tight seal (even if said knockoffs never really work).

The knockoffs don't function properly (burn and spit coffee) probably due to different dimensions - I invite anyone to explain what is so critical about the original design. Here's one that doesn't work: https://homla.com.pl/mia-mokka-zestaw-kawiarka-czarna-z-2-fi...
COVID economics at work
I think maybe GP means 'what does it cost to get a simple design on a die say for sake of argument 8xAND', i.e. something very small and simple like that, so that it's all fixed cost.
That is basically what has happened anyway, at least to health services in the UK (and more specifically, in Wales where I live). Covid cases make up a very small proportion of total patients, total patient numbers are significantly lower than average for the time of year (and that has been true since March 2020), yet you cannot now get an ambulance unless you are essentially dying, and availability of routine healthcare (at least, what NHS normally offered) has nosedived.
Okay what are you going on about ? Care to source this ?
"And the next thing you know, you’re at the zoo, shaving a yak, all so you can wax your car."

That said, it depends on your goals. Writing pragmatic, limited test cases for protocols is super hard, due as you say to the lack of constraints.

But if your goal from the outset is to write a definitive, exhaustive test suite then it's a far more mechanical task (much the way that writing a chess AI is hard if you want it to run on a desktop computer, but writing a program to play perfect chess only requires a simple understanding of graph searching if you don't care how fast it is.) Just start from the start of the protocol and work your way through one statement of a time, enumerate all the different ways that an implementation could cock it up, and write a test for each. Of course there are still engineering decisions to be made but you don't have to pick the perfect solution to each. A solution is enough, you (or someone else) can always improve it later.
IOCCC is still running https://www.ioccc.org/

It is not exactly the same but it has a lot of the same vibe.
does a bot know or care your ssh server instance accepts no usernames/passwords? trapping abusive clients that make too many connections for whatever reason is good practice and pf makes it ridiculously easy.
To accompany the simple moka pot, buy a simple mechanical bell timer.

Brew time is pretty much precisely 6 minutes.

Set pot on stove, set timer. When bell rings, coffee is ready.

(A timer built into your cooker / microwave can also work, I find their alarms are not loud enough.)
Show HN: Randomly create beautiful website layouts
We should never neglect to mention robbing India of £40T, besides. (Or was it $40T? With numbers like that, it hardly matters.)

It is hard to say what the half of North America the US robbed from the "other Indians" ought to be assessed at.
They must be spectacularly difficult to brew, because they taste just as bad when I have them at coffee shops. I basically can't order coffee in most places now because these flavours have taken over. I'd love to be able to live vicariously through someone else's palate and understand the appeal.
Sure, but the complaint was about drivers for 37% of the phones. That's going to stay, even if chip design and/or manufacturing becomes open source. And Linux for the Desktop kind of proves that: the choice is there, but very few take it.

I work on a website that gets responses from a representative sample of the population (age, gender, education, geographical spread, are all balanced; other factors unfortunately not). Linux usage is about 2%.
I came here to say this. I tried the adapter very briefly, and it's very convenient (especially if you already heat your water before putting the grounds in).
I'm not, no. As more evidence is accumulated to support a hypothesis, it is rational to strengthen one's belief in it. All beliefs should start out weakly held, until sufficient evidence is gathered to either reinforce or change them. And of course even strongly held beliefs should be re-examined if sufficient evidence piles up to the contrary.
Looking for a business idea that's guaranteed to make money?
Not everybody is cut out to be an entrepreneur and start their own business. However, if you're the type of person who wants to take control of your life and make a difference in other people's lives as well as your own, then starting up could be for you! It's important to learn how to create a successful plan for your new business before you begin. But before all of that you need a viable business idea. We've created a database of business ideas for anyone looking for a side hustle and perhaps looking to turn it into a full time gig. We hope this data base helps.
> O( f(n) ) = O(n^2) + O(n)

Naively, one would assume that that implies O( f(n) ) - O(n) = O(n^2), which is not correct. However, O( f(n) ) = O(n^2) + O(n) implies O( f(n) ) = O(n^2), which would have been obvious if proper notation had been used.
If you're boiling the coffee (which is what the moka pot does), you're burning the coffee. I love moka pot brews, but as least be honest: you're burning it!
> Unless your only alternative is some mildly unpleasant activity which doesn't allow you to rest, that time was not valueless.

So you're saying I shouldn't be playing MMORPGs all the time?
> - have a snapshot of data

Being able to see a snapshot is good, and I would hope to see a higher-level abstraction that can offer that on top of something Kafka-like. But making the current state the primary thing is a huge step backwards, especially when you don't get a history at all by default.

> - query data, including ad-hoc querying

OK, fair, ad-hoc queries are one thing that relational databases are legitimately good at. Something that can maintain secondary indicies and do query planning based on them is definitely useful. But you're asking for trouble if you use them in your live dataflow or allow ad-hoc queries to write to your datastore.

> - have trasactional updates to data

I do think this one is genuinely a mistake. What do you do when a transaction fails? All of the answers I've heard imply that you didn't actually need transactions in the first place.
Yeah, and as the user of an older, "underpowered" device, I'm excluded from all these "modern" apps because they either freeze up as a desktop app or freeze up as a JS app with no fallback, and I'm unable to participate in many of the groups which use them for communicating.

But, of course, who cares about me, I should just buy a new computer, right?
It should be mentioned that IF you work for a great employer, they will try to make the workplace more safe for their workers - buying equipment which reduced injuries related to stress and repetitive work.

But even then, sometimes it's just very hard to get around certain tasks. I used to work as an electrician for a year (apprenticeship), which is regarded as a pretty lucrative and interesting profession - but I quickly discovered that the work was quite taxing on my shoulders, neck, and arms. After all, some days you'd be standing on a folding ladder for hours, doing work on things mounted to the ceiling.

Other professions have their own unique injuries, that you'll see time and time again.

Best of both worlds would be to work as an engineer, supervisor, or similar in those professions. Half of you work involves office work, the other half being out in the field...but without having to do all the dirty work. Half of the guys I worked with as an apprentice, ended up pursing college in their 30's, aiming to become Engineers.
> do they hold the patent but fail to scale beyond italy?

Probably yes. It's just a "new" technology, so I don't know what are their plans for the future.
I work in the oil and gas industry where legacy systems runs on their last breath. Kafka is a fantastic tool and solves a shit ton of problem. We have millions of sensors on an offshore installation, these all send data into kafka, where we generate events on new topics from different timeseries. Other data services consume these topics and get data updated in near realtime.

No more daily SQL dumps from offshore to onshore and big batch procedures to genereate outdated events.
Black frode, I cannot write in phonetic alphabet but the sound is quite similar to Friday (especially as pronounced in some states)
Googly eyes improve absolutely everything. Change my mind.

QED: https://yewtu.be/watch?v=eD8QVQXQevA
This massive power abuse of nation states is also why I stopped identifying and a citizen of my country. It's not representative of what I stand or voted for. It's not the way I interpret my institution.

If I had a say, we wouldn't do none of those things.

But it seems as a mere individual I Am powerless in doing anything against these issues.
It’s becoming harder to get rich if you’re born poor
> I find a lot of sites in the top results that have simply scraped Stack Overflow and reposted their content verbatim.

Since last year I get very often results from websites that scraped GitHub issues and just reposted them, often with no easy-to-find reference to the source. For some reasons they seem to have extremely good SEO.

Edit: commented too quickly, that's already mentioned by 2 other comments...
Three ways you can improve your NPM publish
Tobias Bieniek explains mechanisms for automating npm releases for reduced effort and improved reliability with lerna-changelog and release-it.
Thank you for this. The NYT is just hopeless now. They cannot even write an obituary without weaving in all their culture war angles.
I guess you never worked in a big company...

When everyone thinks the other guy is responsible for something and no one really is, when promotion is mainly determined by office politics, when departments that should work together compete with each other, you get levels of stupidity that is difficult to achieve by an individual.

Government entities tend to be even worse. At least companies have a clear goal they can always refer to: profit. Governments follow the whims of the political ideas of the moment.
interesting - is that a french press but with a smaller pored filter so you need more force and get more creamy consistency?

having said that the design is remarkably ugly. almost like some medical device - or maybe even like a bathmate? :D
also with querySelector you can use queries like

> ids.map(id=> `#test${id}`).join(" , ")

or

> `[id^="test"]`

to get all elements that have an id that starts with test
Yeah it wasn't really a thing in Canada when I was kid and Boxing Day was the big sale day. Wikipedia says it started here because we hit par with USD and retailers wanted to keep people from just doing all their holiday shopping in the U.S.
Most of them? If you stop paying for Creative Clouds, your Lightroom database is of no use anymore; you'll probably be able to open photoshop/illustrator files with other apps, but maybe not with all their subtleties.

On the other hand, non-subscription based software was only good as long as they were maintained for your current OS… So I don't care much if my software is subscription based or not, but I care a lot about them saving my data using open standards.
all software that strives for quality and not keep old rotten stuff has deprecation cycles (python, django, etc) and i vastly prefer that to "i'll never have to touch a config file again". openbsd's deprecation cycle is just shorter than the rest of the industry. their manpower and donations are way more limited as well.
The same Java that took the interfaces idea out of Objective-C protocols on version 1.0?
HTTPS also locks out access in a whole slew of scenarios.
It really depends on high you turn on gas/electric
To make progress on climate change, we must move past doomsday scenarios
I live in Australia, which doesn't have hedgerows but does have large areas of native forest, normally called the bush. The bush (at least used to) contain unusually large amounts of pornographic magazines
Then using the JVM to start with isn't really the cleverest decision.
Hey!

We wondered what to do to make building layouts even faster while adding more fun elements to our daily work. After a while, the inspiration came! Why not randomize the components while having fun, like at a slot machine in a casino?

The idea generator combines available UI components into finished layouts. You choose the technology, the library, click "Shuffle!" and boom, ready-made layout. Click again, and you have a new layout.

Based on our No AI®, and No Blockchain®, and Pure Random® technology. ;)

What do you think?
Launching our new documentation portal – Dyte (YC W21)
It is just a job... this is a crucial point. My aunt used to be a passionate dancer and the passion turned into her job. The story looks like a dream come true from the outside and the reason I spoke to her is the reason why I am ok with where I am right now. She has been living this "dream" for about 10 years by now and recently she confessed that she lost the passion only 2 years after she turned i into a job. This is a natural cycle I believe. People change, hobbies and passions change. Now I am passionate about football and my new project (the one I am secretly doing while being paid at work) is about football. I am passionate about it, but already know this is just a period of my life.
don't want to sound smug but I think this is very easy to understand with very basic knowledge about the immune system and some common sense.
We know aluminum is harmful and implicated in multiple serious health conditions.
The only unknown here is the degree of aluminum leeching from the pot to the coffee. For something you do twice a day, this is a different kind of preventable exposure to risk than eating red meat or living in a polluted city.

IMO one would be a fool to accept this risk, even if small.
Even with a global lockdown, there will always be a reservoir of virus somewhere.

Some immunocompromised people can carry the virus for weeks.

Also, what about households where one person catches COVID the day before lockdown, incubates for a few days (asymptomatically), then transmits it to another person in the household, who also incubates for a few days...

At the end of the two week lockdowns, some people will still be contagious.
I use getElementById pretty often
it has too much garbage to be getting awards
https://pubmed.ncbi.nlm.nih.gov/21157018/
Can we please stop with this OSI nonsense already? HTTP is a transport-level protocol today. If something uses TCP, chances are pretty good it also uses HTTP on top of that, and some sort of homegrown RPC on top of that.

And the OS absolutely has access to the HTTP frame: it manages the process's network buffers and its whole memory mapping, it locates and loads OpenSSL at the process's startup... a process is really not a black box from the OS point of view.
Why Does Web 3.0 Exist? – Web3 Oversimplified
Vladimir Smirnov's "A Course of Higher Mathematics" is excellent.

It takes you from the concept of number.
The EU is already acting to stop flights from south africa in an attempt to contain the spread. I think the world is finally adopting the New zealand strategy: local, stringent lockdowns. We are not yet ready to try to "live with covid", because it's too dangerous and we can't treat it "like the flu" until we have widely used effective antivirals.
I mean, I don't know what manure tastes like obviously, but it's not a flavour I like being in my mouth. I've tried, I would love to be able to partake of this culture, but I just can't physically force 'third wave' coffee down my throat.
Love this trick. It should be noted that the element is added to the window object as long as the id follows the syntax of a valid javascript variable (meaning no dashes).
Online stores like Amazon or eBay have plenty of those (sometimes called also gaskets). The seal tends to become brown over time as the silicone absorbs some quantity of coffe in the process, but that does not affect the taste of coffee and the seal keeps doing its job impeccably (up until ~6 yrs at least, ymmv).
> much more complex scenario due to the power of China

There's a simple solution: the US can expel China from US capital markets. China does 91% of foreign trade using the US dollar. Done.

> Guantanamo and the whole illegal kidnapping and torture programs, or heck, the illegal Iraq war

Get your facts straight.

Most of the detainees' countries didn't want the prisoners back. Four of the ones released are heads of the Taliban now.

Iraq (world's 4th largest army, with chemical weapons) invaded Kuwait, and KSA was next. They paid the US to defend them.

Since WW2, the US has reacted to world events. The US doesn't enter another country without a reason, comrade.