skysight-inc/HackerNews huggingface dataset:
It looks like ZPL has its own memcpy() implementation which is a work in progress. https://github.com/zpl-c/zpl/blob/dfcb9538967f381363eaef10f9... That leads me to believe feedback is desired so assuming the author posted this as a Show HN kind of thread, here's some of what I've learned implementing that function.

It goes pretty quick on the machines I've used so far to have an indirect branch with overlapping moves. Here's what that looks like in "pure c" for gcc and clang. https://github.com/jart/cosmopolitan/blob/master/libc/str/me... memcpy is hard to implement in pure c99 because aliasing pointers to non-char types can trigger ubsan errors. With rep movsb it's a good idea to check cpuid for erms support. In that case it'll be fastest for bigger moves but is still slower for small moves. See the chart at https://justine.lol/cosmopolitan/index.html which compares various methods. Also take into consideration that if you call zpl_memcpy() the compiler doesn't know that's memcpy() so it can't perform some of its inlining magic at the call site. So if you want things like null propagation it might be better to do that as a macro.

Regarding array.c I implemented a bunch of similar routines myself and eventually chose to not worry about capacity and just call realloc every time. I'm not sure if the standard specifies this, but I'm pretty sure every realloc implementation in practice, under the hood, should track the capacity and grow it at two power sizes. So even if you're just constantly appending by one char the cost should amortize itself out to be cheap in the long run.
previously: https://news.ycombinator.com/item?id=26248154
Eh it is just an excuse to snack while cooking.
Age of Invention: To the Drawing Board
If you have HR people, you'll have HR problems
I think we have something that emulates it: operational systems. iPhone vs Android, Windows vs Linux. Although for the experience to be as divergent as with humans we would need millions of OSs.
I feel like an HR department is one of these bureaucratic components where its stated purpose is different than its essential purpose to the business, and it would be hard to replace without accurately modeling this hidden essential purpose and precisely replicating it on a smaller scale. If you just conduct the stated functions of HR through your CEO office, you may not capture the essential function and it may not work out.
In my experience, most workplaces have at least one manager with a light-medium addiction problem (tends to be alcohol for olders, and marijuana for millenials). It might be hard to spot, but the best way to track it is the quality of decision making.

Unfortunatly, addiciton and other mental health problems are almost impossible for the firm to adress until its too late for everybody (disgrunted employees, missed business opportunities, etc). I hope this COVID crisis will make us more preventive regarding these issues.
Mitchell and Webb trying to viral market their decade old shows?
I had Duke Nukem for Mac back then, so a bit after the PC release, but my grammar school had a Mac computer lab, an afterschool program, and a lab teacher who let me and my peers install Duke on the school computers and stick around after school for an hour and half
A couple of the web sites I maintain have a primary audience of poor, largely immigrant, people with a fifth-grade education and only rudimentary English.

The server logs show most of the connections come from people using what people on HN would consider toy or throwaway convenience store phones. The high-end is people on Windows XP.

(The sites are in the healthcare space, and if one of our clients is really so desperately poor that they can't even afford a smartphone, we'll give them either a laptop and a hotspot, or a smartphone, so they can access the web sites. We pay for their connection.)
It sounds like the university was paying for centralized management/ backups, and this was the result.
It's interesting that Tesla chose to injection-cast the frame, rather than stamping it. All major automotive manufacturers have giant stamping machines (Ford has one that's 121 feet long) but injection-casting is rare.

Here's the Ford F-150 assembly line.[1] One truck every 53 seconds from this line. It's mostly aluminum, unlike the older steel models but like Tesla. Mild hybrid now, full electric in 2023.

[1] https://www.youtube.com/watch?v=ze4MZbyLnm8
Depends on the person. Some people can do better work hungover than others can sober purely because their base level of skill/output is higher so the -20% or -40% hit (or however you wanna mathematically represent it) doesn’t outpace their increased productivity relative to the next guy
How the Irish Became White
For years I've thought full autonomous driving is never going to be practical without an equivalent engineering effort on the road infrastructure side of things. Standardized markings, drive by wire, special AI compatible lanes, etc. Why are we still doing this the hard way?
>He wrote ”I think the only solution is to stop expecting every computer to be general-purpose”

Which is a bit ironic, as his website doesn't load on my Firefox (disabled HTTP-only connections), and after I added exception, it still looks like crap with DarkReader [1] because the website forces white background, and now I have grey font, with my sight problems, it's just too bright to read. Maybe it's time to stop expecting every website to be even displayed on every browser?

https://darkreader.org/

edit: 99%+ website work fine with darkreader
The cards that have access to mining lack a video output. Once they become unprofitable to mine with they won’t impact the gaming market on resale.
NFTs: Dorsey, Banksy and creating scarcity from abundance
I'm not sure how meaningful this is, HR is hardly rigidly defined, it can be anything from outsourced to including functions like payroll and so being unavoidable.

I'm glad Octopus is a company like this though, considering itself edgy I suppose I mean, and having 1k2 employees rather than being just an almost empty shell as are many energy companies. For the unacquainted: it's rather HN-friendly - its tracker plan is updated daily rather than monthly or less frequently as most are, and it also has an 'Agile' plan with an API and hourly pricing. (I'm not a customer, just like the idea of it, perhaps soon.)
Some more information, not a lot though. It’s mostly marketing I would say.

https://www.bbc.co.uk/news/business-56130187
I always wonder on what basis people conclude that the USA would have better COVID numbers than Europe if the Democrats had been in charge of the federal government.

I mean, we have better COVID numbers than Europe already. But I guess I mean better than that.
Enjoy!

https://www.instructables.com/CARDIAC-CARDboard-Illustrative...
Not working for me, try https://archive.is/20210319065509/https://apxhard.com/2021/0...

I recommend the Web Archives Firefox extension by the way. Useful not just for archive.is but also for e.g. Google cache (googlebot is often allowed pass paywalls).
I mentioned that ("including this one"). Problem is, they're Atmel chips that are still in production, but I wouldn't call them "modern". Most competing PLDs are now out of production, and it wouldn't surprise me to see the atmel f16v8 series follow. More and more people just use cheap CPLDs or FPGAs (which unfortunately aren't available in DIP packages and so not pin compatible with the old custom ICs used in the 80s).
I think what you’re getting at is that there is no turbine (only an impeller) in the case of crank/belt driven units.
Does Bolle sell those upgrades? Got a URL?
There are newer versions of Purcell.
lol checkatrade - read my mind
Variable names in mathematics have no intrinsic meaning (as they have, for example, in physics). In a mathematical text, every occuring variable must be properly defined. This is most commonly done before they are used, with formulations like “let x be …” or “x := …”, or immediately after they have just been used in a formula, with something like “where x denotes …”. Failing to do so is just as much of a mistake in mathematics as it is in programming. (In an homework assignment or exam, doing so will lose you points.)

In praxis one should be aware of the following points:

- In programming, the computer will complain if an undefined variable is used. In mathematics, this is sadly missing. (The next best things are other proofreaders, i.e. other mathematicians.)

- Variable names aren’t just picked at random (or as a, b, c, …), but nearly always follow sensible patterns. (Natural numbers are n, m, k, l, …; vectors are v, w, u, …; indices are i, j, k, l, …; radius is r; …) Different authors may use different conventions, but they still allow mathematicians to kind of understand what the variable means just from looking at its name.

- Every area of mathematics has certain keywords which the reader has to be aware of. Again, some authors may use (slightly) different conventions, but there are typically only few conventions out there, and they often don’t differ much. (Example: The space of homomorphisms/linear maps between two vector spaces V and W is commonly denoted by Hom(V, W), hom(V,W), ℒ(V, W) or Lin(V, W).) One can oftentimes tell what a keyword means just from it’s name, its signature, and its usage. Keywords also often consist of more than one letter or are typeset in a special way to distinguish them from regular variables.)

Good mathematical writers will oftentimes go out of their way to explain their notation at the beginning of their text, just to be sure.

> Are mathematicians ever frustrated that they don't understand what the variables mean?

So to answer the question: if a mathematician doesn’t understand what a variable or a notation means, then one of the following has happend:

- The variable was already introduced beforehand, but the reader forgot about it. (This is the most common scenario.)

- The variable is explained in the upcoming line. (Also very common. The reader will—of course—only notice this after going through the previous part of the text multiple times in seach of just this explanation.)

- It is a standard notation that the reader is not familiar with. (Often happens if the reader is missing the background knowledge assumed by the author, or if the author uses some outdated notation (e.g. because they have been dead for over 50 years).)

- The author made a simple mistake while writing. (Typo; forgot to change a variable name after shuffeling things around).

- The author actually forgot to define the variable: a mistake that is hopefully catched by their peers.

- The explanatory text was left out for time reasons (giving a talk, writing some rough/informal lecture notes, quickly scribbling down homework in the morning).
Grandmother shocked by $1,400 in video games charges on her credit card
> 35 percent of humanity's GDP is invested in improving pasta technology.

The remainder of the GDP is spent on crypto-mining.
More here:

https://www.bbc.co.uk/news/business-56130187

But this is all very vague and hand-wavy as to how specialist functions, skills and knowledge are provided especially with regard to legal compliance, and tech types rubbing their hands in glee should note that he dismisses IT departments as well.

It seems there is a more nuanced philosophy here that there may be useful lessons to draw on but it isn't detailed in these articles.
Having 150 people do HR tasks means you have 150 different versions of vacation policies.

In large companies that works, because there's an actual HR department that writes the ironclad rules that the direct supervisors follow. Not sure how it works in a wild-west ad-hoc environment like this one.
Thanks for linking this! I like Halmos‘ clarifications on the editorial “we“. I don’t know if this is because I‘m living in a non English speaking country but at our university students often get told to use ”we” instead of ”I” in their papers. I always found this weird. If you‘re the only author you can‘t just refer to yourself as ”we” — just to avoid the use of ”I”. It sounds wrong — especially if the reader knows that you’re the only author — and eventually leads to absurd constructs such as the example in the essay: ”We thank our wife for her help”.
You just proved his point though.
Having worked and managed in several companies of this size I have no idea why you would need an HR dept to manage that. Easily the job of manager owned tool, secured spreadsheet, or some simple vendor supplied thing. Easily a self serviced thing.
Good HR is really good. But most places, especially bigger firms, have mediocre or bad HR. That's worse than nothing. Either do it properly or don't do it at all.
> But it is a single, personal incident, which haunts him to this day, that really underpins his management philosophy.

"When I was 27, I was managing a manufacturing business in north London and there was a woman who ran the reception and also did customer service, who was in her 40s," he remembers.

"One day I heard her speaking to a customer on the phone and I thought I could help, so I leaned in and gave her some wise words.

"She finished the call, like a consummate professional, and she turned to me and said: 'Greg, I bring up two boys and a husband on the poxy wage this company pays. If I can do that, you can be pretty sure I can do anything this company wants from me. And by the way Greg, I was here before you were here and I'll be here after you have gone. I love the company more than you do, so you never need to tell me what to do.'"

Jackson was stunned into silence because she had just given him - her boss - an incredible dressing down.

"I realised she was right, and I remember I gave her a hug. It was one of the greatest learning experiences of my life and it forms the basis of my management theory today."

The episode taught him to favour a hands-off approach that lets individuals and teams sort their own affairs as much as possible without interference from above.
Sales volume is ~1 million a year.

There's something like 50 million people that are very well off in the US.

Narrative this, narrative that.
Switzerland is not part of the EEA, although they have many treaties with the EU that more or less comprises the relationship the EU has with an EEA country.
yes - within next 18 months
Toby's the worst.
I think it goes more like: Don’t solve problems, just make new ones.
Elon Musk's very own Spruce Goose.
Everybody I know who works at a university has a personal rule which is, never let the IT department touch an important computer.

The workers are "required" to buy their own computers anyway, so it's not like the university has any say over how the computers are managed.

Everybody has a story about IT ruining their computer by installing some sort of unworkable security software. There's also a familiar story of IT coming in and wiping out a computer that runs some ancient scientific instrument that isn't supported by its vendor any more. And the vendor kindly sending them an unofficial copy of the ancient software because, well, because it's happened before.

To be fair, dealing with IT at a university must be a nightmare. My workplace takes the approach of providing all work computers, of a specific brand, and retiring the old ones before they turn into a support headache.
Aren't most passenger cars a unibody design? Its probably just marketing to make that big a deal about a unibody truck.
Austin just thinks if they’re having a two-hour lunch while being immediately available for a call as working hours.
tmfcp;dr

The c is for cookie
Not if you let managers actually "manage" their team and capacity. You don't need to manage sick leave if you don't have sick leave and just let people take time off when they're sick and treat them like, you know, adults. I'm sure a manager is also better equipped to know when someone is taking advantage, as opposed to some HR person who's never even seen the employee.
Isn't that a good thing? Each team has its own vacation policy that suits them, instead of some rules imposed on them by HR department.
I don’t see how unless you think untrained draftees performed as good or better.
Step 1 at any organization: uninstall the corporate spyware
I was skeptical until you said he dismisses IT Departments, now I really like this guy.
Sure, her feelings are valid. But personally attacking someone by assuming ill intent (and clearly misunderstanding intent) isn't a valid excuse.
Remarkable is amazing for reading academic PDFs.

Its only flaw is the lack of backlight.

[edit: I own the Remarkable 1. The 2 has stronger build quality. I have not tried 2, but I love the plastic feel of 1 and that it feels simple and cheap, not something industrial prosumer grade. Neither have backlight or I would have upgraded.]
Visa says DOJ to look into its debt practices in the U.S.
The SUV market offers numerous driver safety trade-offs in exchange for safety to everyone else on the road. Getting your compact car mangled by a F350 tank is horrible.
Too many mice.
Get Free $15 Trading Account and 5 Free BPAX Coins from BitPAX Trading
for anyone thats interested: OSSU

Open Source Society University

Path to a free self-taught education in Computer Science
https://github.com/ossu/computer-science
also bioinformatics and data-science
Something doesn't seem on the level with this article.

The photos are copyright Greg Jackson and Octopus Energy. The office shot is too idealised.

The last statement should be a direct quote, but it is written as a statement of fact:

> The episode taught him to favour a hands-off approach that lets individuals and teams sort their own affairs as much as possible without interference from above.

This seems like his PR team has fed the article to the journalist, who has complied by publishing what they wanted, without researching the veracity by interviewing staff independently.
@Iouri I have two links for you that might help you on your quest to learn EE:

1/ A complete set of tutorials on computational neuroscience as Jupyter notebooks: https://github.com/NeuromatchAcademy/course-content/tree/mas... This is the material from last year; I think they will be running a summer school again this year so you might be able to join and learn as part of a group.

2/ If you need a review of linear algebra, you can check out my book No Bullshit Guide to Linear Algebra. In particular the Applications chapter contains a summary of everything I used most often from back in my EE days (Fourier transforms, circuits, least-squares, etc.) See a preview of the book here: https://minireference.com/static/excerpts/noBSLA_v2_preview.... (note it's not a free book, but not expensive either)
As said elsewhere on HN - HR departments are ultimately there to protect the employer, not the employees. This is fair enough, but not how HR departments advertise themselves.
> If this is seen as "important", what value do these investment banks actually produce except gaming the market and taking profits? are they actually producing anything that helps their peers?

This is IB, not trading. Basically it's about one company buying another. The way you do it is a senior banker talks to the CEO and says "hey, you should buy one of these companies, here's a slide deck and I'll help you do it".

That relationship with the CEO is way more important than what the deck looks like. It's not as if business strategy is so complicated it needs a 100 page deck to explain. AFAICT it boils down to a few motivations: buy this company to get their capital/customers/staff, or buy it because it because if you don't you'll fall behind. Or because you need to act like a CEO, and CEOs buy companies.

The decks that all the juniors are working on are just a way to say "there's a lot of smart people doing due diligence on this, so even if this deal fails like 2/3 deals (fails meaning the merger happens but it's a mess), you can say you did your homework". Which of course you won't have, because who ever reads a 100 page slide deck?

What value is produced? It's hard to tell, at least it didn't seem to me like it was worth terribly much. Either a merger is a stupid idea, but the salesmanship gets it pushed through, and the bank gets paid. Or the deal is obvious to everyone and it's a matter of the bank wanting to get their name on the deal ahead of other banks. The key is still to have that senior schmoozer guy arranging it. Someone's gotta make a slide deck, but it beats me why some of our brightest are put to work fixing fonts and choosing background images.
A relevant video on the same topic: https://www.youtube.com/watch?v=IwqTN5fhMR8
It's a reference to this: http://scp-wiki.wikidot.com/antimemetics-division-hub There Is No Antimemetics Division and its sequel Five Five Five Five Five are some of the best sci-fi stories I've ever read.
32 bit aren't a problem, RAM however could be. I've run Debian on 32 bit Atom netbooks with 1 Gig RAM without problems. Using light desktop environments such as XFCE or smaller ones would allow also 512MB RAM or even less.
Years ago I successfully run Debian + LXDE desktop on one of those toy Win-CE Chinese laptops with just 128MB RAM. CPU was a WM8505 clocked at a whopping 300MHz. And then there's ELKS Linux which would work on 8086 CPUs too which I successfully run on a industrial PC many moons ago. https://github.com/jbruchon/elks

Extremely small systems aside, it can run fine on decently equipped laptops or netbooks. Surfing the web with a full featured browser such as Firefox or using heavy apps such as LibreOffice without having the system swap too much would likely require no less than 2 Gigs or more, but if you do network maintenance using command line tools, even the smallest netbook with half a Gig RAM becomes an useful tool to keep in the bag along with bigger laptops.
Your bathroom fixtures and tile materials/tech are the best in the world.
> UK was never really serious about stopping reunification

Why would the UK have even pretended to want to stop it? Weren't their foreign policies, at least towards communism, heavily aligned with the US?
Although the title is "How to Study Mathematics", I think a more accurate title would be "How to Study Mathematics as a Mathematician".

I am studying some maths right now with the goal of understanding some statistical methods. Having a rock solid understanding of all the underlying maths is counter-productive to my end goal though (Applying the statistical methods), because it would be extremely time consuming.

If you want to learn maths for the sake of understanding maths, then this could be the right approach. But it's definitely not a pragmatic approach.
> School classes will analyze the hacks necessary for a parallax scroller,

Highly doubtful claim.
When you buy or use the printer, you agree to a EULA.

Non-negotiated contracts should be unenforceable. (Note that software is already also separately protected by copyright law.)
A great little front-end project for generating these numerals: https://adrianroselli.com/2021/02/cistercian-svg.html
Almost like a modern turbo drag racing setup!

I always wondered with all that duct work running the length of the fuselage sending intake air back to the turbocharger, which then fed cooled air back to carburetors serving 18 cylinders, what enemy fire damage would do to this complex setup. Presumably this doesn't have single points of failure in a sealed compressed air system but it almost feels like race car level tuning for optimal performance, let alone for limping home with fuselage damage.
He may think he doesn't have an 'HR department', but whoever holds the pen on his holiday policy, equipment policy, training & development policy, maternity & family friendly rights policy, expenses policy - well, there's his HR department.