skysight-inc/HackerNews huggingface dataset:
Could just as well be at no additional cost. If your monolith separates services somewhat cleanly then you can run them on every node and not even touch the part of the codebase that's not related to the current task.
Doing the average of everything is a great way to be pretty wrong. If you have to guess, guessing average seems fine, but if you know better, going with the herd can be foolish.
The move to microservices is often more about scaling change management when an organization grows from tens to hundreds of engineers.

Change management becomes the bottleneck when organizations exceed Dunbar's Number, and a "reverse Conway maneuver" is needed to counter excessive cost of coordination.

https://cloud.google.com/architecture/devops/devops-tech-arc...
I've seen quite a few people use the argument that their system wouldn't cope otherwise when they reach the size of Google.

If you are one of those, then I have news for you.

1. You are not going to reach the size of Google. Certainly not if you are engineering for it in your 2 person startup. But in case you do, see number 2.

2. Reaching Google scale means you'll have funding to hire good people to scale your software.
No, it's language.
I'm going the opposite way and switching from CSS-in-JS to Tailwind.

While I like the css-in-js way of doing things, React seems to be moving away from runtime css generation, and I'm not sure the ecosystem will catch up (and I'm tired of playing catch up).

Sticking to CSS guarantees you won't have any compatibility problems.
Microservice are a way to organize teams. Modules and services also serve that purpose.
If you are OK with FreeRTOS instead, then it's even cheaper.

The cheapest you can get is about $5(Espressif assembled board), with full LED matrix controller.(that's the cost of manufacturing, though)

a full blown Linux stack is $10+
That particle board material would crumble too much if they used a notch for removing the back. I've seen other items in similar cases with the exact same drilled hole in the back cover. Many used staples to hold the back cover on as wood screws tend to damage the (other) particle board used to make the sides. The "designers" probably used it because they had some other item at home (stereo, TV, loudspeakers or clock-radio).
You don’t have to standardize build or deployment or configuration. For serialization, you can use something like GraphQL which will enforce types. For logging, you need distributed tracing which services like Sentry have good support of.
Webxr with Three.js
> all anyone seems to target with new languages for embedded these days is ARM

.. and RISC-V. Zig does work with RISC-V, to some degree at least.

I hope Zig support for AVR improves. For legacy reasons. But I don't think we need more AVR going forward. It's rather proprietary, no?
Even if the open source contributor does not intend to monetize (not that there is anything wrong with that), even in it's core idea, it is still essential for open source contributors to know marketing.

1. As someone below said, even if you give away for free, people need to know what it is and where to find it. If you do not market, then you are just singing a beautiful song into the Void.

2. For an open source contribution to live and be useful, it needs to be maintained and evolve with the time and needs. That needs a healthy community around the project.

3. Open Source contributors are also living lives and there will come a time when they need to step back. This should not have a debilitating effect on the continuity of the project.

4. Also having a healthy community that supports in dev, responding to issues, documentation etc will have a positive impact on the contributor's mental health in the long term.
That's why we need 10x engineers.
Unfortunately, the more languages I learn to speak, the more I start mixing up their grammar rules.

Programming languages don't help either: The full stop goes outside the quotes, right?
really, avoid underscores altogether - they are very horrible. even people that know that there are exclusion rules for them don't really know what the rules are. and if you get things wrong, the error messages your compiler gives you will be incomprehensible. so, just don't use them - why would you?
Glad you find this neat. We are also trying to build introspect capability without using the client binary.
> All of which make me wonder every time why the European left (pro- government) are against it, but the right (market liberalism) love it. It should be the exact opposite.

That one is actually easy to answer: Most of the European left does not like nuclear because of cost externalization - let's be real: it's not today's rate payers that are going to fund the decades worth of work needed to dismantle the plants (e.g. the AKW Greifswald in Germany has already been taking 30 years with at least 15 more years planned [1]) or to safely store all that nuclear waste for likely hundreds if not thousands of years, it's the tax payers of the future. On top of that come the enormous and un-insurable financial risks of disasters: Chernobyl happened 35 years ago and still you can't eat game or shrooms in Bavaria without running them in front of a Geiger counter (not to mention that Chernobyl is in an active war zone with radiation-releasing disruptions having happened as a part of the war, as are about a dozen other plants that are, to make it worse, even being actively shot at), the cost of the Fukushima cleanup is estimated to run into 200 billion dollars.

In contrast, the European right wing loves nuclear precisely because it is so "cheap" on paper with ~13 ct/kWh... it's their usual playbook of conveniently ignoring the above-mentioned externalities.

[1] https://www.zeit.de/2021/42/rueckbau-kernkraftwerke-atomauss...
I understand the pain point, but I just don’t see crypto as an industry capable of solving it. Just look at how centralized some of these new networks and tokens are.
You’d have to force everybody to use only one or two languages.
For a time at Uber the direction was go/java only
Examples are hard to remember. Often modern movies are attempting to subvert the tropes. Thus as parent comment mentions you might notice the structure of the film is doing X only to subvert that expectation.

For me the most memorable time was "Captive State". Namely in how the film subverted the heist tropes. The film did poor in the box office, but personally I found it the best film in recent memory. Exactly because I noticed how the film raised tension never relieving said tension. I'd say more, but I truly think you, the person reading this comment, should watch it.

Adam Sandler films are another good example. In that his films do not subvert tropes. Which in part makes watching easy for mainstream audiences. Which will cause you to laugh at his jokes a scene early.
And then you invent things like service mesh, tracing and what no to solve the problem you created.
The more charitable explanation is that the pins for the lightning connectors really do not wear out. This complaint is a made-up problem and in the real world it does not actually happen any more than someone accidentally jamming something into the usb-c port and breaking the center connector. Lighting ports do have one problem usb-c lacks: they collect a bit of pocket lint that can impact connections and eventually needs to be scraped out using the sim ejector tool (or a paperclip.)
I think the quiz is taking the opinionated conclusion that your cable must connect to any external hard drive and provide maximum throughput.

And for that, you need Thunderbolt 4.
Author here! Thank you to whoever posted this. My 2023 resolution was to market it better so this is a great help :).

The overall intent was to create a single, fairly concise volume sketching out the main areas of computer science so that developers from non-traditional backgrounds (boot camps etc) have at least some kind of map of the territory.

When I started working as a dev I really struggled with the idea that there were so many things that I should know about but I wasn’t even aware of until they blew up in my face in some way.

agomez314’s comment is very valid — my framing was “CS stuff that you will encounter as a developer”.

Happy to answer any questions.
I had the chance to use Tailwind recently. I don’t think it’s disputable that in a sense it mocks the “cascading” part of CSS, though I’m not sure I’d hold that against Tailwind. It often felt as taking a shortcut to me, but it could be a worthy tradeoff and so far I have not noticed Tailwind overly complicating maintenance and development of an average project. That said, I don’t think I would choose Tailwind if I could use, e.g., web components with scoped styles or something similarly more in line with the spirit so to speak.
There’s wide range of anti-depressants and many different treatment strategies, including dosage variance. Metabolisation tests may be helpful in some cases to determine if a drug may behave in unintended ways in your body but that doesn’t mean the drug isn’t part of a valuable treatment strategy for you.

The process of experimenting with different treatments for mental health conditions isn’t about finding which drugs your body is most capable of metabolising, rather, it’s to find which treatment meets your mental health needs. A drug may have severe physical side effects but address your mental health symptoms so effectively that the treatment is worth it: a gene test won’t highlight that.

Unfortunately, we don’t really know why some treatments work for some people and others do not: if you’ve got dozens of options, and not enough time to test them all, then a dna test to rule out a bunch is probably going to be helpful (since you’d have to skip some anyway!) but it’s definitely not a case of, everyone should do these tests before deciding whether a treatment is right for them.
Well, it's easy money. Whether they actually care... who knows?

What does the vast majority of Native Americans (ca three million people), or specifically the members of Apache tribes, think?
Do you mean a cronjob that calls a Django manager command to do the work? Or invokes an API method? From my experience cronjobs have a lot of downsides as well. They're great for doing tasks local to the server the job is running on. Not so great for the kinds of tasks (periodic or transactional) that Celery/a real queue is designed for.
I would just use serverless functions to achieve the same thing personally, if you're in the cloud already, chances are high you can trigger functions based on new records in a database or new file uploaded, or what have you. Then you don't need to import much outside of the serverless SDK which should typically be pretty minimal.

That's how I did a timed function for a Django project we were hosting in Azure anyway.
> This should be called "Don't use Tailwind in a React library for a design system"

That's true.

> as this really has nothing to do with Tailwind

Well.. it has to do with using Tailwind with React for a design system. :)

He does mention that @apply doesn't fix the problems he mentions, which is what Tailwind suggests as the solution for abstraction when you don't use a component framework: https://tailwindcss.com/#component-driven (scroll down to "Not into component frameworks?")
"I could not care less" means: "My interest is already at zero". The other form is wrong, its proponents sometimes cite irony, but that's very weak.
Have been trying to get to this link a couple of times during the day, did we kill it?
That is true and on that point, Windows didn't have an integrated firewall until the XP Service Pack 2 release.
This should be way higher up.
Most decently large colleges have been investing in HPC for a while, and started investing in GPU HPC around 2014. You'd be surprised what sort of school projects the compute budget exists for.
>Even if you solved that, you'd still have problems with knives (you can't outlaw kitchen knives),

There are many pictures with labels in the uk saying you have to be over 18 to buy plastic utensils, because there's a knife.

This is why the UK had more homicides after banning firearms.

Homicides up, gun related homicides down. Turns out, you have some gangster shoot up a place. They land perhaps a couple shots and run off. The victim is rushed to hospital where they are saved.

Chef knife victim on the otherhand will die.

So the politicians who banned guns in the UK are morally responsible for more deaths occurring. They could have addressed the actual reason the homicides were occurring but failed to do so.
The idea that an org that has hard time maintaining a properly structured monolith, will solve it's problems by shifting to building a distributed system was always strange to me.
cheers! Will take a look.
One issue I've had with postgres full text search is when you want to rank using ts_rank you end up with a full table scan.
I am having a hard time believing that people at Meta are really that oblivious that they require random HNers to show them where the issues are with their org.

It's probably more likely that there are good reasons why they are doing what they are doing and the root causes for their slowness are a lot more subtle than "meetings too big".
Reminds me of that screenshot of a windows popup unable to display an error.
I wish Microsoft had more Raymond Chens, and less... whoever it is that makes decisions like "let's preinstall candy crush", and "let's break the start menu AGAIN". There's a real elegant core to windows, it's such a shame that a lot of the higher level stuff piled on top is so crappy.
Others have said it better. If you google 'notams are broken', numerous results will show up explaining various problems with the NOTAM system.

Edit: Here's a good one - https://fixingnotams.org/ending-notam-nonsense-in-the-digita...

A general inefficiency example using two airpots I often have in mind: IAH and JFK. In IAH, traffic is spaced out in cruise well before the arrival begins, where they're burning much less fuel at high altitude. They're then instructed to descend via the full STAR (standard terminal arrival), including the transition to the approach for the runway in use. This looks like a hundreds mile long line of planes all following the same path to the same runway. The only further instruction necessary from ATC is speed adjustment, and allows for an almost continuous descent to the runway provided there's no weather in the way.

At JFK, the spacing occurs much later and, even though the airport has some similar arrivals (though none quite as thorough), they instruct every altitude change and speed adjustment for every aircraft individually, along with vectoring them to the approach for the runway in use. It results in an incredibly busy radio environment and numerous inputs from pilots flying planes capable of simply following a STAR and transition, like in IAH (or ORD, SFO, LAX, etc). There's also much more time spent at low altitude burning more fuel. It reminds me of everything else in NYC, which seems to be inefficient on purpose (NYPD, MTA, DSNY, etc.).

JFK and IAH have a similar number of aircraft movements. Yes, NYC has busier airspace with numerous airports, however, I don't see how this prevents the design and implementation of more modern procedures. Flying around at 4000 feet in an airliner getting numerous vectors just seems ridiculous compared to what I experience elsewhere.
Irem M92
There is no such thing as a grammar mistake, only a grammar inconsistency. Intelligent people use grammar consistently up to the moment where that consistency impedes clear communication.
A grammar "mistake" is a foreign dialect.

Unintelligent people babble wisps of ideas and leave it to the listener to make sense of them.
Memories: Artificial Intelligence at Stanford in the 70s
Yeah, it's crazy the hate microservices get. I happen to work on a product that needs to scale to handle millions of transactions distributed all over the world and the cloud microservice system is just flawless for this purpose. Is it harder to debug than a monolith? Sure. You need a team that has a good understanding about distributed systems (most coworkers have degrees and the ones without are really good at self-teaching, kudos to them). Could you easily develop our system in a monolith? No, it would be a nightmare, if even feasible given the same availability, security and performance constraints. I totally agree not everyone works on stuff I love to work on (huge scalable systems), but Google and co didn't engineer this tech because they felt like it, but because there was a clear need for it.
One thing that terraform does (see below) is that it diffs the desired state with current state (again: see below), and then makes the necessary changes.

So, if you have terraformed a load balancer balancing load between 2 machines, and change your terraform to declare a load balancer balancing load between 3 machines, it won’t destroy two machines, destroy the load balancer, create a new load balancer, and then create 3 machines.

Instead, it will create a new machine and change the load balancer to know about it, so that your service is uninterrupted.

Problem is that the above isn’t quite true.

Firstly, comparing with the current state is slow, so terraform has a cache of what it thinks the current state is. If they get out of sync, things can get interesting.

Secondly, all changes are done by plugins of varying quality. Your cloud provider may, for example, support reconfiguration of a load balancer, but if the plug-in doesn’t, terraform will destroy and create a new one.
It helps me to separate photography into two areas 1) Art 2) Documentation. If I feel like "creating something" I might challenge myself to work within certain confines. If I need to "document something", I bring the proper tools for the job.

If I didn't do this, then I wouldn't have had the joy of successfully executing pinhole photography (i.e. Art). While also capturing whales jumping out of the ocean a few feet in front of me in a small boat in the Pacific (i.e. Documentation)
Apple Needs to Take Its Time with Augmented Reality
So it's not looking good. After all these years, people stuck with a bloat/slow React (but with all benefits come with being popular alone). State / routing / form, nothing has a decent de facto.
I mean, I wouldn't. Would you?
Tailwind classes are a syntax (especially since you can set arbitrary values e.g. `top-[-113px]`) and they still represent CSS. So really you're using a DSL with its own syntax, functions and directives on top of the CSS you should still understand. The main benefit is speed: you have a library of utility classes that are shorthand for common CSS patterns. If you are pretending that you're not writing CSS, you are forgetting how the browser is actually working -- eventually you may have to leave Tailwind and you'll find you've forgotten how to write good CSS.
US presidential election: Russian Twitter campaign without any measurable impact
Hacked?
R.I.P. all these beautiful souls. A lovely tribute to such a life-affirming group of people.
agreed, non-native speakers see the rules where native speakers do not.
> Electricity is not sold on a "free market" anyway - I can not just hook up my nuclear power station without paying a specific tax aimed at just nuclear power generation - here in Sweden it is called "effektskatt" (output-power based tax) and is responsible for making it very hard or impossible to profitably run nuclear power stations [1]. The government went so far as to change the leadership for the state-owned power company Vattenfall because the existing leadership was not deemed to be cooperative in leading the change to "renewable" power sources.

The "effektskatt" was removed in 2018.

> On the other hand I may be able to put a wind turbine on my premises and get subsidised for doing so which has the opposite effect of the mentioned tax on nuclear power in that it makes it easier to generate wind power profitably.

The subsidies for wind power in Sweden was phased out in 2021 due to not being necessary anymore.
It is fascinating when someone does a deep dive into movies and flesh out potentially deeper meaning. For example this YouTube video (https://www.youtube.com/watch?v=MALVhzMcJ1k) does something similar for the Vader-Luke duel in "The Empire Strikes Back" albeit on more emotional interpersonal level than philosophical.
The OEIS lives here:

https://oeis.org/

Super useful resource.
CTRL + F archive

There's usually someone linking a non-paywalled version of the article on HN :)

https://news.ycombinator.com/item?id=34337874
This is hard a-priori, but fairly easy post-facto. Model distillation isn't a common practice yet, but it has already been demonstrated to be quite effective for specific use cases.
Great news! Cloud instances energy usage is included in their price, and because they're remote and transient it's impossible to permanently damage them.
This is funny for me to read today. i just decided to call out of work and take my own day off. i told them i was sick. i feel fine. just don't feel like working.
I don't see enough insightful content on this to keep it on the front page, but it seems to have touched a sore point.
Reference of course from Star Trek: Generations.
True about lint in lightning ports, but not entirely true it doesn’t happen in USBC. Probably less common, but I know somebody who had to get some saw dust out of a usb-c port.
In some large cohorts (ex. white liberal women [0]) nearly half of the members are mentally ill or identity as such. Any illness having that level of afflicted should be a major concern, we should pull out all the stops to find out why (and given it's a mental illness, it really makes me rethink democracy). People feel comfortable to talk about it more is a cop out, either these aren't really illnesses (eg. having some level of anxiety isn't abnormal for humans or other primates, some percentage of people on anxiety medication probably are on it without a good reason) or there is some environmental cause we are missing, my guess is it's a little of both.

[0]https://wibc.com/108211/pew-study-white-liberals-disproporti...
.. my donation experience was strikingly similar and the team at Johns Hopkins were on task the entire time. The attention to seemingly unimportant details are what impressed me the most. They will be flying me back in 3 weeks to meet the team again - and the recipient - a 26 year old battling a rare blood disease [less than .02% of the world population].

I'm already stock-piling the tears.
You can work around that by using relative linker paths (rpaths).

See 'install_name_tool -add_rpath' (to add an rpath search path to a library or executable for finding other libraries) and 'install_name_tool -id' (to change the ID of the library to be '@rpath/<name of library>', ie:

install_name_tool -add_rpath @loader_path/../lib <path-to-library>
install_name_tool -id @rpath/<name-of-library> <path-to-library>

Works with Frameworks too.

Agree it is a PITA to setup though.
In practice, likely. The trouble with only communicating by API is that if you want to change the API you can't just tell those who use it that they'd better be prepared for breakage, so you have to juggle both the legacy API and your new API in your work to maintain compatibility.

If you use a linked library, interface compatibility can be a real challenge. Web APIs, as you call them, offer more flexibility in adapting to different callers. It also comes with the added benefit of defining explicitly clear boundaries between teams that something that shares memory doesn't necessarily guarantee (e.g. monkey patching). This oftentimes makes it a good practical choice.
Did the company make money?

That's the reality of it. You don't need shiny frameworks or any of those tools to make money.

Are developers happy with it? Maybe! Nothing wrong with spicing up a site with a little jQuery. Heck, I used Alpine.js on a brand new site and it's great. No build step, just works!
I would think it would run well on a M1/M2 Mac as a native app though, right?