skysight-inc/HackerNews huggingface dataset:
Yes!

The problem is choosing a monorepo because the tooling isn't suited for monorepos.

Trying to build a monorepo with git is like trying to build your CRUD web app frontend in c++.

Sure, you can do it. Webassembly exists and clang can compile to it. I wouldn't recommend it because the tooling doesn't match your actual problem.

Or maybe a better example is that it's like deciding the browser widgets aren't very good, so we'll re-render our own custom widgets with WebGL. Yes, this is all quite possible, and your result might get to some definition of "better", but you're not really solving the problem you had of building a CRUD web app.

Can Microsoft successfully shim git so that it appears like a centralized trunk-based monorepo, the way you'd find at an old cvs/svn/perforce shop? Yes, they did, but they shouldn't have.

My thesis is they're only pushing monorepos because it helps GitHub monetize, and I stand by that.

> Tests should only execute against code that changed. Builds should only build the thing you want to build, not the whole repository.

How do you run your JS monorepo? Did you somehow get bazel to remote cache a webpack build into individual objects, so you're only building the changes? Can this even be done with a modern minimization tool in the pipeline? Is there another web packager that does take a remotely cachable object-based approach?

I don't know enough about JS build systems to make a monorepo work in any sensible way that utilizes caching and minimizes build times. If anything good comes out of the monorepo movement, it will be a forcing function that makes JS transpilers more cacheable.

And all this for what? Trunk-based development? So we can get surprise dependency updates? So that some manager feels good that all the code is in one directory?

The reason Linus invented git in the first place was because decentralized is the best way to build software. He literally stopped work on the kernel for 2 weeks to build the first version of git because the scale by which he could merge code was the superpower that grew Linux.

If you YouTube search for "git linus" you can listen to the original author explain the intent from 14 years ago: https://www.youtube.com/watch?v=4XpnKHJAok8

If this is a topic you're passionate about, I'd encourage you to watch that video, as he addresses why decentralizing is so important and how it makes for healthy software projects. It's also fun to watch old Googlers not "get it".

He was right then and he's right now. It's disappointing to see so much of HN not get it.
If you're willing to spend a lot of money on silver then probably yes. After all the height differences are substantial and silver isn't cheap. 3D printers resolution sucks in comparison to the mirrors, I'm not sure what you mean by that.
No, huh? Everybody would rather re-hash all the same boring free speech vs. bullying/disinformation arguments again?
Or piezo.
They do something like that for aircraft carriers. But sailplanes use winches, which are a lot cheaper.
Your frustrations are felt by many.

Every tool is attempting to dethrone the competition, coming up with yet another way to do the same simple yet infinitely elusive fucking goal: render a website.

The whole ecosystem is fucked
rename will stop and output and error.
The Register asked the US Justice Department to comment on this.

https://www.theregister.com/2021/11/11/latest_windows_11_bui...
Don’t waste your time with his nonsense
Do we have to assume that facebook is acting in good faith, in the best interests of user privacy? Or do we take their past actions into account?

>"Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith."

It seems to me that that is setting the standards of discourse for people on the platform, and isn't intended to apply to large businesses, even if those large businesses mostly get their money from sponsorship and donations.

>You are talking about making people suffer for something that you acknowledge is just an assumption.

I think suffer is a bit of an exaggeration, I'm talking about warning people that a particular platform is user-hostile. Gnome (the organization) has a long history of behavior that I find unpleasant, and expecting me not to tell people about that or to pretend it didn't happen is asking far too much. Gnome is responsible for Gnome's bad reputation, maybe that's something they can fix though if they fix the behavior that's causing this bad reputation. It's the whole "freedom of speech, not freedom from consequences" thing all over again. Gnome can make whatever bad decisions they want, but they don't get to be free from criticism for those decisions.
Wild, the police thought that the LED display, that had already been up for 4 weeks, might be a bomb, and then they somehow spent a million dollars handling the 'threat'.

Wilder still, Turner bought off the police after for 2 million dollars, and then censored the creators from releasing an episode critical of the Boston police response.
> the emissions are close to a single-occupant electric car

I'd imagine the emissions would be infinitely greater than an electric car. For an ICE car with two people, you'd be closer.
The article you cited literally states that only 5 percent of Washington state's unhoused population became homeless out of the state.
The cow in the room: why is no one talking about farming at Cop26?
> That sounds horrendous.

Different teams can make their own decisions, but as a developer on a team that ran our own SRE, I found it came with many advantages. Specifically, we saw very little downtime, and when outages did occur were very prepared to fix it as we knew the exact state of our services (code, infrastructure, recent changes and deploys.) Additionally, we had very good logging and metrics because we knew what we'd want to have in the event of a problem.

And I'm not sure what you mean "from the ground up." We were able to share a lot of Ansible playbooks, frameworks, and our entire observability stack across all teams.

But I think you may also be missing the rest of my post. This is only one possible advantage. Even if the team doesn't perform their own SRE, these services can be scaled independently - both in terms of infrastructure and codebase - even while sharing code (including things like protocol data structures, auth schemes, etc.)

A service that receives 1 SAML Response from an IdP (identity provider) per day per user may not need the same resources as a dashboard that exposes all SP (service providers) to a user many times a day. And an administration panel for this has still different needs.

Yet, all of these services may communicate with each other.
You might be interested in detox:

https://github.com/dharple/detox
Subjectively, I’d say. But since I agree that it’s cleaner and easier to read- I upvote you
I heard about vercel before but this announcement made me try it out.

Oh boy, what an amazing onboarding experience!
You say that like none of them have already been trying.
Graeber's posts on HN: https://news.ycombinator.com/threads?id=davidgraeber
Let's see. 20 years ago you wouldn't have said this. Now you do. Did "a large percentage of our country" go "crazy" as you said two comments up, or "stupid" as you say now, in 20 years? When did this incredible phenomenon start? In 1992, with Bill Clinton's election? In 1994 with that year's Republican wave election? In 2000 with Bush's election? In 2006 with the Democrat wave election? In 2008 with Obama's election? In 2010 with that year's Republican wave election? In 2016 with Trump's election? ...

Please tell us.

Or does it go back to 1980, 1976, 1968, ...? When did the country go nuts?

Or is it just that you dislike one very large set of the polity's opinions so much that you are willing to go to great lengths to have them quashed?
The directories that house your executables are read only to users other than root, to prevent attacks and overwriting them by non-root users.

/var stands for variable data--like log files, cache directories, spool directories, etc. You shouldn't put executables there. Ideally you should be able to set the noexec flag on it.

`/usr` actually exists because the original UNIX developers ran out of disk space and had to attach another disk. The difference between /bin and /usr/bin is not worth it and even Debian symlinks /usr/bin to bin.

But your distribution's package manager should be putting stuff in /bin or /usr/bin, not you. Anything that follows the regex "{asterisk}/local{asterisk}" is something the system owner can do whatever with. So you should be using /usr/local/bin or $HOME/local/bin. I don't know why there's no /local off of the root. (One thing I do on my own systems is make and use an /etc/local although I think you're supposed to use something like /usr/local/etc).

/opt is for third party programs that aren't installed via your distro's package manager.

If you do this, any customizations you make to a system can be easily backed up by copying all dirs with local in the name.

There's multiple decades of tradition behind these names, but they do date back to the age where actual teletypes were used.
More like a competitor to Netlify, GitHub Pages, etc
OK I ran through the checkout process and see what form you mean. It’s true that entering details makes sense for the CC payment but not for Paypal. I use a readymade FastSpring storefront and not the more sophisticated JavaScript library, this is how it worked out of the box… I’ll get in touch with FastSpring support to see what to do about this.
> Sometimes it is due to incentives,

We can fix those. If you could sue a chemical plant (or it's engineers!) that design/implement carcinogenic pollution, i bet the incentives get better fast.

> but also sometimes it is really just chemistry or physics.
>You can’t always wave your hand and make non-harmful alternatives

I think we can more often then we give it credit for. Especially if there was more money flowing into R&D, and more regulatory efforts.

> See the “tin whisker” phenomenon when they took lead out of solder.

I've never heard of this and I buy tons of electronics. Seems like industry incentives took care of this. Now we have no lead... and i can still buy iPhones whenever i want.

Why do we accept destruction in our society? Why don't we push for better? Nothing has to be the way it is if we don't want it to be.
'old' is the only way to go
Not a paradigm shift.
This might be possible in simple cases, but there are two reasons I think.

1. React has an ethos of being “just JavaScript” (despite the JSX syntax which is purely sugar around calls to React.createElement). This means the core team doesn’t seem to be interested in adding an extra compiler step.
2. Related to the above, because React is just JS, you can do all the normal and horrible things with it you can do in JS. Wanna pass React elements around in context or even using global variables? That’s allowed. A compiler could probably handle a lot of simple cases but there’s a whole lot of things it wouldn’t be able to deal with.
If you can't say something nice about a project like this then say nothing at all. To belittle it is classless.
So where can I bid on the meta-NFT for this? (NFT of the NFT, not the facebook meta)
500xyz voxels in blender: color smoke didgeridoo
Honestly spoken like someone who hasn’t been homeless or is close to anyone who has been homeless. A lot of people are severely mentally unwell and do not want shelter.

And the complicating factor is the percentage of people like this depends on the city! Eg Utah’s approach to homelessness probably won’t work for Oregon.
I was just asked a leetcode question from a news wire publicist for a front end position…

Stop pretending that only FAANG are doing these.
> I always find the US system shocking, even just up north in Canada. UBC has comparable numbers of faculty + administrative staff, and services ~4x the undergrad population. UofT has ~50% more faculty and staff, and handles close seventy thousand undergrads!

While your overall point is well taken, UBC is not a comparable institution to Yale. UBC has an acceptance rate of around 50%, Yale has an acceptance rate of around 5%. UBC has an endowment of around $2 billion, Yale has an endowment of around $40 billion. These are order of magnitude differences. We can debate whether Yale should have that level of selectivity or endowment, but it's to be expected that a way more selective school with way more resources will spend more on human resources per student.

If you want to make a comparison, it would make more sense to compare something like a selective large state university in the United States to UBC, not Yale.
I hope at least the garage door, doors, and all your windows have 'circuit breaker'-style sensors (inside the window frame) that trigger the alarm when is activated.

Long time ago I had to upgrade my whole bloody alarm system of my old house because I wanted to insure a watch.
And there was pneumatic messaging ( buizenpost ) at retail shops ( I only remember C&A ).
Actually part of the LHC collider is programmed in LabView.

https://www.apexwaves.com/blog/using-nis-pxi-hardware-to-con...
You need to stop insisting that a wheel has been reinvented with Svelte. It shares 95% of the same DNA as other frameworks, with multiple improvements over them. So with that in mind, what you're actually suggesting is that the existing offerings were somehow perfect, and we don't ever need to improve on anything again. That is an absurd notion, especially given that the other frameworks have gone through MASSIVE changes since launch -- sometimes even complete rewrites, because they acknowledged they got it wrong the first time.
JavaScript was made in like ten days just to add missing interactivity to HTML. If Brendan Eich had known how it was going to be used today, the language would have been very different, if at all.

Edit: it seems I don't have to wonder. Type coercion is one of the worst features IMO, and coincidentally one of his regrets:

> "One of the notorious ones was, ‘I’d like to compare a number to a string that contains that numeral. And I don’t want to have to change my code to convert the string to a number, or the number to a string. I just want it to work. Can you please make the equals operator just say, Oh this looks like a two, and this looks like a string number two. They’re equal enough.’"

> "And I did it. And that’s a big regret, because that breaks an important mathematical property, the equivalence relation property… It led to the addition of a second kind of equality operator when we standardized JavaScript.” One of the people who helped standardize JavaScript was Guy Steele, one of the co-creators of Scheme. “Guy said, ‘Don’t worry about it. There are Lisps that have five kinds of equals operators. We’ll just add another one.'"

https://thenewstack.io/brendan-eich-on-creating-javascript-i...
If food spending increases with income, doesn't that mean that rich people's competition over food is proportional to their wealth?
I disagree, respectfully. Not that I think everyone should inventory a year of everything. But the ethos of JIT is that you can treat your supply chain as if it’s infinite, and this keep it close to your projections.

Automotive got hit especially hard since any feature that requires electrics has the microprocessor embedded in that feature. Very cost effective-you don’t ship extra cpu power for unused features.

Tesla did the opposite though—centralized processing and over allotted cpu cycles by also made it easy to upgrade via software only.
Banks as well for money, and internal mail at many large companies.
> What do you do if someone wants to sleep on the street?

This describes an incredibly miniscule number of people. There are a lot of problems with existing shelters (as mentioned quite a few times in thia thread) so currently it's hard to disentangle "wants to sleep on the streets" from "doesn't want the available alternatives." Yeah, there probably are a few folks like this. Having an oversupply of 1% isn't going to break the bank.
In the US. In the UK it's normal to refinance every few years. Fixed rates of 2-5 years are common and 20% or so of people are fully variable.
Seems like svelte is superior for not needing a key.
There are many open-source no-code tools so you can gain full control over your data/application with them as well as contribute into the source code.

For instance, you can deploy an admin panel with https://www.getmotoradmin.com/ (plug) and save a lot of time on building custom internal tools.
Never heard of it before. I love this: https://fibery.io/anxiety
Oh for sure, it's not like fab capacity is the only bottleneck at this point. Seems like everything is the bottleneck.
A few years ago I built something similar to this, in that it used the JSON API definitions to automatically scrape the entire AWS API surface area.

But I was doing it every 5 minutes and storing the result in postgres instead of it being on demand. I very quickly received a call from our account rep asking for it to not query particular services as frequently.

Apparently some of the newer services at the time I was scraping were not as optimized in terms of response caching or metadata queries as they should have been.

(Note: apparently it wasn't the overall frequency that was the problem, it was a few services that returned paginated results and fetching every page every 5 minutes was causing issues.)
The best use of trains for me is as overnight sleeper.
Combines the cost of an overnight stay with the travel ticket.

The few times I have done it - lowest class with an actual bed - it was pretty minimal as a hotel experience but great to be able to wake up, step off the train and go to town!
Very old idea. First one I remember was COBOL--enables accountants to learn to use computers "without having to program", meaning without having to learn 1401 code.

Later, there was the 5th generation movement with Prolog or Prolog-type langauges.

Before that there was Fourth Generation Programming.

Building systems is hard and requires programming. So people look for a way around it, leading to the next generation of "no-code". Then, the systems reach some sort of inflection point where programming is again required to add functionality.

[Edit] See also "No Silver Bullet" for a thoughtful discussion about complexity of problems.
This cycle will continue to repeat.
I love this idea. Could open up blogging to whole new audience s
Facebook Ads Told Me to Become a Certified Cryptozoologist, So I Did
Memory safety obviates these other protections.
My 2011 car has ECUs for: engine, brakes, ABS, air bag, air conditioning, alarm. All of those are connected to a gateway, that is another ECU.
Do you want parking sensors? That's another ECU. Multimedia? That's one or two.
Cars of 2000 have not much less ECUs. Consider also that components to build such ECUs are now totally obsolete and out of production.
Microecon survey courses have possibly induced more dunning-kruger than any other institution in history.
Peloton CEO and CFO Address Employees on Stock Drop
Article I read in 2014:

> Trains are such an indispensable motif in Atlas Shrugged, that, when some of Rand’s acolytes produced a slavishly faithful film adaptation of her book set in the present day, they had to invent a convoluted rationale involving resource shortages and industrial disasters to explain how railroads had once again become the dominant form of long-distance transportation.

Well… that aged… interestingly.

https://harpers.org/2014/06/ayn-rands-rapture-of-the-rails/
Show boobs

That will be one thousand dollars please
Vulture Capitalists.
That's... not really an argument? Electric aircraft are not economically viable until we account for externalities, so we're moving in the right direction.

Even after carbon tax, electric aircraft is still a technology in its infancy, compared to electric trains. Are you proposing that the government should spend billions of $$$ on an experimental technology when a proven alternative exists?
> Rust seems to have this cult-like power. Rust developers are definitely drinking a lot of Kool-Aid. Maybe if all the JavaScript tools are written in Rust, we'll start seeing Rustscript in the browser.

Rust has tremendous popularity because it solves an enormous class of problems for system programmers and require very few compromises compared to any alternative.

The hype is real, but it is very unlikely that another language will compete for this space.

Rust doesn't really work well in the niches most impacted by fad-driven-development. Nobody is claiming you should do web dev in Rust nor consider it comparable to much better languages for that space.
I have a feeling none of this is about facts.
Side comment - the visualization linked from flowingdata is absolutely cool (and to me much more interesting than the linked article)

https://flowingdata.com/2015/09/23/years-you-have-left-to-li...

I wish there was a dashboard where you could input more data about yourself (diet, habits, family health history, location) and watch the animation change accordingly
David Graeber had an account here and defended himself from DeLong's accusations in a comment [1]. They even had an exchange in that thread. At best I think DeLong has been pretty uncharitable to Graeber.

[1] https://news.ycombinator.com/item?id=17163449
There are plenty of images of the "Mona Lisa" painting, and you can print one yourself if you wish something to hang on your wall, but there's a 'real' one. Similarly the original creator of the digital item (tweet?) makes a public statement that they're assigning it to you. Think of it as a certificate of authenticity:

* https://www.agora-gallery.com/advice/blog/2017/12/02/prepare...

* https://en.wikipedia.org/wiki/Certificate_of_authenticity

A chain of custody from the original creator, to you, to whomever you may sell it to.

The Plain Bagel channel had a good video on the subject, 'WTF Is an NFT? (And Should You "Invest" in One?)':

* https://www.youtube.com/watch?v=ItG-W3_EvOY
#2 people won't let you build shelters where it's affordable to do so. Seattle's homeless shelters should be built outside Moses Lake, not where a studio costs $300k+. For the amount we already spend, every single chronically homeless person could be housed in dorms built out there and pay for the social workers. Since they aren't doing that, it's clear the real motivation is not to help the homeless.
Looks great! Seems to me that there’s just not enough pain around this. Ironically, React being “good enough” at performance (in most cases) probably means that there’s not appetite for squeezing out the last few millimeters (again for the vast majority of use cases — clearly there is some need otherwise svelte wouldn’t exist).
#OperationTuneup to fix UK gas boiler setup this winter
This doesn't seem right to me as it goes against my intuitive sense of how other factors generally scale with size/weight/volume (e.g. rocket equation), but I admit I'm definitely not an expert. However Wikipedia claims [1] that 250-300 Wh/kg is sufficient for small aircraft but something the size of an Airbus 320 would need 2 kWh/kg. A random recent paper about scaling electric aircraft [2] seems to imply that there are challenges to scaling size as well:

> All-electric designs have been demonstrated for small air vehicles. However, such prototypes have not been scaled up to more than ten passengers due to the specific energy (E*) limitations of current battery technology. [...] A significant proportion of the energy expenditure would be used to transport the mass of the batteries; this mass would not decrease during a flight as would that of conventional fuel.

Are these sources wrong, or too simplistic in their analysis, or am I misinterpreting what they're saying?

[1]: https://en.wikipedia.org/wiki/Electric_aircraft#Batteries

[2]: Structural Power Performance Targets for Future Electric Aircraft - https://www.mdpi.com/1996-1073/14/19/6006
Why ? They don't like what they are doing ? Suddenly ? Or they are looking for a new master ?