skysight-inc/HackerNews huggingface dataset:
"in European cultures small talk is not a thing"

European cultures are quite a broad range, from Sicilian to Finnish and Basque to Serbian. Percentage wise and excluding Russia and Turkey, I'd wager that small talk on average is common in European cultures (so every other country apart from Germany, Norway, Sweden, Finland, Denmark, Switzerland, maaybe Netherlands?)
The books Make: Electronics and Learning The Art of Electronics are pretty good hands on resources.
You people are joking around but someday, some long-term resident of a zero-g space station is going to need this.
As much as I like Swift, the tooling has been and still is subpar. Swift package management is barely viable.

You have to use Xcode. You can try other IDEs but LSP equivalent features are at the most basic level. Xcode is the kitchen sink of IDEs which has led to many negative opinions as it struggles under its own weight. Every other year there’s new UI for things like debugging which is fine but what would be really nice is if the actual debugging worked. Technically there are reasons why you can’t print a local variable sometimes when stepping through a program, but in practice, I do not care and I want to know what the value is.

If you don’t care about the “optional” tooling like the dependency manager and LSP or a linter (which is closer to ESLint versus Rust Analyzer), the required tooling leaves much to be desired. The compiler sometimes gives up when it takes too much time to process a complex type. It would be understandable in some cases but most people encounter the problem when just writing seemingly simple SwiftUI. Error messages and auto fix-it suggestions are improving but still disappointing. I remember when Apple switched from GCC to LLVM and everyone was praising the error messages as a reason to switch.

Swift is actually ambitious. The generics system is world class. It has to support the legacy of a huge ecosystem on multiple platforms. SwiftUI is one of those bets that you might be surprised that Apple can still make. But whenever I fire up that SwiftUI Preview, I am crossing my fingers that maybe I’ll see something instead of an error. Swift lives up to its name in terms of moving quickly and the language design is probably fine, but outside of that, the tooling is still very immature for a decade old language which tons of resources are invested in.
How to get anxiety 101
Show HN: Gov.uk Vue, a Vue component library based on Gov.uk
Hi everyone,

TLDR: I've just released an alpha version of GOV.UK Vue, an easy to use, accessible component library for Vue 3, and I'd love to hear any feedback you have.

This post links to the GitHub repo but there's full documentation on https://govukvue.org

I'm in the UK and our government is very bad at a lot of things, but it's very good at building digital services - there have been discussions praising how easy to use GOV.UK is in the past: https://news.ycombinator.com/item?id=18252300

The frontend framework they've built, the GOV.UK Design System, is great, and I use it all the time in my day job. But no-one had built a Vue library for it yet, so I decided to do it.

My aim is for it to be the most accessible Vue component library available - the Design System components already have brilliant accessibility, so all I have to do is not mess it up when porting it to Vue, and I think I've done OK (but let me know if you find any bugs)

At the moment my focus has been on implementing the components in the Design System, so GOV.UK Vue doesn't include things like modals or autocomplete, but I'm planning to build a companion library which includes those kinds of components. Let me know if you'd be interested in that.

Please check it out and let me know what you think!
The US protein RDA is not adequate for vegan males
Shit breaks down into food.

In the ocean: bacteria food -> plant food -> fish food.
I have gone past the point of giving a shit. Unless it's something I really care about the minuscule details for I'll get ChatGPT to write the main chunk of code and then fix the bugs. It's no different than having a junior dev working for you, except it's quicker and doesn't piss off to lunch or go sick when you need them.
> It’s not as if a two CPU machine can run two Python processes “in parallel” as opposed to “concurrently”. I have 100 other processes running too. It’s all concurrency, and never parallel.

If they're both CPU-bound they probably can. Most of the time those 100 other processes are probably sleeping and not actually using the CPU (unless you're at 100% CPU usage all the time? My computer tends to sit at around 5-15% usage)
In Poland, I first started hearing it around vaccines and climate discussions couple years before COVID - but that may have been because I was hanging out in various social media groups discussing those topics (and/or just mocking the "science deniers"). The term however seems to have exploded in use since the pandemic. I think it's because it suddenly became relevant to mass audience and journalists started using it.
Everybody will probably recommend a bunch of books or MOOCs with varying degrees of practicality but if you want to learn in the sense of building some sort of intuition, then just buy:

- A large breadboard

- A battery holder

- An online kit with an assortment of passive components (resistors, capacitors, inductors)

- A cheap USB oscilloscope

Some of these kits even include things like FETs, opamps, 555 timers etc. Which really stretches what you can build.

Then just look online for circuits that you find interesting, build them and probe them (with the oscilloscope). The closer you get to building something you find useful the more engaging the experience will be.
Triboulet: "A noble has threatened to hang me!"

The Monarch: "Don't worry! If he hangs you I'll have him beheaded fifteen minutes later."

Triboulet: "Well, would it be possible to behead him 15 minutes before?
> The way that Haskell-the-language evolves — well, the way that GHC evolves, which is de facto Haskell since it's the only reasonable public implementation — is that it gradually moves to correct its past missteps and inconsistencies even in pretty fundamental parts of the language or standard libraries.

I would say that the biggest problem is that GHC is tied to a particular version of base (the standard library). So when changes are made to base, and a new version of GHC comes out that supports only this and not earlier versions, you're forced to change basically all of your dependencies, if you want to use this newer GHC version, as they all depend on base.

I still don't understand why this is necessary. Why must code compiled with GHC 9.6 use base version 4.18.0.0? Why should the binary that is GHC care about which version of the Data.List module the code that it compiles uses? I understand that all the GHC-specific stuff exposed by base is tied to a particular GHC version, but why all the rest?

There is, however, work in progress to split base into multiple packages to fix this (as I understand it): https://gitlab.haskell.org/ghc/ghc-wiki-mirror/-/blob/master...
Guessing it’s to cache the results so it’s faster to access it later
In my experience there are 3 types of justifications for big decisions. The first is data supported, any logical person would come to the same conclusion. The second is data sort of supports it, yes there is a leap, but people can see it and argue whether it's real. Finally there is no real data to support, in this case a founder type needs to convince people it's there but no one sees it yet (it's our secret and we're going to own it). What's worked for me is to have a short (like a day) period where you allow everyone to be heard, then you make the decision and make it clear that if you disagree once the decision is made you commit. Inevitably someone who thinks you're wrong will leave, that's ok. New people bought into the direction is good.
https://archive.is/H1sh9
washing dishes by hand are absolutely NOT cleaner and ultimately extremely wasteful in terms of water used.

use a dishwasher from the last 20 years.
Do you really believe in the change? Not just bought in to someone else's idea, but fully understand it, believe in it, and are able to confidently both defend it and highlight where the benefits to the team are?

Do you have another team you can point to/work with who have already gone through this, or who are going through this at the same time?

Can you find one or two people that you can practise selling the benefits to first - and not hoodwinking them but actually getting them on board warts and all?

If you have the above, then a good day or two out the office at a neutral location can work wonders - get people talking and focus on the clear outcomes you need. You'll need to take people through Why, How and What, but don't let people waylay you in the 'Why' if you can help it - make sure you keep the 'Why' to the benefits, outcomes and opportunities.

The worst thing you an do it let it turn into a moanfest/slanging match - try to plan to find ways to defuse this.

Of course, if you also don't believe in the pivot make sure you question those above you/peers - and see how you can improve the situation before you drop it on your team. If it is that bad, ask yourself why people should stay at the company, yourself included.
This seems to be getting pendantic about nomenclature.

There is no "true serverless", there is only the usage of the word that the majority of people use, which is to mean server-as-a-service. Nobody suggested it's a way to avoid lock-in. It's a way to avoiding managing servers.

I don't see the problem here.
https://archive.is/ybp7i
Reminds me of org-babel[0] for org-mode on emacs, it basically does the same thing. it lets you run code inside your org files.

[0]: https://orgmode.org/worg/org-contrib/babel/
Yes, and it also is the point I think most people here are missing.
A tangential question if any one can offer pointers.

I am interested to know if it possible to programmatically create a jupyter notebook, add and edit cells programmatically, ans also execute and capture the results of execution via API calls.

Any guides , documentation or examples of this?

I am looking to integrate this functionality with another component upstream that triggers cell creation and code execution.
> doesn't piss off to lunch or go sick when you need them

It doesn't until it does I think.
"Replace" is difficult to define. Will there not be a single artist? Obviously wrong.

But possibly we have seen "peak" numbers in some professions? There are some exceptions, but in many modern professions, the numbers of professionals have only been increasing with GDP growth (e.g. quantity of lawyers/accountants/doctors).

I would guess there are more professional human translators today than there were in 1950. However, I think this is one profession that may "peak" at some point: For low-value texts, machine translation will be good enough, leading to a smaller pie of paid translation work, which can only sustain a smaller number of translators. The field will certainly stop growing and may decrease at some point. Anecdotal, but in the European Union institutions (https://www.politico.eu/article/translators-translation-euro...), it appears that we have already hit this "peak" and the future is gradual decline in the number of translators employed.
I agree with the author. The idea of "collateral knowledge" or "chain of learning" is definitely important for personal understanding and learning. However, I think depending on the person, ChatGPT actually helps the chain of learning rather than hinders.
commonly also used as tags on forum posts
> the software is unbelievably powerful today.

yet still not able to draw a cursor or a scrollbar so i need to wait 2 seconds in word for the cursor to appear or 1 second, after i move the mouse to the side, for the scrollbar to appear.
I mean, ok? It's a weird move that doesn't seem to have much of a market, IMO.

I don't know any serious cyclist who uses a phone as a head unit, though.

People just starting out often do, and are mostly using an app like Strava to display speed and track the ride, but once they get into the hobby much further they'll buy a Garmin or Wahoo or Karoo and use that. This purchase seems to come soon after the tight pants and clipless pedals, but not LONG after.

A purpose-built device is a better choice for plenty of reasons.

- Phone batteries are better now, but keeping your screen on for 60 miles is not a great move IF you also want to be sure you can use your phone for calls.

- Device screens are optimized for the kind of direct-sun, off-angle reading you're doing on a bike. Phones work less well.

- Phones are big and awkward compared to even the largest bike computers, which makes for a goofier mounting situation.

Using a phone for navigation on a motorcycle makes a little more sense, because you can have a power feed, and there's more room in the cockpit (typically).
I gotta side with the dishwasher. Mine heats the dishes so hot my hands would burn off doing it, and it uses 5 gallons of water for a full load.
The point is more specific than that: the claim here against this example is that Haskell's `do` notation uniquely lets you avoid indentation depth. The thing is, none of those other examples cause indentation depth problems in other languages because they don't force you through type system hoops to get useful work done.

Besides, you can (ab)use Enumerator for all sorts of monadic things if needs be and end up with something quite terse. A random number generator is trivial, for instance.

I'm not saying that `do` notation isn't a neat trick, it just tends to be a trick other languages don't need. Its generality is both a blessing and a curse.
I don't like clean code, and like the author I find the things presented in Clean Code to just make incredibly inscrutable code. The worst code bases I have seen have been the ones with no code plans at all, and the ones that use Clean Code and Gang of Four like a bible, both are equally mazes of spaghetti. Clean Code I really just don't agree with, and I think this author lays it out well. Special design patterns and tons of polymorphism usually end up creating multiples of complexity in the effort to reduce DRY at any cost (and often are abstractions that are only ever used one or two times anyways).

Ultimately I think the single most important rule for clean code is: skinny controller, fat model. If you are doing batch data, then this applies still I think. You should have all of the logic you can in the model, avoid data objects. And the code paths that alter things should be as thin as possible. I honestly think it is better to have a 5k line model if it avoids more.

The most unlcean code I have seen usually falls into the abstracted out processes in financial instutitons where they follow Clean Code advice and everything are a bunch of functions passing around some big fat objects full of getters and setters, and changing any functionality means adding changes somewhere in the process to check state and alter the state, which leads to loops and if statements everywhere to see which account type it is at each point etc.

But in OOP programming its supposed to be objects sending messages to each other. Every object should know everything about itself, which is what a fat model demands. Any more abstraction than that seems to get in the way.
It's a matter of trust. My teams are mostly self-organizing where they have almost complete autonomy over their work product in true Agile sense. The times that I have to step in to introduce changes, I pitch the benefits and intended outcomes. I'm also quite transparent with my teams. If something must be done for security/compliance-sake, I also share with them my disdain for it but also how the particular change increases our sustainability. They may not like the change but if they see the benefits and outcome, you should be ok.
Launch it in a targeted niche as cheap as you can. If it doesn't spread it's probably not viral.

The viral nature of products is when they can tap into the network of the userbase to drive further adoption, not by an increase in marketing.
The Navy Electricity and Electronics Training Series (NEETS) are a good high level overview that can help you learn which areas you want to explore further. Specifically to the questions you asked, module 1 will give you the overview on basic circuits.

[1] https://archive.org/details/neetsmodules_202003/
May be it should do a better pr. f

For example like rename the belt to Pluto Belt so it is much larger. Killing Pluto is not the way. Change its position is so much better way.
The biggest problem with logos IMO, which AI absolutely won't help with, is that everyone tries to stand out by copying everyone else's design.
Why clear vision and clear communication are of paramount importance [video]
// I make around 600k ... Still, I capture only a fraction of the value I generate for my employer.

There seems to be a two way street here. Presumably if you could make 600K or more by yourself, you'd be doing that rather than working for your employer.

Your employer, likely way before you got there, created an environment where you could come in and earn this much. If they and companies of that profile didn't exist, would you have a place to earn even 200K? So maybe you actually are splitting the value you are generating half-way.
I googled, google said you were wrong about your claim that, and I'm quoting you here, "people trust gossip more". Since you say you believe I can google just as well as you, there's no need for you to question this, either.

go figure: google, the article, common sense, and common wisdom, all disagree with you

still open to hearing evidence of that claim of yours, but at this point it seems more likely you'll claim gravity and evolution don't exist and tell me to "google it"
To be worth a damn, CBDCs need to be anonymous and probably decentralised. Which no central bank has actually proposed yet. All the proposal so far are just the same as cash but with more downsides for the user. Personally I am no goldbug constantly sure bankers will steal my savings. But why would I use a CBDC when i gain nothing I cannot already do with cash (either actual folding money or in an account)?
With p0 and p100 being buckets whose min() values (and in the case of p100, only value) are also the min() and max() value of the whole set.
> a sort of Carbon API but for Amiga OS.

That's a great idea! I reckon you should write up that idea as a blog post and see if you can get the community to offer some proposals, and maybe get some AROS, MorphOS and Hyperion (AOS 4) folks to chip in.

> ps. You're comments are always quite interesting and informative.

Thank you very much! That's really good to hear. :-)
Yeah, mostly just a thing I've been doing since I was a kid, but I've been paying a lot of attention to breathing lately (blood pressure...) and I get notably less negatives sitting at a computer if I'm humming along to music.

If I just sit here silently, I often notice cold hands/feet and a blood pressure spike. Often associated with intermittent sighs or irregular breathing.

Humming just forces me to breathe. I can't keep humming if I don't have air, and it's a good regulator to keep me breathing without having to really think about it.
Arduino kits are a good first step, but they need to be followed by more complex projects.
Read your comment but believe me when I say I don't get a single reason why you do not like Discord.
https://archive.is/BT52K
Yes. Or it's similar enough that the images look the same to me.
What are the ideal positions? Back seems ideal at a naive glance
I'm sure someone will have a much better recommendation. Do you have an old physics book? Working a few or a lot of simple voltage divider problems, to just really nail down V=IR is helpful. a ton of digital stuff can be thought of as snapshots between two states. might give you some help reading schematics as well.

a pretty ham fisted analogy, imagine a full glass of water on the left, and an empty glass of water on the right. you pour the water from the full glass into the empty glass. There is a BOATLOAD of physics happening there. but all you really care about is Left glass full -> left glass empty. easy peasy.

if you're comfortable with https://nandgame.com you've pretty much got all you need to know how computers work. the last bit is pretty much, how do you use a transistor to make a nand gate? it blew my mind to find out it's just - https://mathcenter.oxford.emory.edu/site/cs170/nandFromTrans...

Stuff that's changing is tougher, like radios or whatever. digital is sort of steady -> chaos -> steady. analog you care a lot about all the little partial derivatives.

The ben eater videos maybe? https://eater.net/8bit/ He'll walk you through a lot of basic electronics in a pretty casual way.

I wish I could give you something more "sure fire way to learn electronics" but my knowledge is pretty haphazard. that stuff helped me.
Me neither. If I'm responsible for all the code I write, then "the AI did it" is not an acceptable excuse if it happens to be wrong in some subtle way.
Why Blackmirror Firewall?
Most Cost-effective Instant DOS/DDOS Protection with No DNS or name server changes necessary. Get running and protected in minutes instead of days.

Auto-Managed through Blackmirror Firewall and Cloudflare API.

No vendor lock-in or complex setups, works in existing environments without major breaking changes.

Suitable for most applications which are adjustable depending on the number of requests and connections needed.

Rapid deployment and easy setup. Superior protection with Blackmirror Firewall + Cloudflare Tunnels.

Easily scalable to one or many servers.

We don't charge for bandwidth, although your host might.

Unlimited Domains and Sub-domains, protect all your services.

Built-in rate-limiter protects against DDoS, DoS and even brute-force attacks.

Stop overpaying for DOS/DDoS Protection, Blackmirror Firewall Mini is free for 1 server instance and about $10 per server on higher plans with auto-configuration deployment.

Perfect for any SMB or Enterprises with an online presence that needs 24-7-365 protection. No frills, it just works.
You can use AI for learning.

I know a lot of people who learn by looking at code and then playing with it to understand it. Generative AI is great for those people - they can quickly get code they can start with.

Different strokes for different folks.
This is uncharitable. The GP's comment is short. What people have an opinion about is, "Give up on 'good code'" and, "working code, code that pays the bills ... code you can throw away easily, code that you are wholly unattached to".
That assumes you have it on your phone.
my eccentric high school English teacher once pointed out that the original connotation of "x denier" is of the holocaust