skysight-inc/HackerNews huggingface dataset:
Two important points:

- For std::array of uint8_t – an in-place container of a plain-old-data type – the move constructor and the copy constructor, if not optimized away, will do the exact same thing! Both boil down to copying the bytes from the old object to the new object. So there is never any benefit to calling std::move on such an object. This is different from out-of-line containers like std::vector, where the std::vector object itself consists only of a pointer and some lengths. In that case, the move constructor just copies the pointer and length values themselves and nulls them out in the original object, without copying the underlying data. But the copy constructor has to allocate a whole new heap buffer, copy the underlying data, and initialize the new vector object with that pointer.

- The godbolt links are building without optimization enabled (without -O settings)! GCC apparently still performs (non-mandatory) NRVO in this case, probably because that optimization is implemented on the frontend rather than the backend, and the frontend tends to care less about -O settings. But GCC does not perform the usual suite of backend optimizations, including inlining and memcpy elimination. If optimizations were enabled, GCC might be able to optimize both versions into the same thing, depending on what actually happens in “// Do some computation”. It doesn’t make sense to make performance comparisons with optimization disabled, unless you’re trying to improve the performance of debug builds themselves.
GPUs can hide memory latency very well, because they are basically SMT on steroids. (Imagine instead of 2 threads per "core" you have 32-64 threads)

But they are starved of memory bandwidth! And the lower latency memory CPUs prefer is not the same as the high bandwidth memory that GPUs like.

Also there is different kind of caching. Modern APUs often have two ways to access memory. Over there own cache, or over the CPUs cache. So shared memory for CPU<->GPU gets the full advantage of a cache, but still it is a trade off.

If you want some work done by the GPU part of an APU, by sharing a pointer, you can do that today. But from the point of view of the CPU there is no prediction beyond the "GPU do X" commands. And a very high latency until the job is done. So you need a minimum GPU job size for it to make sense.
Starting to work with GraphQL is definitely "mysterious" and backend controllers must be implemented completely differently when it comes to caching. But I think performance- and complexity-wise it's definitely ahead of REST.

I don't see any problem using Hasura for prototyping. It offers pagination, aggregation and other things that usually only matured REST APIs offer. So basically it's possible to post-pone the Web Application-Backend, see what queries make sense and later "hard code" that with the preferred framework. At least that's how I'm approaching a side-project right now and I'm really happy that I can focus on the open tasks and keep the mundane work for later.
exactly what i was thinkin! I can barely stand to work from home. we need interaction with others! children need to be stimulated and sitting in front of a computer screen will def lead to health and mental issues. :-(
Telegram polls are anonymous. Messages are encrypted.
I interviewed there for a product management position. It was clear they were not a product company, but they badly wanted to be one.

Being a product company is so much better in Silicon Valley. Revenues scale. Engineers work on general problems. Skills are reusable.

At the time (2014) they were building Gotham and Metropolis. There was a small team of product evangelists in the team, whose role was to find commonalities between projects.

I could feel they were conflicted. It looked like the platforms were not valued by the customers. Customers valued answers to their operational problems. And problems across companies and industries get solved very differently. Crossing data between license plates wasn't the same as extracting data from credit card statements. Platforms may provide foundations to speed up implementation and save money, but nothing customers could value directly.

I could tell they wanted to be a product company. Palantir is structured like a regular Silicon Valley company. They have a CEO, a COO, and product roles. They give stock options and now are forced to go public. And they never never present themselves as consultants. One of my friends there took offense at describing the company as 'Tech McKinsey'.

Compare it with firms such as McKinsey and BCG. They are private partnerships. They pay junior consultants higher than any other company at equivalent positions, they give no shares until partners. The partners at these firms possess the network. They do the selling, and that's all they are focused on. Answering customers' problems. It might scale less, but it provides a 100% tailored solution to the customer.

The only question is that what customers value. Do they value Palantir platforms with high recurring fees? Or did they like the first data joins, but eventually thought it was too expensive, or they should build it themselves? Which would mean Palantir has to constantly generate new contracts, much like McKinsey and BCG. Only Palantir knows.
Not too long after this discussion, a similar thought from PG: https://twitter.com/paulg/status/1295788954353111040.
"Possible scenario: It's 2025. The epidemic is over, but most big tech cos are still significantly remote, because powerful employees moved to Jackson Hole and don't want to move back. A startup emerges that's intensely not-remote, and beats one of the incumbents by moving faster."
It took me four years before I built up the experience and confidence to advocate for myself and the length things take. Now I'm trying to protect newer data scientists"

"Hey, new_hire, can you build this model by Friday?"
"Sure, let me just get the data"
Me: No you can't. The data will take a month to get. No one is getting anything from you on Friday, because I'm not going to let our team develop a culture where data scientists work all night on thankless failing data jobs.
Considering one of the attributions was Marx, I'm not sure I would agree that it's a straw man at all.
There's no country that calls itself the Republic of Ireland. That's a football team.
Need volunteer to add reinforcement learning to free hardcore combat flight sim
Took this course two times, first when they used TensorFlow and afterwards based on PyTorch.
Like how it is practical from early on and updated on new research. Recommend trying to build networks from scratch in combination with the course, so you don’t become to dependent on the fast.ai framework.
Show HN: Open-Source at Creative Commons
Soo many questions.

Why is this not a firmware addition? Why is this windows only? Why the ILCE-5100, but not the ILCE-6000 which is _super_ popular? Why is the PlayMemories App stuff still a unusable mess?

Sorry, was maybe a nice idea in the beginning, but the execution is disappointing. I'll stick to my capture cards and stay on the lookout for a proper camera. The zcam e2-m4 is looking better every day I have to work with this stuff...
Postmaster Louis DeJoy Hammered in Senate over USPS Changes
At least when I considered it a year ago, it was a huge hassle to get it working, so not really a solution for everyone.
I don't see the problem of using a hand-rolled encryption algorithm or the strange choices that went into that algorithm as "patched literally 5 years ago".
Ironically, all these Chinese based SaaS seem to go quite along the lines of the LoTR story (Zoom, Tik-Tok).
This is one of my favorite stories. The fisherman survivors (not mentioned in this scientific account?) riding the megatsunami experienced something rarer than walking on the moon.
Parquet files don't reference anything outside of the file, usually. A group of parquet files in a folder is usually considered a table, where the schema is union of the schema of the files.
Please don't snark on HN. It poisons the commons. https://news.ycombinator.com/newsguidelines.html

The sibling comment https://news.ycombinator.com/item?id=24234861 is a fine example of how to reply instead.
NIST Released Zero Trust Architecture Guideline
https://en.wikipedia.org/wiki/Pareto_efficiency
I read and enjoy science fiction. I don’t worry about the stuff in these stories unless I have independent reality-based evidence that I should.
The act which made "Ireland" independent was called "The Republic of Ireland Act", and reads as follows:
"... the description of the State shall be the Republic of Ireland..."

https://en.wikipedia.org/wiki/Republic_of_Ireland_Act_1948
I would buy a discrete GPU from Intel without seeing any benchmarks. The only system I own in which desktop compositing actually works on Linux is the Intel one.

Both AMD and Nvidia drivers are dumpster fires in terms of stability (and for Nvidia, I've tried both nouveau and the binary drivers)
Versioning is a facet of documentation. SemVer is not the only way, but it's a widely-understood convection and quite logical.

The core issue generally comes down to: "If I upgrade, what do I have to do?"

If you have good release notes and upgrade guide(s) that don't assume every user is following each release closely, that's probably ok.

If your release notes are non-existent or just an export of your commit messages or ticket titles, SemVer helps cut through the noise.

Going from 1.2.34 to 1.2.85? No second thoughts. To 1.5.2? I'll probably look at what was new in 1.3.0, 1.4.0 and 1.5.0 just to keep updated. To 3.2.0? I'm going to be super cautious and assume I have a bunch of changes to make, and hopefully there's a 1.x to 3.x guide, or at least 1.x to 2.x and 2.x to 3.x.

In the worst case, it compiles fine but a bunch of stuff breaks at runtime. With nothing but SemVer, I'm at least prepared to test extensively. If I go from 1.2.34 to 1.2.x and get a bunch of runtime breaks, my first reaction is going to involve profanity and be something along the lines of "time to replace this garbage library with something better."

As library authors, we're under no obligation to use SemVer, produce release notes, documentation, or do anything else. The nice thing about SemVer is it's basically zero-effort yet provides massive benefits to users, especially if everything else I mentioned is lacking.
Even in the worst case scenario, where each and every opposition voter took part in the poll, and literally everyone else voted for Lukashenko, this still prpves that the true result was at least 17% for opposition, which is more than the official results claim.
Clean Code – Writing Code for Better Readability
Check Out NASA's New Toy: A Full-Scale Replica of Blue Origin’s Lunar Lander
Reminds me of Machiavelli’s comments on the French state (many small warlords) vs. the Ottoman state (single supreme leader.) The French state was less efficient, but more resilient and difficult to conquer, while the Ottoman state had more efficiency but was highly fragile.

In some cases the old king of the conquered kingdom depended on his lords. 16th century France, or in other words France as it was at the time of writing of The Prince, is given by Machiavelli as an example of such a kingdom. These are easy to enter but difficult to hold.

When the kingdom revolves around the king, with everyone else his servant, then it is difficult to enter but easy to hold. The solution is to eliminate the old bloodline of the prince. Machiavelli used the Persian empire of Darius III, conquered by Alexander the Great, to illustrate this point and then noted that the Medici, if they think about it, will find this historical example similar to the "kingdom of the Turk" (Ottoman Empire) in their time – making this a potentially easier conquest to hold than France would be.
Nice! I used this approach for a turn based gamed engine, but with the input processing lag it totally makes sense for real-time games as well!
edit: Looks like it's just Firefox blocking CORS
I think the speakers aren't diverse by design, but they've made the community very inclusive, so the speakers are naturally diverse by being a representation of the community. I've always thought it's impressive how the Rust community has managed to walk the fine line between "we want to encourage diversity in our community" and "we give preference to traditionally disadvantaged groups".
And how likely is this to be needed?

Perhaps it would be better to spend the money elsewhere.
What is the energy return of energy invested on getting hydrogen from solar and then turning into ammonia?
> 1. This would dramatically increase cache line size. I don't have data, but I assume this would generally be bad.

Why would it change cache line size? GPUs also use cache lines in the range of 32-128 byte?! I think that is independent of the bus system/width.
> is going to be a lot more survivable than an AWACS.

AWACS have vastly superior radar and electronics. It's going to see threats long before they are in range. And it's going to direct interceptors to deal with those threats long before they are in range.

I don't believe an AWACS has ever been shot down.

This lists a few times when AWACS detected and directed the destruction of threats https://en.wikipedia.org/wiki/List_of_aircraft_shootdowns
THis is why I am a big supporter of Configurable Pipeline for the Analysis of Connectomes (C-PAC) https://fcp-indi.github.io/docs/latest/user/index.html for neuroimaging. This software facilitates both exact reproducibility and testing variability in results as a function of multiple preprocessing choices, the latter allowing one to be sure that your results is not idiosyncratic to specific choices in proprocessing (e.g., smoothing, nuisance correction methods, etc).
The creator of PHP addressed the "function arguments not consistent" issue in a YouTube video called 25 years of php.

PHP is basically a wrapper of C modules.

String functions are ($haystack,$needle)

Array functions are ($needle, $haystack)

Because that's the way the underlying modules worked. I had used PHP for a long time without realizing this.
Actually the paper, which our lab participated in, though I wasn't personally involved, doesn't really support the idea of standardizing. What it really lends credence to is the idea of running multiple pipelines and averaging the results. Because the average of the results were really quite robust.

Put another way. If your effect of interest disappears with slight changes in your pipeline then the effect probably isn't that robust to begin with. That doesn't mean it isn't a true effect, but on average it probably isn't.
So 3-4x rather than 5-10x
Dribbble Is Down
> Right so your point is that the driver is only an employee while on a trip. And while waiting for a trip, the driver is not an employee?

I think I agree with this. Seems like you could still have the traditional, if not archaic, model where they are paid by hour of work, and simply track the time they spend en route to pick up and while driving, in place of or combination with however it's worked out today.

_How much_ they pay per hour of driving I think will still be subject to the usual market forces. Same for restrictive covenants. Uber and Lyft aren't just competing for customers, they're also competing for labor. But this is all I think orthogonal to the question of "what is the true nature of the relationship between the companies and the drivers," you're talking about outcomes of possible answers that should not have bearing on what the answer is.
Do you happen to know a good introduction to that? I‘d love to read up more on it!
Especially at the seemingly-very-reasonable ~$225 for a 90 minute "lesson."
Working just fine for me. Please don't post about outages on HN!
It's pretty silly to make an absolute claim that one is protecting workers when that is far from obvious.
> Modern airframes are still not capable of sustaining as much acceleration as missiles.

Are those limits what they are because there wasn't any point in designing stronger airframes if the pilot was just going to black out under higher G forces?

If you take the vulnerable human body out of the equation I wonder if airframes strong enough to withstand that acceleration would actually be feasible.
> The large size by itself does not guarantee correctness

That's true for "reasonable" poll sizes. As your poll size increases past a certain point, it does begin to guarantee correctness.

An election is a poll with the size of all eligible voters.
> Only when the Minas Morgul palintir fell into the hands of Sauron did they become instruments of his corruption

Only when Trump got on Twitter...
They are not going to get them, and the people saying otherwise don't use Telegram, and/or do not know what they are arguing over;pedantry. Telegram works well. Anyone can start a private chat encrypted end-to-end, those messages only stay on the device, and you can set them to auto-delete from BOTH user devices in 3 seconds, 5, 10, 30 second, 1min, 1 hour, 1 day. Nobody at all is going to get those messages. Go ahead and wireshark your connection and start using Telegram.
for those unfamiliar with fast.ai:

it is a practitioner-style style deep learning course that instead of starting with the fundamentals starts with examples and results and then over time, layer by layer reveals what it is all about and how it works in detail until you ask yourself "that is all there is?". a great way to make a seemingly unapproachable topic approachable.

you don't need big data, you don't need a GPU, you don't need to install a ton of dependencies, you only need a browser (to access jupyter notebooks).

last but not least: this is kind of the "definitive version" of the course as it now comes with a book, a new version of the library (re-written in a more thoughtful way) and with new versions of recorded lectures/lessons based on the book w/ way better audio quality (compared to the previous ones).

If you ever were curious about deep learning but did not find the time to take a look or thought it was unapproachable: now is a great time to dive in and this is a great course (& book & library & community) to do so
I too was affected by this. The root cause was the CFC bans [1] to save the ozone layer. The old inhalers used CFCs and therefore could not be used anymore. New technology had to be created that used a different delivery mechanism. Profit incentive is what caused that new delivery mechanism to be created.

[1]: https://en.wikipedia.org/wiki/Chlorofluorocarbon#Regulation

Regardless, even if you can find some legitimate counter-examples it doesn't negate my premise in the same way that anecdotes are not data.
Are they saying they deleted the photos from your phone/tablet or just the adjustments in Lightroom?

If they're just talking about Lightroom data, then although that's pretty crappy, it's what I expect out of apps. I remember the Apple Pages used to do this too. If you deleted or upgraded, the data was erased. That's all changed since they enabled cloud, but still was a horrible design.
The current DiceKeys box has latches to make sure it's very very hard to open accidentally or if dropped from human heights.

We have thought about designing a box that's intentionally very easy to open for people who want to encrypt their laptop when traveling into a jurisdiction that may want to steal IP or compromise their journalistic sources. We'd want the user to be able to slip their hand into their pocket and release the dice from the box before anyone knows to ask for their DiceKey.
1) It's useless to reason about the performance of generated assembly unless you use -O{1,2,3}. Another commenter says that they're surprised std::move isn't inlined; that's because -O{1,2,3} isn't passed.

2) If you care that much about performance, you can avoid all copies by returning by reference in this case.

3) The author seems to misunderstand std::move — in this case, std::move can only pessimize performance and never optimize because the move constructor of std::array is the exact same as the copy constructor.

For example, move constructors help performance for std::vector because the move constructor will copy the backing buffer's pointer instead of copying the entire backing buffer itself.

Since std::array<T> is a thin wrapper around T[], the entire array is stored on the stack, and there is no possible optimization that a move could make — stack values must be copied (or otherwise initialized) in move constructors. In fact, since std::array is an aggregate type, there isn't even a user-defined move constructor (or copy constructor)! https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-...
This repository has been notoriously bad at doing this: https://github.com/overtake/TelegramSwift
Please do recall everything mentioned above pertaining to Japan was after https://en.wikipedia.org/wiki/Attack_on_Pearl_Harbor
> The core engineering team will continue to run the MDN site

So is that basically saying we're adding more work to a probably demoralized and overworked team?

My knowledge of Mozilla's internal hierarchy is admittedly quite sparse, what's the ratio of "beancounter" to "bread maker" with the recent cuts?
Looks great - will probably pick up the book

In Lesson 1 they talk about use-cases where Deep Learning is the best known approach. Are there any popular use-cases for which it is not the best known approach?
It's amazing that technology is empowering these protestors, but I'm not sure a vulnerable group of people such as this should be leaving identifying information on these servers.

- You cannot sign up for Telegram without your phone number (even if it isn't public).
- End to End encryption exists but is limited to 1-1 chats.
- Telegram cooperates with data requests from law enforcements.

The kind of risk this puts them in cannot be overstated.
What does Palintir even do?

It seems that they have consultants (that they called forward deployed engineers for some reason) who go into military, police & enterprise and set up some sort of bespoke data lake for all the docs and data flowing through the company.

Then they give users a tool to do investigation of the data using a tool that lets them build causal links between documents or maybe entities is a better name?

That seems useful - but the secrecy is weird. I saw some product videos from ages ago and it looked like software only an Enterprise could love. Looked incredibly slow, janky and overly complicated (I assume it's a convoluted interface so they can charge training fees!)

Can anyone yay or nay me here - is this what they do?
Bitcoin is more regulated and more spied on than most forms of payment. To turn a large amount of Bitcoin into dollars in a bank account, you have to go through extreme AML/KYC checks. I can go to a gas station in California and send $1000 in cash to someone in Turkey who could receive cash and walk out a few minutes later. A briefcase full of cash is not regulated at all and can be used to settle debt or pay taxes, unlike Bitcoin. The only advantage of Bitcoin is not requiring the risk of physical presence, which has to be <1% of all crime. Also, unlike cash, Bitcoin by design retains a full immutable public ledger. The criminals can mix their coins, but it'd still be possible (although computationally expensive) to recreate a chain of transactions going back to the original ransom. In the future if Bitcoin is to become used in commerce more, it should be expected that these dirty transaction outputs would be worth less than clean ones or not accepted, like dollar bills cut in half taped together.
$450k is about tuition for 56 instate or 17 out of state students. Basically peanuts.
The U is $8,048 for Utah residents and $25,361 for out-of-state students.
It has a total undergraduate enrollment of 24,743