skysight-inc/HackerNews huggingface dataset:
Agree with this, Zig and Jai seems to be the most ergonomic in this area (types can be checked and manipulated in compile time as easy as values in runtime).

But what I’ve mentioned is also very related to the ergonomics of compile-time metaprogramming, since these techniques are all useless if it severely increases builds times up to the point that developers have to use it sparingly. Only Nim and Jai has fully gone the route of using a bytecode VM for compile-time evaluation, while D had a similar project back in 2017 that was abandoned, and for other languages (C++, Zig, etc.) it’s still in the planning stage.
It's $6-7/gallon in Silicon Valley, so a bit under $1.89/liter, which is nuts for the US. If the taxes on it paid for trains or unicorns or something, I'd be fine with those prices, but they're mostly fixed (and now tiny, as a percentage) amounts per gallon, so it's pure profit for some business or another.
Google is a solid business with a bright future.

If they actually worked out their cloud offering then it would be even brighter.

Crypto is not comparable to companies like Google. If you’re looking for tech companies that might suffer, you’re looking for one trick ponies that can’t innovate - maybe look at Facebook.

Google has a strong focus on engineering and academic smarts. That has big downsides that might prevent them from making truly great user-centred products, but it’s also a robust philosophy that will ensure that they endure. I expect Google to be around in 2100. Facebook no. Coinbase absolutely not.
IEnumerable is to C#/.NET, what std::begin() and std::end() are to C++, and LINQ is to C#/.NET what <algorithm> is to C++. Both interfaces and libraries respectively are the bread and butter of both languages.

I love both languages, and sincerely hope that C# is able to compile to native at some point in the future; there are already some efforts to compile it to WebAssembly with LLVM [0].

[0]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...
>PR mess on your hands

The idea that this doesn't require face to face handling simply chills me to the bone. Is this how we're preparing for the worst economy in fifty years?

edit: PR used to begin with word of mouth. Just because we're online doesn't mean you can sh*post excuses and be done.
Alquist Says It Will 3D Print 200 Houses in a Small Virginia Town
Russian Botnet Disrupted in International Cyber Operation
> why would keep anything on your phone that would incriminate you?

Given the epademic of people recording or live streaming themselves committing crimes its probably worth it.
The EU will ban 200 PFAS compounds based on common properties in 2023. Maybe this is a start of a useful trend.

https://chemsec.org/eu-puts-200-pfas-out-of-business-but-tho...
The Economist has pointed that out. Few countries in Europe seem to be set up to do this.
While that may be bad, it is rediculous to call that a cult.
No it’s a bargaining tactic. We won’t work for a dismal wage. It makes a statement. This failure is worth a lot.
This is fantastic. Very well done.
redbean was originally intended as a locally running web server, sort of like an Electron competitor, where you launch your GUI in Chrome, rather than linking a copy of Chrome into your executable.

We live in a fragmented o/s world. If you're someone like me then you've got a Macbook from the office, a Windows PC for games, a Linux workstation for compiling code, a FreeBSD server, an OpenBSD router, etc. When you're dealing with so many different systems, sometimes just having something as simple as a sed command that works reliably the same seems like an impossible ask. Now we've got an entire app platform that works on the lion's share of PCs/servers in a small 1mb file.

It's also a question of being able to distribute code. I used to work on the TensorFlow team. We were tasked with building an open source library that people on pretty much every platform imaginable would use. It broke my brain just how difficult it was for us to ship open source binaries that actually work and don't cause an avalanche of GitHub issues. Even just working on more than a few Linux distros felt like an impossible ask back then. Now that I've figured out how to do it for every distro and seven operating systems total in just one file, I wish I could go back in time and use tools like redbean and Cosmopolitan Libc to fix all the things with TensorFlow that I wish I could have done. It'd've been a different project.
Seriously?
OK https://en.m.wikipedia.org/wiki/Apostasy_in_Islam
I do know what it means. That doesn't mean that everything done while in that relationship has anything to do with romance. Sometimes eating is just eating. This isn't making up definitions. It is acknowledging there is a vast difference to what folks call "date night" and stopping to eat on the way home from a destination. Sometimes eating is just eating.

Calling me childish for having that view seems childish in itself. I'm simply not romanticising everything.
That's not actually true. If you look at personality tests based on Big 5/Neo-Pi, which are the most accepted in psychology, scores on conscientiousness and the underlying factors like "order" can be completely opposite to the parents
Moving to a union environment has left me working fewer hours, getting better benefits, and more than doubling my salary. I'm glad things worked out for you [presumably in what is currently one of the hottest occupations], but a union has been a boon to my total compensation.
Zero connection. Just literary license.
If you click on it as soon as it's taken, it opens in an editor. The editor isn't Preview I don't think, but damned if I can tell what it is.
The entire point of these hidden files is that the user should never see them. Otherwise they’ll think, what’s this nonsense?, and delete them.

It should be difficult to see hidden files. And it is!
PFAS regulation coming next year (2023) for 200 compounds

https://chemsec.org/eu-puts-200-pfas-out-of-business-but-tho...
This is because the EU wants to have a common market but refuses to have a common deposit insurance scheme like the US FDIC, so now they've developed continent-scaled banks without a continent-scaled way to save them.

A bunch of the euro crisis government bailouts happened because governments went underwater trying to save their banks.
I'd rather open the code and show what I'm talking about, however I can not.

Let's say I'm making a lot of numerical calculations which are fed from a lockless queue with atomic operations to any number of cores you want, where your performance is limited by the CPU cores' FPU performance and the memory bandwidth (in terms of both transfer speed and queries that bus can handle per second).

As I noted below, that code can complete 1.7 million complete evaluations per core, per second on older (2014 level) hardware, until your memory controller congests with all the requests. I need to run benchmarks on a newer set of hardware to get new numbers, however I seriously lack the time today to do so and provide you new numbers.
This is true, my last car (Lexus RX), every time I took it to the dealer for oil changed or inspections it mysteriously always needed $1,000+ in repairs. Then I started taking it to an auto shop my friend recommended and suddenly I never had any more repairs to do.

Then I got a model 3 and for the last 3 years I’ve only had to do 2 things: replace tires and have a sensor in the driver’s seat replaced which was done quickly and for free. I am never going back to ICE.
You're comparing 10 to 10, so of course an SSD will only help in that situation.

But if any parts of 10 are sufficiently badly coded compared to 7, that will overcome the drive. And some parts definitely are, especially in the start menu code.
command-shift-4 allows you to drag-select a rectangle. While dragging you can hold down spacebar to switch to moving the selection instead of resizing it. neat feature!
They were the first roads built. They could do whatever they wanted in an age with no civilized settlements or pre existing structures.
On CPUs you can't really force data to stay on the cache, but if you access it frequently and there is not too much load, it will stay there anyways.

Some architectures (e.g. GPUs) provide local "scratchpad" memories instead of (or in addition to) caches. These are separate uninitialized adressable memory region with similar access times to a L2/L1 cache.
Shift+CMD+5, adjust rectangle, CMD+C

Paste on your iPad

Clipboards are synced through iCloud.
as calculator `node -p "15*15"` works well too
They use "ToArray()" in several places, "ToList()" is perhaps more common.

This operation is technically called "to reify" the enumeration", or "Reification"

From the dictionary:

> reify: make (something abstract) more concrete or real.

https://dictionary.cambridge.org/dictionary/english/reify
I thought I remembered the name Jon Williams, so I looked it up on Lemon64... and it seems that you and Jon worked on one of my favorite games as a kid, C64 Back To The Future 2! Somewhere around here I still have my genuine boxed retail copy. I remember it as one of the few games I was absolutely determined to complete to the very end. I might have to break out an emulator and give it another play for nostalgia (still have my C64 too, but haven't turned it on in a long time). Thanks for working on that, it made the little-kid version of me very happy!
In the early 2010s while learning C# and porting a Delphi app to Windows Forms, I learnt about this and many other C# features and patterns thanks to a ReSharper free trial which I used heavily for all of those 30 days. If it's as good now as it was over 10 years ago, I highly recommend it for every C# developer who uses Visual Studio.
Yes, Jesus was just another guy that got crucified.
Then you are back to the macOS key combo shortcuts, surely? Memorise the one you want and then it's comparable.
Like many professional orchestra members, they likely made much of their income from teaching and other related activities. One of the advantages to being in an orchestra is the recognition it brings in attracting students and gaining employment at summer festivals and universities. However, if the orchestra salary drops too low, it probably isn't worth the time anymore.
I enjoy learning enough of novel (to me) languages so that I can do some fun stuff.

Usually when I look at a language One of the first things I do is look for familiarity: How to map, filter and reduce - and how to work with collections and lazy enumerables, whatever they may be called - IEnumerable, generator, Stream, etc.

It’s amazing how similar many popular languages are these days, at least in terms of developer experience. This doesn’t mean they are trivially interchangeable of course. You can’t write Elixir in an idiomatic C# style and you shouldn’t try to!
They do have some effect on lobbying etc, but I'd agree they are not the major driver.
Surprised to see a 2022 post about this without mentioning IAsyncEnumerable which is the companion to IEnumerable for async and allows async lazy eval of *each iteration*.

We’re using it extensively and coupled with the syntactic sugar that enables its consumption in foreach, it makes the code look as elegant as a traditional synchronous enumeration.
This has nothing to do with defeatism, OP points out the flaw with idealising regulations willy nilly without having a mechanism to make sure it doesn't get exploited (that mechanism often being the people understanding the issue and thus having a stake in it).

A good example is direct democracy in Switzerland, the key reason to why it works is that people are 2 things, Switzerland big focus on education and the vast information of the for, against, status quo option the citizens are presented with.

Without these things the Swiss would be very vulnerable to demagoguery.
> When the thumbnail of the screenshot appears in the lower-right corner of the screen, click it

What's this app called? I'm embarrassed to admit I can't tell, even after trawling activity monitor.
private chinese companies exist to enact ccp policy

the public/private distinction from western countries doesn't exist in the same way over there

to say it's more privatized would imply the government has less control, when clearly the opposite is true
Do you mean regular clipboard text? You can do that with: ⇧ ⌥ ⌘ V

This is not necessarily supported everywhere though...
They filed chapter 7. It’s gone. Many symphonies around the US are struggling with money. If your income can’t pay the bills, you can’t operate. This isn’t the first one to shut down and it won’t be the last. Patronage is declining.
Any. Plausible. Framerate. Has. The. Same. Effect. For. This. Story.
The title says why with a question mark at the end.
It only depends on motivation and time dedication. Anyone can be a developer.

Also if you go past the 3 main desktops there are many many window managers, standalone launchers, panels from which you can pick up the pieces you want to build something you like.
Ancient Roman soldier carved a phallus with a personal insult on stone
On very busy urban systems, one major advantage of CBTC is that the signalling blocks (the section of line that only one train can be in at a time) can be smaller, since the possibility of a driver failing to notice a red signal can be discounted. This increases the number of trains that can be run on the same line.
FWIW, Schwab doesn't have Zelle
"functioned well and was reliable" _is_ UX. Having a pretty site might improve the user experience, but being broken and unreliable will have a far bigger impact.
It's worth mentioning that JavaScript has had this feature for a while now, most likely inspired by C#.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
The reactions here so far are ridiculous.

These are professional musicians with real skills, each of them with many years of training. They walked because the best case scenario was their already meagre salaries being cut.

They weren't making dev salaries after a few months of a boot camp.

After years of dedicated study, the average salary for a symphony musician is about $70,000.[1] The San Antonio musicians already only made about half that to begin with[2] and then management cut that in half - base pay of a little over $17,000 a year.

And for the people claiming this was bargaining failure, no, this ended the failures. The bargaining failures happened over many years. Many years of accepting wage and benefit cuts over and over without making management offer something in return. They didn't bargain in the past. They just rolled over and showed their bellies.

[1] First link that popped out at me, but similar numbers in other places:

https://work.chron.com/pay-scale-average-member-orchestra-52...

[2] https://www.expressnews.com/entertainment/arts-culture/artic...
That's pretty funny. I assume this is in reference to the render project: https://rendertoken.com/

Basically a distributed rendering blockchain, where participants perform actual useful rendering in order to earn the token.

I don't know too much about it though, or whether there's actually much demand for on-demand rendering. I'd assume most potential "customers" would have concerns about their workloads being accessible to the public if they're working on something proprietary.
Yes, same experience, but I wish there was code formatting in Notes. A lot of my notes are code snippets and Notes fails there. I've recently switched to Obsidian with the iCloud drive backup and trying to get used to it.
You should read the article, not just the title:

"And to muddy the waters just a little, not all iterators are synchronous; there’s also an IAsyncEnumerable interface (you can loop through it with await foreach)."
A community of founders who do regular UX tests for each other
As far as I can tell, embedding images into org documents still requires saving them to a directory and linking them. I can't seem to find a way to get it to actually embed the image data into the document, for example like a base64 data URL or something.
With such a vague explanation, my cynical side kicks in and fills in, "You're too poor, bye." Maybe there's a better reason, but they don't even try to explain.
I don't know the timeline but it's interesting how c#, js, python, php and maybe others got generators around the same period.
Precisely. Just as the "Go" menu in the Finder doesn't contain the Library folder, because the user generally doesn't need it. As an advanced user, you can pop open a Terminal and `open Library`, or you use a shortcut: press Option while in the Go menu.
HTML and CSS in emails are still outdated
Unity elegantly abuses these to provide a coroutine support. Basically you can “schedule” an enumerator to be run on the game loop. Engine iterates one by one on the iterator each frame. Can use for animations, delays etc.

It looked weird first time but makes sense.
What a coincidence, I am just going through the C# in Depth chapter about iterators and this pops up on the first page of HN :D.
I don’t think it’s just about the easy money. I think it’s about confidence and a bubble. Crypto is the biggest bubble of all, and everyone knows a bubble is going to pop. It lasts until the big guys lose their nerve and start pulling out, which is what we’re seeing now. They’re losing their nerve because they can see the economic tsunami coming from a variety of directions.

I’m concerned that the decadence of the west has now led to a series of get rich schemes that create bubble after bubble, providing successive paper booms that are bailed out by governments. The problem is that the consequences of each bail out accumulates, so this broader cycle seems itself unsustainable.

Western economies need to get back to real wealth creation. A good test of that is - can your economy solve real physical problems? Can it feed itself? Can it produce what you need in a pandemic? Are there goods and services that are universally in demand over the long term, which you produce better than anyone else?

It’s like growth of GDP has become this silly KPI that our governments obsess over whilst ignoring what’s making that happen. You can grow GDP by destroying the environment or running a Ponzi scheme, but what you really care about is the underlying strength of the economy.

The U.K. was heavily exposed by covid, in terms of its manufacturing capability and its managed response. We looked weak and disorganised. Now we need to learn from that and focus on growing a diverse and solid economy that is powerful and flexible enough to respond properly to challenges like the energy price hikes.

But I suspect the next bubble will grow just like crypto and our government will continue to pretend everything is ok.
Depending on how much time it takes to query your model. If it takes significant portion of your time budget, you could just put a reverse proxy in front of your models and make it route the traffic. I would architect your workers around homogenous traffic as it would be easier to calculate the capacity, and route the traffic, via paths, on the proxy.

In that case, you trade off safety whilst the setup is still simple. But if querying the model takes less that 100ms I would argue whether thats cpu/memory intensive at all. Remember that you still need to allocate and populate the memory, and Python doesn't free the memory back to OS.
That only applies to homo economicus.
One of the most exciting parts of online development in recent years has been a substantially higher level of consistency in web browser support for new HTML, CSS, and ECMAScript (JavaScript) standards. Despite the addition of new capabilities such as media queries, flex, rem units, and more, the same cannot be said for email clients.

Where do you find innovations in emails?
> they call the police and tell them a home-jacking is ongoing

Who show up three hours later and shoot your dog.
You have exactly the same kind of factory from 3M Chemours in Dordrecht in the Netherlands. I wonder how many more sites are there like this.

It seems to be the pattern with these companies looking at the Virginia scandal and the Zwijndrecht site in Belgium. Pollute as much as you can for as long as you can and then contain the damage once the litigation starts coming in.
Musk, the CEO of Tesla and SpaceX, recently described himself as a "free speech absolutist."
Twitter flagged the tweet as offensive, but AWS reached out and suggested filing a ticket through a different channel.
DEI has its own cult leaders that set definitions many people would not agree with but tend to become mandatory dogma. Example is sexism, racism and topics relating to gender. It is just as ideological, maybe it has another algebraic sign but the animosity is easy to see. Problem with DEI is that it has official support contrary to this cult, which shouldn't have leadership positions as well of course.
Why can't we have a language easy to read and maintain but also have the speed of C?
Unity (the game engine, not the desktop environment) uses this concept heavily, although they use the slightly older IEnumerator instead of IEnumerable ¹).

It usually takes people a while to wrap their heads around it and (also hinted at in the article) forgetting to add "yield return" in front of an IEnumerator is a common mistake, but it is an awesome tool to flatten out callback hell or complicated every-frame checks.

¹) https://docs.unity3d.com/Manual/Coroutines.html
Expect for the icons in the lower left corner, it actually looks surprisingly modern. Seeing VSCode and MWM in the same screenshot is oddly fascinating.
Is it possible to render an encrypted version of pre rendered data that outputs the rendered file in that same encrypted format that can only be decoded using the original private key it was encrypted with?
I honestly fail to see how using a different terminal, typing "spell word", looking through a list of suggestions and then entering a number followed by another keypress to copy said word into the clipboard and finally pasting the the result where I actually want it - all providing I actually know and notice potential spelling mistakes - is in any way shape or form superior to a system that highlights spelling mistakes automatically and presents fixes with a single click.

> Pick good, powerful, customizable tools.

In other words: know ahead of time what you need and how to achieve it efficiently. Discoverability on the command line is atrocious, which might be the reason it feels like such an achievement to finally learn that "tr" stands for "translate or delete characters" or how obscure command line options of grep or cut work to massage text files.

> The "innovations" toolmakers try to push on you will almost never be worth the cost of losing all your knowledge, customization to your uses, and muscle memory.

One could just as well argue that the mental resources and time needed to acquire these specialised skills are better spent to solve actual problems as opposed to do the same thing over and over again manually (otherwise they won't become "muscle memory") using archaic tools designed for completely different systems.

There's another side to the story and I remember vividly that programmers in the late 1980s and early 1990s argued the exact same way when defending their continued use of assembly language versus high level languages.
Duh, I had but missed that!
It’s deliberate. The choices are 1) say something true that will make you look bad, 2) say something untrue that might bite you in the ass later, and 3) write ambiguous waffle that explains nothing and commits you to nothing. PR and legal will tell you to choose 3 every time.
My view on it has always been that the admins are dead serious, but the users may not completely be.
As a meta point, the requirement to discuss ethics independently of one's ability to exercise said ethics is critical for honest discourse. This applies to general opinion too. I'd be surprised if the author of the piece has any influence on the web design, so discounting it on that basis seems rather limiting.
What AI can tell us about intelligence