skysight-inc/HackerNews huggingface dataset:
Sure, if you need to continually access the same values then you'd want to save them but whether you need to reuse the same values or just do a one off calculation, you still need to compute the value the first time in some way.

For Fibonacci numbers, expressing terms of the sequence as a 2x2 matrix exponentiatied and then exponentiating by repeated squaring let's you get the n-th Fibonacci number in O(log n) multiplications. It's straightforward, if you get an input n and handle arbitrary precision integer arithmetic, you can calculate F_1000 quickly and without much hassle. Compare that to Binet's formula: How many digits of precision will you need to compute the golden ratio to ensure your result from Binet's formula is correct? And how will you compute it to that many digits? And that's not even worrying about the fact that floating point multiplication doesn't correspond exactly to multiplication of real numbers, so you may need to switch to arbitrary precision floating point arithmetic.
On the new MacPro, we have to consider the target audience.

It's doubtful the machine is a good choice for anything other than an artist doing crazy sound/video stuff. It's simply too much compute power. Of course I'd love to have a 56-thread monster (I always wanted Intel to invest more seriously on Xeon Phi as a homogeneous CPU/GPU replacement because I got tired of the VAX+supercomputer arrangement from the 80's that survives today as the normal clever x86 driving stupid-but-can-lift-heavy-things GPU) but I simply can't justify one for me. When I actually need to do some heavy lifting, there is always Google or AWS to help me with it (and Azure can rent me some really big Cray iron if I really, really need that kind of power). I have a cousin who was into computational chemistry that has mastered programming the classic Cray boxes and even he would probably be very happy with ad-hoc swarms of cloud-based boxes these days.

The main advantage of the Mac Mini is the size, but if you match specs with an iMac Pro or even an iMac, you'll kind of end up with the same price for a machine without a monitor. It's cute, but I wouldn't get one. And the actual desk footprint of an iMac is more or less the same as a Mini with a monitor.

It'd be nice if Apple decided to sell the iMac LCD panels as standalone monitors (because I'd love to have a monitor with the same color responses as my iMac, just so that the background looks the same on all screens - or even the black background of the terminals were all the same shade of black, FFS). Maybe they will, but, again, considering all machines that can run macOS, all practical options in the low-to-mid-to-high-end (MacPros are waaay above that) have pretty nice free screens attached to the machine.

One minor complaint: the stand... Asking $999 for a monitor stand is beyond ridiculous. If it costs that much to make, then just sell the ultra-HDR 8K wundermonitor for $999 more and put the stand in the box. It's not like it's not much cheaper than the reference monitors it goes against. I'd totally get one without a Mac if I had to edit 8K video for money (lots of it). The stand is 2019's version of the "I'm rich" iPhone app.

All in all, we should think of the Pro as the SGI Tezro of our time - exotic, expensive, ugly (it really looks like a cheese grater) and probably more than we need.
There is a great lecture about it from The Royal Institution https://www.youtube.com/watch?v=kZTKuMBJP7Y
This very site is an example of a way to handle abundant content.

"Post all of the things" doesn't mean that content shouldn't be prioritized. The process is just asynchronous. It avoids abuse in specialized fields where a low number of experts are the gateway to publication.
I heard a talk by Edward James Olmos in which he made the point that if US companies think of themselves as socially responsible then they should pay non-US workers the same wage as they pay their US workers.

Given that all of Scale's open positions, and current FT employees presumably, are in San Francisco (and not remote), a pessimistic view would be that the data labelers are subsidizing Scale's lifestyle choices.
On 64 bit systems it would result in a call to malloc asking for between 9.2 and 18.4 Exabytes.
I think it's probably to do with the fact that many of us here played it when it was first out and were either kids or much younger than we were now. My memory of that game is amazing, but I highly doubt I'd pick it up off the shelf today as my tastes have changed.
My wife needed a MBP so I've bought a 2019 to replace my 2013 13" model.

The i7 2.8GHz dual core is now an i5 2.4GHz quad core.
The RAM is still 16GB.
To keep the price roughly the same the 2019 is a fixed 512GB instead of an upgradeable 1TB.

And of course, no escape or function keys but touch bar. And no SD card slot. And a keyboard replacement programme - I've replaced a few keys myself on the 2013 that wore out, I can't see me doing that one the 2019.

The 2019 hasn't arrived yet. I'm genuinely not sure whether to give her the new one and keep the six year old one for myself. That it's even in question seems ridiculous.
Three confirms UK 5G network to launch in August
The Fibonacci example is interesting. If you want arbitrary precision, then the naive recursive method is exponential in $n$ to compute $F_n$. The loop method (recursive method with cache) is in $O(n^2)$. Indeed you only have $n$ steps in the loop, but at step $k$ you add $F_k$ and $F_{k+1}$ which have $O(k)$ bits so the total costs is $O(n^2)$. Finally the matrix/formal \sqrt{5} algorithm costs $O(n log n)$.

Indeed, using fast exponentiations, you only need $O(log n) matrix multiplications. But the dominant cost is actually at the last step, where you multiply two numbers of size $O(n)$ bits for a total cost of $O(n log n)$.

Speaking of mathematics in programming: I find it remarkable that the recent convergence of async programming into the use of promises and async/await (in python, js, rust...) is a weak form of the continuation monad. And the continuation monad is a form of the 'not not' Lawrere topology!
How does one guarantee that allocated memory is real? Can you easily wrap malloc to zero/poke the memory in a way that catches all exceptions and guarantees yay or nay ?
“We are not where we want to be”: an exclusive interview with Sundar Pichai
Interesting. This seems to correlate almost exactly with discovery in music streaming too. Given the torrent of new music available, how do you discover the new music that you like?

At the moment, AI is doing a pretty bad job of this - my Spotify Discover Weekly is an interesting listen, but I know it's not the best selection of new music out there suited to my tastes (to be fair, it's not really trying to be that, though). My "recommended" list on Netflix bores me. I get why they're recommending them, but it's all things that I've seen and rejected from My List, rather than things that I would find genuinely new and interesting.

I think this is the next big problem to solve, for everyone. The combination of Discoverability (how do I get my music/paper/novel/art/film discovered by the audience of people who will like it?) and Search (how do I find new music/papers/novels/art/film that suit my tastes/research subject?).
Does this version still send my personal data to the Swiss government?
One Producer Multiple Consumers – Using BlockingQueue
I don't think you need to keep all the cache.The cpu will be much slower due to the slower chips and propagation delays so it will be much better matched to memory speeds. Which would make cache misses much less important.
SKA Statement on Satellite Constellations
What's the point of this question? Stating the obvious that voluntary platform lock-in has consequences? That software from Apple doesn't run on anything else than Apple hardware (iTunes being an exception)?

It runs DaVinci Resolve and Pixar's RenderMan natively. CS6 runs reliably under Wine as well.

Can you run 3DS Max on macOS? So, isn't macOS a pro environment then?
React Hooks by Example: UseState, UseCallback, UseEffect, UseReducer
I am just speculating but if they don't provide door to door delivery then you probably have to upload whatever documents they need defined by law. This clears them and it doesn't matter that they are sending stuff to a mail forwarder as now you are committing a crime.
Oak tree planted by Macron, Trump has died
There is a Connection Manager now (see config) and you can set a limit to the number of open connections.
Very interesting read.

Some of the algorithms require the FPGA to be reconfigured whenever the node data has changed or when applied to a different data set.

Is this an expensive operation?
If you have time to spare this is a nice option to have. However,I didn't so after looking up reviews online I got a TPLink Archer MR200 LTE/4G router that you can simply plug a sim card in and it provides both wired and 2.4/5GHz WiFi. As the thing sits in the attic next to a diy dual biquad lte antenna its Wifi doesn't cover lower floors of the house so I have two of Fritz Wlan Repeater 1750E.

Now the TPLink router is not cheap. The US price is around $300, but in my opinion is well worth it as it gives me the ability to connect my DIY antennas and up to now it has been working almost flawlessly (barring a restart every few months) for 3 years. There are probably other routers that are equally good, but my experience is with this one.

Regarding the WLAN repeater, it is also an expensive one at around $100, but it is the only reliable WLAN repeater I found. I started with a cheap D-Link, returned it to the store after a day, tried another one etc. I went through 5 or 6 repeaters until I found this model that actually works with multiple devices, is fast etc.

Also, on the subject of LTE, I had real trouble finding a directional antenna I could purchase that would have at least 10dB gain at 800MHz (that's the LTE frequency my local tower uses) and wouldn't cost more than the router itself. So I ended up making two of them(as the router supports multi paths). At the end of the day it is only a bit of sheet steel and wire. I don't get why good lte antennas costs as much as they do.
Is there a link already where I'll be able to find the "Deep Learning from the Foundations" course?
Remember that you can look at a lot of data on the US like this and come up with seemingly shocking figures, simply because of the huge population of the USA and their higher than average disposable income. I bet if you looked at other things like total amount spent on other optional/nonessential items - chewing gum or fabric softener, for example - you'd end up with a dollar value in excess of what many governments spend :-)
I'm with all the people who remap Caps Lock to be the Escape key. Works fine.

(Although when I have to use other people's Macs or my Win PC at home it's often hard to remember to use the Escape key instead - at least toggling Caps Lock isn't destructive.)
Sorry I should've explicitly said this, but I was responding to just this part, not the part about the job being tedious:

But I do see a lot of data around company engagement.
There’s basically no chance this level of positivity is ubiquitous for them

When a company hires many regular people in a place like Venezuela, why wouldn't there be ubiquitous positivity? I'm not from the US; I've lived in a few places with extreme poverty; maybe this is based too much off of personal experience. i.e, I don't think the data the OP is referring to applies here. Getting money for basic needs (if you wouldn't have it otherwise) likely dominates most other concerns, including the work being tedious. From another comment, it looks like the OP's other experience with labelers is in the US - where the next best alternatives they can imagine are a lot better - so it makes sense that those labelers aren't as happy.

I guess what you're asking is - how many of these people find their job tedious? I will say it's a lot less tedious than you might imagine as a first impression - e.g, if you see something weird in some data, you talk to other people about it; if you get good, you train people; when doing a new project, you're learning from your coworkers; if you get really good, you might be asked to help develop training materials, etc. So there's a lot of interacting with other people, and a sense of community. For me personally, I honestly find it meditative to label a lot of data - it feels kind of like tending to a large garden, maybe even fulfilling some deep OCD/obsessiveness desire. Some of our labelers find it meaningful that they're contributing to robotics / self driving cars - e.g, the last interviewee in the blog post.

Back to your question though - how many of these people find their job tedious? I'm not sure how to ask the question to them in a way which gives a satisfactory answer. e.g, I'd expect if we just asked "do you feel like your work is tedious?" the answer would be dominated by people's realistic alternatives, and wouldn't have much to do with the job itself. (so we'd get similarly positive responses) If you can think of a better way to frame that question, I'm happy to ask it and post the responses here :-)
Man Bun Hairstyle
Android now forces apps to include proprietary code for push notifications
I seem to be falling in love with the data density of the old layouts. Nowadays i need to scroll endlessly to see little information.
The state makes money from every ticket purchased. The lottery simply pays out a fixed percentage of ticket revenue. More ticket sales means more money to the state, regardless of whether those tickets, when purchased, had an expected positive or negative return.
^full stack^ developer
>b) Dont' believe when people say you haven't got what it takes.

Maybe. To play devil's advocate, there are times one should consider that advice. Someone trying to break into performing arts or professional sports may benefit from getting some frank, realistic advice, especially if they don't have the talent or aptitude for the work.

I would also argue there is already too much of the "one should always believe in oneself" pushed by culture - a core message of pretty much every kids TV show since at least the 80s. A more relatable example would be a person investing their life savings in a terrible idea but everyone around them telling them "it's great" and "they should keep going" so as to not hurt their feelings.
The article refers to a "free/open source business model". Even there the terms are used in a somewhat identical fashion.

I really don't see how this kind of linguistic wrangling helps. Instead it kind of diverts from my initial point and drives the discussion into nitpicking.
Empty try with finally
You still have to gracefully shut down the application by closing file handles, aborting database transactions, etc.
SportsBook Platform
I am seeking a programmer with a sports book platform for a betting website. ASAP
There is no solution in building walls and upping border security. That is expensive fighting against the symptoms, draining resources and attention from the real issue at hand.
Trying to trick politicians and decision makers into at least some action will not solve anything. On the contrary, it is going to be harmful for the overall cause.
You can remove Siri from the touchbar. I did because I kept activating it when authenticating with Touch ID.
That's because as a sysadmin you can now do work in a week of plugging components together that would have taken three months for a team of five to pull off with C.
I work from home already. No way im getting a ‘downward facing camera’. I’ll have to get the Genie Lamp plugin and just float around the virtual office sicut spiritus.
Are state lottery ticket purchases taxed? That'd also bring in a chunk of change.
> Why outsource to cloud when make a one time purchase from Apple?

Because I can scale the cloud as much as I want. I can purchase 100x the compute power of this Mac, and I stop renting it as needed. The Mac Pro will need to be upgraded over time, the cloud will automatically upgrade what HW I can rent.

Also, there's a difference between rendering previews and rendering in real time. This machine is not going to render a production frame workload in real time. You do that kind of stuff with offline rendering. A machine that's 4x faster represents a marginal increase in workload that can be rendered in real time, because 3d rendering isn't O(n). And if you want real time rendering previews, there are PC workstations that will still smoke this Mac.

I feel like once again, people are trying to justify Apple pricing by appeal to edge case, when the reality is, people can put together a professional PC workstation for 3dsmax that performs about the same and costs half the price or more.

Look at the Z8 for example, not even the top of the line custom built PC workstation: https://petapixel.com/2017/09/13/hp-z8-pc-can-upgraded-insan...

Up to 3TB of RAM, 48 TB storage, 56 CORES, and this was shipped in 2017! Starting price $2400 (vs $6k for new Mac Pro). And you can't even get NVidia cards for the Mac Pro. An NVidia RTX 2080 or Titan RTX can be up to 2x faster than a Vega II Pro in DCC apps. If you want really fast rendering, Nvidia has actual racks of GPUs that are far more cost effective than sticking 4 expensive Vega II Pro's into this Mac.

A fully decked out Mac Pro is likely to cost $36k. An NVidia RTX Rendering server, which can give you real time desktop previews and contains 8 Titan RTX cores with 24GB VRAM, and 16 Xeon Cores, also costs $36k, and it can be scaled as needed.

If you really need to scale up massively parallel workloads, then commodity compute HW is far more cost effective and less limited.
That's only because Tokyo's long term population trend is negative, unlike most cities.
I think you can always send an e-mail when you need a detailed answer to a non time sensitive problem. Just because you can IM someone doesn’t mean that you have to.

To me IM replaces the “I could spend an hour searching for something or just pop up at your desk and ask”. It’s better because I can, like you say, defer answering for a few minutes.

In my previous job we had Slack, with General and Random channels. The discussion often went awry in these. Later we decided to create channels per team and more or less forbidden non work related chat. This basically fixed all of our problems with lost productivity and random pokes. Since people were not constantly on chat for random reasons, they did not use it for trivial work related stuff either.
They really lose the plot at the end with steel foam armour plated smartphones. It is Gizmodo though.
Wasn't a pain even with an AMD CPU back 6 years ago. Doubt it is pain now.
The way I see it, there are two major approaches to IDEs - Extendable text editors (of which Emacs is the best example) and Visual Studio knock offs.

There is no right or wrong answer, but I like the Emacs way.
Bagisto Documentation
Well, if your work machine is a laptop (and that is the only reason you can take it home) you need to use it, if you want to work at home, hence the need for an screen to attach, which you cannot do, if your screen at home is in fact an iMac. (Work data of course stays on the work machine, everything else is a huge no-go)
How can it cost half a billion a year to maintain a web browser?
Exploring Extended Reality (XR)
Ask HN: HN for Non-Fiction?
I am just arguing that Valve is more interested in making games than releasing them. I don't disagree with you, but the closest historical parallel is Howard Hughes' Hell's Angels.
Tangential, but it's interesting how we can't seem to agree who the mythical 10x devs are.

> There was (and still is) an era where complexity (and the ability to comprehend it) is a synonym of mental machismo. Simple was left as something that lesser minds/developers had to worry about whilst the 10x devs (another great proliferated myth) which everyone worth his salt should strive to be (so the myth went on), must not only conquer it but also thrive on it and create more of it. Thus you got a multitude of tooling, languages, stacks that do the same things differently, you got Godzilla OO hierarchies and architecture diagrams that look like a dozen overlapped London metro maps.

I always believed that this kind of stuff is what mediocre developers relish. Meanwhile, the 10x developer looks at all this complex cloud-scale data pipeline, and does the same job 3x faster with a few Unix tools piped together on their mid-tier laptop.
I remember this being a common belief back in the 90s.

At school I knew a guy who was good at maths, obsessed with computers (as in often knowing more than the teachers) but was rejected from the computing course (until his parents complained) because he wasn't doing well in English.

Personally, I believe they were getting confused with English as it was taught (mainly literary appreciation) and Language/Linguistics (as in the grammar/semantics and logic) which wasn't actually taught in (my) high school.
I replayed it (the remastered version) some 20 years after initially playing it. It was still amazing.
Malloc is just mmap so how about:

ENOMEM The process's maximum number of mappings would have been
exceeded. This error can also occur for munmap(), when
unmapping a region in the middle of an existing mapping, since
this results in two smaller mappings on either side of the
region being unmapped.
It's the same with Iran: "70% of Iran’s science and engineering students are women" [0]

[0]https://www-forbes-com.cdn.ampproject.org/v/s/www.forbes.com...
Well, the intent is precisely that they cease to exist. They shouldn't be making airplanes because they are a threat to public safety, it's not a mere "dislike".
Only 13% of UK adults trust big tech firms with handling anonymized NHS data
They’re called HOV lanes, and the discount is your time savings using the lane.
But why? Write short, one on one emails, and apply filters to focus on the colleagues you care about talking with. All mail suites should support this. People just ignorantly think email is archaic. It's the equivalent of teenagers rolling their eyes when their mom uses the phone instead of texting. Then it became texting vs Facebook. Then it became Instagram vs Facebook. It never ends. People just want to hate on established technologies to feel like tech gurus
And if Apple made it and put it into a nice case, I would happily pay $3k or even a slight bit more for it.
People say Russ Cox was inspired to use acme after looking at Ritchie's desktop. Probably even this picture.
However Apple prevents their OS from being loaded on hardware other than their own. While you can do it they do put effort into insuring you do not. They do not sell a retail version of their OS.

Is that a good thing? I am not so sure. People complain about the power they have over their app store, or their efforts to prevent people from loading apps purchased outside of the store, but turn a blind eye to the restrictions on using the OS.

Windows for what few warts remains is much more free to do with as you please.

Still, I no longer buy Apple products if they are labeled as made in China, that is a bigger affront that all the locking of software ever was.
It is basically illegal by federal law to test potential employees for their overall intelligence. It is considered racist, the term being 'adverse impact' in this case.

Corporations effectively outsource intelligence testing to colleges, as they have no other choice to obtain info about their future employees' abilities.
Old designs used to fit more data in 1024x768 (or 800x600) than we get now in high-res, high-DPI widescreen displays.

There's a personal finance app I use that was recently modernised, and it went from being able to show me 50 transactions on a 1920x1080 screen to barely being able to display little over 10 transactions at a time. No improvement, just... padding.
What? No screenshot from Donald Knuth's desktop!

here: https://www-cs-faculty.stanford.edu/~knuth/screen.jpeg

And here is the config file: https://www-cs-faculty.stanford.edu/~knuth/programs/.fvwm2rc