skysight-inc/HackerNews huggingface dataset:
We need proofreaders at Standard Ebooks! You could even produce a book if you'd like, as the skills needed are basic command line familiarity, and HTML/CSS. Regex is very helpful but not required. https://standardebooks.org
What are the costs of living back home for you?

For instance, $20k/year is a very decent upper-middle class salary in Poland.
coolproject('prolog-notebooks').

coolproject(X)
> I always convert time into time in seconds since the epoch

You should still be careful how you define a _second_. A POSIX second is not the same as an SI second. A POSIX second corresponds to 1/(24 * 60 * 60) of a day. An SI second is defined using atomic time measurement. It means that the duration of a POSIX second depends on the length of the day, and some days are longer than others due to leap seconds.

The worst part is that most tools rely on POSIX timestamps instead of TAI timestamps (based on the SI definition). One of the consequences of using POSIX timestamps is that taking the difference between two timestamp does not safely return the number of elapsed seconds.
Ask HN: What programming language you use the most at work?
China to Funnel $29B Towards Its Chip Ambitions
> "My business can't survive unless my employees are living in poverty." which, in reality for a lot of businesses, is "I won't be as profitable if I have to pay a living wage".

I really like the way Nick Hanauer puts this particular topic. It has a certain logic to it, and appears to be supported by some historic data and trends.

I won't do it justice, but in effect the message is that if my employees can afford my product, it's better for the economy and business. Using restaurants as an example, if all service workers can afford to eat at a restaurant, then restaurants as an industry do better, and the economy grows, and individual businesses do better.

My take on it is, without public policy, such as a minimum wage, it's hard for a business to be an outlier. If one business pays a living wage, but non of the competitors do, that business doesn't necessarily have enough of an advantage to stay ahead of lower priced alternatives. It's only when we create rules through policy, do we create a level field for competitors to operate in, with effects such as increasing the customer base by increasing the purchasing power of a class of citizens.

This of course doesn't mean the rich should be eliminated, or everything should be equal of course, but the attitude that "I won't be as profitable if I have to pay a living wage" isn't necessarily correct, and it's possible for businesses to thrive once the shocks of rapid changes work themselves out. It also depends a great deal on other elements of policy, such as international trade, but those are other topics for other days.
Could you elaborate? It sounds like this is just promoting a problem/product first mindset, which - to me - sounds like a reasonable outgrowth of the lean startup method which you hear a lot about in startup circles.
I'm an immigrant living in the UK, I have no such ID card. I have a driving licence and that's about it from stuff issued to me by the British government :)
That’s what they did in Seattle & San Francisco
Well, a homeless person with a smartphone has a hell of a lot better chance of getting a job than they did pre-smartphone, right?

Maybe this can count as more of a smartphone thing an internet thing.. but it's still largely an internet thing that would allow someone in a rough spot to still be able to connect with people online and look/apply for jobs.
OK. Except for possibly "created jobs", it's not obvious to me most of those things lead to "lifting so many people out of poverty." (For instance, I suspect very strongly that "new types of products available" has nothing to do with lifting people out of poverty).

I am gonna want some analysis based on actual numbers of some kind that shows the internet did those things, and it lifted so many people out of poverty.

(For starters, I don't even know if fewer people are "in poverty" now than pre-internet or not!)
Are you thinking of full on rental like Enterprise or car sharing like Zipcar? Zipcar is pretty dang easy and it's what car-free people think when you absolutely need a car for a trip.
Rather than commenting on my experience with the internet, shouldn't the discussion be about one of the inventors of it stating that it's gone "so wrong"?
Is an Amazon-Oracle Merger Possible?
> Javascript is the C++ of dynamic languages

LOL, Have you ever heard of something called PHP?

> Actual C is a clean and simple language both compared to Javascript and C++.

Why do people keep on calling C "simple"? C isn't simple it's basic, it is absolutely not simple to use at all, and given the mess around macro and pre-processing, it wouldn't call it clean either.
Power hierarchies are part of human nature. We always create them, the super-nodes.

This is not limited to computer networks. We do it with relationships as well, how many does not know of Madonna and Justin Bieber, compared to random Joe? Our very ideas and thoughts are subject to it as well.

There already exist meshing technology that counter our human nature and does not produce power hierarchies. Decentralized hashtables for example.

Maybe if we hand over the control to the machines, we could solve this problem. Pretty much noone wants that though... It's limited to some fringes of our society. The darknets (i2p more than Tor) it, and BitTorrent swarms. It works here, because the programmers never gave the users a choice.
Isn't it the reasoning behind the blackouts? I thought rolling blackouts were typically due to not having enough power generation. What's happening now is related to preventing fires isn't it?
> If the electric company is billing you at a house, for providing electricity to that house, presumably that is your house.

Utility bills are ordinary pieces of paper that can easily be forged.

Even if you have a genuine one, all it proves is that the address exists in enough of a way to have its own utility meter, and that the person you're dealing with has access to the mail there. That's not nothing, but it's not a lot. People may not be on the bill (subletters etc), or the bill may be paid by an absentee landlord, etc.

Conversely, the security is terribly vulnerable to social engineering, like SMS "2FA". I know because I had a month's disruption when someone managed to order a replacement phone line to my house and cut off my internet for a month.
The internet came at us too hard and too fast. We have not had time to determine what are the pitfalls we've already falling into and how to get out of them, to name a few; addiction, anxiety, FOMO, jobs market, specialist skills, internet personalities, fake news, data gathering, manipulation, privacy, security, peoples rights, ownership.
Another drawback is that it's taking focus away from mass transit, at least in the US. Decent mass transit ameliorates such a wide range of issues in cities it's hard to understand why we don't put more effort into making it work.
> Mercurial had the strangest and most non-idiomatic Python I'd ever seen.

It's not so bad. We just use a lot of abbreviations, but you get used to them.

There's also a reason for a lot of the ways it's written: backwards compatibility. We supported Python 2.4 until a couple of years ago. This meant you had to do "x and y or z" instead of "y if x else z" because the ternary operator wasn't available in older releases. This wasn't because we like old software, but because our users do. A data-storage solution needs to be stable over very long periods of time. You don't want to be unable to access your repo because you're on an old machine. A DVCS is too important to force your users to be chasing after the latest release all the time.

Another reason for Mercurial's style is to avoid unnecessary function lookups or calls and other quirks of the Python interpreter. Something as simple as

for x in y:
thing.doit(x)

can have a noticeable speedup if you instead do

doit = thing.doit
for x in y:
doit(x)

because Python just takes a while doing function lookups. Our users notice those milliseconds of difference because they want "hg status" or "hg log" to be nearly instantaneous.
Oh come on. You can do useful work without a linter and autoformatter for a couple of weeks. Geez. Especially for Python, of all languages.
Thanks.

I'm a bit surprised living in Switzerland, which has an image for those very discreet, secretive banks.

But you could not open an account with a local bank without showing your passport in person.

Even when I ran my own company and had the corporate account with a specific bank I had to show up at a branch in person showing my passport in order to open a pension account with the same bank.

This even applies for postal accounts.

Mailing a scan of your driving license would never fly. I don't think it would even be accepted as identification if you show up in person.
I hope beautifully designed refers to the function...

As it stands, Ubuntu is a pretty desktop. Gnome software looks good and covers most of the basic things you need to do with an OS. I spend most of my time in Chrome, Atom and Steam, all work well.

There's functional software for most tasks and it would be a fairly big undertaking to replace it, so I'm curious what you'd actually be building. If it's just MacOS skinned equivalents to the Gnome/KDE apps then I'd say no, I'm not paying for it. If you create something truly useful then yes, I would.
From the original paper published by Sergey and Page..

In this paper, we present Google, a prototype of a large-scale search engine which makes heavy use of the structure present in hypertext. Google is designed to crawl and index the Web efficiently and produce much more satisfying search results than existing systems. http://infolab.stanford.edu/~backrub/google.html

They were solving a problem - a very common problem in the days when internet content exploded.
Many Windows Server installations have no GUI or Desktop -- they're command line only.
Well you're using Safari, don't expect the best performance.
> surveillance

Just the tip of the iceberg, the security services facilitate the criminal underworld playing its part keep GDP up, lots of experiments being done on people individually right now, most of it messing with peoples belief systems which in extreme you see with muslim terrorists carrying out acts. I know I've had similar done to me.

Jimmy Saville was a state apparatus intelligence tool, nothing more nothing less and look at how the state labels him a pedo now!
As much as I love Python, I get the feeling that you might have chosen the wrong language, or at least you used the wrong abstraction somewhere.

Yes, I know that Python 2.x and 3.x handle bytes entirely different, yet I cannot understand how Python and their release planning should blindly "bend" to the demands of a project using the language.

I understand you don't care about Python the least, but we do? We have to? I think that the maintainers simply had to move forward at some point, there has been a way too long grace period.

And Python is not ANSI C. I think what you want of Python is to be never-ever-changing C89 and gcc still supporting it (I think it still does?)
Not exactly a textbook, but good to read nonetheless is, "Statistics Done Wrong"[1]. It is a short read but is filled with all the most common ways in which statistical analysis is abused with concrete examples.

[1] Statistics Done Wrong: The Woefully Complete Guide https://www.amazon.com/dp/1593276206/ref=cm_sw_r_cp_apa_i_u....
The best thing is to try and find out beforehand whether your pull request will actually get looked at.

It's also not so uncommon for maintainers to just get burned out and disappear for a while, so you might get a reply still.

I made a directory[1] where you can filter projects by things like how long maintainers take to reply, although this isn't too helpful for the specific project in question of course.

[1] - https://sourcesort.com/contribute
> C was good for its time. Go ahead, take a look at PL/I and BLISS. See whether you'd rather program in those.

I don't think that's a fair comment. Pl/I wasn't really the same domain as C and there were other alternatives to PL/I (such as FORTRAN, COBOL, ALGOL, Simula, LISP etc)

In fact by the time C was released, there were already literally dozens of programming languages. And C itself an evolutionary progression because it took ideas from B, ALBOL and a few others. Also Pascal pre-dates C as well.

I don't mean the following as a criticism against C because I do quite like the language but it does sometimes feel like it's put on a pedestal because it ended up dominating the industry -- either directly or via other languages heavily inspired by C. I do wonder if we've be seeing the same rose-tinted comments had UNIX been based on Pascal and Object Pascal not lost to C++.
From the EU?

(I should probably have written "some immigrants", because the situation is tediously complicated. Anyway, presumably you get to use the license as proof of right to work/rent etc?)
These types of comments are confusing. The developer of Mercurial has stated that it took/is taking them several years to port to Python 3.

I'm inclined to believe them compared to some random stranger who asserts that it should be easy for Mercurial to be ported to Python 3.

Unless you were saying that most other/non-Mercurial programs are easy to port to Python 3, which could be true.
Before the internet, many people only worried, economically, from people in their immediate sorrounding. Often only in their city.

Knowledge was much harder to ackuire and more valuable, and it was harder to compare prices.

That led to an environment where many, both business owners and employees could akuire some valuable competitive advantage, and make a decent living.

Now that's much harder. Significant competitive advantage(or significant bargaining power) rarely exists, for most.

Most have little economic power. And psychologically that's probably more important than relative wealth.
> Dr Pepper marketing towards men who typically don’t drink diet soda

Don't forget Coke Zero, AKA "Diet Coke for men".
I did read the article and also the manufacturer's web site. Left virtually speechless. Did not think marketing can reach such heights.
Yes, but the dissident employees also want Facebook policing political speech.
> You've reached your monthly free article limit.

Ironic.
I have no background on Mercurial but I'm curious whether it was considered to rewrite the entire thing from scratch in another language?
Git is horrible to use. Few people like it, most only tolerate it. Regardless of how you feel about git, there's plenty of literature regarding how awful the git user experience is.

Mercurial's greater modularity also has made it easier to implement improvements for monorepos, although personally that's less important to me.

That's why I still use and work on Mercurial.
I once had a phone call scheduled with Naveen. He missed it twice and finally made it to a third time. Not making any conclusions here, but just take such articles with a grain of salt and do what works best for you.
> Yeah, until the compiler figures out it's really not a size_t and that it's free to do whatever it likes to your operation.

That's not true. Being gracious, parent was saying that if you treat another scalar type as a size_t (or vice versa) something sane happens. The standard guarantees that size_t is an unsigned integer type. If you use any other scalar type where a size_t is expected, it will be converted to a size_t correctly, even if it has less precision than a size_t. If you use a size_t where a less precise scalar type is expected, the behavior is perfectly defined as long as the value stored by the size_t can be stored in the less precise type. The result is implementation defined, or an implementation defined signal is raised, if it cannot be represented in the less precise type.

Either way, the compiler is never free to do whatever it likes in this case. In most cases, doing this is perfectly safe. Compilers are free to warn (and they do!) users when this happens. For instance, GCC and Clang both will warn on this behavior if you supply `-Wconversion`. But you never will see totally unreasonable code generated by compilers when this happens.
I haven't but that wasn't my point at all when saying that. It is on a hype train, whether that hype is justified or not is not what I was trying to get at. What I was saying was that this hype and massive surge in use and publicity causes an inevitable bias which clouds judgement when deciding whether or not to use it. That crowd of programmers that seem to hop on every computer fad, the ones that have been adding hashtag reactjs to their twitter posts for the past year, they're probably going to choose rust regardless of whether or not it should actually be used. The bitter contrarian is probably deciding not to use it because he's sick of seeing it mentioned in every other tech blog post in the past year. As soon as this hype dies off, both of these groups can move on and hopefully decide whether rust is actually worth using for whatever they need done.

I would use it if it's the right tool for the job. I just want to stop seeing it mentioned 20+ times a day and snuck into blog posts that started off as critiques/comparisons of two other languages.
The iPad seems squeezed at both ends, from the bottom phones are nearly as powerful and at the top laptops aren't much heavier.

They are good for ageing parents and grandparents though, my mother in law loves hers and we like not having to deal with PC issues.
If we anticipate substantially reducing prison populations, we sure as hell had better expect to release violent offenders to the public. See Pfaff's paper and subsequent book about this; violent offenders are the over-incarceration problem.
These guys find that the price of food per hour of unskilled labour wage was about 8 times higher in 1919. https://fee.org/articles/food-prices-in-1919-compared-to-tod...
I disagree. The images showed me what it does, or at least gave me an idea what it would do.
I used clusterssh in the past and it is really good at sending commands to multiple machines. However for any real work, I would strongly recommend keeping the typing to a bare minimum and do all your work inside a well tested script. Better yet, use ansible or something like it to manage multiple servers
Bounded arrays and array sliced should not be part of the stdlib, they should be a primitive type of the language. Only then you can have automatic bounds checking for every array indexing operation.
A difference is that the "unacceptable" opinions people once expressed to their friends in the neighborhood bar can now be broadcast over the internet to a wider audience.

The Intenet is only one piece though. The other piece is how digital technology makes the production of media cheap and ubiquitous. This breaks the monopoly of media organizations on production, just as the internet and hosted web services break the monopoly on distribution.
I don't think I've ever actually seen professional equipment marked as being 'pro' or 'professional'. Usually actual professional equipment is the the stuff you buy out of catalogs that lack prices or from manufacturers that focus their marketing towards business or professionals, which, from what i've seen, tends to consist of mostly just listing features and capabilities. I always assume if the marketing is geared towards average consumers or can be bought readily in many places, it's likely not something professionals actually use.
>This is certainly a special case (and also somewhat of an endangered species.)

I'm not so sure about that. This site isn't that different from stuff like reddit or tumblr at it's heart, even if the level of discussion/quality of posts is higher. If you distilled these types of sites even further, it's really not all that different from social media like facebook or instagram. The only difference is the type of content shared and the fact that facebook and instagram are usually used with you being "yourself" rather than just a username. Then again, enough people on hackernews link their profiles to their own personal websites/linkedins/etc. that even that distinction isn't so sharp.
I don't think emoji is the worst of unicode.

The major issue I find with it is there aren't limits to how many are added. Emoji are growing at a fantastical pace, much like a tumor, because "if X got added, why didn't Y?", and so on.

As the other child reply mentioned, this is latin-centric. Totally useless for people that can't or don't want to speak English, and having to duplicate it for every language defeats the entire purpose.
Long-haul trucking would be a great use-case. Even if you need humans for local pilot guidance, you can queue them up to a "cell phone lot" and courier the last-mile drivers in between shifts of going back & forth. It would also mean drivers would be based more locally to points of loading, rather than having to be constantly on the road away from home.
That $0.02 value is entirely bogus. It is based in the published 30 "teraops" for Xavier, which it uses as teraflops and assumes is comparable to the other flops values. ($699/30 "TFLOPS" = $0.02 $/"GFLOP"). "Teraops" counts int8 performance on the GPU plus the random vision and CNN ASICs in Xavier - it is definitely not equivalent to normal fp32 flops.

It looks like the GPU in Xavier can do 1.4 TFLOPS single precision, so the correct value is $0.49.
And many of the companies are not actually in the urban core. And people live over a fairly large radius from the central city.

The discussion always seems to assume that you live in a dense central city or in Nowhereville USA. In reality, a huge number of people live in suburbs, exurbs, and less dense parts of the city.

There's no shortage of local shopping. And "downtown" is easily accessible for those times when someone wants to take advantage of the resources (like better restaurants and theater) that are mostly less available outside of the city proper.
What verifies the keypair-person mapping? PGP "web of trust"?
Anytime I read corporate speak like this I completely tune out, I just simply don't take it for fact. You see most companies communicate like this, and many get caught up in their own contradictions and hypocrisy.
This is the only sustainable way to build a tech company.
Right, because the web activity itself can contain location information independent of the _explicit_ collection of location history.

It comes down to the granularity of privacy concerns and the complexity it introduces.

If you disable the direct collection of location history, should you, the user, be allowed to turn on the collection of other information that can contain location data? That would include all location-enabled service histories, of which search and app history is the most obvious example. Or should Google treat your setting as a prohibition against all possible sources of location data regardless of your other preferences?
> Well, a homeless person with a smartphone has a hell of a lot better chance of getting a job than they did pre-smartphone, right?

Not that I know the answer, but I would have to see a source on this. Why would a device that may increase access to job postings, but a non-homeless job candidate is much more likely to have than a homeless person, increase the chances of said homeless person in getting a job? I'm not even sure that the ability to access job postings is the main problem there.
> I've seen so much controversy the last couple days over the Airpod Pro...

I wonder if this is a viral marketing play. Maybe I'm too jaded.
> Our carets will need an extra bit that tells them which line to tend towards. Most systems call this bit “affinity”.

Is it just me, or does the author disprove themselves with the figure in the same section? I feel like the best possible solution is the one depicted: that you just see the cursor split between both lines.
We had turbo buttons on PC's years ago, most of them did nothing.