skysight-inc/HackerNews huggingface dataset:
Don't let the URL fool you too much. The episodes are a dive in to historic political thoughts, and are a nice break from the real world in a "plus ça change" manner.
Towel Day
That, along with the parent comment, clinched it for me. Thank you.
> The Clock interface also exposes functions like time.After(), which should in my opinion never be used in production code, as they don't support efficient cancelation.

Can you expand on this? I find time.After super useful for time arithmetic in control flow, like checking for expiry, validating leases, etc.
Ask HN: Resources for Learning Plain Shell?
Under some circumstances it is prudent to write shell scripts that are not dependent on Bash[1].

What are some good resources for learning to write good and reliable shell scripts that can be run under “plain” sh?

[1] E.g. for scripts that might be used on embedded systems or *BSD, where Bash is not installed by default.
Just write a lot so it matters less.
If they move anywhere outside the Western Hemisphere. I have no problem doing meetings with coworkers in New York and even São Paulo, although Europe and Asia are indeed brutal. My team is very lucky in that our remote collaborators are in Latin America rather than India. At this point I simply decline any meetings with India unless someone very high level personally asks me to be there. Getting away with it so far.
Their marketing team is just playing the hand they've been dealt. That doesn't make it a "remote working tool;" it's the same tool as before--it's OK for remote work, but it works fine when you're colocated, too.
In college I took a "Survey of Programming Languages" course, and we did a Prolog unit which culminated in solving circular sudoku. The language blew my mind. I loved it.
If you're a developer, realize that this happening is going to make you filthy rich if you know how to play it correctly.

This is going to take a boatload of competition out of the industry and means that truly competent, experienced software developers will become rare.

The faster this happens, the better.
Yeah, this really looks to me like someone still clinking to the long obsolete broadcast model, where you had no back channel to your customers from them to request what they want & to pay for it. And also broadcasts were regionally bound.

So you sold a license to a local broadcasting company to for a time window and number of runs for a show. Not more you can do with no back channel for customers to request individual shows and pay for them. By only granting one license per are you can enforce some scarcity and get your money & hopefully users liked it. Channels could the compete who gets the best time based licenses, who gets the new hot stuff first, etc.

Now here we are with a global network with basically any user being able to request any show and pay for it (or get a subscription for a channel carrying it) and yet the media companies still carry one like one had to win an auction to get one of the broadcast masters, drag in on top of a hill to broadcast it and then return it back to someone else to do the same thing.
I just wanted to link to eropple's comment[0] as he provides a good counterpoint to the discussion of the merits of Nest.js

[0]: https://news.ycombinator.com/item?id=23302463
I'd say the Qing dynasty played a bigger role in suppressing China. An interesting comparison in East Asia is how Japan and China responded to European colonialism. Japan quickly modernized its society after overthrowing the Tokugawa shogunate during the Meiji revolution and became an industrialized nation-state in a few decades. Qing China dragged its feet on industrialization and spent a lot of its energy on political intrigue between reformers and conservatives, wasting valuable decades until it was too late.

Most people think of the first Opium war as the start of Qing China's decline, but I'd say the real crippling blow was the Taiping rebellion that came a few years afterwards. The Taiping rebellion revealed the biggest flaw that was crippling Qing China's political system, that it was had a monarchy made of an ethnic minority Manchus ruling a majority Han nation. The Manchu nobility only survived the Taiping rebellion by negotiating with conservative Han warlords and using them to recruit enough Han soldiers to put down the other Han rebels, but after the Taiping rebellion the Qing dynasty had no good options. If you modernize too quickly, you take away the privileges of those conservative warlords and risk having them support another rebellion with the majority of the population. If you modernize slowly or not at all, you get to keep playing the game for a few more decades until Japan overtakes you.

Compare that to Japan's experience with the Meiji restoration. They quickly overthrew the conservative Tokugawa shogunate, then eliminated the remaining conservative factions by crushing the Satsuma Rebellion. Then Japan could continue with industrialization without worrying about the resulting political instability that could result from conservative power structures being uprooted by modernization.
> memcpy is just another function in some library. It might be libc or not. I don't expect compiler to care about it, just put function call into object code and move on.

The compiler has special knowledge of memcpy and may introduce calls to it even if you don't call it anywhere in your code - see this : https://gcc.godbolt.org/z/_w78qd
12.3% when they completed their antibody survey. Taking their death count a week later (because 2 weeks to develop antibodies, 3 weeks to die), and comparing to 12.3% of the NYS population, that equates to 1.1% fatality. An antibody survey in Spain got the same answer.

Herd immunity won't happen until about half the population has had the virus, and 1.1% of 330M is 1.8 million people dead. I'd call that fairly dangerous.

Also consider that many of the survivors end up with serious long-term health problems.
Show HN: Chrome Extension to open locally running app by just entering port
Using Python to load JavaScript packages into any website via browser automation
My Family's Slave
Many Americans haven't seen or touched another person in 3 months
We Need More Software Engineering and Less Financial Engineering
> The bench mark mortgage rate goes up (on the other hand the rent needs to be lowered when the bench mark rate goes down, which is rarely the case nowadays, with a benchmark of 1.25%)

That rate just went down a couple months ago and most renters would be entitled to a rent reduction just by sending a registered letter to their landlord. Every one I know who did that for a 3% rent reduction as a result.
You are totally awesome dude !! That is a great accomplishment.
They might not know what port scanning is, but can they agree to "anti-fraud measures?"
Excuse me, I buy Pounds of Federally Legal flower through TheHempSheet's discount coupons.
You're right, that is funny! I was thinking after I wrote that comment that I should have put a caveat about the target group for my comment. I don't think it's a great place for singles in their 20's -- exactly for the reason you mention: it's heavily populated with retirees and is a bit slow-paced. We were a young family and that's what we were looking for, so for us it was perfect.
I too have a PhD in Biology, and also write code for biological problems.

I would suggest that the distinction approaches to thinking you're seeing is rather between theorists and application driven people, regardless of domain. The same difference would apply between, say, an astrophysicist, and an engineer who develops a space telescope. People at the cutting edge of research appreciate that they're at the 'edge', and that their deep domain knowledge can only ever serve as a starting point for answers that may not even exist. Scientists working in applications aren't interested, nor need to worry about the ontological limitations of deep knowledge. If, for example, my concern is development of ML based high throughput cancer screening, I already know this is a doable problem (with varying levels of success), and just requires my deep knowledge + smarts. If instead I'm a researcher working on a unified theory for all cancers, I would (ideally) be self aware enough that this is something that might not even exist. I imagine the same dichotomy exists in CS between researchers (i.e., cryptography, AI, quantum computing) and developers.
Seems like a ploy to disincentivise work from home. There's little need to maintain operations in Switzerland if a business becomes comfortable with off site employees.
"through a coerced opium trade,"

You forgot to mention WHY the opium trade happened. China was exporting tea, silk and porcelain like there is no tomorrow and at the same time had accumulated the majority of the world silver reserves since they did not want to buy anything, therefore chocking the world economy. Then the British said, wait, we have something that you want to buy!
That's not the problem, i executed gpl2 software on a BSD-System...shame on me ;)
I remember using strings in the early 90s on DOS boxen, no recollection of where I got it from though, maybe a coverdisk, I could have implemented it myself, it's relatively trivial.

It's also worth remembering that DOS came with DEBUG, so if you had the time and patience you could dig about in anything
It's impossible to separate out the celebrity of Linus the person, and the celebrity of the Linux kernel he created. Git rose to where it is because of its success in being used for managing distributed Linux kernel development, rather than adulation of Linus. That it's not a great fit for things that aren't Linux kernel development isn't exactly a surprise.

In a world where "DVCSs is ridiculous in 99% of corporate contexts where you can't use your laptop / desktop at home without logging [sic] into the VPN", why (and what) should Mercurial, a popular DVCS, have "won"? (I don't mean in Mercurial vs Git)

DVCS isn't ridiculous. Especially in corporate contexts over a flakey VPN (like, say, if there were a global remote work experiment going on). Cheap local branching is an indispensable feature. So much so that if you're forced to use SVN, you can still get local branching via SVK or by using `git-svn`. SVN is still the right tool in a lot of places (anywhere there are binaries in play) though the overhead of being actively fluent in multiple VCSs at once isn't free.
Please stop spreading lies. He never said Mexicans are rapist. He said:

"When Mexico sends its people, they’re not sending their best," Trump said. "They’re not sending you. They’re not sending you. They’re sending people that have lots of problems, and they’re bringing those problems with us. They’re bringing drugs. They’re bringing crime. They’re rapists. And some, I assume, are good people."
It already reduces the cost to employees by removing the transportation cost. They should encourage it because it benefits all those involved including the environment. I don't know why they would make it more difficult.
This isn't hypocrisy. This is like calling people who make dog food but don't eat it hypocrites.
https://github.com/launchbadge/sqlx perhaps

Also hugsql for clojure and pugsql for python.
Oh, even more than the zealotry of Linux and ZFS?
I knew nothing about electricity until I started studying for my technicians license recently. It was actually very interesting and I learned enough that I could actually understand this wiki article. It made me interested in studying for the general and extra licenses since they have more advanced electrical knowledge required.
They have their place, I think we’ve been trained to expect to have to save/confirm changes. In non-critical places it can be delightful.

However, I really couldn’t believe that cloudflare had no confirmation with the DNS ui - I’m really glad they’ve changed this.
There already exist a plethora of over produced podcasts, the thing is they just aren't as good as the more basic interview centered ones. Podcasts didn't invent anything new, conversation is probably one of the oldest human activities after all, and long form interviews and discussions have been popular before even on broadcast media. Podcasts just democratized the media and allowed the audience to find the content that they wanted. Sure people will try to copy its success while also forcing it into the legacy system and they will probably have some degree of success but the portion of the audience that doesn't like that will just seek out the shows that stay true to form. The accessibility of this media means there is a never ending flood of new podcasts being created daily. This is what happens when you successfully lower the barriers that prevent the dissemination of information/content/entertainment/art. Think of it as doing the same thing for interviews as the printing press did for books or what YouTube did for video.
That's a pretty obvious typo for "18th century AD".
Only now. In the seventies, you’d light one up at your desk and continue powering through your work.
Microsoft takes 4 months to fix premium “personalized email address” feature
> That said, if you don't need very high core counts, the PCIe lanes, or the memory bandwidth

I'm on 1900X because it has the PCIe lanes and memory bandwidth, but do not need the cores. The bonus is, that the fewer cores are clocker higher, becuase they still have the same temperature budget as the higher models.
I don't think they are exactly comparable circumstances because podcasts on Spotify are still free, where as Stern made the switch to a paid-platform.

In my case, I'll probably stop listening because my specific podcast app (podkicker) doesn't look like it can pull from spotify (maybe none can).
Nymphs vex, beg quick fjord waltz.
no, chiang kai-skek wouldn't have even been in the position to make a series of mistakes had the people not been mistrustful of the british and looking for an alternative.
What?

EU members (a broadly popular and enviable status) have much more open borders and broader refugee responsiblities that anything that has gotten out of draft status in the house or Senate.

What's more, leftists are split on the actual subject of borders. Communists like them, everyone else hates them, excepting decolonialists who essentially want them enforced only for indigenous peoples.

It's very odd to suggest that the EU open immigration policy and One Currency is somehow not an open borders policy.
> Companies that now realised that remote schemes works for them

It's way too soon to call this. We're at the point where it doesn't not not-work.
Also, weird judgement. Going all NIH on URIs, and yes I've read the threads about their "reasons" and they're nonsense, it was entirely a distraction from the project's core functionality. Infrastructure-tier service with a canonical implementation in a language that's no good for writing libraries and too inefficient to be always-on in embedded and probably even a bit iffy on mobile (mind, I like Go).

Anyway, I'm not sure how any kind of p2p system like that's gonna work for the average person and become mainstream when most consumer devices run on battery and drop off the network constantly to save power. Yes there are gateways but that kinda defeats the purpose. Seems better suited as a datacenter tool than something to ship out to normal end users.

At any rate it's not designed for anonymity, so its utility as a piracy tool is limited unless you're on a private IPFS network, which requires server resources.
ah okay, so you don't save anything on the commute. I'm happy to pay for my own coffee (I get much nicer beans than we have at the office), but I have noticed that my utilities bill is no lower than it was mid-winter.
Sounds great, but the cost of that office square footage is going to be reflected in the price of the residential units.
Instead of biking to work I walk 10 feet to my desk. Instead of walking to a meeting I stay at my desk and VC. Instead of walking to a co workers desk I stay at my desk and slack them instead. Surprisingly more movement is built in with office work.
> I admittedly struggle with is knowing when to create a new Nest Module versus a new service in an already existing module

I use the same logic as where to put a font end component. If I'm creating a component for the first time, it sits in the same folder as the parent component. If I need to use it with another component, I refactor it into a common folder. If I create a string transformation function, it exists in the same file that is using it. If I need to use it somewhere else, it gets refactored into utils/strings.js which is a starting place for creating a library.

It solves the problem of 'where does this go?' and 'where did I put it?' 95% of code that I need to find will be physically next to the code that uses it in a file system. If not it will be neatly organized into a common use directory.

For the few times I need to refactor functionality, at that point, I will invest time to make a clear and adaptable API input and output contract.
They are basically the same thing since capitalism requires industrialization and the pre-financing (read debt based) of production methods on a giant scale.

You seem to mistake a market economy with capitalism, which are not the same thing. In the middle ages we had a barter economy and more or less a market economy. Nevertheless we dd not have capitalism.
This is pretty interesting. Do you have further information, or any thing similar to this that one could read?
Would u.s. lock their citizens in? I bet no (and it is bad)
Very cool to see, as I'm on and off working on a Kakuro solver/generator using (almost) only SQL...when I get time to finish I'd like to put a similar article together.
How the Restaurant Industry Viciously Exploits Its Workers
I got the "manhole cover is round" problem at a interview. I'd already heard it before and admitted so and proceeded to give a number of reasons why it was round. They were still impressed.
In the US, wages are not typically part of a contract.
New creatives: Creativity is flourishing under quarantine
Adam, the value of a community is somewhat diminished, in my opinion, if it's encouraged to lazily throw your problems up in the air and yell "does anyone know the answer to my question" before they've made even a cursory attempt to research or solve the problem themselves. Why on earth pollute a forum with more noise?
As a maintainer of a similar project[0], it's great to see another entry in this space.

sqlc currently has great support for Go and experimental support for Kotlin. I'm planning on adding TypeScript support in the future, so it's great to see that others in the TypeScript community find this workflow useful.

[0] https://github.com/kyleconroy/sqlc
Because in the examples you have two capacitors/barrels, if you had three or four, you would be looking at 33% or 25%.
Here's an open version: http://archive.vn/JIE5T .
Well yes, because they get creative with the accounting and those movies that hit $500+ million suddenly turn zero profit come time to pay taxes while some B or C film that costs a few paltry million at most to make and shovel right onto streaming services and net them $90 mil tops are what they pay taxes on, because they made a "profit".
well yes, but the british, like any astute drug dealer, pushed the product on the buyer. it wasn't like the chinese had huge latent demand that wasn't being fulfilled. it was largely induced to loosen the stockpiles.
Use ublock origin to disable js on nytimes.com
See this https://news.ycombinator.com/item?id=23302855.
Just a year old and located in Zurich,
Sorry if this question sounds stupid but why not just use the ESP32 for whatever the STM32 is being used for? It can even update itself over the air.
Free users for a dating is no problem, monetizing them is another ball game.
Not to mention increased use of other utilities: electricity, water, heating/cooling.
>always-on, no friction communication.

such communication becomes the friction itself.

>And of course you should check documentation and google before you ask, but that's tool-agnostic.

the tool which significantly decreases the cost of asking naturally encourages the asking and discourages the documentation and google check by virtue of making the check a waste of time when the answer can be quickly obtained by the asking.
What does it mean to be African?
Elixir is synonymous with Phoenix. If that is the only reason to choose using Phoenix over NestJS, the later is clearly the better choice.
> it seems like trying to use it in a collaborative way is not going to go well.

Could collaboration be done using a public git repository?
Land Rockets with AI
So in short, the British wanted stuff from China, but had nothing China wanted, so they resorted to smuggling drugs to China, and when the government objected and burnt a large amount of Opium, the British went to war against China for their right of "dealing drugs".
Highly available Kubernetes with batteries for small business
https://www.quantamagazine.org/studies-rescue-ligos-gravitat...
They sound like a tech. Wordpress is powerful and is made up of more than css/html.
Shameless plug: I wrote a package called Gnorb that is meant to tie Org and Gnus more closely together, precisely for this sort of project management. It's in the ELPA repository.
Sqlx looks nice!
I had some ideas about porting pgtyped to rust and utilizing macros to do query type inference at build time, but was worried that such db-connected macros will slow down the build process. Nice to see that it worked out for sqlx.
I came here to mention a similar approach, which last time I looked was a very compelling experiment[1], but its original author has actually built out a real library, Zapatos[2] which looks very very good.

[1]: https://github.com/jawj/mostly-ormless

[2]: https://jawj.github.io/zapatos/
> It's the complete lack of organizational structure, other than date, that make my log files so useful.

A thread here about a week ago on bookmark management reinforced this idea for me.[1] When it comes to general knowledge management, complex, predefined taxonomies don't feel worth the overhead when retrieval is so often ad hoc and messy. Grepping about in log files for keywords usually does the trick. Tags are nice, but like you say, getting good at including searchable keywords performs a similar function.

[1] https://news.ycombinator.com/item?id=23228861
I write software that's used by human beings in businesses and building for Windows is trivial compared to maintaining additional docs and training material for managing a WSL install on users machines.

I'm currently in a weird spot with the software I distribute because the majority of the users "know enough to be dangerous" but aren't software engineers/IT professionals. We want them running code and using Linux like a pro, but there's a lot of training/documentation overhead just for our *nix builds and the friction to getting that up and running for WSL is daunting.

Luckily MS understands B2B native more than anyone else so I'm hopeful they'll have a solution eventually, but I'm not holding my breath until then.
Just to riff off this a bit more, it got me thinking along the thought “What if machines of war are really the greatest investment of capital”. I think there is at least the seed of something to explore there, though the tools of war have traditionally been expensive irrespective of system (A uniform in the 1800s was orders of magnitude more expensive than today’s variety, for example).