skysight-inc/HackerNews huggingface dataset:
They way I see this is thinking about vocabulary and language.

We can describe the world only within the limits of our vocabulary. Basically we want to describe thinking about new things with existing words.

In case of programming we are building new concepts and it might be the case when there is no word to properly describe that concept. So we try to find the best approximation. This task alone is very hard, specifically because there are two layers of modeling: first we model the domain into abstract programming concepts then we need to create a model (approximation) of these concepts that we now want to code to be able to find a word for them.

We can see it simply with a variable: we can use common names for variables which have a clear, easy to see around us purpose: counting => count/counter, indexing => index, ordering => order ... but when we have a variable that should retain an intermediate abstract value to be used futher then this concept cannot be found so easy.

Let's say we need to save the name of a class - generated on the spot - to be used further in the code.

What is the name for this variable?

- "class" - seems the first one, but in most languages this is a restricted word

- "klass" - here we are already creating a new word

- "bucket" - this is more easy to find around us as "a place to put things in", but it does not fit maybe the current code as it is a too large concept

- "intermediate_class_name" - now again this is inventing new words by glueing them together. Might work, might not work depending on coding guidelines and other restrictions
Wow, we usually eat around 250g of pasta divided by 3 people.
180g only for you? Congratulations!

Full disclosure: we're also all very sedentary
I understand the quality issue, of course I also notice it.

But how else would my mic work? If it stays on A2DP, then there is no Mic input, so I used to have to manually switch it to HSP. With the solution I linked above, this is not manual.
Being held to government authority is indeed normal. Being held accountable to government micromanagement and/or spying is not. The normal way for government to handle this stuff would be to issue a law saying that it is forbidden to spy on citizens and if you do spy on citizens you go to jail. The government going over all paperwork of a company is such a strange activity.
Definitely. One thing that grieved me about the attempts at microservice architectures I had to work on in my previous jobs was the complete lack of administration; in theory, a microservice can be called by any other service, but what we never implemented was a kind of authentication or logging (e.g. access keys), to track which other services used the one. It quickly became an untransparent mess.
you seem to be the only one actually replying to my comment. any idea what is the trigger word resulting in the downvotes?
I disagree on the "natural" part. Robots.txt that put other search engines at a disadvantage aren't the norm, they're, just like in the early years, some websites supporting only Netscape and MSIE, a direct consequence of Google's current market share and might change once there is a good reason (like DDG growing into a significant player).

If a collection like commoncrawl with bulk downloads was more useful and thus used more often, even Google would have a good reason to use it.
WhatsApp - 8.

Signal will catch up soon.
>How about instead of reading totally made up blogs we stick to real news sources with actual reporting?

Maybe read more than the title then?
Know a bunch of people working remotely for Apple too
Failed to take over the Web as Chrome team was driving it, then ChromiumVM got dropped, several key designers like Gilad Bracha and Lars Bak left the project, it was ultimely rescued by AdWords team, which had just migrated away from GWT into Dart, got rebooted into a strong typed language with type inference, and picked up by the Flutter team.

Nowadays it is basically a language to write Flutter applications, hardly worthwhile to bother using it for anything else.

Flutter is taking place on Google politics, while Google lets Flutter, JetPack Composers and PWAs play the game of cross platform GUI frameworks, with the difference that Kotlin and JavaScript/TypeScript have a much broader eco-system than Dart.
It was a codename for a project that later became DirectX. That's why the early DirectX logo looks similar to radiation warning sign.
Dragit.io – Professional Drag and Drop Email Builder
Hey there everyone! We are excited to launch our new product

Are you tired of building HTML email templates manually? Check out our new drag & drop email builder.

Looking forward hearing your feedback!
CA still has the advantage of no noncompetes. It's fairly standard for Texas companies to require an enforceable noncompete. These companies are sort of like mules -- born from perhaps many fertile companies, but produce no offspring.
I like it. Friction a bit higher than the method I use now: Telegram Saved Messages. But still cool, thanks for sharing.
> 720p max, which is way below industry standard

maybe low for western standards, but the majority of devices worldwide cannot display higher resolutions.

hek, even new budget phones today rarely exceed 720p.

anecdote: worked at a cinema and we cast 720p onto the big canvas (10meters wide) because people would not notice a difference to anything higher. overall bitrate and quality of encoding are mostly the deciding factors.
I want to know if I'm on the right path, or there is some aspect of this that I'm wildly wrong about.
Perhaps someone here can answer a question I've had for a while: if you stream a video which is actually a static image (think a song on YouTube, the 'video' is just the album cover) is there any way to optimise that? Or must the server stream that same image constantly as though it was a regular video?
JAXA reveals asteroid sample collected by Hayabusa 2
Encouraging the use of products that don't contain any oil is indeed good for the rainforest.

But be careful, the way you phrased it could encourage people to use products that use another vegetable oil, which requires even more hectares to produce (palm oil yield is 5 times higher than the next highest oil yield), and could lead to even more deforestation.
Palm oil is mostly used as a replacement for butter. It is cheaper, no less or more healthier, and probably more environmentally friendly (because butter requires a lot of cows, that produce greenhouse gases, and they also need to be fed on crops, which fields are often created by destroying forests, etc.).

Palm oil is not the devil. We are just using a lot of fat (and sugar) almost everywhere. Even extra virgin olive oil is bad if you use too much: it is liquid fat, and it has more of it compared to butter (because butter has water in it :-D)! Using it for your pastries would not make you healthier.

Just use the right oil/fat in the right quantity.
I had a look at Code Project but looking at their Articles dropdown, I couldn't find much related to security (Disclaimer: I'm quite biased towards security to begin with). I find this odd given the avalanche of problems being discovered on a constant basis.

The section that I did find ("Security and Cryptography" in "General Programming") seemed more geared towards crypto - there was even a subsection for Steganography (?!). I actually think this is a bit concerning given that C++ is one of the most discussed languages on the platform...

EDIT: There is actually a Web Security section, but none for desktop development (or any other section, including development lifecycle)
For your first example, I think most people want integer overflow to be unspecified behavior instead of undefined behavior - this is how most other languages treat it, it is how all C compilers behaved for a long time, and it is unreasonably difficult to actually write C code that makes sure not to cause integer overflow.

Your example is in fact perfect for why that should be the case: consider the following code:

int n = 0;
scanf("%d", &n)
factorial(n); //using your definition of factorial(int)

A standard-compliant C compiler is apparently free to optimize this program to format your hard-drive.

For your second example, I would say that, rather than omitting the NULL check, a helpful compiler could do one of two things:

1. Don't reason from strlen(s) to s != NULL, so the NULL check must be left in (unless it has even more context and can see a non-NULL assignment to s)
2. Wherever trying to optimize away a comparison to NULL based on UB reasoning, put in a new comparison to NULL at the place you applied that reasoning. For this example, optimize the program as if it looked like this:

//first, the inline version
void puts_with_len(const char *s) {
s_len = strlen(s);
printf("len = %zu\n", s_len);
const char* puts_arg = s == NULL ? "(null)" : s
puts(puts_arg)
}
//after optimization
void puts_with_len(const char *s) {
s_len = strlen(s);
const char* puts_arg;
if (s != NULL) {
puts_arg = s;
} else {
puts_arg = "(null)"; //could also explicitly signal a segfault or assert here instead
}
printf("len = %zu\n", s_len);
puts(puts_arg);
}

In this case we didn't gain anything, but if puts_with_len were itself inlined the check would be moved further back, potentially replacing many NULL checks with a single one.

I would note that there is a third option here that goes in a different direction: now that compilers are extremely aggressive with NULL check removal optimizations, a lot of unsafe C functions could be made safe by manually adding the missing NULL checks to the stdlib and other major libraries. This wouldn't affect the semantics, and it wouldn't hurt performance assuming the optimizer really is doing its business.

For example, strlen() could itself raise an assertion/exit on strlen(NULL). If called from a context where it is known that s != NULL, the null check can be optimized away by the aggressive optimizer; if not, better safe than sorry.
Again with the layman's characterization of what incentives exist in capitalism.

A free market rewards products that win consumers over, and product reputation is a major factor that goes into consumer decisions.

Look at Apple. It developed an extremely good reputation for both quality and durability long before the first version of the iphone was released. Today Apple is worth $2 trillion making it the largest company in the world.

There's no point in me continuing to spend time refuting your mental-gymnastics/weak-objections to science. You're debating me in bad faith, with seemingly no care to ensure your statements have been rigorously fact-checked and stand up to critical analysis. In other words, you're not taking any responsibility for the accuracy of what you claim. There's no humility in your arguments, in that you don't demonstrate concern about the damage you may be doing if you're wrong, or even that you may wrong. Making broad claims of deep flaws in the socioeconomic structure, without an ironclad argument that you have verified for yourself genuinely stands up to scrutiny, is reckless, and shows total irresponsibility.

As it is, you're discounting Economics as a generally opted social science being used to manipulate the public for the interests of a capitalist elite, and you're making these extreme conspiratorial allegations without having studied economics for yourself.
> Cotton was the US's #1 export from ~1800 through 1930 due to slavery

Wait, you're making a very different claim than what I was talking about. I agree that it probably made some sense to have some kind of plantation economy in the South, and that, as a matter of fact the plantations the South did have were based on enslaved labor. And for sure, there are interesting debates to have about the unacknowledged contribution that's inherent in that. But slavery was never a necessary part of that successful economy; indeed, it's quite physically possible to have plantations that employ free laborers as opposed to relying on slaves!
This is from November. Summary: "...there are no other jobs on the island."

https://fortune.com/2020/11/21/larry-ellison-hawaiian-island...
Probably unrelated observation. I use a MacBook for personal use and a Windows laptop for work.

For many things, they both work well in general (Windows is better for "document stuff" and file management, Mac a little better in window management etc., but comparable in general).

But when it comes to media stuff (think: cropping a lossless audio file and compressing the result into an AAC or MP3, resizing 20 images, transcoding a movie from one format to the other, removing one page from a PDF), on Mac it can usually be done with built in tools. On Windows you often need either a prohibitively expensive software suite or go on an ad infested crapware hunt resulting in a borderline unusable tool.
That's true only if you assume that the their resume won't be tossed out.

Edit: typo
Your mention of guanciale reminded me of this delicious video: https://www.youtube.com/watch?v=3AAdKl1UYZs

The serving seems gigantic though.
Odd, I don’t really like IDEs but I think Xcode is among the least shitty IDEs out there. Too many IDEs have just terrible GUI design.
also ... single core performance

m1, like the a* chips are great at single core performance
m1, like the a* chips are underwhelming at multi-core performance
last gen ryzen was competitive at single core performance, and great at multicore
current gen ryzen is great at both
Huh. I wonder if this is also the reason why my unity game stuttered below 30fps even in menus on a galaxy s6 until I put it to sleep and woke it back up.
72% of the people voted for the official in question. (1MM+)

Sorry, man, I'm gonna just not do politics. There's literally no point.
if your lastname is Pichai
Rethelog.com
Chicago I think was windows 95
And the benefit is that now you have companies like OTOY doing basically CUDA based real time rendering.
Show HN: Releasert – Release note delivery made easy
Apple Watch to Get Stupendous Heart Health Upgrade in Days
I keep coming back to my default idea here - that PII needs to be seen as legally owned by me and only licensed to others for use. The default legal framework should include medical / epidemiology research as freely licensed and commercial use as ... well let's just say i think my license conditions will be expensive.

If an advertising channel then shows ads that breach license they are liable. A fairly simple licensing process will come into play and we can find new ways to fund things

Edit: Yes i do get a lot of the issues around regulation of tech - it's almost like saying regulation of every day life which is really broad. And the different bodies and approaches will also need to be broad. But i am a believer in markets and individual decision making and i also believe that personal information has in the past few years become a genuine new ... commodity? And we need to raise that commodity into visibility - to be able to put prices on it openly. Maybe it won't work, maybe privacy is like a human right and can only be dealt with at that level - but i don't think so - privacy to me seems ephemeral and usually poorly defined. Longer discussion to be had
Could it be selection bias? No one is doing polls on 100% of people.

Maybe people who respond in those kind of polls are better than average or they want to be better than average.

There is a lot of people who don't care about polls and won't answer them.
Well yes but nothing prevents you from, for example, changing both user's passwords so they can't log in to even change WiFi password. [1]

Needless to say, I don't trust it and disable it whenever I can. I can set up my PPPoE or VoIP access myself.

[1] https://milankragujevic.com/uploads/oKazARE_.png
Instead of an excellent one you mean?
https://github.com/matrix-org/matrix-doc/pull/2359
Damage costs != offsetting costs

Every extra tonne of CO2 does cost $196+ (I’ve seen credible estimates as high as $400), but through offsetting you could verifiably ensure that more tonnes are avoided for far less.

As a crude analogy, if there is an oil spill (causing $$$ of damage), it would still be cost effective to plug the next oil spill for $.

Don’t get me wrong, the ideal scenario would be to not cause the first oil spill at all (in this crude analogy), but given that this seems impossible in our society, an offsetting tax on plane tickets could be a highly cost effective lever instead.
The One Line Fix
> Only one user should receive a success. The article describes a setup where both users receive a success because of write skew.

It describes a setup where neither user bothers to check whether they had a success because the authors are affecting not to understand how to use Kafka.

> What the article is saying is that you can't just check the DB to see if items are in stock and write your order to a queue.

You can't do that with a database either. You have to actually handle the case where it fails. It's not actually any easier than doing it properly with Kafka.

> Literally the whole point of ACID databases is that multiple clients can operate on the same set of data and avoid putting it into a bad state. If I'm a bank storing an account balance of $20 and you withdraw $20 and I withdraw $20, only one of us should get $20.

Banks don't actually use ACID transactions for that, because they don't work in the real world; the bank needs to have a record of both your attempts to withdraw $20, not for one of you to see an error. What a bank ends up implementing is much the same as what you implement when using Kafka.
Article is no longer available
Why do you even talk about race, what's the relevance. I have no idea where you're going with this but I can sense a digwhistle here.
Only because AMD exists and had access to the patents that allowed them to come up with an alternative.

Had it not been the case and Itanium would have been pushed until it eventually replaced x86.
Most developing countries are moving to the US model - private hospitals in India, China and the Middle East, for instance.

What baffles me is how expensive government hospitals too are in the US.
Home After Dark and Tiny World are great too.

Amazon does tons of great series like Fleabag, Marvelous Ms Maisel, Expanse, The Boys...
I sometimes ask myself, in 20 years will we begin to see class action lawsuits directed at technology platforms that use notification triggered dopamine releases for growing engagement?
I think the article does a good job of showing that current technology has the power to be a lot more persuasive than it ever has been. You could nit-pick on the effectiveness of individual methods but the broader point is clearly evident: technology, and our increasing use of it, has more potential to implement, test and refine new persuasive techniques at a scale never seen before in human history. The evidence for this is obvious.

It stands to reason that we need to draw lines around what appropriate persuasion looks like not because these new techniques are definitely abusing our freedoms but because they might and in theory could. The potential in itself should be enough to treat the role of technology seriously and consider what the boundaries should be.
So weird. I guess it might be because 99.9% of swift developers want as little vim as possible in their lives.
I used a few in France a decade ago when they still had bunk beds (right now I think they don't have bunks anymore). It was nice if you wanted to arrive very early and tired (never could sleep well). But now, with the increased number of fast train lines, I don't really see the point when travelling in France.
How sensible this maybe, I don't feel like improving C, at all. It would be much more beneficial to bring C into the Rust cargo infrastructure, such that mixed C and Rust projects can exist with minimal friction.

I just did a search and it seems https://crates.io/crates/cc comes close. If only an IDE could do the job automatically when it finds .c files in the project. Even better, it should find and install a local compiler when needed (C or any other).
> A palm oil alternative

You mean... any other vegetable oil, like it used to be?
I would love to buy food without palm oil, but right now it just seems impossible. A workable alternative is desperately needed. Regulators have very little incentive to tax palm oil (not the importers’ problem, exporters happily take money and don’t care about the environment). Hopefully a replacement could make taxing the original work.
I totally disagree with your climate change rhetoric here. Even if butter generated a greater effect on climate doesn't mean that swapping rainforest for monoculture plantations is more environmentally friendly!

I miss the "save the rainforest" focus on environmentalism in the 90s. I think it was more emotionally compelling for social action.
I think Netflix has a very high prio on the "customer wants to see a video, so we shall play that video". It's on every platform and your mom's IoT hairdryer, even with an atrocious connection speed, you still get a (blocky low quality) video stream with audio. This is invaluable, especially with kids you need to keep occupied on a train ride with 3G coverage.

Apple on the other hand, seems to think: "we have a glorious 4K 60 fps 30 Mbit Dolby Atmos 7.1 extended edition of <movie name> on our server. What's the point in experiencing anything less than the perfect experience? You either get the full shebang, or a spinning loading indicator."
Pinterest Pays $22.5M to Settle Lawsuit Filed by Former COO
Sounds like an unusual problem. I cannot remember having that problem and I was using Swift from the beginning.

For me Xcode is quite nice. Didn’t like AppCode. Not sure why people are so enthusiastic about it. What does it give besides better code completion? Development is a lot more than code completion.
So basically Star Lisp and The Connection Machine.

> A system that AOTs and JITs and recompiles based on how the specific user actually uses the app and what it actually does on that specific device.

Basically every Android device since version 7, and Windows Phone 8 execution model.
> it didn't win out.

It didn't win because
1) making a top performing CPU is very expensive
2) you can only only recoup your investment by selling a lot of CPUs.
So you need to be very efficient with the installed base of software..

While in the past this favored x86 / x86-64 compatibility, this is shifting towards ARM compatibility..
Maybe this will favour experimentations?
ARM ISA is far less complex to implement so from a technical POV this could help companies trying to experiment.
Handling Black Friday at Scale
That’s not really the right question to ask. Yes in some cases it is backed by UIKit, for now, but that can change at any time.

It is a completely new paradigm, that’s it. Implementation details are just that.
Agreed. “Ruffling feathers” is an alarming depiction of Fascists.
The amazon rainforest is not the only forest on earth. Watch the latest David Attenborough documentary if you'd like a bit more understanding of how forests are destroyed and replaced with oil palm trees, in a way it is worse than the amazon because this is justified by profit motives whereas the amazon was a poor leadership decision.
this is a good point - probably related to majority audience need - one would not expect prime time TV to deliver discovery in the same way the library of congress would - perhaps we don't need competitors to google to make google better but competitors to make google many different things - they should not have one algorithm as it were.
But to be clear it's rather the other way around [0] :)

[0] https://en.wikipedia.org/wiki/Signal_Protocol#Usage
Thanks for this citation. I think it perfectly augments the article.

I can do both:

- assume that I am below average (don't underestimate others)

- assume that I have talent (don't underestimate yourself)
I think it could be argued that kicking people off these platforms may serve to more radicalize their most ardent supporters.

But there is no way that being kicked off your primary platform doesn't significantly shrink your viewership at least in the short to mid term.