skysight-inc/HackerNews huggingface dataset:
I'm a strong believer in experts tend to forget what's it's like to be a beginner.

I was sitting down to join a voice call with a friend with the intention of introducing him to programming basics. I explained that we were going to "simply go over printing" and he informed he he wouldn't be able to work on this today, as his printer was in his basement and not accessible on such short notice.
At novice and intermediate competency levels you’re consciously considering what you’re doing as you plan it and do it. Conscious thought for most people is in the form of a semi-verbal “internal dialog” and is thus easier to verbalize to someone else. The downside of conscious thought is that you do it much more slowly and with much greater effort, but it’s easy to explain. For many subjects, once you’ve utterly mastered and internalized them, the way you think about them becomes largely intuitive, something you do in large part without conscious thought.
I’ve seen small businesses use something like Zapier. A better way would be to have a pub/sub system but that may be overkill given the complexity.
For asexual people, this question gets asked a lot, and it drives us nuts - because that desire just routes to /dev/null.
Yup, McMaster-Carr and ULINE are well known for usually being next-day on standard shipping! Saves a lot of headaches and projects.
It's not about explaining the one liner, it was more of an awk tutorial.
> I mean, threads, IO abstraction, collections... i have always wondered why Qt has a tendency of re-inventing everything.

Qt is a very well known cross-platform application development framework.

Qt does not reinvent everything, it just provides basic cross-platform modules, much like Java, and modules that leverage Qt's basic features such as their signals-slots, event loop, multithreading support, etc.
I wrote this and would love to know what you think about it. Am particularly interested in hearing any reasons why it's wrong
In other words, standard shipping is always next day?
ULINE is another B2B with a great site. Basically McMaster-Carr for the shipping department.
Turns could be useful if you calculate trig functions with CORDIC. This should simplify the math here.
Companies using jobs as a profit buffer is truly sociopathic.

Yes of course when things get truly bad companies need to lay off staff, but what we are seeing is people being fired to preserve a profit margin and CEOs are massive bonuses.
Tell HN: Instantly remove all styles from any page
Just invented this little user script:

while(document.styleSheets.length) {
document.styleSheets[0].ownerNode ?
document.styleSheets[0].ownerNode.remove() :
document.styleSheets[0].replace('');
}

Well, non-inline styles anyway. Also, probably fails on ShadowRoot scoped styles (as they have their own StyleSheetList property)
Testosterone could also predict success in life based on yearbook photos, so we come full circle.
I'm not sure if Kurzweil's timelines will hold up (2029 = Turing, 2045 Singularity) but this is an interesting way to view innovation and generally predicting the future.
Old controversy.

Relevant xkcd https://xkcd.com/1292/

Basically it's simpler but it makes most formule more complicated by adding constants all over the place.
Sole proprietorships are businesses. One could just put their name in the “company name” field.
I sent a message to slack the other day recommending Shortcat (https://shortcat.app/). I edited the message to mention that I use LuLu and it's worth noting that Shortcat is closed source and does send info out to sentry.

Now I have to edit that same message and mention that LuLu also phones home to sentry. Can't blame people for wanting stack traces but wow it's a tricky subject in terms of privacy.
> "I’m under the impression that trigonometry is not extensively taught in middle schools and high schools in the USA. While I’m slightly envious you might not have to suffer developing powers of cosine and sine but that would explain the lack of familiarity with radian I see here. Am I wrong?"

It varies by school, but overall I think this prediction is incorrect. Trigonometry was an important subject in high school — for all of the math, physics, and possibly chemistry courses — and then if you take calculus in university, it's very, very important to learn trigonometry well (or you'll really struggle as a student).

So, even on the off-chance that trigonometry is not taught in high school (which I predict is rare), a first-year student taking calculus in university must learn it on their own time. Good calculus textbooks (e.g. Thomas Calculus) even account for this, having fairly comprehensive textbook sections on what you need to know about trigonometry to succeed in the calculus course.

Most students who therefore took math to pre-calculus or calculus (or physics and possibly chemistry), should therefore have a good exposure to the definition of the radian.
Thanks for doing that work. Even many years later gcc is in a noticeably better place than clang when it comes to how much debug info is preserved by the optimizer. https://robert.ocallahan.org/2018/11/comparing-quality-of-de...
The tax cuts announced benefit everyone in employment even if indeed the top earners benefit the most because the 45% income tax rate (which didn't exist before 2010, btw) is abolished.

The cancellation of the planned corporation tax increase is absolutely the correct thing to do, IMHO. Increasing from 19% to 25% would have made the UK's rate one of the highest in Europe at a time when looking not business friendly is the last thing the country need
If you don't care about what your potential users want, that's fine, but I don't see why you would be partaking in an argument that's mostly about trying to reach more users.
Lem wasn't Soviet, he was Polish. It's strange he also considers Victor Pelevin to be a Soviet writer as all his novels were released after 1991.
Going to a store spontaneously and the other person spontaneously needing something from that store but not going themself sounds wild and unhinged to me.

Save everyone the hassle and just don’t call. If she needed something she can just get it when she originally planned to. The unplanned phone call out of the blue can be 100% avoided
What do you think about the possible collaboration between NuttX and Luos? Could it be useful or is it just marketing? Spotted on "NuttX Online Workshop 2022"
I live in very rural America, outside of cell coverage and the neighbors turn up all the time to talk. And these are good conversations. There has never been spam or sales or the like that has turned up at my door.

Meanwhile the land line gets about 2 spam messages a day, and 1 real call a month. And being the owner of an LLC seems to mean my cell gets about 5 spam calls a day. The ringers stay off, and I still hate the phone.
Sometimes there is no company field. In that case go to M.D.
I was taught that Eulers formula defined complex exponents?

If we used turns for cos and sin we could redefine what e^ix means so it works without radians. From the other answer I guess this is completely wrong...

(I do understand it is nuts to redefine, i'm just interested as a theoretical thought)

Now, how is Eulers formula is deduced? How did we figure out what e^ix means?
Yes, agreed, and you're not the first I have heard make that comparison.

I think it (as in, late-era Web 1.0 as opposed to Web 2, meaning Javascript everywhere) bears deeper examination.

By which I mean, I think the world and the industry got distracted by the shiny, as it always does, and is so into Javascript and building clever stuff in it, that nobody has taken the time to stop and ask: hey, was Javascript a bad idea?

Which leads on to...

Could we experimentally stop using it and be better off? Could we go back a step, improve upon Web 1, without embedded scripting languages of any kind, and maybe produce a better web based on that?

This need not mean stopping anyone doing what they're doing. It merely means someone exploring alternatives on the side.

I've been wondering whether there's any way to encourage this.

E.g. by crowdsourcing a prize for an annual competition for the best JS-less website or something.

Use all the latest shiny in HTML 5, CSS as well if that's what people want -- the last time I designed a web page, CSS hadn't been invented yet, so I know nothing about it -- but no PHP, no Javascript, no scripting at all. Flat static web pages, but using the power of modern computers and browsers to make 'em look nice and work well.

I'm aware of things like this:

https://1kb.club/

https://250kb.club/

https://1mb.club/

But rather than arbitrary size limits, I am thinking of technological limits.

An unanswered question for me is the server side: is serving it from some whizzy dynamic engine that assembles the pages on the fly OK? Or is that a whole different target?

Should it be low-tech, i.e. static content only?

Or should it be high-tech, but only on the server?
How to get a great battery life out of the S22
Before I bought the S22, all I read were complaints about how bad the battery was. In my own use however, I found it stellar after minimal configuration. Just thought I'd share what worked for me.
Ask HN: How Old Is Too Old for YC?
Ok, I know there is no limit, but in practical terms how would age impact the decision?

I am a sole founder, but would consider a co-founder if I could find a suitable one, with a working software product that has been demonstrated as working well by me personally in a substantial use case.

It's basically no code for industrial safety and control systems, imo it finds the sweet spot between needing to not know how to code and relating directly to the output.The combustion engineers and the PLC systems engineer I worked with loved it.

It is an executeable specification that generates the controller code and the functional description, plus allow simulation, interface via OPC, application of formal methods by TLA+ etc etc etc.

There is no invention, other than a workflow and methodology collecting a number of known solutions together particularly well. It allows the seemingly elusive dream of an IEC61499 arbitrary/generic implementation. It also allows traceability to a level that easily supports SIL 3 rigor.

But, I am on the wrong side of 50, will this be a detraction to YC?

My other path is to open source it and hope it becomes ubiquitous, as I would rather do this than see it whither and die, it is too good to just ignore or discard.
Both cases are still ambiguous because even though “this” Tuesday has already passed on Thursday, no one gets confused when you say “I’m having a cook out this Tuesday, want to come?” because the future tense of the sentence automatically excludes the Tuesday in the current week which has already passed.

Since “next Tuesday” also puts the sentence context into the future, the ambiguity exists around whether it means “Tuesday in 5 days” or “Tuesday in 12 days”

If no such ambiguity existed, we wouldn’t need common phrases like “this coming Tuesday” which clarifies the speaker is talking about the “next Tuesday with no other Tuesday’s in between”

Amusingly I don’t think there’s much ambiguity around “the Tuesday after next” as a phrase even though it should be equally ambiguous, but I’ve never heard that phrase to mean “3 Tuesdays from now”
I think law students and lawyers are nerds of a sort. We like disagreeable people like a blade enjoys a whetstone. Abrasive, sure, but helpful in honing our skills and ideas even if it demands care and persistence.

With the self-awareness that one is sometimes the blade, sometimes the whetstone, I think there’s a place-for and value-in all types.
I guess holding your phone to film a street for hours is not legal, but taking a tourist video or a video of your family is legal.
Using CouchDB as a Website Back End
HR actually calls/emails to verify employment dates/eligible for rehire, though I wouldn't be surprised if some of it was automated (like the other poster noted) through payroll data to catch the omitted company B.

For most companies they'll just find them directly and call, and if they can't for whatever reason (company doesn't exist anymore, multiple companies with the same name) they'll ask the candidate to provide a point of contact.

Of course now that I said that out loud I suppose the next step for a candidate is to provide a fake number/email as a reference, but that doesn't really work if you say that you worked at Amazon/etc.
Typesense: Typo-tolerant search engine (Console Interview)
Home Affairs Minister says Optus ‘left the window open’ for cyber criminals
"I already learnt in school to calculate trigonometry using radians or turns depending on the situation. It was part of the general math curriculum in Bavaria. "

Out of interest, when did you go to school in Bavaria and in which grade did you learn about turns? I was in school in Bavaria a long time ago and I don't remember learning about turns there. Could very well be that I forgot or our teacher forgot to teach it.
> A bike is a great mode of transportation when you don't need to carry anything heavy, bulky, passengers etc. and when weather permits.

My family uses our cargo bikes as our primary mode of transportation year round. It turns out that children were allowed to leave the house prior to the invention of cars and continue to be capable of wearing jackets in the winter. Many even like the snow.

The key thing to understand is that while sometimes you need more than a bike can carry, that's a small fraction of all of the vehicle trips Americans make. The average trip we take has 1.2 people in the car, is a relatively short (half of them are under 3 miles, a distance my son could do on his own as a 2 year old), and carries negligible cargo. Buying a vehicle for your 99th percentile needs is a significant expense for capacity you use only a handful of times a year — the average American spends $11k/year to own a car according to AAA, and for that much money you could buy and discard a new cargo bike every couple of months and still have plenty left over to rent a truck on the few occasions when you need landscaping or building supplies.
You need to up your Google-foo. E.g.: https://stackoverflow.com/questions/500504/why-is-using-for-...
Roughly, closer to 100x-10000x than +10%. GPU vs CPU vs FPGA vs ASIC makes a lot of difference. New algorithms are being discovered or developed that improve the speed. I think we may see roughly 10x in the next few years on ideal hardware for the task, but the economics might not be there to pay for building it.
Perhaps you mean 'voice projection'?

Unfortunately voice is just another factor that comes to genetics. I've been training to lower my rather high-pitched voice and voice projection for years now, albeit without much to show. Guess I hit the limit of my genetic potential.
Within the UK, 4G sim cards and data are cheap.
Android phone with tether capabilities, Raspberry Pi with solar and a webcam.

Or even better to save all that faff, root a phone, run the drivers plate OCR software using the phones camera, stick to a gantry and send results via text message. You wouldn't even need live updates, pull the latest data at midnight each day.

Text is cheap.
IEEE Signal Processing Society Unified Editors Information Classification Scheme
I didn't get how exactly GPL helped.
"triangles have very little to do with the true nature of sin and cos" <- this is what I mean.
Reference Error: s is not defined.
A 20 Year Old Chipset Workaround Has Been Hurting Modern AMD Linux Systems
> A unit that could be inherently defined by math itself and not a farmer looking at their hands and feet?

Where do you think base ten comes from?
Well, yes. But is Ted Cruz really Doerr?
https://forums.developer.nvidia.com/t/a-more-accurate-and-po...

Justification for using pi units
I seem to have been upvoted.
One of the things they did, was have an Oxford professor (maybe Cambridge) hounded out of the university because his research consistently showed that sugar was the problem and not fat.
Learning is a state transition from not knowing something to knowing it. Teaching is assisting someone through that state transition. To effectively teach someone, you need an understanding of their current state as well as the trajectory of states they are capable of transitioning through.

An expert is someone who knows the final state very well, but for whom the initial states and state transitions are a distant memory.
It's not just inlining. With -Og (clang or gcc), the debugger frequently can't even tell me the value of function arguments because they've been "optimized out".
I disagree. Riots and protests every few months, half the country losing its shit. Everyday some messed up thing happens, it was like watching a house burn across the street. I mean, I think it is widely known that policies and actions on one term will usually show fruit in the next term. People start spending and investing money slowly once they see things looking up. Look at bush relaxing as many restrictions as he could and getting rid of taxes as much as he could before the 08 crash. Your second term is when the product of your policies are seen. Their first year is spent getting campain promises done as much as possible and getting used to the job (like any employee it takes 6mo-year to be productivr) and 4th year is election year. So it is usually the second and third year after they appointed all the important officials they do anything which means when things take effect is months or a 1yr+ down the road and then you see whatever metric's graph either start going down or up but it is rare for it to peak immediately, could happen but you really can't take credit for economic stuff at least in the first 2 yrs.

Also, keep in mind that americans take away the president's party's majority in congress mid way in the term usually so republican or democrat it is difficult to get things done in their 3rd and 4th year. So their efforts peak at the end of 2nd year and first half of 3rd year and the fruits of those efforts are seen down the road in their last year or the year or two after their last term.
Except with lots more innovation since the barrier to introducing new tech is a lot lower.
insolation is not insulation. Insolation comes from the sun. You want stuff that rejects insolation for the summer, and you want stuff that allows the sun to heat the mass of the house in the winter.
I didn't use my printer really often and inks were drying. I find it cheaper to go to a printing service near me. I now don't have to manage technical problems. It's sometimes complicated when I need urgently to print a document but I found solutions. You can for example add your sign on PDFs by modifying them.

My printer is now useful only as a scanner.
I think that the author is speaking about their world, in which they regularly encounter a specific use of trigonometric functions which would be simplified (conceptually and computationally) by skipping the conversion from and into radians.

> redefine the known world around a favourite detail

I think that's a good way to think about software optimization. Deep inside nested loops of a game engine (TFA's example code comes from Godot), that's often what you need to do to squeeze some performance characteristic into your hardware.
A list containing an empty list is not empty. There should be no implicit dereferencing.
Good article. One thing I would add is the necessity to include failures/unhappy path scenarios in your load scripts. See if all that logging/tracing really is free :)

Slightly off topic: do people still run any load/performance tests on cloud hosted sites? it seems like spiking your aws load is becoming prohibitively expensive. Also, in the real world replacing third party services with some intelligent mocks(simulating failures and latency) can be super complex.
most books are written with no expectation of financial reward. the book that pays the writer well is by far the exception and if books were made free by law tomorrow books would still be written. we’d lose some fiction authors sure, but even those would keep being written. in general the importance of money to the creative process is greatly exaggerated. barely anyone gets rich from art or knowledge production but it keeps happening because beauty and knowledge are ends in themselves, things we seek out for no other reason than to behold them. money is just what we need to eat and have shelter.
Pakistan PM's Leaked Audio Clip Up for Auction on Dark Web
> It's basic auth that's getting deprecated

I missed that, because I don't jump down every linked rabbithole. Thanks.

Basic auth shouldn't be used for anything; I'm surprised it isn't already deprecated to hell and back. The letter says that Microsoft intends to deprecate IMAP and POP because some people use them with Basic auth. That doesn't make sense.
That is indeed better. We need a less risk-averse civil service with the stones to push back against idiot pols and deliver the services we need like nuclear energy, public transit, and social housing.
That guy who got into a fistfight with Bach: bassoon player. Just imagine what would have happened if he was a subcontrabassionist.
The Fight to Stop Research into Geoengineering to Limit Climate Change
> People don’t buy these things [consulting].

I know plenty of people who do open source consulting professionally, (in an ethical fashion). I myself did it briefly (not really my thing)

Yes predatory people and scammers exist. But lets not dismiss an entire field because some people are assholes.

Also, i have no idea what the bait and switch the author is talking about is. Did anyone really think that google open sourcing android meant that it was open sourcing the entire android ecosystem? There has to be an intention to mislead for it to be a bait and switch. Someone doing something you dont like is not a bait and switch unless they try and trick you.
Yes that is also true. State and municipal governments are by and large austerity shit shows.
As already mentioned by others, radians are not arbitrary units for angles; in fact, they are the "natural" "units", so to speak.

By definition, an angle is just the ratio of a circular arc (s) to its radius (r), θ = s/r (as an exercise, imagine how to apply this definition to the angle between two intersecting lines). When the length of the circular arc equals its radius (s = r), the angle subtended is exactly 1 radian; of course, since this is just a ratio, 1 radian is exactly the same as 1 numerically, which is why I put "unit" in quotes earlier -- a radian is not really a unit at all!

A degree, in contrast, equals pi / 180 radians. Of course, since 1 radian = 1, that really just means that 1 deg = pi / 180, similar to how 1%=0.01. Putting this all together, it is perfectly parsable (although not recommended) to say that a $5 burger costs roughly $29000% deg.
Isn't Germany the exception even among the EU in terms of how strict they are with privacy?
I would imagine you have some concept of this, for many, symmetrical features is attractive. There are other more obvious factors too, e.g. a chubby face (typically due to high body fat percentage) would be seen as less healthy/desirable/attractive.

Attractiveness describes the perception of success (friendships, health, career etc) based on physical appearance and the likelihood of passing these traits to offspring.
I don't think CoPilot belongs in the same category as no-code. If you don't have any coding experience you'll struggle to express what you want it to write into words, much less be able to integrate it into a larger system.
Easy - they've forgotten what it's like to not know

I wrote about this 15+ years ago: https://antipaucity.com/2006/05/06/the-good-the-bad-and-the-...
Let's be honest here. Nobody is gonna put hundreds of millions of western European & American lives at risk to save 10 million of Eastern Europeans. The combined population of the three Baltic states is even less than 10mil.
The idea of an Eastern Europe Union is laughable. Life in the post soviet countries has been getting better thanks to the EU. Had they not joined the EU they would still be poor countries like Moldova or Albania.