skysight-inc/HackerNews huggingface dataset:
If you’re creating the language, i totally see the value but If you’re just a user of a given language then there’s always going to be more value to be extracted from advancing your knowledge of computation instead of any one lang.

If your business is trying to solve hard problem X and your best idea is to use this tricky advanced language feature and then apply these compiler flags… then you’re going to lose to the person who knows of a programming paradigm (e.g. logic programming) unlocking a simpler solution or a data structure unlocking a more performant solution.

That sounds a bit abstract. To make it more concrete - imagine a problem where you need to apply a function in concurrent windows over a time series but you’ve never experienced any of the array programming languages.
Unless Snowden has advocated for crypto as an investment I don't see how he is being hypocritical. Has he?
>"I tend to think unless perform/$ is really important one should use a managed language for that, that isn't Javascript."

For my particular project managed language would simply not work. Way too slow. Besides the code base is relatively small and higher level language would not offer any compelling benefits.

>"minute and a half compile times"

Just checked. My particular project compiles under 1 second using Atmel Studio 7.
Absolutely worth it. Had surgery 12 years ago, approaching 40 and my eyes are still 20/20. Have spent the last decade staring at screens 8 hours a day 5 days a week. Highly recommend PRK over LASIK. My desire was to be able to participate in adventure sports or take a punch without concern for the LASIK flap.

(Procedure was done in Chicago by UICs Optomology Dept head at the Millennium Park Eye Center; confirm your surgeon’s experience and skill level, and ask what their complication rate is)
Which browser did you use? Its not supported by Chrome or Firefox.
There's definitely a lot of hostile design around stopping things like cancellations and probably refunds, but I can also say, having worked on a support team and built tools for said support team, our main focus is that most support requests don't need us at all and paying support reps to answer them is a big cost.

I wish I still all my old charts about support ticket categories, but I'd bet that before we built out various tools to deflect them, the majority of our tickets could be answered by "read this help doc", "go to this section of your account page and click this button", or "you need to email the seller, not us". (I work at an Etsy-like site where only the individual sellers can answer most product and shipping questions.)

Simply having a chatbot answer all the questions answered in the helpdocs is worth tens of thousands of dollars in support agent time and should gets you the answer much faster than waiting for a small team to respond to support requests. The chatbot is dumb and annoying, but it doesn't have a backlog of tickets and it's on the job 24/7, so it might feel slow, but could easily be a day faster than emailing a human.
Why is -10F not as normal as 0F? Seems arbitrary.
I think we're about to enter an era where more code will be written on an annual basis than all previously existing written code.

The same holds for music, art, photos.
I think that is the joke, Implying most of the HN content nowadays is AI generated.
Putting the base at the South Pole of the moon is the current plan. But missions will want to go into craters, which will lead them to have to deal with the long nights
2023 Will Be Make or Break for the Scottish Independence Movement
Part of the wrong 1% – Ostomy surgery, part 2
Why this and not Wireguard?
Wow this looks really cool, do I have to learn julia though?
This is just codespeak for: "in the future only rich people will have parking spaces."

People need to wise up and stop lowering their standard of living to accommodate the folks who can afford to have children and therefore have the greatest interest in preserving the environment for future generations, i.e. their future generations.

These folks are also known in some circles as "the breeders."
Unix looked very much to be on the ropes at the time. It was extremely fragmented and warring with itself. There was no Linux to unify the Unix-like operating systems. Unix was fraught with lawsuits and licensing claims and issues.

I worked in the heart of the corporate world and at this time the sentiment has changed from "you can't get fired buying IBM" to "you can't get fired buying Microsoft".

As @gaff said in this thread said - it has nothing to do with Microsoft ad spend or what the magazines said - it was dead obvious. And were it not for Linux then it would have been a Microsoft world. Remember also it was Microsoft that saved Apple from bankruptcy when jobs returned. I do think that if not Linux then FreePSD would likely have become todays "Linux".
Partly that.
That would make sense. More information, better IDE.

But it has not been my experience. Nor some of my peers. Despite a meh text editor, the Smalltalk IDEs (Smalltalk/V, VisualWorks, and VisualAge) were amazing. The original "refactoring" work done by John Brant and Don Roberts was pioneered at UIUC in these environments. Their adaptation to the different IDEs just improved them.

I remember sitting next to John and Don at OOPLSA and speculating that refactoring inside of Java (Eclipse was The New Editor at the time) should be superior in Eclipse vs Smalltalk because Java had more type information to work with. John and Don, both Smalltalk enthusiasts in those days, admitted they had anticipated that as well. And they did a bunch of work trying to port refactoring stuff to Eclipse. They were surprised to discover it wasn't so. But it's not typing vs not. It's simplicity vs not. When I asked if that meant that rising start Ruby would benefit from their refactoring work, they said that too was hard. Don explained that in a nut shell, it was the AST. Much of what tools/IDEs do is work with a model of the language. The Smalltalk AST had 15 polymorphic objects to represent its language model. Ruby was 90+ and climbing at the time. Java was insane. Their take was that while typing might add some information, the combinatorial explosion of modeling the language just made tooling for the language more difficult. It was an interesting insight.

Elixir/Erlang has a language model that is even simpler than Smalltalk in some ways. The trickiest part is the macros.
> Are Rust and Go not the same age?

Rust only really started to get traction after 1.0 landed in 2015. Even then, writing web services and things like that in rust has only really been ergonomic in the last few years as async/await has stabilized. Rust is still a pretty niche language, and its much easier to admire something from a distance.

Go hit 1.0 in 2012, but people started using it in production before even then.
> If someone tells you a story with several elements in it, one that is important but you can't verify, and the others which are trivial but you know to be lies, what would you say about the one important claim they're making?

I doubt the Gospels contain "lies". Even if it is true that many of the events in them never happened as described, I doubt they are deliberate falsehoods – which is what "lies" are. I think it is far more likely that its authors genuinely believed they were writing the truth, even if it turns out they sometimes weren't. I think most religious scriptures (whatever the religion) are the product of genuine (even if mistaken) belief rather than blatant charlatanism. Stories can evolve through retelling (especially in oral-centric cultures), such that a small kernel of truth becomes surrounded by elaborate fictions, without anybody ever consciously engaging in lying or deception.

Furthermore, a Christian who believes in the "core miracles", but doesn't extend their belief to the "non-core", is unlikely to agree that they "know" that these non-core miracles are false. They are more likely to say that, they have a faith conviction in the truth of the core, but are agnostic ("I don't know") with respect to how much truth is contained in the non-core. I'd be surprised if there was anyone who was positive about the truth of the core, and just as positive about the falsehood of the non-core.
I worked for Apple porting Netware to the first PowerPC machines for an Apple server code named that was released with AIX running on it. The Netware project was cancelled as it was about to enter Beta as both companies were hitting hard times. This was in the last days of Spindler’s reign.

The only thing Netware had to their advantage was a network of CNEs that made lots of money setting up and maintaining systems. But for small companies it was very expensive and large companies unnecessary as they had internal staffs that were not interested in another OS they had to train staff on. It also made them dependent upon 3rd parties to sell their systems and while it worked for awhile they in the long term will never be loyal.

The fact that the company lived so long on protocols ripped off from Xerox (they use to point people to Xerox documentation) is a mystery.
It may be redundant but I think its always important to note that processes as listed above are not like os processes here -- but an extremely lightweight internal VM thread like thing in the BEAM VM. In is not uncommon to have many millions running in the beam VM. Very much lighter than threads or OS processes.
Let’s hear about the moratorium on incompetent and corrupt hospital administrators.
> Why Python became the scientific computing language?

Some guesses:

- Because scientists aren't that much into programming and Python is one of the easier languages to start with?

- Some aspects of its language design, like the syntax for slices, making it easy to express often used operations in a rather intuitive way?

- The two points above leading to the numpy project, enabling high-volume computations with a friendly programming language?

- Maybe Jupyter Notebooks played a role as well? It's a great teaching tool.
I am also using 192 dpi with a pair of 4k monitors, a 27-inch and a 24-inch, both at the native resolution of 2160p, so everything is crisp.

With the default font size set at 12 points, everything is very easy to read. Even 10-point or 9-point fonts are still comfortable, despite the fact that otherwise I need glasses for reading small printed books.

Under XFCE, almost everything is scaled fine on 4k and 192 dpi. The only exception is that some of the scrollbars remain rather narrow, but they are still usable.
My experience as well. Junior programmers tends to just copy whatever is “hot” at the moment. Without having the experience needed to truly evaluate their choices.

And when the ship sinks under their feet they somethings don’t accept or realise that the ship is sinking because of choices they made. However the smart ones will learn and make better choices in the future.
> but wanted to adjust the terms in the non-compete section of their contract (something you hear suggested a lot by people here on HN).

You probably hear this a lot on HN because:

- In the US, programmer contracts are often negotiable, within reasonable limits.

- Default programmer contracts are often shockingly bad for the employee. And no competent lawyer would ever advise you to sign some of the ones I've seen.

I've successfully negotiated almost every contract I've signed since I was an intern, and I've been doing this for over two decades.

In my experience, very few employers have ever read their contracts. Several years ago, when I renegotiated a contract, the leadership team said, "Wow, that really is ridiculous and unfair," and actually wound up fixing their standard contract.
Funny enough despite my burning hatred of everything cryptocurrency Snowden has been my go-to counter-argument whenever someone brings up the wonderful "solution" that cryptocurrencies promise to be to zero-trust environments:

"Are you Edward Snowden or in a societal position comparable to that of Edward Snowden? No? Then society probably isn't quite dysfunctional enough for you yet to justify going to these algorithmic extremes."
What do you mean by “log transforming”? Are you bothered by the log plot? You really should not be: it’s done for one purpose, make the bottom more legible, as she wrote explicitly. Look at any scientific journal and you’ll find loads of plots with log scales. And at least in my fields, no mention of “log transforming” anything.
A practical guide to scientific management for postdocs (2006)
I've written a bit of Rust/C interop. It doesn't look like that; most of the time it's... not pleasant, since it's interop, but certainly not this terrible.

On the other hand, I can't think of a way to do it better either. wlroots might just be uniquely horrible here.
It'd be easier to see this as strictly bad if speed traps were usually motivated by road safety, not revenue collection or discovering secondary crimes.
my Pixel 3 also has that... best phone I ever bought for $70, a couple of years ago (used)... it takes a screenshot whenever I squeeze it.
Yeah its JS where you want JS and no where else.
Here is a blog about the unique Apple server and Netware

http://oldvcr.blogspot.com/2021/10/shiner-esb-apple-network-...
I think gp comment is saying that the coffee roaster believed they were selling it at $x/bag. But the acquirer thought they were paying $x/case, which looked very very cheap so they ordered 6000 units of it.
European gas prices fall to pre-Ukraine war level
>> and (probably the biggest thing) comprehensions ARE NOT SUFFICIENT replacements for easy anonymous inline functions (JS () => , or Ruby's blocks).

I'm confused by this statement. As I understand it, list comprehensions exist to transform data. Inline functions in JS would be equal to lambdas in python, I.e. anonymous functions. So what differences between JS and python do you think is missing?
It’s not something you can achieve often, to be fair.
No.

The biggest issue for the entire industry at the time was the operating system. Everyone knew we needed real operating systems. Everyone was sick of crashing applications stomping on each other. Servers had just started to become a thing in the corporate world and server applications were just arriving. People were very interested in operating systems and where they were headed.

There wasn't even the concept of "bare metal" at the time. All DOS applications were bare metal. All Windows applications were cooperative multitasking and crashy. People were hungering for better.

Everyone expected that OS/2 was the server operating system that we would all be using. And indeed it probably would have been if Microsoft hadn't killed it. Lots of server applications got ported to OS/2 before Windows killed it stone dead.
The very large temperature difference between day and night means you can bank heat in the daytime, and cold in the night, and generate power from the difference.

You need a pair of very large bags of regolith to store the heat and cold in, and a gas to percolate through them from radiators exposed alternately to sun and black sky.

Or you can just put up very big reflectors in orbit, lighting up your solar panels. Maybe they pump laser tubes pointed at your solar panels.

Nukes would be a big nuisance, needing constant maintenance, unless you just run a naked pile at incandescent temperature and catch the light coming off photovoltaically.
Id claim some hypocrisy in that one shouldn’t advise crypto while disavowing a Ponzi scheme as both result in monetary losses and are supported by aggressively false advertising and new entrants.
The other day I had to make sense of some Python code that used numpy heavily. It was an absolute disaster to figure out what the code was actually doing because of Python's lack of proper typing.

Take for example, the numpy.dot function. This is from the documentation:

> numpy.dot(a, b, out=None)#

> If both a and b are 1-D arrays, it is inner product of vectors (without complex conjugation).

> If both a and b are 2-D arrays, it is matrix multiplication, but using matmul or a @ b is preferred.

> If either a or b is 0-D (scalar), it is equivalent to multiply and using numpy.multiply(a, b) or a * b is preferred.

> If a is an N-D array and b is a 1-D array, it is a sum product over the last axis of a and b.

> If a is an N-D array and b is an M-D array (where M>=2), it is a sum product over the last axis of a and the second-to-last axis of b:

So to figure out what this call to dot actually does and what it's output type is I need to know the actual types of 2 inputs. Of course, those inputs are the results of other function calls, that are also dependent on the types of multiple inputs. When reading code you have to manually keep track of each type as you read through it, you have to look up every function to see what it does and what it can return under what conditions.

Programming languages are not for computers, they are there for humans to understand what is going on. Python absolutely fails at this because python code is almost totally unreadable. It is at best a write-only programming language.
Not that surprising. Pedophilia is probably the biggest taboo in western society right now. In some cases worse than murder.

Consider that pedophilia is maybe the only instance of a "thought crime" in western democracies. That is: you are guilty of a crime if you possess depiction of child pornography that comes from your own imagination (like lolicon). We have several TV shows (real and fiction) that focus on "child predators" in the same way that crime stories focus on murderers. I am also not aware of any mainstream work with a pedophile with any redeeming feature, but there are many works with sympathetic murderers (ex: Dexter).

And a lot of "anti-privacy" laws use child abuse as an excuse: not murder, not arson, only terrorism comes close. Pedophilia is put on the same level as mass murder!

Note that some fetishes in that list are pure fantasy, "transforming" and "dragons" for example. You can roleplay your fetish, it doesn't have to be real, especially if it is a crime, but even fantasy pedophilia is taboo. I would have liked to see "age play" in the list though, it can be borderline pedophilia (adults acting as children), but with less stigma associated with it.
Just click the uBlock icon, select the "element picker" and click on the element you want to remove. You will get a preview and when you are satisfied it will be saved to your preferences and you will never encounter that popup again.

You could also click the "</>" icon instead to disable Javascript for the site. Substack has subdomains for every site though so you want to click the "dashboard" instead, go to "My rules" and enter "no-scripting: substack.com true" to disable it for all their subdomains. It used to show an irritating please turn on javascript-message, which can be removed in "My filters" as "substack.com###nojs-banner".
Raspberry Pi security alarm – the basics
New OpenAI Tool Turns Text into 3D Models
has Matt Levine previously sacrificed his entire life for the cause of truth and justice?
I mean the "secret government program" might not be "secret", but a part of public legal system "program".
Ok, I stand corrected. So that's not just Python but also some Electron-like madness. That explains everything. Looking for a different client now...
IMO Python typing really became good with the advent of Microsoft's type checker in VSCode, and probably PyCharm too, although I've never used it.

Typing with mypy during development never quite cut it because it's optional (unlike e.g. Typescript), and the editor support just didn't quite make it effortless the way VSCode/Pylance did. (I'm talking about development, not CI.)
Yes and no.

It handles crappy connections ok -- it will auto reconnect as needed.

As far as full offline -- it has interfaces to easily alert the user via UI that they are disconnected, however, just like 99.999% of non liveview apps when you are offline things start breaking (load just about any static page site and submit a form or navigate when offline).
Demanding proof is a cop out. From microservice architectures to line length limits, there's no proof for basically any engineering decisions we make daily.
Emacs: Macro me some SF Symbols
I guess they wouldn't. I honestly don't know how to get public discourse back on track to an appreciation for truth. I can only hope the partisans that weaponized social media as their pet angry mob eventually get their comeuppance; preferably in a way that leaves us with more transparency into how these platforms operate and the agents that leverage it.
There’s a big difference between getting paged over the holidays for a real incident vs getting paged because Brian Krebs wants to make some internet drama.
Just another mask crusader.
People discuss it as though it has basically any real life applicability, but the assumptions are violated by basically every important real life decision ever.

Don't get me wrong, I love algorithms, CS and math and very much liked learning the secretary problem and solution. I just wouldn't think of it as practically useful.
Thanks for the tldr
Probably worth stating the obvious that this only includes shows that originate on linear TV, though. Their estimate for linear-TV entertainment shows is that 30-40% of them watch via streaming, but when you add that to all the shows that get watched 100% via streaming (because that's the only way to get them), streaming ends up trouncing broadcast or DVR as a source of most entertainment content, to an extent I don't think I realized.
> It is taken whole-cloth from an input, and reproduced as-is on an output

This is only possible for elements that are repeated hundreds or thousands of times. It's generally considered a failure of training data curation, if it's anything more than watermarks. The AI can learn how to reproduce the watermark, while being literally unable to reproduce the pictures it was on.
That's not the same question.
I'm assuming they had a stated wholesale price sheet somewhere - maybe it specified per bag and per case prices. They received the indication that orders for 6,000 units would come in. If even 6,000 bags was a massive deal for them, the idea that it could be 6,000 cases might not have even entered their thinking.

Not a grift. Their fault for not clarifying, and arguably a failure from the consultant to not step up and help them navigate uncertain waters. But I can absolutely see how it happened in a way that wasn't a stunt.
If anything, it's more likely that the desirable choice is to shift LLVM to Rust.
I think I've encountered a couple of times where I've gotten obscure errors, and I agree that error messaging needs to be improved. On the other hand, every time it's pointed out an error, it was right. And IMHO union type-checking alone puts it above most popular static-typed languages out there.

The other problem with specs is that they can become out of sync with function signatures.
This isn’t exactly my wheelhouse, can someone explain what this means in simple terms?

In my mind it kind of seems like the value as a public company was (at time of purchase, at least) $44 billion, but Fidelity’s internal analysts have decided that if it were to be sold today it would go for about half that?
have you ever tried? How was it complexity-wise?

(And critical IMO means 'important in fact' not 'not replaceable in theory'.)
If anyone from HN is visiting Edinburgh for Hogmanay, a great view of the fireworks can be had from the top of Calton Hill in the centre of the city. The best way to get up is the set of steps next to Howies on Regent Road.
This is a gotcha only if you assume programs use perfect meritocratic measurement of your skills and knowledge to decide who gets in.

In real life, there is some correlation, plus other uncorrelated items and just plain luck ;)