skysight-inc/HackerNews huggingface dataset:
I didn't claim that Rust provides absolute guarantees. I don't know anyone who has claimed that. The only place I've heard that being claimed is people saying it's commonly claimed so by Rust advocates.

Even in my comment I quoted a passage that said "we don’t expect that number to stay zero forever". This is important. Although it has been successful so far, there will be bugs in it, even the odd memory safety bug.

That's still progress! Fewer bugs than before is progress, (mostly) eliminating a class of bugs is progress. I only addressed a person who was saying "there will still be some bugs, so there's no point tackling this at a language level". They're unable to grasp the idea of progress.
Well said! To add a few options

- energy management (shifting loads to times when energy is cheap) for consumer/commercial/industrial use cases

- energy markets, especially power trading: often highly algorithmic, and driven by models that turn fundamentals data (weather, calendar, …) into supply/demand predictions, and from there into price predictions

- retail pricing, both offline and e-commerce
I think people get busy as they get older. Learning gets harder too, so hearing a new song either involves learning a new structure (more difficult) or is using the same constructs as they already know (boring).

Also, most people are nostalgic for old music that was popular (to them) in their late teens and early 20s. For most people, this is when they had the most new experiences: learned to drive, had more freedoms, first kiss, first girlfriend, marriage, traveling, new foods, first job, moved out of home, got a house etc.

And with all of this was music as the soundtrack. So the most exciting time of life is that period of life because literally everything is new, and therefore exciting. New experiences are good!

Then as we get older we don't have many new experiences as we settle into living a life of conformity. It takes real effort to find new things, and most people are just too busy trying to survive or raise children to actually go and find something new.

So that's my opinion on why people regress to listening to music they are familiar with - songs that don't involve forming new brain pathways or having to listen critically, and instead just listen to things they know which reminds them of more exciting (and perhaps happier) times when life was full of promise and new.

Of course, there is also just a finite number of song combinations and most popular music uses the same scales (major, minor, mixolydian modes with infrequent straying into anything else), the same rhythms (no polyrhythms), and the same song structures (intro, verse, chorus, verse, chorus, bridge, chorus x 2), so new stuff is both unfamiliar, and yet boring.

If you attempt to introduce new music to people, most don't know what instruments are involved and instead listen to the melody or lyrics not textures or mix so can't extract anything good from a new song because they don't know how to pick out at least something from the song. I find some RnB horrible but at least the mix is interesting (other than deafening bass drums).
https://youtu.be/Jd0io1zktqI

There’s a cool video on YouTube about it now.
This is great BUT should come with a buyer beware warning.

ChatGPT doesn't have an API and this looks like it will break T&CS.

Fine for a PoC, pet project perhaps but you can't expect anyone to build a commercial offering on the back of this.
> they used common crawl which respects individual site policies such as robots.txt

Nice, so what? I seriously doubt that authors of the content crawled by CommonCrawl agreed to terms that their content will be used by openai.
Moreover CC seems to be opt-in by default according to their faq:

> You configure your robots.txt file which uses the Robots Exclusion Protocol to block the crawler. Our bot’s Exclusion User-Agent string is: CCBot. Add these lines to your robots.txt file and our crawler will stop crawling your website

Again, I doubt that plenty of people are putting CC specific rules into their robots.txt, moreover I'm not naive and I doubt that in our reality where "move fast and break things" is THE motto for any big corpo any rules like that are respected at all.
Unless you're disciplined or have strong external motivations, there's no incentive to write code that's easy to understand for other people. Everyone struggles with this in all sorts of places in life. Diet, exercise, keeping your house tidy, and so on. Few are self disciplined enough, some need to exercise with a friend, some need a personal coach, some need to have friends over to visit.

While it helps to have other eyes judging your work, expectations can also fade once your relationship with them starts to get closer. For example if you have a relationship with someone where you're both messy, you might be trying to make things tidy for each other in the beginning, but as you start trusting each other and letting your guard down things become messy.

Perhaps something like copilot that focuses on judging you rather than doing the work for you would help. Like a laundry list of areas in the code that are difficult to understand.
It's the British equivalent of Four Loko.
“CLEAN” doesn’t care so much about readability, but rather testability. The video would have been far more compelling if Casey had spent more time showing how he would test his application without the test surface area blowing up exponentially as the feature space expands.
Regarding the cost:

I think in a practical application (i.e. a game), it might be feasible to "lazy load" the world. If I remember correctly, watchdogs 2 does something like this.

Need a new character? Just create it on the fly.

You'd have make be sure to create all the necessary background structures as neighborhood, family ties, etc as well. Or at least mark make sure you don't introduce (glaring) inconsistencies.
There was no confirmation of the lab leak theory, there was a report with "low confidence" of it being one.

You should apologise for trying to paint it in a different way, even more for calling it "confirmed", it's either deceptive or blatantly ignorant.
Yet, for example, it distinguishes upper and lower case versions iota[1] from "upper case i" and "lower case dotless i". A similar provision could have been made for upper and lower case versions of "Turkish dotless i" and "Turkish dotted i". But it wasn't.

That means "ι".upper().lower() produces "ι" but "ı".upper().lower() produces "i" (unless you do it on a computer set to a Turkish locale:

>>> "ι".upper().lower()
'ι'
>>> "ı".upper().lower()
'i'

Note we have:

LATIN CAPITAL LETTER IOTA
LATIN SMALL LETTER IOTA
GREEK CAPITAL LETTER IOTA
GREEK SMALL LETTER IOTA
MODIFIER LETTER SMALL IOTA
TURNED GREEK SMALL LETTER IOTA
CYRILLIC CAPITAL LETTER IOTA
CYRILLIC SMALL LETTER IOTA
APL FUNCTIONAL SYMBOL IOTA
MATHEMATICAL CAPITAL IOTA
MATHEMATICAL BOLD SMALL IOTA
MATHEMATICAL ITALIC CAPITAL IOTA
MATHEMATICAL ITALIC SMALL IOTA
MATHEMATICAL BOLD ITALIC CAPITAL IOTA
MATHEMATICAL BOLD ITALIC SMALL IOTA
MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA
MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA
MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA

That's lotta iotas[1]. There's more[2]:

GREEK SMALL LETTER IOTA WITH DASIA
GREEK SMALL LETTER IOTA WITH PSILI AND VARIA
GREEK SMALL LETTER IOTA WITH DASIA AND VARIA
...

The point is that almost all of these variations on the theme with explicit duplicates get their upper and lower case distinct codepoints, yet "lower case Turkish dotted i" needs to for some reason map to 0x69 in ASCII and "upper case Turkish dotless i" needs to map to 0x49 ASCII.

It is stupid and directly contradicts the statement:

> The Unicode Standard provides a unique number for every character, no matter what platform, device, application or language.[3]

The statement on the Unicode.org web site cannot be attributed to ignorance.

[1]: https://en.wikipedia.org/wiki/Iota

[2]: https://www.unicode.org/charts/PDF/U1F00.pdf

[3]: https://unicode.org/standard/WhatIsUnicode.html
> Sudden layoffs can also help maintain labor discipline

And layoffs will also slow wage growth. So I wonder, did they all agreed to this at Davos?
An Introduction to Test Factories and Fixtures for Elixir
qutebrowser has support for host-based blocking, which is better than nothing but a far cry from element blocking like UBlock Origin does. For me, qutebrowser's ad-blocking is pretty hit-and-miss, which is why I'm longing for UBlock Origin haha.
In Crypto this is called "Hopium":

>Hopium Meaning: What Does the Word Mean? Hopium is very similar to copium, in that it's a meme word that shouldn't necessarily be taken seriously. While copium is used in a situation where someone needs to 'cope' with something, hopium is a term used to mock 'false hope' or irrational optimism.
YouTube have some intermediate states for copyright violations, so it's possible.
I Will Fucking Dropkick You If You Use That Spreadsheet
>in fiction then uncontrolled/unlimited contradiction should be fine

I'm not saying it's fine in general. I'm saying it doesn't matter for pop fiction

Popular fiction gets retconned all the time. I'm fundamentally disagreeing with "not contradicting yourself too much" mattering at all for fiction that's successful with the masses

If you ever feel tempted to think that quality writing matters for popular success, just remember that lewd Twilight fanfic has sold more than a hundred million copies
I love the version names, all famous scientists (Von Neumann, Riemann, Lorentz etc.)!

Though I am curious whether there is a specific reasoning behind a name in relation to a version (alphabetically, numerically, chronologically etc.)?
> Yeah, I also don't understand appeal of "just a square of land filled with immaculate lawn and not much else. It's essentially space wasted for nothing.

The American custom of manicured lawns has always been quite incomprehensible to me. A lot of people in eastern Europe have dachas or live in SFH in suburbs but they tend to have some trees around the house for both comfort (provides shade in summer) and aesthetic reasons.
I don't make tiny games really. Defy gravity is the only small game I ever made. I make bigger games.

But the answer is use an engine.

I used to both buy the rights and lease the rights to tons of small games though and then release them on steam. They were all made in an engine(unity, rpgmaker, xna, etc)

It is never faster to rebuild the wheel.
PSA: Panel Discussion on Confidential Computing
Intel's CTO Greg Lavender, Microsoft Azure CTO Mark Russinovich, NVIDIA VP Ian Buck and AMD CTO and EVP Mark Papermaster discuss the future of Confidential Computing
I think you got them wrong.

Bank customer data breach is not that rare.

Money in bank is "secure" because they are cross checked with counterparties. Their data leaks like everybody else.
> And I've actually been inside an organization or two.

Unless you're inside the mind of the CEO, it's not clear how this is relevant. And if the CEOs are acting irrationally, it's not clear that even being inside their minds would help, because the irrational tend to lack the self-awareness to see their own irrationality.

The professor doesn't claim to be inside their minds either. The point is that, empirically, layoffs very often fail to bring about any economic improvements to the company, and may indeed hurt the company in the long run.

It's a matter of penny-wise but pound-foolish.
This is the first video I’ve seen by him. I’m by no means a fan of clean code. But I think he’s making a fool of himself here. Picking out 1 code example from the book doesn’t proof that much on its own. This stuff is so language, os, hardware and compiler specific anyway.

The iPhone comparisons are extremely cringe. Real application do so much more then this contrived example. Something that feels fast isn’t the same thing as something is fast.

Would I advise beginner programmer’s to read this book? Sure, let them think about ways to structure code.

If he just had concluded with, that it is important to optimize for the right thing that would be fine. But he seems more interested in picking a fight with clean code.

And yes performance is a lost art in programming
I actually think these layoffs are for unrelated reasons but... If WFH makes everyone more productive, then of course employers need fewer staff. That's what productivity means for workers: fewer jobs, and worse pay as more people scrable for them.
Evidence in a micro benchmark of a single page of code.

The focus on performance here ignores the fact that most programs are large systems of many things that interact with each other. That is where good design and abstractions and “clean code” can really help.

Like all things it is about finding a balance and applying the right techniques to the right parts of a larger system.
Nice work! Good write up.
Having said all that I read this story on Axios. Either BS or Fiat and other firms have been given commercial access to ChatGPT.

https://www.axios.com/2023/02/28/chatgpt-ai-sell-fiat-cars
If you're talking about Handmade Hero, the real answer to programmer happiness is not using a language you despise and refusing to leverage the features of, not refusing to use libraries in that language or frameworks, not re-implementing everything from first principles, and to actually have your game designed first (not designing while you code.)
Your guess would be incorrect. One doesn't need to be a Jacobin reader to meet Jacobin readers.

Also you didn't explain why this question is crucial.
1. Cuts are companies preparing for recession. We are long overdue for a down cycle and every indicator says its here or on its way.

2. Workers increased salaries were passed to consumers. No problem until consumers stop purchasing. https://fred.stlouisfed.org/series/UMCSENT

3. In a recession cash flow is everything. For most companies labor is the largest variable element of cash flow.

4. Wages don't go down. Not that they cannot, they just don't. https://fred.stlouisfed.org/series/ECIWAG

Tin foil hats are a crutch for a lack of understanding, or a tool for total understanding. Which case applies to you?
The tech workers exiled from Europe’s last dictatorship
The idea that "a bicycle is a vehicule like car" has not worked the last 70 years. The only places in the world with large amount of cyclists are places that has infrastructure.

From my own experience living in a city centre without bicycle infrastructure; it was really hard to get relatives to enjoy going out on the bicycle. Now when I live in an area that has separated bicycle paths to most places it was become much easier. I have no problem with riding with cars, so I understand why one would like to argue that is the solution, but it took me at least a decade to hone those abilities to be comfortable.
People don’t go out of their way to root cause/introspect on things that benefit them.
Jan Marsalek, who shoulders much of the responsibility of this criminal enterprise was extremely cosy with the GRU and is now living in Moscow. I do think the fact that russian intelligence services are involved is pretty important.

It provides additional evidence to the hostility of the russian government to western countries long before the Ukraine war which is of public interest.

But this does not absolve the german corrupt poltical and buerocratic underbelly of this affair.
He was lucky to get Booking reference number from Baggage receipt which otherwise would have been impossible
It's telling that in areas banks don't have responsibility (criminals breaking into individual accounts and draining them for example) they are insecure. SMS 2FA, short pin numbers, etc.

https://www.bbc.com/news/business-64240140.amp

> He said Barclays told him it would do an internal fraud investigation which later resulted in Mr de Simone being held liable for all the losses.

> "They could not identify a point of compromise from the back end - to them it looked like the pin had been entered.

> "The only thing they could suggest was that someone knew the code therefore it's gross negligence on my part apparently.

In the olden days banks used to have decent security. Once you gain access to the account, to pay a new payee you'd need your bank card and pin number to do the 2FA. Now it's all the same phone.
Yes, I think it's a common case of getting the fact right, viz. branch == just a ref (true), but the understanding wrong, viz. ref == commit (false).

A commit is an immutable object. Whereas a ref is a pointer, literally a place on disk (a regular file) that holds an address (plaintext SHA) to the latest point in a logical chain of commits.

Meta remark:

This is also what makes it ok to delete a branch after it is "done", and why it is ok to merge a standard working branch (like "develop") repeatedly into a target branch (like release/master/main/trunk).

The semantic / meaning of a branch is transient. It is mutable conceptually and literally.

edit: formatting
Cheers is used as goodbye here in the East Midlands. If you were here, you'd hear plenty of Brits use it on a daily basis.
To be fair, scanning from a mobile device has almost zero discoverability. Few mobile OSes ship with a builtin "Scan" app in the same way that they all have a "Camera" app.

What modern societies need is a tax on feature non-discoverability; essentially providing a financial incentive for tech companies to ensure 100% of their features have meaningful uses for their users and that users can find these. At that point whatever details are economic will fall out w/o extended arguments of "what is right/best way to do X".
I found a book on folding algorithms a while back. It's called "Geometric Folding Algorithms: Linkages, Origami, Polyhedra" by Demaine and O'Rourke. I haven't gone through it myself yet, but I feel like they should have an answer for you.

(They also have a really nice course on MIT's Open Courseware that covers their book: https://ocw.mit.edu/courses/6-849-geometric-folding-algorith....)
https://clck.ru/33eDzF
> FWIW, In my area of the world I hear about non natives being bad but they often seem to grow very well, eg in the wild. So it seems to me that they are often well suited to the local environment. The concern then seems to me to be an implicit preference for what was already here over new comers. To me, seems a bit “anti immigrant” and I just can’t relate.

This seems like a plot of some South Park episode or Onion news article TBH.
Though I have used ffmpeg on images, too.
> That implies these were, as Graeber would put it, bullshit jobs.

...on the scale of a few months, maybe. There are a lot of activities that are essential to the long term health of the organization that can be abandoned for a little while: developing future innovative product lines, keeping infrastructure well maintained, having a full QA process compared to cutting corners, customer service tools and roles, etc.
Well, the study was not an RCT, so the authors by necessity argue for the presence of an association, but are technically not claiming a casual relationship (even if the wording does a heavy 'wink wink' at the reader). That, and apparently the findings were not statistically significant.

However, even if there is an association, and it is "causal", given this is not an experimental study, the relationship could well indicate a reverse causal link.

E.g., patients with a higher likelihood of developing colorectal carcinoma may be predisposed to increasing their beef / milk consumption, which then shows in non-tumour tissues. In this light, the association might even demonstrate a protective effect against cancer (or at least its early symptoms).

One can easily find a biologically plausible explanation for this too. One of the early signs of cancer is loss of weight / appetite. It would make sense that people might instinctively turn to more 'umami/flavourful', low-carb/protein-high diets, to stimulate their appetite and combat the weight loss; particularly in terms of muscle mass.

This kind of explanation might also align with your observation on cancer rates in Europe vs South America. (assuming detection rates are similar in the first place).
Your point is important because it puts the 'blame' in the right place. Many people tried to blame the Google layoffs on activist investors. But, if Google was innovating with new products and growth, there never would have been activist investors.

And people should not be mistaken, CEOs are on the hot seat now. Either cut more, show they are effectively using the resources they control, or be replaced.
It's still a rounding error compared to the bottles of cheap vodka and whisky (or whatever) in the rest of the city.
Quite funny seeing a complaint about transparency fade out as it gets covered by a request for $32 to read it.
Banks' true security is rooted in the real world.
I had no idea there were so many game jams. Neat website!
Apple didn’t go on a hiring binge. It didn’t hurt them.
Why is IMF against cryptocurrency?
Outlining its Executive Board's assessment, the IMF said directors welcomed the proposals and agreed the widespread adoption of crypto assets "could undermine the effectiveness of monetary policy, circumvent capital flow management measures, and exacerbate fiscal risks."
Yeah, crf sets the quality and 28 will make your video look like a blurry over-compressed mess. Congrats :)
> The real world is full of contradictions

So it was you who wrote the script for last season of GoT!
I'm curious to discover if an Anglish opposite favouring phrases from other languages in lieu of native ones exists.
You people are working for the wrong businesses.

My company and other SMALL businesses I know retain productive people through good times and bad. There's some shared pain in those bad times, and shared upside in the good. Why? Because we're human beings, in a small tribe, and we care about each other.

This falls on deaf ears when I'm interviewing and candidates want the prestigious name on their resume, or a game room in their office, or mega-benefits small businesses cannot provide.

I've had two productive employees leave my small business for big corporations. Two came back. One started their own small business.
Already in his first example, where he says he doesn't use range-based for in order to help the compiler and get a charitable result, he doesn't get the point, I think. You write code in a certain way in order to be able to use abstractions like range-based for, or functional style. If you are hand-unrolling the loop, or using a switch statement instead of polymorphism, you loose the ability to use that abstraction.

Esentially the whole point of object orientation is to enable polymorphism without having big switch statements at each call site. (That, and encapsulation, and nice method call syntax.) When people dislike object orientation, it's often because they don't get or at least don't like polymorphism.

Most people, most of the time, don't have to think about stuff like cache coherency. It is way more important to think about algorithmic complexity, and correctness. And then, if you find your code is too slow, and after profiling, you can think about inlining stuff or using structs-of-arrays instead of arrays-of-structs and so on.
> Has Mark become distracted from his VR obsession by AI?

Possibly more like "people in our VR spaces aren't finding many other people to engage with. Let's generate AI partners that are hard to tell from real people to make up for that."
YUV420p is the only pixel format that all H.264 compatible decoders MUST support. Other formats are optional.

In practice that means that most hardware decoders (not just iPhones, also other phones, TVs, older PC GPUs) won't be able to decode YUV 4:2:2 or YUV 4:4:4 videos.

It's kinda annoying, since YUV420 really messes up red text in screen captures for example.

You need this parameter to force ffmpeg to convert the color space if your input isn't YUV420P (it defaults to keeping the input pixel format to avoid quality loss).
That's surprising. I haven't used MSVC 6 in over two decades, but I remember gcc2.95 (redhat patch was 2.96) being significantly slower and clang didn't even exist. But we had pretty cool trance music at the time.