skysight-inc/HackerNews huggingface dataset:
Look for an old but not outdated enterprise switch and grab a refurb. Most very large enterprises redo the network on roughly a 7 year cycle and in 2014 10g uplinks with tons of 1g devices was very standard. E.g. for less than 100$ you can usually pick up an ers 4826gts on ebay which has 24 ports of 10/100/1000 copper with POE+ capability and 2 1/10G SFP+ ports. It has hardware switching and routing which will perform better than software, particularly on latency.

As far as noise 1u devices are usually a bit whiney even when not pushing much air but that's usually fixed with 1 or 2 200mm PC fans.

You'll still likely need something with NAT, preferably hardware NAT, for the actual internet handoff. Some of this class enterprise device have NAT support (not the 4826) but that'll usually be in CPU and perform not that great especially if you have like a gig connection. Or if you want to go pure software here any cheap mini PC with 2 gigabit Ethernet ports should be able to handle NAT reasonably for gig internet or less since it doesn't also have to do the 10g internal route/switch on top.
I hear this sentiment pretty often but don't really get it. New features like async/await and Promises are added so that we don't have to do things the old/bad/confusing way any more - isn't that a good thing? Tools like linters and Typescript make it much easier to avoid the various 'old fuck-ups' and 'weird behavior'.
YMMV but CIA, "Phoenix", and 'problem solving' has a whole different set of associations[1] for me.

1: https://en.wikipedia.org/wiki/Phoenix_Program
FL Studio Projects Pack
ORMs assume that they are the only access point to the database and cache result sets based on that. Disable the cache or keep in mind that bugs can happen due to that behaviour.
Yeah, I see that attitude a lot in burner/circus arts/stunt circles. Limited concern for their own safety ("I know what I'm doing") but very safety conscious the moment other people involved.

Grinding some pipe with it in my hand? Yeah I got this.

Digging a tunnel that will have the cameraman and others in it, and might collapse the house of done wrong? That's worth some thought.

Some. Lol.

That reminds me of this greybeard that was helping us move some heavy machinery. "It won't hurt you!" as we have a 1400 lb top-heavy drill press dangling from an engine hoist. Um, yeah, heck yes that'll hurt you.

Wouldn't have gotten it into the uhaul in time were it not for him.
My impression of South Korea (as someone living in Japan and sometimes talking to people who have moved back and forth) is that it's closer to Singapore on the free/authoritarian scale.

E.g. for many years they had a law where to sign up for any large chat forum (like a Korean Hacker News) you'd have to enter your government ID numbers so they could effectively ban you for harassment/slander etc.
Show HN: Python Wrapper for AWS DynamoDB
Love it! Very artsy. The music is also a good fit
Is “serverless” an accepted term now? Seems like usage of the term generally sparks a lot of debate.
I still don't understand why Radler isn't a thing everywhere. Here in Switzerland there is only one dominant brand and it makes TV ads where men turn gay because drinking it. Like seriously?

So there is this wrong idea about Radler (or panache) drinkers.

Still I would recommend anyone to try their favourite beer with their favourite coke or Fanta kind!
You make it sound like Apple doesn't have a search and mobile advertising arm.

https://searchads.apple.com/
Parsing proprietary, undocumented formats and turn it a universal format, and render it? That sounds like a kind of an ambition which is never realized, but they did. And this kind of project tends to fail because it's filled with boring tasks with unreasonable corner cases. So congrats!

And according to their page [1], they've been doing this for a decade. This is such an accomplishment.

[1] https://www.notion.so/The-Story-of-Avocode-d96c279b270443f88...
Yeah but the article says this is the first time it’s been recorded.
Did these steam engines really have that much torque? I know the Romans used waterwheels with gears and shafts, I would be surprised if these proto-steam engines were more powerful than those.
Well, you're not starting of to great by randomly claiming that it's a security issue that it's written in C++. It's not really productive. A lot of software is, for better or worse, written in C or C++, that's not going to change.

For years people have been yelling: "It's broken because it's written in C/C++". That same "attacks" was made to promote Java 20 years ago.

Sure, maybe they could have picked a memory safe language, but they didn't. Perhaps because they know C++ and doing the same project in a language they're just learning would result in a ton of other bugs. They even write that they hired a few brilliant C++ programmers, so chances are that they know how to safely handle memory in C++.
Referral sources usually give away whether the hit is organic or a bot.
Tech career advice: 7 resources you must exploit today
Ok so what am I missing here? In Germany a typical four person household is 2000kwh a year. Surely air conditioning can't make up for such a difference? Everybody already switched to electric cars?
His starting requirements include one pci card for 25gb and another for 4 port 10gb. I don't think there's any low power way to do that. Any motherboard with enough slots, CPU power, and PCI lanes to handle all that aggregate bandwidth isn't going to be low power setup. If you underpowered it, then you might as well back off of 25gb/10gb.

So it's not really a home server. It just happens to be in a home.
https://www.psychologytoday.com/us/blog/head-games/201308/wh...

https://www.theatlantic.com/science/archive/2018/08/online-d... - see the chart by age

https://metro.co.uk/2019/02/22/men-regardless-age-will-alway...

There are dozens of articles and several studies that confirm strong ageism in men preferences for relations. Few mention that single career women over 35 are the most unhappy people and a quarter are on antidepressants. From here to taking action against the relations of their age group men with younger women is a tiny logical step.

No idea what are the "certain circles around the web", but the overused word "toxic" gives me an idea: it it men in general? I saw the Gillette commercial.
No video ?
I think most of the criticism is about SQL not being the best programming language - a language in which pros build application, especially web applications. And SQL is truly not best at that. It is not the best API.

But in my world, SQL is much more of a Human Data Interface than Application Programming Interface. SQL is used for both ad-hoc and automated data querying and transformation. It is something manufacturing intelligence and supply chain experts and researchers and others learn to empower themselves to get to the data - and yes, you won't see any CEO running reports in SQL themselves, but it is not for programmers only.

Those people would not benefit from syntax with more brackets instead of words, easier way to define and call functions, or the ability to install libraries - in fact I think it would make it harder and less accessible for them.

The OP is right that for machine-to-machine interface, all the syntax baroqueness is not worth it. And of course, having more portability would be great.

But while machine-to-machine interfaces written by skilled developers who knows exactly what are they doing might actually be the most common use of SQL (since half the internet runs on Wordpress and MySQL and most smartphone apps might have SQLite in them), it is not where the majority of complexity or time is spent - that one is with the people working with data.
What does `uname -a` return for you?
I am all for allowing natural drug use, however I know several people who developed actual addictions to Kratom. I mean they all got over it when they made it illegal (I think) but still would be careful about recommending it without disclaimer.
We've had other people in the UK that have been rather less 'cautious' probably, sadly, through mental health issues, the Mole Man of Hackney:

"Lyttle, originally from Ireland, inherited a 20-room property in the London borough of Hackney. In the mid sixties he dug out a wine cellar under his home. Having done so, he said that he had "found a taste for the thing" and kept on digging, for some forty years.[2] He created a network of tunnels, wide and narrow, on several levels. Tunnels led in all directions, some of them up to 18 metres (59 ft) in length, and reaching as far down as the water table.[3] One excavation connected with the Dalston Lane tunnel, and the railway line.[3]"

https://en.wikipedia.org/wiki/William_Lyttle
https://www.eink.com/news.html?type=releasedetail&id=223&yea...

I'm not sure why you find it so hard to believe that the Eink group has created 2000 display patents to use against competitors. At the bottom of that page they say:

> E Ink intends to protect and defend its intellectual and other property worldwide by the means available in various countries.

I tend to believe them.
wtf i got downvoted for this? that's the final straw. fuck all of you HN wankers. so far up your own arses.
No it doesn't. Go to nytimes.com and look in the developer tools for 'gtm.js'. That's Google Tag Manager, which is a container for GA.
You need to check your dropped packet statistics to know for sure. iperf3 TCP over LAN will not see throughput affected by a few dropped packets, a stream 100ms away may take longer to recover. High bandwidth UDP testing with iperf3 should also expose this, the first measurement will usually see dropped packets.
Maybe the American taxicab market was especially dysfunctional (the stuff I read about NY taxi medallions suggests that somehow), but in other countries, this "inevitability" came about, largely without Uber's involvement.

In Germany for example we can easily hail taxis (actual ones, not private cars) with at least two or three different apps, and this has been a thing for almost a decade now, even though Uber never really got its private-car-based service on track here due to legal problems. I've used Lyft in the US a few times, and the experience with those taxi apps in Germany is very much comparable.
I believe there is some emerging friction between academically authenticated knowledge and that observed by mere “amateurs.”

https://www.npr.org/2021/06/20/1006352654/enthusiastic-amate...

And see villager observations here: https://www.nytimes.com/2021/06/22/science/moray-eels-eat-la...
As a professional C++ programmer I feel we, as a group, are constantly under-estimating the complexity of tasks, and over-estimating what can get done with the standard library.

C++ is a very powerful, unopinionated language, that gives you a lot of freedom to attack your problem domain the way you best see fit.

If you're writing a networked application, don't use POSIX sockets, which have an API designed for C, go and find a higher level library. If you're parsing complex text formats, don't iterate over buffers with char*'s, go pick up PEGTL[0]. If you're working on graphs, or need to properly index in-memory data, go pick up Boost[1][2]. If you need a GUI, go pick up Qt.

It's extremely common in C++, due to the lack of a universal package management solution, for people to try and "muddle through" and do shit themselves when it's far outside their core competency.

At one of my last employers, the core product was parsing JSON with std::regex, simply because they couldn't be bothered to integrate a JSON library (which can be done header-only).

[0] https://github.com/taocpp/PEGTL

[1] https://www.boost.org/doc/libs/1_76_0/libs/graph/

[2] https://www.boost.org/doc/libs/1_76_0/libs/multi_index/doc/i...
Caching is orthogonal to ORMs;

https://old.reddit.com/r/programming/comments/2cnw8x/what_or...
Agreed, but one can say the exact same thing about support for women's rights. Arguably, the attitude discussed in this subthread could be seen as a case in point.
You can't measure the CPU at 1 second granularity to see this problem, in fact measuring the CPU at the sampling rate required may be enough to raise the CPU frequency :).
I am agreeing with the sentiment that there are many jobs that require deep focus and do not get special circumstances.

Bookkeeping and management accountancy are not really similar professions. A bookkeeper is focused on data entry, and tends to be a small company generalist, adding up invoices, receipts and sales tax etc. I have been a purchaser ledger clerk (processing supplier invoices en masse) and it requires a different kind of concentration entirely. I am rubbish at that kind of work now, I think your mind changes as you progress to the more supervisory work. A management accountant is trying to turn the outputs of this work (amongst other things) into coherent management information, filling in the gaps and making judgements and estimates.
"After this, Lyttle was moved to a hotel for three years, before being rehoused in an apartment in a high-rise building. He was put on the top floor, to discourage tunnelling. While there he knocked a hole in a dividing wall between two rooms." :-)
Then like another poster said, it all depends on how much you pay for electricity and some people have quite low cost electricity.

For me that would be a $49 cost per year, or a cost of little over $4 per month.
I had not made that connection and not seen that program before. And now I cant unsee it...
I hope he makes enough money from the video to be able to write-off the value of his home. I suspect that it will be impossible to sell.

See also Fred Dibnah's attempt to build replica coal mine (with 30m shaft) in his back garden, using only techniques and machinery contemporary to the period[1][2]. Sadly he passed away before he could complete it and the property has had a strange history since then.

[1] https://www.youtube.com/watch?v=tqAbMbRQ3jE

[2] https://en.wikipedia.org/wiki/Fred_Dibnah#Dig_with_Dibnah
> "Simply down-voting without adding a reply why you disagree with an opinion does not really help."

This looks like a general criticism of using C++ which has nothing to do with the topic of this post. You're free to criticize, but this criticism alone brings absolutely nothing constructive to the conversation and only serves to incite more useless "have you considered writing this in Rust?" conversations. You're not even suggesting what you think they should've used instead.

> "I have been interested in security for a long time"

Here's a tip for you then: security is not an absolute, and things usually aren't as black or white as you might think. Take a moment to consider the fact that C++ is one of only a small handful of languages with which everything around you has been built for the last 30+ years. Do you know something all of those other engineers don't already know? Otherwise, humility goes a long way.
I thought RAID 5 was a no-go nowadays due to the high probability of rebuild causing a second failure?
First look at Tesla’s FSD Beta V9 with “mind of car” visuals in action
Not sure why you buy at fs.com when you have online stores in CH that are selling much cheaper:

https://www.microspot.ch/de/computer-gaming/pc-komponenten/s...
I believe the function is "Wi-Fi scanning" in the networking settings tab on Android 11.
https://archivarix.com/

is an interesting solution to GP's issue, works better than httrack and can also pull down multiple timestamps of archived site
To my knowledge this is still in a residential area, so you do need to take care with construction noise, even though he certainly plays it up as a bit.

In the video after the linked one, he mentions that the project was on pause for a while due to covid not letting the neighbors go on vacation (when he seems to usually do these big projects).
Or a motor hidden in a bike frame: https://www.popularmechanics.com/adventure/sports/a19219/pro...
There was no evidence given in the article to support the title. Just a bunch of quotes from random people...
yep, which makes them a pain in the ass to efficiently cool down without active cooling (=fans)
They all sound the same on my end (Brave)
Yes I can unfortunately confirm this. Don't know how much has changed, but about a year ago my current employer evaluated about 10 desktop pcs from dell, lenovo, hp and the likes as all staff was supposed to get new machines. One of the important criteria was power consumption. The few AMD systems that were among the contestants had absolutely ridiculous idle consumption and weren't even considered any further.
Ask HN: Small shops, how do you do CD?
Hi, I'm looking if any of the solopreneurs or small shops (5-10 people) could give some insight into their CD.

Do you practice CD, and if so how?

I run two unrelated Django monolith applications, which serve me very well. I use CircleCI for Continous Integration, and it works well enough. The benefits of CI are of course muted if one is rolling completely solo, however I'm bringing on another dev this year so that's fine.

Where I get lost is CD. Right now I still manually ssh into the VM and pull latest changes, run migrations and install any new dependencies, compile static if necessary, etc. etc.

How can I reliably integrate CD into this small application? Would Ansible be a good solution?

A key obstacle for me are the migrations. Is it best to migrate your DB completely separately? Test any migrations before hand and commit the migration scripts as well? It's uncommon but not out of the question that I need to manually edit a migrations script to massage the database back to a state it needs to be. Any Django user probably has a similar experience to share.

Although I welcome discussion about Kubernetes and other orchestration tools, I'm looking for something a little more lightweight.

Looking forward to a good discussion, some of the best threads on HN are those with founders swapping knowledge.

Thanks in advance.
Getting past the mental barrier that engineer's and biologist don't get along.
Manipulation of micro structures needed to develop meta materials are on sale that biological systems function at.
May have come from a classic engineering of wood and steel, but throw in a foam here and a self-assembling structure there and you can make things no amount of carbide inserts and glue would ever get you.
Sánchez will reshape the Government today after weeks of speculation
How do you filter bot traffic from your server logs?

If all you are looking for is a 'hit counter', then GA is overkill. It's value is not in providing page traffic data, but in tracking things like click events, ecommerce funnels, marketing campaigns, A/B testing etc.
Agreed. I don't understand why they are making such a fuss about this. It seems trivial and expected, and is not an uncommon site (if you like looking into ponds like me).
To really do this you want to break the text to speech into two pieces: use English to turn the text into phonemes, and then use the other language to turn the phonemes into audio.

This only works if your phonemes are encoded pretty generically, though. For example, /f/ in English is labiodental while it's bilabial in Spanish, so if you want your accent changing to work right you'll need to either represent both as /f/ or have a reasonable model for picking the closest sound a speaker of a given language is likely to be able to reproduce for any given input.
> But even if, why do you keep your power efficient router running 24/7? You could turn it off when you're not home to save even more energy.

You jest, but I turn off my router for the night and each time I leave home for more than a day. Not just router to be exact, everything that's connected to a power strip goes down, as I turn off all the power strips. (Not OP.)
What is your investment strategy?
GitHub devops folks: edge case incoming in 3… 2… 1…
This is one of the reasons I abandoned Adwords. I sell to a technical audience and as far as I could tell most of my customers run an adblocker.
> You missed the point. "__CLASSIC_C__" is not a thing (why they don't use __STDC__?

I dont know, I'm not going to defend it. Imnot going to do a line by line review of the file you picked, as I said I'm sure I can find awful code in bazel, meson, etc.

> Also, I have been told that cmake-generated Makefiles invoke cmake itself, so you can't really generate portable Makefiles with it.

Cmake generates a target for makefile that will re run cmake if your cmake file changes. If you're bukldong with cmake, you distribute the cmakelists txt, and treat the makefiles, ninja files etc as build intermediates

> In addition to that, I have been told that cmake takes ages to compile.

Do you compile your own make regularly? I've compiled cmake once or twice and it's not quick, but it's definitely doable (maybe 5 or so minutes?)

> I find that much better honestly.

The reason to use a build tool is to avoid hacks like that in user code. I would rather have cmake or meson or whatever my meta build tool is handle and test that logic, so I can focus on my library or application code.
He mentioned retrospective permits which means he did it first and tried to make it legal afterward. However, he wouldn't have got the permits if he hadn't done things properly, so there's that. Finally, there were contractors involved which usually know their jobs.
A sticky license includes a clause stipulating that while you can modify the code and share your modifications, any modifications must also be shared under that same license. This is usually referred to as a “share alike” clause. GPL is an example of a license like this.
Twitter stripped of immunity for user content in India following clashes
I don't know about the grandparent comment but many languages that have cases markers have a much more fluid word order, since the function of each word is already tagged by the case ending. The word order is then used to carry emphasis. Wikipedia has examples where the same sentence is written in half a dozen different word orders.

https://en.wikipedia.org/wiki/Word_order#Hungarian
There's also trolling. myg0t cheated brazenly simply to piss people off and get a reaction. I never saw the point but clearly some people enjoy this.
The Red Cross has a right to their trademark. I accept that. I don't accept that they're a good organization.

https://www.theguardian.com/world/2011/may/25/nazis-escaped-...
You're not trying to have a discussion, your post is essentially 'why didn't they use Rust'. Sadly predictable.

There is no-one on HN who doesn't know that C++ has historic memory management difficulties.
I dont like Alkohol free beer, mostly because I don't like beer enough to justify drinking without buzz.

However nearly all breweries in Europe have Alkohol free editions (I assume mostly for their TV ads) which aren't at all bad usually. The few I sometimes drink, Siegel, Feldschlösschen, basically taste identical minus the slight Alkohol taste. It's not artisan product around here, but done from the same people that brew the same beer for 500+ years. Maybe it's worth looking into importing some.
Spiders Feeding on Snakes
Your interruptions/work-context are way out there in terms of stress/impact etc.

APL and J : Agreed. Haskell is my refuge when Python starts getting verbose. Even if you're interrupted, there's a slim chance with concise languages that you could carry that line in your head even as you are dragged away from your context.
My understanding (outsider perspective, based on what people have told me) is a combination of silly complicated laws pushed by politicians to keep people from abusing the service, lobbying by private healthcare providers (insurance etc) to keep government assistance limited and purposefully annoying and politicians against "big government" underfunding institutions to see them fail.
Note that SingleFile can also crawl websites when run from the CLI (see the --crawl-* options)
Creating a “Testing Is Fun” Mindset and Learning from Bugs
45W is not really "sucking up electricity", it's really nothing compared to other things in the house. I don't think PC is consuming 100x more as well, less than 10x and the same or nothing when not used.