skysight-inc/HackerNews huggingface dataset:
My public highschool CS course was an honors elective taught by the calculus teacher, so I think that made it unattractive as a playground spot. However, I think it was really that the teacher was incredibly patient, kind, and unable to resist tacky puns. I think that helped us students see him more as a teacher than an authority figure to be resisted.

Thats

A) really fucking hard to do, I tried it once*, and I wasn't cut out for it. Teaching takes a special kind of person and a fuckton of effort, and deserves to be paid honestly more than I make as a programmer of computers which at least stick to their syntax rules.

B) the class was small enough that he could put in the individual attention and working-together to make it happen for us.

Unfortunately for the public school system the teacher left a year later.

* I did a boot camp for middle through highschool, and while highschoolers are tough, they were far more willing to work together towards an abstract goal than middle schoolers, for which every day is a bad time for everyone involved.
No, there's a lab in there. This was the lab originally called out by Chinese whistleblowers.

Also you have the wrong address, put in the Chinese name on Baidu and you'll find it's in walking distance to the market. Like literally just across the street.
Can't agree more! For 2FA there are much better options, like TOTPs which are more secure against phishing and account takeover (because they don't allow outside parties to trigger a verification request on your device). Let's see how the Bluetooth-based web auth proposal turns out to be implemented by big tech.
You should probably add an SSL cert!
Why would clustering be odd? Culture, industry and other aspects of city life spread outwards. It makes sense that if there's a given city that's very livable, that areas around it similarly benefit and prosper too. This of course assumes no segregation based policies
Very convenient of you to leave out the important sentence that came before:

>> In the usual case, where pregnancy did not result from sexual assault, the child himself, and his need for shelter and nourishment in the womb, is a direct result of actions taken voluntarily by both parents.

> Just as possibly the most basic human right there can be - bodily autonomy.

You have bodily autonomy. You can choose to have or not to have sex (which may or may not lead to pregnancy). Abortion is a medical procedure and is not a human right.

On the other hand, when it came to the COVID vaccine, the Dems were very quick to ignore the bodily autonomy argument based on bogus claims.

An example from the Australian Human Rights Act:
> No-one may be subjected to medical or scientific experimentation or treatment without his or her free consent.
Besides the automatic trim margins option in Okular, you can also set custom margins to trim unwanted stuff.
I'm glad Tashkent is finally in Eastern Europe
The post as presented above appears to be a straight-faced, unintentional parody of itself.
Postgresql upgrades are a piece of cake. pg_upgrade just works. Or you could just dump and load the database (maybe even pipe it from one to the next). Minor upgrades are even simpler: forgot to compile a module? make and move the. so to lib/.

Oracle upgrades are the real nightmare.
Ask HN: Europe to East Coast, does it make sense to move at 50?
Dear HN,

I have the opportunity to move from Berlin to Princeton, NJ, in relation to my wife's job.
I wonder if it makes sense financially and I thought to ask the community.

A bit of context: I turned 50 this year, I have 25+ years of coding/system design/tech lead experience. I have mostly worked as a freelance "on-site", sometimes for short periods of time, some other times I stayed with the same client for years.

These days I work on a lot of cloud migration projects, with a strong focus on AWS.

So, coming to my question, I have no frame of reference regarding salaries on the East Coast, especially for freelance jobs.

I did some research and the salaries for permanent positions in the area are significantly lower than my current income in Europe. I assume that I could potentially earn more by engaging clients on the west coast, but my US network is non existent.

Is the free-lancing that I'm used to do in Europe even a thing in the US? (Working for a client for months - at least 6 - on a daily rate which is higher than a normal salary because I can be released at any time plus I bear all the cost of employment including health).
Also, can my age represent a problem for employers?

Sorry for the fuzziness of the question, I hope it does make some sense.

EDIT: my wife's company will provide a work permit for me, but at this stage I don't know which type.
'Need' is a big word. One 'needs' very few things. Software has actually been written in assembly, so what do we actually 'need'?

Answer to both questions is yes. When I read something like this I find the 'one size fits all' dogmatism disturbing. So, maybe someone somewhere created a class hierarchy that was needlessly complex. Now apparently the pendulum needs to swing all the way to the other side and all of inheritance is bad. I hear that lots of people are cutting themselves incidentally with knives. Shall we forbid them? In programming people don't seem to be able to settle on the middle ground, the pendulum always needs to swing to the extremes apparently.

An example where implementation inheritance is beneficial? I have a calculation that depends on quite a few parameters. The calculation can be done from the application code but part of the calculation is rather expensive and is only done once every so often. So, I put the parameters of the calculation in a class, inherit another class from that the the application uses and that can do cheap calculations. I inherit another class that does the complicated part of the calculation. All in all three classes so not very complicated. The disadvantage with making the parameter class a member is that the code gets littered with indirection like 'data->param1' all over the place. This is much nicer.
How can Calgary and Vancouver be next to Vienna and Copenhagen. That list must be rigged.
>I bet whoever did it would be the single most careful and clean research scientist in the entire world after that kind of episode.

"Fire you? I just spent a million lives training you up!"

(For those who don't get the reference, https://www.brainyquote.com/quotes/thomas_j_watson_209882 )
office activity is taken as evidence of livability, rather than a consequence of a 'let it rip' pandemic response policy + antediluvian bosses who hate remote
The Benefits of Remote Ephemeral Workspaces
The fact that there isn't a single dutch city in the top 10, but 3 in car-infested Canada tells me that I have very different standards for "livable".
> how all of the diverse cities of the USA

Have you perhaps considered that they're not very diverse? NYC and SF are a bit different yeah, but other than that they're all remarkably similar. Honestly it's a significant factor in why I decided to move back to Europe. It always bothered me when Americans claim that the US states are as diverse as separate countries in e.g. Europe. No, just no. You are blinded by the fact you've grown up there and are attuned to the small regional differences. There are as large regional differences within individual European countries as there are in the US.
You are getting side tracked. Implementation details have nothing to do with it.

It's about state and functions. He is saying rather then have an entity manage both state and functions, Just have a function take in state. The implementation details are besides the point. Why? Because you can arbitrarily wrap that socket up with ANY type of wrapper if you don't like "implementation details". Wrapping it up in a lambda is probably the worst thing to wrap it up in.

He is saying that the trade off of a slightly larger function signature that takes in an extra "wrapped socket" is WORTH higher modularity and composability and lower complexity.

Example:

writeStringToWrappedSocket(s: WrappedSocket, s: str)
writeStringToFile(f: File, s: String)
print(s: str)

generateLogString(s: str) -> str
generateFilteredString(s: str, match: str) -> str
capitalize(str) -> str
appendSuffix(s: str, suffix: str) -> str
generateCapitalizedFilteredString(s: str, match: str) = capitalize(generateFilitedString(s, match))

logCapitalizedFilteredStringToSocket(s: str, match: str) = writeStringToWrappedSocket(wrappedSocket, generateCapitalizedFilteredString(s, match))

logFilteredWithDateToFile(s: str, match: str, f: File) = writeStringToFile(appendSuffix(generateFilteredString(s, match), time.date), f)

Boom look at that! How many different types of logging functions can you produce simply by composing some primitives together? I have achieved greater compositional flexibility then OOP in MUCH fewer lines of code and significantly less complexity. With OOP you need an ENTIRE ARTICLE to explain strategies trying to get around a problem caused by over complicating things.

There is a cost to just using normal primitive functions and avoiding classes. What's the cost? The function signature needs to take in a wrapper to a socket while the OOP version doesn't? No that's not much of cost. The actual cost is more subtle. The version I present here is propagating logical management of the lifetime of WrappedSocket to be handled by the parent context. It's not really a "cost" per say, it's just shifting the problem somewhere else. This is much less of a concern for most popular languages where garbage collection handles the lifetimes. Which is another way of saying if you're not using C++ the above method is the better way to go then OOP. And if you're using OOP, then the above is a library that can ONLY be used in the context of the class as some destructor has to call file.close().

Note I am not saying that OOP is bad. It works for many use cases. But it is also in general one of the LEAST modular and reusable patterns in programming. It is also over used and over popular. You use it when you have no choice. I am also NOT promoting functional programming.
I stand corrected; thank you.
Given that pig heart transplants are only a candidate for people that are a really bad shape, how does your friend see this field advance after this current result?
We are getting to the point where so much content is delivered and consumed unhyphenated, that hyphenation should be considered harmful.

I find it harder to read any kind of hyphenated text now, it sticks out and spoils the reading flow as my brain stumbles through each hyphenation like a drunk hurdler.
I use it in ETL whenever I have an XML source, then I use XSLT to lift it to RDF (either RDF/XML or TriX). I use it for the UI where I'm transforming RDF/XML to HTML.
I'm also using for the interactive parts instead of Javascript (or React or Svelte etc.), but that's the interactive XSLT extension that goes beyond the standard.

XML to XML, XML to RDF, JSON to XML and XML to JSON, XML to text -- XSLT can be used for all kinds of transformations. 3.0 also supports streaming transforms, which is very useful for large input files.

XSLT is a declarative DSL made specifically for the XML data model. It does limited things such as navigating the XML tree but does them really well. It lifts the abstraction level so you can focus on the transformation.
You can transform XML with bash or a general purpose language like Java, but it will never be so concise or effective.
You are part of the problem with your hubris.

I live in Maui, you are way off. I'm too tired to type it all out. I'll share my project here soon and you'll see first hand what I mean.
Whilst I agree that external moneyed interests control the US government to a large degree via the aforementioned mechanisms, this is not what people refer to when they say Deep State.

Deep State refers to government employees who hold a lot of power e.g. heads of alphabet agencies, their close underlings, etc and wield it in such a way that there's little recourse for the average American.

Both these moneyed interests AND the Deep State exert an influence that citizens should seek to regulate.
Yes - the risk is substantially higher because blood flow will allow a virus to move from one tissue type to the other very efficiently repeatedly, and immune response is reduced but not eliminated allowing rapid adaption.

As a society we need to think about the ethics implications of using this technique to save some lives while dramatically increasing the risk of zoonotic viruses which will impact many others.
As I recall, the Unabomber's brother read a portion of the manifesto and recognized Ted's writing style.
You could say the same thing about software development... how is it reasonable for engineers to have opinions about specific business/subject-matter requirements, when all we've studied in detail is CS? Want to write quantitative trading software? Get a degree in economics and take a couple coding courses. Want to write an ad platform? Get a degree in marketing, with a minor in auction theory.

Everything in industry - and, increasingly, academia - is interdisciplinary. Given finite time to study, you're going to have to learn one "side" of the job on the job.
I vowed never to use this site because I found certain elements of their code conduct to be questionable.

Why not prioritize everyone’s safety over anyone’s comfort?

And the bit about “reverse -isms” is wholly ambiguous.

It screams to never invest one second of effort in the site.
(January 1990)
what is living well? Why are these lists always so skewed toward such a normative view of liveability?

Zürich is a beautiful and well-organized city, for example, but every single time I've been there I've found out that its quiet translates into a boringness I've seldom experienced anywhere else. For me, a man in his late thirties who has no plans to have kids and form a normative family, it's a living nightmare.
I love “car-infested”. Taking public transport and living densely is my version of hell.
That bias is called "I have a car and I need to drive everywhere"
Do you think $2/month gets you access to people who can actually fix DMCA problems?
They're hard if you can't tolerate downtime, which most production users can't.

While that's true for a lot of database systems, some more recently designed are much better. [1]

[1]: https://www.cockroachlabs.com/docs/stable/upgrade-cockroach-...
武汉市疾病预防控制中心

That's the Wuhan CDC. It's across the street from the market and has a virus lab. Google Maps will not show you the correct location but you can put the address (湖北省武汉市江汉区马场路288号) and it's close enough. Or use Baidu Ditu and find it's right in the middle of the clusters in your first link, ~300m south of the market.
Coinbase has _everything_ to do with Crypto, and that is precisely my point.
I do not understand this comment (I am French, this may be a cultural/political thing)

Duo you mean that women who undergo abortion wild not do that if they had access to healthcare and maternity leave?

We have access to both and still have abortions. About 220k per year, which is about 30% of all pregnancies.

Either we have a dumb population that did not know what contraception is (we have sex ed all the time), or there are deeper reasons for this action which is never fun for a woman.
Thanks, that explains it quite nicely.

1990s AppleTalk networks could work over a single pair. I ran a network with hundreds of Macs for a tech company. Ten buildings in a small campus.

Still remember the day the fire-alarm techs punched down over one of the Macs in the executive office. Not much of a network signal when there's 24 Volts on the same line.
I’m a big fan. Used to only shop Uniqlo, M&S and gap but the quality of these brands have gone downhill massively.

Asker’s chinos are the comfiest trousers I’ve ever worn. The Egyptian cotton tees are also great.
It would take away the legitimacy of the results if they introduced bias. Asia is more diverse (Sydney, Gujarat, Luang Prabang, Jakarta) and maybe the USA just isn't.
For Android, Librera is able to do that.
Whig History
also real time?
Your self worth comes from not self. Nice...
Wasn't that lab monkeys?
They have to leave Singapore before a fuzzily defined boundary between 10 and 12yo, meaning it's the parent who has to make the call. Stay beyond that, and they're a deserter who'll be arrested on sight if they ever return.
> Or you could just dump and load the database

This is sometimes not so easy if the database is huge and you can't have a downtime. The article is also mostly focused on things related to running a replicated setup which makes things a lot harder than pg_upgrade that you "just" run on your production database.

PG upgrades work well and the pg_upgrade tool works well but it's not just something you run on a Friday evening if it's bigger than a side project with 2 users.
So Australian, Canadian and some European cities are the places to be. Not overly surprising (at least to me). They're the only 3 regions I'd choose to live and work due to the balanced lifestyle that the Economist rates in its study.
On the page they link to, in the section the 241k came from, is a link that says "More detail on the analysis". It goes to my link.
Amsterdam is #9 in the report (scoring 0.1 lower than Toronto), but not mentioned in the article for some reason.
> adding points for just being in the Northern America

To the contrary, I find it odd that there isn't a single upper-tier livable city in the western 2/3rds of the US but every city in the eastern 95% of Australia is top tier. Hell, my neighbors immigrated from Australia.
https://www.theregister.com/2022/06/17/brave_duckduckgo/

https://www.theregister.com/2022/05/25/duckduckgo_browser_mi...

https://news.ycombinator.com/item?id=19380174

https://torrentfreak.com/duckduckgo-restores-pirate-sites-an...
Celsius in particular should make an MBA more worried.

Their required collateral when making a loan is 4x in cryptoassets. This means the collateral is not enough after a 75% drop.

Yet Bitcoin dropped 80% every 3-4 years or so.

https://studio.glassnode.com/metrics?a=BTC&m=market.PriceDra...
I think it's most people's version of hell. Even in Scandinavian countries, well-off people live in houses on a plot of land, not in apartments.
You don't need to live densely to have public transport and access to services. US city planning (and Canada for the most part) have a problem with either allowing very high density (in limited space, so you get huge towers) or single family homes, very few things in between.

I live in a mixed used era, in a 5 story appartment block, which is the high end of density around here. I have two tram lines within 400 meters and an S-Bahn station less than 100m away.

And also, dutch cities allow for bikes, if public transport isn't your thing.
I hate to say this but I feel like Dev had a nice start but went downhill fast.

Nearly all articles can be boiled down to “Look at this really basic thing, and follow me on A, B and C.

The first Dev talk I watched from the founder (Ben) was about how they gained a lot of traction being such a fast loading site, focus on content and less fluff. I loved the attention to performance, being open source and the customizations it enabled. Sounded great.

However the site got funding and started to focus on “diversity” and “inclusion” at all costs. Created a new CoC and the beginner content flooded in and has gone downhill since.

There is also a rampant spam issue and affiliate link farming.
It's certainly a good time for the company to step in, and look good, while not sacrificing much.
That is not how law, jurisdiction or sovereignty works.

If I run an export business from my own country, the only law I need to comply with are the export laws of my own country. It's the duty of whoever is buying it on the other end to make sure they are allowed to import and possess the goods.

The EU does not own the right to use languages. I can use German if I choose without ceeding an inch of soverignty to the EU.

The EU does not control what data I collect when running my website. I might be required by my home jurisdiction to collect details on controlled export goods, and I might be required not to tell the user.

The EU controls the Euro currency, but they cannot make it illegal to me to use it, or attach special conditions to its use. They could convince my own government to sanction me, or aid them in sanctioning me, but that would be my own government affecting me, not the EU.

Your countries laws stop at its borders. Stop trying to control other people who have no say or vote in the laws. It's anti-democratic.
Airbus and Linde to cooperate on hydrogen infrastructure for airports
zero-downtime-postgres-migration-done-right:

https://engineering.theblueground.com/blog/zero-downtime-pos...
Again, you fail to give a single specific example. ALL of their articles have permalinks and are unpaywalled... so point out a few examples that exhibit factual errors.
Sorry, I didn't understand your example. As a client, I want to say log("some error happened") without caring how it's done because it's not my responsibility. How would you do it without classes or closures?
Lobste.rs frankly.

More programming oriented, less ego boosting.
I agree, I think they see it as a welcome side effect.
Zurich is interesting since on the outside and to a lot of people it seems to be a very boring city indeed. However, in my experience, under the surface there are a lof of cool things happening in Zürich. As well, don't forget that there it has a huge airport with connections to the entire world (only 10 minutes away with S-Bahn btw) and 2 hours train-ride to world-class skiing.
I stand corrected. Firefox hid those when I viewed the source.
> Introducing DALL-E 3: Now with matching RAW files, soon available in a closed platform near you
Citation needed for those tiny populations dancing on the edge of perpetual starvation.

Look, I’m the first one to get in line to skewer people appealing to the “myth of the noble savage” to argue that all was wonderful before the big bad imperialist white people showed up, but I’m also equally skeptical of anyone who makes a claim without evidence that without “modern” technology or methods some peoples would be languishing in a world of starvation and sadness. It’s entirely possible that without what we consider “modern” methods, some people actually were getting on just fine.
>they do not have the votes to do much of anything

This is a flat lie that you repeat. The Democrat caucus collectively "has the votes" to do essentially anything. They could even end the Senate filibuster rule! (It's just a rule of the chamber that can be overturned by simple majority, and they run the Rules committee.)
> Other cities affected by the contagion of war, such as Budapest and Warsaw, saw their stability scores slip as geopolitical tensions increased.

Meanwhile, kids in American schools are getting shot at, but yeah, Warsaw is definitely less livable than any large US city.
I don't know exactly what the criteria are of being included in the list, but the Netherlands doesn't have that many large cities. Only Amsterdam, Rotterdam and The Hague have a population of >500k. If the cutoff is at >250k, the list only grows by one city; Utrecht.
What's the average lifecycle of any website since the 2.0 days ? It's impressive how they constantly pop up and then pop out rapidly. Only to be replaced by the new -r variant.

Feels like articles talking about the low energy of lightning. Impressive but too short to matter.