skysight-inc/HackerNews huggingface dataset:
Eg. Maths, physics, poetry. All dominated by the young, as pop music.

Note that I'm talking about creative brilliance - ie the outlier contributors that define or excel in the forms - not workmanlike producers of commercial trustworthiness as in your example (though I would assume that generally the same trend holds).

I said "some" because I'm aware that some fields (eg literature) do not follow the clear example in those.
That's my point, they are not officially banned, but they're just "not available in the app store" (which is effectively banned, just not under that name).

But that overt request was unusual. Most apps are simply removed as part of Apple's "compliance with local regulations".
As the author of the library referenced in the linked post, I'd like to add a small clarification, in that the example in the README.md was not one specifically cherry-picked to demonstrate an unrealistic advantage, but was chosen simply because it's a widely recognized example of a CPU bound algorithm. In reality, this example actually does more to demonstrate one of the major weaknesses of this library, which is the significant overhead exhibited by the FFI interface between Ruby and Crystal for trivial operations.

This particular example crossed this painful divide 1 million times. I found it interesting that despite this disadvantage, the Crystal implementation was still able to take the lead over my identical, naively written Ruby implementation (warts and all). As the author of this post points out, for trivial operations crossing the interface at high frequency, finely tuned Ruby will easily take the lead!

That said, I still believe there are times where having the ability to write and interface with a performant, precompiled language (that is somewhat familiar to the average Rubyist) in an ergonomic way that avoids the need to context switch can be beneficial.
Sure, performance is unlikely to match a finely tuned (but arguably more difficult to maintain) C or Rust extension and ergonomics are unlikely to match an approach that sticks to pure Ruby, but it exposes a new middle ground, which at times, may just hit the right spot!

I'd imagine realistic examples of where this type of library could be useful might include:

- Providing an easy way to expose and use high-quality Crystal shards from within your Ruby program.

- Allowing you to easily write performant CPU or memory-intensive procedures for which reusable native libraries do not exist, and where the majority of the overall execution time can be spent within Crystal.

- As a way to glue several different smaller Crystal shared objects together into a single application using Ruby glue code, allowing you to avoid some of the high compile times you might typically see with a large monolithic binary.

I would definitely not suggest this library has any business:

- Blindly replacing swaths of Ruby methods, without any tangible performance metrics to back this decision.

- Replacing code that is already highly performant in pure Ruby (whether that's code that lends itself well to being JIT'd, is backed by an existing native library etc.)

Funnily enough, if you take a look at the commit history of the project, you'll notice that last week I actually replaced the referenced example with one that better demonstrates a performance difference (even compared against YJIT) and crosses the FFI divide only once. This came as a result of having to introduce a Reactor to get the library to play nice in multi-threaded Ruby applications, which regrettably added even more overhead to the FFI interface and further hammers home the point that this library is not going to perform well in cases where you need to jump between Crystal and Ruby at high frequency.
> hub motor design

This is not a hub motor design.
Does anyone here get genuinely useful suggestions from Copilot?

I found it amazing for 1 thing: filling up verbose configuration like Terraform or Kubernetes manifests.

For code, it’s horrible, to the degree that I spend more time rejecting Copilot suggestions or having to extensively modify the ones I accept.

I stopped using it couple months ago
Have been using GPT-4 for code generation on RTCode.ai for months. It was magical before turbo. It is still the best at complex tasks and vision. GPT-4 did just know what my 10 years-old, extensible, type-and-source-polymorphic, non-linear applicative parser combinator library for F# 3+ would produce given just the examples! (Not even sources or types.)

Have also been using Claude 3 Opus recently. Opus follows my style exactly and is better at making edits to longer code. When things get really complex, it tends to fail at tasks where GPT-4 (turbo) still delivers results.

Gemini 1.5 Advanced which is a lot faster and sometimes the only one to come up with non-convoluted one-liners that meet the requirements exactly.

So, as of today, my experience is,

- best vision & complex reasoning: GPT

- best style match: Opus

- best speed: Gemini
Apple also worked on reducing seizures:

https://github.com/apple/VideoFlashingReduction

https://developer.apple.com/documentation/mediaaccessibility...

Apple users can dim flashing lights in settings

---

(https://news.ycombinator.com/item?id=35332531)
For OpenTofu specifically, having DI for implementing state encryption would have been really nice. Of you look at the PR, a lot of code needed to be touched because the code was entirely procedural. Of course, one could just make a global variable, but that is all sorts of awful and makes the code really hard to test efficiently. But then again, this is a 300k line project, which in my opinion is way beyond what Go is really good for. ContainerSSH with 35k+ lines was already way too big.
I guess they were just leveraging synergies between pharma company and pharma regulator. Isn't this all Ivy league management education about.
I rented for almost my whole life. The change is convenient, but really not life changing. Definitely not "life worth living" level changing.
Thanks so much for all your hard work on both of these awesome libraries. react-beautiful-dnd (and @hello-pangea's fork) have been really nice to use. Excited to try pragmatic-drag-and-drop!
The high levels of light outside almost certainly helps too.
That’s what I thought too in the beginning but that’s because the demos were always about writing a comment telling the Copilot something like “// write a function to sort this array”, but in reality it’s just a better auto complete for me where I just write the regular code like “func Delete(“ and it auto completes the parameters and the boring crud code for that function.

At the current time it’s not that magic for me but more a small speed up with smarter auto complete.

In future iterations when it knows your whole code base, everything you see on the screen, your microservices and how they are connected and manipulated multiple files at the same time that’s when it would become more interesting to me.
esp32 s3 or c6 can be better to get started with:

https://gist.github.com/sekcompsci/2bf39e715d5fe47579fa184fa...
Witness a fascinating conversation between Reid Hoffman and his AI-generated digital twin. Using advanced AI from Hour One and Eleven Labs, this digital twin not only looks and sounds like Reid but also thinks like him, based on decades of his personal content. This self-interview explores deep insights on AI and technology, testing the boundaries of digital identity. Check out the full interview and see how close AI can come to mirroring human thought.
I am 45+ and constantly and exclusively seek out new music, rarely listening to anything more than a year old. However... I think this may have as much to do with a life-long novelty seeking manifestation of ADHD than anything entirely neurotypical. But I'm okay with that!
I think go makes more sense if you imagine spending more time reading MRs and code than writing it.

Standard go error handling maximises for locality. You don't see many "long range" effects where you have to go and read the rest of the code to understand what's going to happen. Ideally everything you need is in the diff in front of you.

Stuff like defer() schedules de-alloc "near" to where things get allocated, you don't have to think about conditionals. If an MR touches only part of a large function you don't have to read the whole thing and understand the control flow.

The relative lack of abstraction limits the "infrastructure" / DSLs that ICs can create which renders code impenetrable to an outside reader. In a lot of C++ codebases you basically can't read an MR without digging into half the program because what looks like a for loop is calling down into a custom iterator, or someone has created a custom allocator or _something_ that means code which looks simple has surprising behaviour.

A partial solution for that problem is to have a LOT of tests, but it manifests in other ways, e.g. figuring out the runtime complexity of a random snippet of C++ can be surprisingly hard without reading a lot of the program.

I personally find these things make go MRs somewhat easier to review than in other languages. IMHO people complaining "it's more annoying to write" (lacking stronger abstractions available in many other languages) are correct but that's not the whole story.

P.S: For Close(), you're right that most examples skip checking the error and maybe it would be better if they didn't. It only costs a few lines to have a function that takes anything Closable and logs an error (usually not much else you can do) but people like to skip that in examples.

type Closable interface {
Close() error
}

func checkedClose(c Closable, resourceName string) {
if err := c.Close(); err != nil {
log.Printf("failed to close %s: %v", resourceName, err)
}
}
The wildly unsuccessful companies also run as absolute monarchies, as well as the wildly successful companies that became wildly unsuccessful due to poor decisions made by the monarch. Most CEOs barely understand how their business operates, and they rely heavily on the layers of management underneath them to make and enact decisions. The same is true of monarchs.
Not only this opiod thing but this McKinsey outfit has singlehandedly responsible for Canada's recent immigration policy which many regard as failure with a strangely generous contract awarded by Trudeau

It's rather bizarre to hand off key policies such as immigration to a foreign consulting company, one which is controversial enough.
Rivian originally planned to put tank turns on their vehicles but then cancelled those plans. They found that the tank turns were turning up the soil to a destructive amount and did not provide much actual functionality beyond just looking cool.
A fork was inevitable, it was always an effort to unbundle the data/analysis/science from the author.
This might be an unfair statement but it really feels like all of these blogs don't know why. They copy/paste each other (you often seem the same errors in multiple notebooks/blogs) and I have a feeling no one really deeply understands what they're doing.
Lenovo ThinkPad P1 Gen 7 Debuts LPCAMM2 Memory Alongside Intel Core Ultra CPUs
Show HN: Mantis Free React Admin Dashboard
Mantis is a free and open-source React redux dashboard template made using the Material UI React component library with the aim of flexibility and better customizability.
As predicted here by several people on the license change.
Yes, humans are entirely predictable; that's why i deliberately act random sometimes, to prove I am aware of this predictability, albeit this is still predictable.
I'm not calling you a sock puppet of China here, your username indicated a Chinese background though.

The tracking/propaganda dangers of TikTok are unrelated to freedom of speech, as banning TikTok doesn't affect freedom of speech.

People can spread their opinion on any other app.

Note : I'm responding and sharing my opinion for the following you mentioned:

> The China's own social media is full of posts ridiculing people like me who have believed in the American ideology, espoused the virtues of freedom of speech and rallied against the GFW. They call us naive and credulous. And I can't refute them.
This has been in the works for at least 2 years, so "rushed" doesn't seem right.

The difference is that Mark Zuckerberg will put on a suit and go and get yelled at by members of Congress for a few hours.
that is already exactly how it works. The problem is that how confident it is has no relation to whether it actually knows. I can confidently spout bullshit all day long, if need be.
Man, something about Spain is truly magical. For you I imagine it’s different since you grew up there (I get it, I’m from Alaska and it’s nice but it’s not magical like tourists see it), but for me, I remember reading Homage to Catalonia as a kid and thinking “I have to go to Spain one day” then later in life when I went, I backpacked through El País Vasco (and the rest of northern Spain) and just fell in love with that country.

If I can get a remote job, my wife and I are strongly considering how we could move there. Spain is the most fascinating place I’ve ever been and the place just… feels right? I don’t know how to describe it. It’s the only place I’ve ever felt like I fit in. Eskerrik Asko / Gracias for taking me back to a series of Camino sense memories.
give Cody a try.
If it's really their due, you should give it to them. This value system where you have to punish people if they don't have the "right" views needs to stop. Would you like someone to do that to you? If they did good work, it doesn't get infected by whatever "issues" they had.
Looping Soup
There is always the option to detain them in Canada and maybe, possibly extradite them to the US (or not).
New Video of Strong Full Levitation of Pcposos Room Temperature Superconductor
I’m just diehard I guess, serious evolutions in my preferences and new artists I love almost weekly. Huh!
The "Mike Hunt" Cubase for atari hack.
> Other countries make these things much more efficiently because they don’t have regulatory capture by old companies.

This contract is for cutting edge unmanned fighter jets. Other countries don't make them at all!
Thinking of Databases as Spreadsheets
Databases are just big spreadsheets. That's the mental model this article explores for understanding how indexes work.
By framing databases as spreadsheets, the article provides an accessible way to reason about index selection and ensure performant queries. It's a helpful read for developers looking to solidify their understanding of how indexes really work under the hood.
you are your long term memory,
> they have a hard time finding other opportunities due to a combination of overly narrow experience and ageism

I too know several lifers at IBM. One thing I've realized is that staying loyal to a company over several years won't save you from ageism.

Your best defense against ageism may be to save more than 50% of your tech income for about 20 years, then move into management and build empires until the music stops.
The laws don’t exist. China has a constitution that guarantees freedom of speech, assembly, press, religion, etc…so actually writing a law that censors the internet isn’t very feasible. The official class just controls the courts (no judicial review allowed) so can do whatever.
>Also I have no idea what this has to do with “diversity” or what you even mean by that.

Diversity, or "the condition of having or being composed of differing elements"[1], in this case a wide variety of suppliers.

I assume most of us are speaking English here.

[1]: https://www.merriam-webster.com/dictionary/diversity

>Limiting themselves to a few expensive and stagnant vendors is a way to lose in the future.

You win wars by buying your equipment from the most capable suppliers. If that happens to be a centralized cabal of suppliers (this stuff is expensive, after all), then it is what it is. It's not the mission of the DoD to diversify the economy, its mission is to win wars as effectively as possible at any cost.
Gödel gave an example of this by making a system of arithmetic generate statements about itself, and proved that it can't generate all possible truth statements (completeness) without generating some false ones (inconsistency). So, logic as cold machinery can start from the same axioms to prove that something is true in one path and then prove it false from another path. Logic is a world with its own rules that we can map reality onto sometimes but not always. The book Gödel's Proof does a good job describing this.

A larger and more devastating argument I've heard recently is that in order to even create logical statements, you need to be arguing from a worldview that can give an account for the existence of logic that isn't arbitrary (e.g. not "it just is"). And the argument goes that if you can't justify the existence of the tool, you can't justify its usage. This is devastating because if you believe it, then you suddenly must recognize that something prior to and higher than logic must exist in order to inform you of its existence, and it is not subject to the bounds of any logical system founded arbitrarily, but becomes the means by which logic itself coheres into something meaningful.
To be fair, China never claimed to be the bastion of free market capitalism.

America did. Still does. And now it’s banning and regulating superior products off the market.
> What do you find useful? In what way does it improve your workflow?

It's a better auto complete. When I'm writing markup it has surprisingly good suggestions for labels/placeholder/whatever.

> Are there tasks where you explicitly avoid them?

I don't use it to fix bugs/errors. Occasionally I try and see what it comes up with. it has never once successfully fixed anything in my entire history of using it.

> How often do you find bugs in the generated code (and a corollary, how frequently has a bug slipped in that was only caught later)?

Since it's just typing what I'd expect to type myself, I probably have the same bug rate as before. I haven't seen it insert off-by-one errors (yet). That's probably the most likely one I can imagine missing.
Yes, I'm sure they'll fine them, and Apple will laugh. That 'massive' $2 billion fine is the world's most gentle slap on the wrist for a company of Apple's scale. Their European revenue was $89 billion 2021 and had been regularly growing, so it's easily upwards of $100 billion. [1] And their global revenue is $383 billion. They likely earned vastly more than $2 billion from the bad behavior alone.

Imagine you earn $100k a year, it would be the equivalent of a $520 fine - a speeding ticket. And it won't just be the $520 fine. Apple will appeal and drag it through the courts for as long as possible, both reducing the cost of it due to inflation, and also potentially getting the cost itself reduced. So you create a scenario where at the end of the day, we can engage in all the behavior we want and all we have to do is deal with a speeding ticket every once in a while, all the while the bureaucrats pat themselves on the back for really cracking the whip. This is not even close to a deterrent.

It's the ongoing practice of treating massive corporations with kid gloves, while behaving brutally towards small businesses or individuals - when, in an ideal world, it should be the exact opposite. And again, we're back to the trust issue. Because obviously the reason they're being so gentle is because they want to have the headline of really cracking down on e.g. Apple, but don't actually want to risk Apple withdrawing from the EU. And that conflict of interest will not go away, and thus will guide their future actions as well.

[1] - https://www.globaldata.com/data-insights/technology--media-a...
Which also reminds me of "You are the average of the few people you interact the most with".
Co-ops are a capitalist business model.
The Wikipedia article on McKinsey is over half just discussing various controversies: https://en.wikipedia.org/wiki/McKinsey_%26_Company#Controver...

This is a company that has fueled (among other things) the Enron scandals, opioid epidemic, Saudi repression of dissidents.

Some of this is--as a big consulting company--it has its hands in a lot of things, so some of those things are bound to be unpleasant. But it's also clear that there doesn't appear to be much of an ethical filter for what work it takes on. I honestly would be more surprised at this point if McKinsey hasn't helped plan out a genocide.
If it were me, I'd lock down what relationships and tech I could, and let it fail.

Then reboot with a new entity featuring similar business model, keeping the talent and customers and leaving the chaff (including CEO) from the old firm to fend for themselves.

Even investing your own money in this fatally flawed business is throwing good money after bad. That's a much tougher ask for investors than a reboot.

As you let company A fail, use your spare time to get company B lined up and ready to launch so it's turnkey.
When I got back to NYC I said to my boss (our CEO) "we should probably buy HashiCorp" and he said "Yeah, probably" and then we never spoke of it again. We both knew the problem, even if we could have got it together to make an offer and had they been interested, we were growing considerably too quickly to integrate another business. It was a fun idea, and we had a good time entertaining it, but it wouldn't have worked.

My shopping list during those years was NPM, Deis, Hashi and BitBalloon (now Netlify). These days: I generally think startups should do more M&A!
The point is made.

Anyone who says "cheer up, it's OK, all is great in Australia, you just need to smile, take a walk, smell the roses!", they always own a house.
I still write a fair amount, I just don’t write book reports. The environment I find comfortable for reading isn’t conducive to taking notes that would be needed for writing later.

If there is a particular passages that really stands out I will note it down. I have a little collection of those (and other quotes) I sometimes read through.
I was just excited to be the “networking guy” who got all the PCs to talk to each other. NetBEUI was the trick IIRC. And Quake 1 multiplayer was great! Vaguely remember a multiplayer mod named Rune?
I’ve used both, and I’m actually more productive with the ESP8266 because it is so limited - I can usually squeeze in a minimal implementation of one or two things and that’s it. With the ESP32 there’s always other options, and it means I have to make more decisions, so I end up getting bogged down in irrelevant stuff
Most mammals are born with eyes that don't have a depth (and hence optical focus) set correctly for sharp focus on the retina.

The eyes need to use auto focus mechanisms to tune growth rates to correct for this. If something goes wrong you end up with vision problems.

The brain isn't born able to process visual images and needs training data. If the input from one eye is much inferior during learning image fusion it's input is just discarded and you end up with a lazy eye.
Is all Typescript unreadable, or is that just your style?
There's a trick when reading nonfiction: read the table of contents, then flip ahead and read the entire index. You now have a good understanding of what topics the book covers, and where in the book they are. You can crank through a stack of 10 or 20 books and get a good sense of which ones are really worth reading. 'Half of all knowledge is simply knowing where to find the knowledge.'
Not a problem as long as there are other tools to speak. You have no right to YouTube or Facebook because neither are necessary for your free speech. This isn't complicated.
The Age of Rebellion
I'm hackernews
The law doesn't technically prohibit this, but the President has to sign off before the app becomes un-banned, and the law does specifically call out "any cooperation with respect to the operation of a content recommendation algorithm" as the type of thing that the executive might take into account. So just renting a black-box recommender from ByteDance would likely be a no go.
Any resources on how you made your diy thermostat? :)
book: https://www.learnenough.com/command-line-tutorial/basics

hook: https://github.com/m1guelpf/plz-cli