skysight-inc/HackerNews huggingface dataset:
You are not comprehending the facts behind what the poster is saying. There are large parts of the midwest that were settled almost exclusively by communities of central and eastern European settlers in the late 19th century. These communities are culturally homogeneous because it was virgin agricultural country before these groups of immigrants settled there. No one else has ever tried to move into these areas, largely because it isn't that attractive to anyone but members of these communities. Most people that live there today are direct descendants of the original immigrants. There was no redlining, racism, etc -- that would kind of require that someone other than these people ever lived in these communities.

I've lived in the midwest in a small farming town where virtually everyone, mostly only excluding my family, was directly descended from people that moved there from the same small part of what is now the Czech Republic at around the same time. It was incredibly homogeneous culturally.
OK, but by that standard, undergrads are already bankrupt, because they're paying $45,000 per year on a salary of $0. So, yes, I think it's still fair to call it sensationalist.

What's actually going to happen is that universities are going to have to pay their grad students more - which they will, because grad students are still a cheap resource for the university.

At least, that's what would happen in a reasonable situation. Education often isn't, though.
I don't know why you have to be so condescending. You don't have to keep replying if you don't think the conversation is productive.
I'm not saying QuickSelect has a large constant. I am saying the median of median O(n) algorithm, which again is not QuickSelect, has a large constant.
I've used this data modeling framework in Java that's similar to GraphQL: https://github.com/perfectsense/dari. I've found it leaps and bounds more productive than most ORM's and the debug tools are top notch.
Don't you get spammed?

I just stop ignoring recruiters or let some of my friends/network know I'm looking.
You might be interested in André Comte-Sponville who takes pretty much the opposite direction on the same journey. What remains of Kierkegaard and Spinoza when you remove Christianity as a foundation of ethics.
We reverted the title from the original “Why I hate Hibernate (and ORMs in general)”, which I assume is purely editorial. Submitters: please don't do this.
Ask HN: How to merge office documents?
Hello HN community,

I struggle to solve the problem in an acceptable way, so I wanted to ask if HN has any other ideas/tips/tricks? Thanks in advance :)

The situation is a handful office documents in different formats and with different layouts/contents:

- {A,B,C}.odt

- {D,E,F}.doc

- {G,H,I}.docx

I cannot find a good way to merge all documents of either format, because there is no commandline option/tool [0,1,2] or the layout is messed up [3], e.g. ooo_cat.

The expected result should be one single file that contains the contents of the other three files without breaking the layout or other unwanted side effects. Merging the base template files into one big template is unfortunately not an option.

Questions:

Q1) What is the best way to smoothly merge several documents [programmatically/cmd line]?

Q2) The documents are generated using the process below. What is HN's way to generate nice-looking office documents with dynamic data? (Except programming/building the whole document and elements from scratch?)

A document is based on a .fodt [4] template with Jinja2 templating-blocks. The generation process is:

1.) Read the .fodt template file

2.) Populate content with the Jinja2 engine and save the "rendered" .fodt file

3.) Use cmd-line libreoffice to convert the .fodt file to .odt/.doc/.docx

[0] https://ask.libreoffice.org/en/question/19222/how-to-merge-multiple-documents-into-single-merged-document/

[1] https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=57435

[2] https://support.microsoft.com/en-us/help/2665750/how-to-merge-multiple-word-documents-into-one---eeekb

[3] https://askubuntu.com/questions/482277/how-to-merge-odt-documents-from-the-command-line

[4] https://en.wikipedia.org/wiki/OpenDocument_technical_specification

EDIT: Formatting
Hmm. I wouldn't say Nazi sympathisers... I'd rather say extreme libertarians. They see every kind of speech as acceptable, no matter how hard history has proven this kind of speech to lead to ultimate desaster and suffering.

Anyway, HN has always tended to the libertarian side of things, doesn't surprise me that there is also quite a bunch of radical libertarians. Thankfully, there also seem to be some Antifas in here, if only to provide some counterweight...
How to Get the Best Performance Out of Your Servers
Well that's a silly thing to say. For the record, Kierkegaard doesn't claim to know or try to prove that god exist. Doubting is a crucial part of believing, and literally requires a "leap of faith" according to Kierkegaard. That's one of the major things that separates religious belief from for instance scientific knowledge. Also:

"Christian dogma, according to Kierkegaard, embodies paradoxes which are offensive to reason. The central paradox is the assertion that the eternal, infinite, transcendent God simultaneously became incarnated as a temporal, finite, human being (Jesus). There are two possible attitudes we can adopt to this assertion, viz. we can have faith, or we can take offense. What we cannot do, according to Kierkegaard, is believe by virtue of reason. If we choose faith we must suspend our reason in order to believe in something higher than reason. In fact we must believe by virtue of the absurd." https://plato.stanford.edu/entries/kierkegaard/
Yes, I agree, freight management differs greatly from people walking in and pushing buttons for their floor.

We now have a new system where you go in and push what floor on an external pad and the system tells you what car to go to.
Please stop making your product more awesome. It would solve our scaling issues it's just above our price range right now :( I want an unlimited DevOps budget then I can also see AWS for more server.
Not sure how this proves me wrong. What it does prove is that analysis of data should not be left (entirely) to humans, who are inherently flaky. Dark irony of this situation is that _more_ data from additional test had a chance of saving the patient.

The way it should have worked: based on previous labeled examples, computer system should have noticed the uptrend in potassium and flag this client for blood gas, and then make classification based on available and _additional_ data.
> It's strange how people support and pay for reliable service and do actually get it

People in the U.S. pay for reliable service, we just get a lot less in return. The D.C. Silver Line cost $150 million per km, even though it's almost entirely above-ground and mostly runs through low-density suburbs along highway medians that were specifically reserved for it decades ago when the highways were built. Stockholm, in contrast, built a new line mostly underground through central Stockholm for about $250 million per km.
I never understand the argument that I shouldn't use an ORM because I "should not be afraid of SQL".

No, I don't use ORMs because I'm afraid of SQL. I actually really like SQL and I'm good at writing SQL queries. But I still use ORMs very often because they help me with programmatic composability and with avoiding boilerplate.

I mostly use SQLAlchemy ORM for CRUD applications. If I need to I can still drop down to SQLAlchemy Core or raw SQL queries, but those are rare cases. When I have to debug something I always just look at the generated SQL queries, most of the time they are actually quite readable.
Yeah, I think it could be a very valuable precaution!
A good example of wealth extraction vs wealth creation.
Those problems aren't sexy and can't get anyone rich quick.
Oh wow, that sounds terrible. When I was in the military I remember a base bowling alley having some fake slots machines. You paid for credits and played for points. People really got addicted to it because it displayed the highest scores. I assume if these loot boxes are tied to a multiplayer game with social interaction it would have the same result. Some will always want to impress the rest with their ‘fake’ points/items.
Just because the landscape has changed does not mean that the rule is irrelevant today. This change is politically motivated, not one of "this rule is outdated".

There's a very low barrier to entry for new tech companies these days, but they all get bought out by Facebook, Google, Amazon. The end result, despite this low barrier to entry, is a conglomeration of power. If a single company buys up many small media companies and forces content, there is incredible power in that and frankly one of the most dangerous things that this administration has actually accomplished. Sinclair is just one example.
I’ve worked on this in London recently, presenting my working concept (and months of data in tableau by location behind it) at a few events. The industry is a few years off it, particularly the physical tech, which would require digital screens to be hooked up to an ad server of sorts (that doesn’t really exist programmatically either) and then serving custom ad formats (non IAB format) in real-time (taking in variable factors that could effect the demographic and/or volume of eyeballs). Measurement of the eyeballs and said demographic is the gap, though that’s more than currently exists in the Out of home market right now(nothing!).

It has legs, you just need serious commitment from an owner of inventory (physical boards), which are controlled by 3 or 4 organisations.
Remedy wanted to cut medical bills, but the healthcare system wouldn't let it
I highly recommend watching Jordan Peterson's lecture series on the bible stories.

You are doing yourself a huge disservice by thinking about religion in this way.
Have I made the claim that it increases the frequency of occurrence? I feel that link is a red herring and obfuscates reality. What I, and all of the papers above, have been referring to is the frequency of intensity of storms. NOT the frequency of storms.

Other than the graphs I've already pasted, the phenomena shows up over and over again in the power dissipation index;

http://images.nature.com/m685/nature-assets/ngeo/journal/v3/...

Here's yet another paper on the topic and its graphs;

http://rsta.royalsocietypublishing.org/content/roypta/365/18...

http://rsta.royalsocietypublishing.org/content/365/1860/2695

> Of course, you don't have listen to me or the weather people who repeatedly say that storms have not increased in frequency or intensity (beyond their normal cycles) [0].

First of all, the graph you linked to only mentions the frequency of occurrence. It does not include intensity. Second, I trust well sourced papers featuring replicable research by scientists published in notable peer-reviewed journals over random people on Twitter.
Why do people who write these stupid articles think it's alright to assume that younger employees are less intelligent based on their age, but not to assume that older are out-of-touch or have misplaced priorities based on their age?
> but I don't want to live/work in a society where you can use mental illness for excuses

Accommodation is often quite possible and is a net gain for everyone involved. Yes you don't want the guy piloting the airplane to have hallucinations, but forcing someone with social anxiety into a cramped loud office when there's no need should be doable.
Can I ask which philosophers don't annoy you?
> Am I missing something?

Yep, both Facebook and Twitter regularly plop up on media for shutting down or suspending left-wing sites. For example, "Kein Mensch ist illegal" was even awarded a prize by FB (2014) and in 2016 their admin got suspended (https://www.mimikama.at/allgemein/facebook-sperrt-admin-von-...). Problem here is that the alt-right (ab)uses the reporting features combined with sensitive anti-spam measures at the providers. Given enough reporting Nazis, even the biggest accounts are easy targets. That the Big 3 (FB, Twitter, Youtube) don't have a way to reach a human or file an appeal at a court of law (which I can do, for example, if my telco provider shuts down my internet access and with it my email account) doesn't exactly help either. Big-ish accounts with media influence or people with connections to employees of the companies may help, but this is a luxury only a few people have.

> EDIT: Apparently so because someone just went through my history and down-voted all my comments...

Don't worry - had the same thing happen to me recently, I believe after the Charlottesville murder.
Remember that you can pretty much bank on:
. When a politician accuses someone else of something, they're doing it themselves.
. When a politician makes a claim on controversial legislation, the opposite of that claim is the truth.

Fixed that for you.
Those cities have plenty of _under_developed land. Go far enough into the NYC boroughs and you'll find only small buildings. (And even parts of Manhattan have low-rise buildings, though mostly due to the ground below not supporting higher buildings cheaply. Even here an LVT might lead to higher density.) SF is full of small buildings. Ditto LA.

As to the dynamic you present, it looks like self-balancing in that there's an implied assumption that people really prefer City A to City B for various reasons (density among them, no doubt).

The great thing about all this is that we get to have 50 States, and many more cities altogether, experimenting (or not) with LVT, so we'll actually be able to measure the impact of LVT.
It's funny that you say that, because I'm constantly having problems with e1000e driver on my Intel NUC. Ethernet card stops working and dmesg shows "hardware unit hung" message. Tried to upgrade driver to latest version, compiled from sources - didn't fix it.
Is Silicon Valley Building the Infrastructure for a Police State?
>OK, but by that standard, undergrads are already bankrupt, because they're paying $45,000 per year on a salary of $0. So, yes, I think it's still fair to call it sensationalist.

Well, they probably have scholarships.

>What's actually going to happen is that universities are going to have to pay their grad students more - which they will, because grad students are still a cheap resource for the university.

Well, they won't be cheap if they have to pay them more!

>At least, that's what would happen in a reasonable situation. Education often isn't, though.

And it's somehow reasonable to tax discounts like income?
Thanks for the honesty.

Question: I'm in Sydney, Australia, aka the home of the most expensive bandwidth/peering in the world, IIUC :)

When I initially pinged 9.9.9.9 (I read "Quad9" and, despite having _just_ woken up, make sense of the nice name) it didn't work. Okay...

And theennnn:

$ ping 9.9.9.9
PING 9.9.9.9 (9.9.9.9) 56(84) bytes of data.
64 bytes from 9.9.9.9: icmp_seq=1 ttl=52 time=5006 ms
64 bytes from 9.9.9.9: icmp_seq=2 ttl=51 time=4006 ms
64 bytes from 9.9.9.9: icmp_seq=3 ttl=51 time=3006 ms
64 bytes from 9.9.9.9: icmp_seq=4 ttl=51 time=2007 ms
64 bytes from 9.9.9.9: icmp_seq=6 ttl=52 time=155 ms
64 bytes from 9.9.9.9: icmp_seq=7 ttl=52 time=154 ms
64 bytes from 9.9.9.9: icmp_seq=8 ttl=52 time=154 ms
64 bytes from 9.9.9.9: icmp_seq=9 ttl=52 time=157 ms

[a bunch of skipped lines w/ 155ms avg, 252ms peak]

^C

--- 9.9.9.9 ping statistics ---
33 packets transmitted, 27 received, 18% packet loss, time 32027ms
rtt min/avg/max/mdev = 154.626/655.770/5006.544/1264.522 ms, pipe 6

Ahahaha nope that's not going to work for my primary DNS server. Not at this point.

For reference:

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=6.92 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=7.22 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=56 time=7.17 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=56 time=6.69 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=56 time=7.78 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=56 time=6.94 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=56 time=7.01 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=56 time=6.77 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=56 time=7.40 ms
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 9 received, 10% packet loss, time 9010ms
rtt min/avg/max/mdev = 6.695/7.105/7.788/0.318 ms

This is a very cool service though and I wish you the best (and hope you get enough resources thrown at you to make a real difference!).

Apparently someone else who tried to email you has found that your email address bounces. I'd like to keep in touch in case I can help with further testing. I also wonder if and how I could get further involved with this - global-scale networking is a very interesting performance optimization target, the kind of thing I find really interesting.
But, the main issue is "once an experienced analyst has the minimum information necessary to make an informed judgement" is followed by "they are unaware of the extent to which their judgements are determined by a few dominant factors."

Which implies they do not know which part of the data is most important. No?

disclaimer: didn't click link/read chapter
> Most are there to prevent some monstrous or dystopian consequence of unfettered capitalism that we as a society have decided is undesirable.

When regulations aren’t designed to address identifiable market failure modes, like for example a natural monopoly or negative externality, they’re usually driven by vague public interest handwaving. Economic theory is hardly infallible, but it’s a lot better of a basis for law than that.
CityMapper includes this feature (no affiliation beyond being a happy user).
Sales taxes are usually kept in segregated, designated accounts and are swept weekly to the taxing authority.

Some merchants bury that cost in the sales price, but generally speaking it’s a seperate line item that is treated differently. Merchants comingle those funds at their peril.
Sydneysider here. It's highly inconsistent. I've been to Tokyo a few times and people _always_ allow others to alight first. Here in Australia it's more often than not a free for all. I have even had people push me back into a carriage when I and others are clearly trying to get off.
Not sure. Just saying it's easy to add a cross and be truly and not leave the question of bias out there. This is becoming a mountain out of a molehill thing though. I just don't want Google villified by you know whos.
Show HN: Directory for kids with allergies
> why nobody has created a version of JavaScript that just throws exceptions for all the WTF cases?

Google experimented with something they called "strong mode". Classes were read-only, accessing nonexistent properties was an error, and things like that.

I liked it. Unfortunately, the experiment didn't go anywhere and strong mode was removed from Chrome.

Dart is somewhat similar, though. It got more straightforward semantics than JS and most of those WTF things are an error.
Please note that in both cases it obviously depends on where your bottleneck is. E.g. if you're IO bound, you're not going to see a lot of improvements. Similarly if most of your time is spent doing index scans there'll not be that much efficiency gains. Although in both cases parallelism can help.

If instead you're doing a bunch of aggregates over table, and the bottleneck is the computation of the transition values, computation of hashes, tuple deforming, etc... you might see quite some benefits (first two some in v10 already, all three hopefully in v11).
It always amazes me that Plan 9, which is widely regarded as a joke OS, has continues to inspire new software with the different way it did just about everything.

I have P9 VM, and I have never quite understood what I am doing with it, but I keep hearing of developers borrowing from its codebase to make exciting new software.

I also find SSSPC and TempleOS to be entertaining OSs to explore, as they are so very different from the OSs I am used to.
A lot of cities have tool libraries as well. I think the author hits the nail on the head though with "high-friction" being the problem.

When I rent a tool from the tool library, it puts me under a lot of stress to finish the job before I have to take the tool back. Furthermore, some tools are hard to pick up from the library without a truck.

If you don't have a car, forget it.

The other thing about tools as well is that in order to use them, you have to know how. If you don't own the tool, chances are pretty good you won't know what the heck you're doing.

After saying all that out loud your idea starts to sound pretty good. There needs to be a community center where you can learn how to use these tools, and borrow them when you need them. The library sounds like the perfect place. If only we could easily add low-friction on-demand services to that equation.
Yes, you might call them anti-capitalist capitalists.
> Make Technology Relatable and Accessible

I've considered drawing up a directed acyclic graph of fault propagation in Linux. E.g., an incorrect WPA key causes WiFi to be misconfigured causes the physical network layer to be unavailable causes ... big tangled DAG ... causes the web to be inaccessible causes Facebook to fail. This might be stored as a bunch of files in /usr/consequences. Software packages would come with extra files to model their usual failure modes.

The error message in the web browser would refer you to the "web inacessible" node in the DAG. You would input that into a program that automatically tested for faults and walked back though the causal links to find the mistyped WPA key. The leaf node for a simple fault like that would suggest ways to fix it (keys are printed on modems, take care with O and 0, etc.) and would link to the relevant man pages.

I think that a tool like this would encourage people to start learning about software. At least it would show them which small part of the big system they needed to learn right now.
Definitely agree with lots of the points in "not-so-great things" list. One fellow engineer ended up using Hibernate for more analytic queries - ended up causing so many strange issues. We discovered one of the queries was doing some kind of internal secondary query for each of the top-level rows. (So for each returning row fetched it was making another SQL query to the database). Not sure why it wasn't doing the obvious join, but I guess something broke its rules. So while I like hibernate for fetch, change, update etc.. I really think you need to be careful trusting it for joins and such.
Your closest servers:

172.104.136.243 (ns2.he.de): 96.51% uptime

5.135.183.146 (ns12.fr): 95.63% uptime

Now that is some uptime I want for my DNS...
Suffering from shellfish allergy for more than 20 years, I know how difficult is to live a life with allergies. My baby has eczema and now I know babies and kids suffers even more than adults.

Being inspired by another directories for startups, marketing and business related, I decided to create this one for kids and allergies and somehow try to help.

I'd like to listen to some feedbacks on how to grow the number of users....I don't know, because I've just launched...
I don't think they're smearing. There is a cluster of white nationalist groups in southern Indiana but I don't think that means people are generally more racist there than say, Ohio.

The two things I take away from looking at the map are 1) it's not just a southern thing (which I think is a misconception they're explicitly trying to correct) and 2) the hate group density correlates with population centers pretty well (which is often the case for maps of people).
Collecting the taxes from a seller perspective is a solved problem - 10 minutes of Amazon account setup.

Knowing if you have to collect those taxes, remitting them according to 50 sets of rules, often contradictory.. is a whole different story