skysight-inc/HackerNews huggingface dataset:
The problem isn't that JVM deals with higher level constructs. It's that it doesn't deal with low-level constructs.

Consider .NET / CLR for another example. Like JVM, it also deals with objects, methods etc conceptually on bytecode level. But it also deals with raw pointers and pointer arithmetic and other such stuff. As a result, you can efficiently compile e.g. C into that bytecode. So wasm isn't really new in that sense, either.
NixOS on M1
I am not sure people really optimise for speed, they do it for comfort. When I moved to dvorak my speed dropped by quite a bit and I never regained it but that was done for comfort, and it is more comfortable no doubt.

I lost the speed because I wasn't doing as much documentation as I used to with qwerty. For development, that loss of speed hasn't made any difference because I type just as fast for development purposes.

But my main point is the people I know have not optimised things for speed, they have done it for comfort. A ten hour trip in a plane takes the same time in business class as it does in economy but one is a nicer way to travel.

I wouldnt run out and tell everyone to change their setup, people are usually driven to it for one reason or another, either just curious or have an issue they need to address but on a topic of ergonomics, thats exactly what ergo keyboards are about.
No, they do not. Where is this trope coming from? Catalina decimating gaming because of the removal of 32-bit support?

Apple doesn’t guarantee syscall compatibility between minor versions, either. You must dynamically link libsystem instead.
These are all really weird and not idiomatic. Most of your weird quibbles would be solved by just writing a type like

const pt: [number, number] = [1, 2]

As for piping functions... that's just how functions work. Not sure what the point of that piping syntactic sugar is.
> The problem with ChatGPT as a replacement for Google is that it was not designed to produce accurate facts

But chat bots could be designed to do that, no?

Are there any siginificant technical barrier to prevent so?
That's right: Vaughan Pratt designed the original square Sun logo.

https://en.wikipedia.org/wiki/Vaughan_Pratt

And Sun Science Officer and Nixon Enemy John Gage is the genius who rotated it 45 degrees.

https://en.wikipedia.org/wiki/John_Gage

Nixon Enemies List entry for John B. Gage:

https://www.enemieslist.info/enemy.php?ID=463

Another one of the greatest logos of all time is the SGI logo, designed by none other than Scott Kim!

https://en.wikipedia.org/wiki/Scott_Kim

http://xahlee.info/UnixResource_dir/sgi_logo.html

https://www.amazon.com/Inversions-Scott-Kim/dp/1559532807

https://scottkim.com/
Hey I thought capitalism inspired innovation. So why does nearly every phone being made today is basically a brick of glass you can't open?
The biggest problem when compiling to JVM bytecode isn't dynamic languages - even if they are slower, it's tolerable. It's stuff like C++, where the whole point is being fast, but JVM simply lacks the necessary primitives to compile to.
Truth is an interesting concept. It's often subjective and has many forms. Within the context of the cloud, almost all cloud services are only mutable, so "truth" is whatever the current state of the cloud actually is. Whatever is in Git is merely idealism.

Whatever you are maintaining, read the docs completely first. And I mean cover to cover. Not just the one chapter you need to get a PoC up and running. You will wish you had later, and it will come in handy many times over your career. Consider it an investment in your future.

Read books on microservices before you implement them. Whatever two-line quip you read on a blog will not be as good as reading several whole books from experts.

Docker multi-stage builds won't work in some circumstances. Build optimization eventually gets complex, the more you rely on builds to be "advanced".
That is about J.K. Rowling, not about someone who said “I like Harry Potter”.
Quite a lot of natural gas is used to make fertilizer, either as feedstock or for energy; replacing that use is well worth it all by itself.
Typed Racket, but you'd write the pipe operator as a trivial macro rather than as a function.
There are many non-organizational reasons to use microservices. Here are some examples:

As you add more functionality to a system, it gains different workloads, which have different needs (e.g. different storage solutions) and need to scale at different rates (e.g. one part of the system is very memory hungry and another is very compute heavy).

As your system gets larger, it's usually more important that its various components are well isolated, both on software and hardware axes, e.g. container isolation vs isolating across different physical zones/regions. Sometimes that isolation happens for security/compliance reasons, e.g. PCI.

As your business grows, you will need to build functional solutions that require different toolchains and platforms. You will acquire other businesses that have built on different platforms. You will not require all of your acquisitions to rewrite all of their software into your monolith.

With extra work, you can solve for many of these problems within a monolithic architecture, but those solutions will typically introduce similar complexities as microservices (e.g. talking to many datastores, composing your monolith of many coordinating processes, configuring independent nodes of your monolith differently, provisioning independent nodes appropriately, etc).

My experience in software is that we draw false dichotomies between approaches and the reality is that they will tend to converge when you put in the effort to consider and address the shortcomings of each approach.
We’re talking about the developer experience, not the implementation. Assuming the IDE doesn’t do it for them, they’re going link against libsystem.
You should have both the confidence that you could deploy on Fridays, and the wisdom to know that you shouldn’t.
We all see the elephant in different ways. For me the major milestones were:

FORTRAN

IBM's Timesharing OS (the 1st step in personal computing)

The end of "GOTO"

The desktop user interface

The creation of a huge library of available frameworks.

The World Wide Web. The internet existed, but was ignored.

Object Oriented Programming

I guess the final milestone was the fragmentation of the computer world. No one can now encompass everything. No event can now rank as a milestone in so wide a field.

I'll give props to machine learning, but I don't understand its eventual impact. Perhaps it represents a whole new genre on par with the computer world itself.
Nerds love nothing more than organizing and categorizing information in increasingly (yet slightly) better ways.

The never ending effort to perfect the periodic table is a great testament to that.
Pay extra for labor on top of parts, and theres a good chance theyll screw something up like the waterproofing seal or leave a loose connection that you won't notice until weeks later. Then you have to take it back and convince them its their fault and wait even longer while they hopefully don't screw the phone up even worse.

Yeah that definitely sounds more convenient than a removable battery.
https://archive.ph/k1j4H
Pets are fine in the sense of "there's no way our servers would just disappear, and Larry the DevOps Guy who knows everything will never leave us..."

Cattle is the best approach. Practice it and make it your default.
I have two gmail accounts and one of them did that to me several years back.

But both accounts do nothing but forward to my fastmail account where I have rules setup for them. So it was a giant nothingburger for me. If they're so secure even I can't log into them, whatever.

I don't trust google with anything of mine. I used to use their online spreadsheet app to track house bills, but moved it to my local share where I use libre office instead, solely because I'm aware of how likely it is I get locked out of everything at some point.

Everyone should treat google like they treat their laptops: With the assumption that it can die at any given time and so backups are critical.
Tuple+Records would be huge. Pattern matching would nice too as well as a dense form to write tagged unions, but I want these things in JavaScript first and not just TypeScript.
Why does such a scale always sound good? Music theory like this is fascinating to me but i don't understand it in the least.
Your question is not quite the right framing. By the time you hit "Staff level" you should have learned that programming language and framework are simply window dressing on top of the fundamentals. The fundamentals are things like files, sockets, TCP/IP, operating systems. Or said differently: things that have been with us since the 20th century.

Wisdom I got many years ago from an old hand was to run this thought experiment:

* An HTTP request

* A business object

* A database transaction

That's web architecture, more or less. Someone requests something and your programs mission is to find that something as fast as possible. In some cases Rails is a great fit, depending on the constraints. Under different constraints Go is the right solution.

When learning the new technologies the key is understanding what problem that technology is trying to solve most optimally.

Additionally, what really separates a "Senior Software Engineer" from the levels above is understanding that after a certain point, technology is irrelevant. Social factors drive decisions much more than technical considerations (Conway's Law).
I'm not sure how this is supposed to apply.

I am asserting that the function of the car is to provide a comfortable environment, not merely to physically transport. Otherwise why does it even have a heater or an air conditioner?

I don't think there is any valid argument for austerity on this tooic. I am saying it's perfectly valid to warm the car up simply because you want to because it's more comfortable and makes clearing the windows easier, because the only reason the car even exists is to be a tool to make your life easier. If that warm up time consumes some of the device's life, so what? Every minute of use consumes a minute of it's life. These few minutes of use are no different than any other few minutes of use.
First of all ...

> after having berated me

Wow, I must be a terrible person, except I never recall berating you. I double checked, and it's just me expressing my disagreement. I'm not the one saying things like "It's like the nix community saw how git is taught and went 'we can do worse'" or "I'm done wasting time on you."

> Because if I don't know nix (which, you know, would be why I'd be reading introductory material) I'd be looking to use it, and my basis would be to do would be the way every other distro works.

Nix isn't a drop-in replacement of apt or yum. It's possible to use it like one, but that would be missing the whole point. Most of the benefits of Nix is obtained by writing configuration files tailored for each project you're working on. That's another reason why the examples don't start off with a replacement of "sudo apt install". Creating localized development environments is one of the primary use cases of Nix.

> Have you actually looked at them? ever?

Of course I did. I read the entire manual when I learned Nix. That's why I get the impression that your summary of the Nix manual makes it look more distorted than it actually is.

For example:

> 1 is a quick overview of the entire thing, none of it actually helpful.

The said overview includes instructions for installing packages permanently. You clearly stated that is what you were most interested in, so it actually should've been helpful for you.
It has nothing to do with important or connections, just the passenger's wallet size. It is a service like any other, and last I inquired it was $400 per person for each end of the flight.
28 USC 531, et seq. sets out the limited authority and mission of the FBI.
Ensuring social media platforms adhere to their own policies is outside the scope.

Government officials — at the federal level - have extremely well-defined scopes of authority. They have no general power to do things. If they exceed the scope, they are abusing the power given to them. A govt agency has no authority outside the scope of its enacting statute. That I what I meant by limited. It’s not a ‘made up’ concept. If an agent engages in ANY action outside its authority, it is exceeding its limited authority and acting outside the law. It as an abuse as the agent (or agency as a whole) is doing something ‘under color of law’ that Congress did not permit.

At the local level, there is a concept of ‘general’ police power where the limits of what your local deputy, for instance, can do is a bit more nebulous. But, not at the federal level.
Any increase in general tax revenue generated by an increase in population is going to used for the new population. For example NASA's budget didn't increase just because of an increase in population
It's not just that they tried to monetize Java. That's one thing that's debatably good or bad, but not the worst thing that's objectively terrible: Sun tried to MILITARIZE Java DEVELOPERS as disposable mercenaries in Scott McNealy's personal war against Bill Gates and Microsoft.

See me other post:

https://news.ycombinator.com/item?id=34125284

>You're right, it was Slowlaris that killed Sun, and Java was meant to be a "Microsoft Killer", not a programming language. [...]

>Sun could never measure up to Microsoft, and McNealy was totally obsessed with fighting them, to the point that Java was not actually a programming language for solving developer's problems per se, but primarily a weapon in his personal vendetta against Microsoft, and Java developers were considered expendable mercenaries in that war, above all else. Everything they did with Java was measured by how much it would harm Microsoft, not help developers. [...]
Not to mention they'd get eaten by the poor
Most issues with batreires in laptops and stuff come from vendor firmware that checks if its a genuine OEM part or not. Same with printer cartridges.
yep, I have 2 gmail accounts that have been forwarding to fastmail for something like 10 years now. I'm really unsure on the timeline, but it's been a very long time.

google is good at spam filtering so those accounts became the accounts I give out to people publicly.
At work when I was on the front end side( our company uses Angular(honestly its dope, it should be more popular IMO) ) and we settled with ngrx(a redux clone), which was fine until I used react hooks & context for my own side projects. I work for a major airline so I guess ngrx is a nice to have for a multi page multi state SPA but seriously there is way to much boiler code with ngrx/redux.
A giant, completely stateless monolith that takes no memory will scale as far as you want, but said monolith doesn't exist. Every new route you handle has memory costs, and if you are caching any computations, you also have to think about that. You also are going to have interesting situations if every server could end up keeping connections to 15 different kinds of databases.

At some point, you have servers, that say, pre compute complex internationalization logic, and therefore are almost databases, and you want to keep them separate. Other times splitting requests that have very different memory vs cpu requirements into different boxes helps. And this is just for performance/costs.

The scariest issues are all operational though: Suddenly my giant fleet is misbehaving, and a rollback means 10K servers get hit, and I am not exactly sure what is going on. Having the functionality separated a little will do a lot of good.

Now, from there to needing microservices is a pretty big gap, but the lone uberservice can get very scary under the wrong circumstances, and the probability approaches 1 as the codebase gets really big.
Ask HN: Do you use a bookmark manager?
As my browser bookmark folders get more and more messy I feel the need to migrate to a different solution. I'm looking for the ability to add brief comments/notes/tags to the links I save, to record metadata such as: where I found the link, what I thought about it and what it might be useful for.
Or you're hunt-and-pecking at 30wpm on your coworker's QWERTY keys, and they start to look at you funny as you stammer something about "I'm not used to ..." and "... Dvorak"? Yeah.
Not for the humans in corporations or governments intending to deceive.
"Of cuz" ??

I or anyone else could certainly do like you do. I'd just read China Daily https://en.wikipedia.org/wiki/China_Daily and repeat what they say.
Yes.

https://pinboard.in
That's why I had to limit the length (`< 550`), to keep the total size down.
So what would you prefer?
I didn’t know much about serial consoles until I got into microcontrollers. That knowledge helped me out later when I was able to use a serial console to diagnose a PC that wasn’t booting. Still cool to me that all you really need to talk to a computer is three pins (RX/TX/GND).
I see. From the sounds of one of your prior comments, I assume you have an intolerance to something such as food dyes?

Regardless, most of my allergies aren't life-threatening. I still don't eat them, because the reaction can ruin a day or more of my life at a time. It's tremendously disruptive.
Been a fan since I was literally 10 years old. I loved the writeups on Tesla coils. There's also a section on the Bajak Flux Capacitor including a schematic, which I tried to build in the hopes that I could mess with time control.

There was also a heartfelt plea to geeks to not shoot up their school, written in the wake of the Columbine massacre. I really felt that one.
Same thing that is wrong with all cars: we can not avoid boiling the oceans while we waste that much energy to move just a few persons.

EVs and hybrids are better, but not by much. Replacing a private car with another private car, regardless of engine isn't as useful as removing that car form the road all together.
I'm not sure what you're talking about. I just asked it to argue that 42 is a prime number, and it clearly knew it wasn't and even said multiple times that the agument is just pretend/hypothetical:

________

Me: Make an argument for why 42 is a prime number

ChatGPT: 42 is not a prime number. It is a composite number, meaning it is the product of two smaller numbers.

Me: But pretend it is a prime number and make that argument

ChatGPT:
Sure, I can make an argument for why 42 could be considered a prime number if we pretend that it is.

One possible argument for why 42 could be considered a prime number is that it satisfies the basic definition of a prime number. A number is prime if it is divisible only by 1 ... (continues with rest of argument)

Of course, these arguments are purely hypothetical and are not based on the actual mathematical properties of 42. In reality, 42 is a composite number and is not considered a prime number.

________
yes it's called pay someone to do it
You should definitely try https://dourajs.github.io/doura/. The most intuitive and simple auto tracking state management for modern React.
If the type of C is a type D -> E -> F... then you're already there.

Or I'm misunderstanding the question. (In which case, please, somebody correct me.)

But if I'm not... Elm, Haskell, F#, and probably most other FP langs support this.
You have it backwards.

The Federal Statutes grant specific authority to the FBI. The burden is in the FBI to point to a specific grant of statutory authority to justify any particular action. What federal statute gives the FBI (or any agency) the right to advise, suggest, or even comment on a particular company’s policies? What statute gives the FBI the power to ‘suggest’ certain accounts be blocked?
This is beautifully written - thanks so much!

This story reminds me of (how I imagine) the career of Connor Price looks like. Check him out on youtube. He makes so many tracks with so many people - and eventually things pick up. He could very well be the next Sheridan.
I had a recent example of ChatGPT clearly beating Google:
"how to debug a Chrome extension in VSCode?"

After 10 minutes of reformulating this, I couldn't get a good answer from Google, but ChatGPT got it on the first try. Many Google results were about a depreciated extension for VSCode called Chrome Debugger. Maybe if I was normally doing a lot of front-end coding, it would be trivial.

Google needs to get going with their version of fine-tuning PaLM from human preferences, get a good classifier based on user characteristics and query to decide when to use it, some checks to make sure they're not committing copyright infringement, and some text ads in the middle of the generated text, and mark it experimental and let it loose on the search results pages. Listing references, online updates, etc. can be added later. It won't be profitable even if they only enable it on a small percentage of queries, but they're risking the whole business if they don't do it.
Type hints can also be strings, which at least PyCharm resolves as if they were real type references

from typing import List
class Alpha:
@staticmethod
def doit(b: "Beta") -> List["Beta"]:
return [b]
class Beta:
@staticmethod
def doit(a: "Alpha") -> List["Alpha"]:
return [a]
DDG is much more straight forward vs Google often tries too hard and fails.

It's like how Twitter's default feed changed to try to tell you what you wanted to see, while the old chronological feed was the content you originally asked to follow. The simpler feed was always better and less contentious for non-newbie/casual users.

Google is better at deciphering what you want, but DDG is straight up: here's the simplest results based on your query.

Maybe the solution is both? An evolution of the ML approach that Google uses (ala ChatGPT style mimicking a human) AND offering a tab, or box, or whatever interface, with 'simple' straightforward old-school search results. Until the former is better 99% of the time, they shouldn't abandon the latter.
But the context window size of ChatGPT is sufficient.

And again it does generate a full application, just not all of it at once.

Just see https://news.ycombinator.com/item?id=33854638

Sure you can't prompt it once and download a zip, but you still get a consistent full app at the end that can be used as a base from this prompting.
There’s none of it online anymore. Another life.
But you can type 'pipe' correctly in Typescript, without resorting to overloads:

https://code.lol/post/programming/typesafe-function-composit...

It's even more powerful if you restrict yourself to point free semantics - then you can use higher kinded types to do generic-level variadic composition.

As well, optional generics are trivially achievable in TS via default type parameters, unless I'm not understanding that section of the article.
i think you’re hitting the nail on the head emphasizing passion.

so often people entirely disregard passion for the work when theorizing that no one would be a ceo for less than $40million.

i haven’t ever seen studies done surrounding the issue, but i’d bet far more innovation comes from people doing something because they’re passionate than it does from monetary reward.

there’s a tipping point somewhere when innovation takes a backseat to greed.

often greed directly leads to a willingness to destroy a things essence or just chip away at the thing completely ignoring the passion which brought it about in the first place.

edit: forgive me if this seems a bit heavy handed—just watched Its a Wonderful Life with the family for Christmas so maybe i’m feeling a bit jaded towards greed.