skysight-inc/HackerNews huggingface dataset:
> showing no regard and respect to the rest of the world.

What the fuck? They're not showing "respect" because they don't speak English?
Ahrefs to Compete with Google Search
Does China block specific parts of wikipedia then? How do they know what part of wikipedia you're visiting?
Our code base is primarily Python. We do use type checking, but we risk having problems that you simply don't have in strongly typed languages.

Unit test save the day every time I need to refactor large parts of the code base or make a change that affects the entire code base. They don't necessarily find problems I didn't think of, but they make these kind of large refactoring a lot easier.

Recently we replaced the ORM. I replaced the code that handles setting things up, and wrote the code to configure the new ORM. Then I just ran the tests. Almost all of them failed because the imports and syntax are slightly different. So, I would just take it test by test and kept fixing things until the tests passed. When all the tests were passing I was reasonably sure everything was still working as expected.

Sure, we also face the problems you're facing. Sometimes the tests just fail for unrelated reasons. Or somebody wrote a test that is a bit flaky and fails from time to time. Usually we just consider this the cost of doing business so to say.

When tests are failing every time the code changes, that usually indicates a problem with how you write tests. Stick to the single assert principle, make sure tests are simple, don't require a lot of set up etc. complex tests are usually a sign of complex code.

In dynamic languages, mocks are very popular, but I've found them to be the source of having to change things. They are often a sign that the code is poorly split and untestable. Instead, write smaller, isolated modules and possibly use dependency injection, making the "mocking" part of the code.
Directly related book recommendation: Billion Dollar Whale by Tom Wright and Bradley Hope, published 2018.

They book follows the founders of 1MDB, the quasi Malaysia soverign wealth fund wbhose investments included the founding of Red Granite the producers of Wolf of Wall Street, from pre-1MDB days through to it's demise. Quite quick and easy, repeats itself a bit and imho falls apart/seems rushed at the end, but a fascinating account of greed, corruption, and how easy it seems. Well worth a movie adaptation itself!
Without ever having been to a hospital in India, presumably the doctors go in not-very-good, then when they become excellent they move to a private hospital.

When I look at what surgeons actually do, it seems clear to me that more than anything else they need lots of practice. Life isn't very fair, so I'm guessing most of the practice happens to poor patients and most of the competence happens to rich patients.
40% ownership won't grant them the ability to abuse the anti-cheat software, unless I misunderstand how partial ownership works.
EmberJS with its addons is very similar to Rails productivity. React has some pretty good drop-in components as well, but mostly are related to UI.
Because I am the CTO of the company, and because the only interaction Tencent has with our company are during it's board meetings, which I am also a member of.
Having GR III, but not very skillful with it, I would say that taking an image as vivid and clear as AI-backed smartphone (e.g., Pixel 2XL) is pretty hard. And it would likely require some post-processing.

But of course, the GR's image is much more detailed and sharper. But that is almost negligible on the small Instagram photos.

edit: typo
"Hetzner cloud have an amazing offer in Helsinki, but being German, I'm afraid they can get copyright-angry very fast." Yes, I would advise you to avoid us if you think you are likely to have DCMA issues. --Katie, Marketing, Hetzner Online
> A rocket could blow up because the library function you wrote didn't account for floating point arithmetic correctly.

I would go so far as to say that using floating point in any software that might cause the rocket to blow up is probably Doing It Wrong (TM). That does not include the video encoder sending a livestream to the ground station, but it does include the µC that controls the engine turbopumps.
What makes you think something like this would be announced on company wide email?

One or two guys, working on cheat detection might know something, or most likely are just told to ignore whatever, they see.
Who's paying Cox? I can almost taste the tinge of corporate interest.
> all the western potential acquiring companies that had agendas that were very ethically distasteful to us.

Interesting, can you elaborate?
Does this one also report all your activity to China like the 7+ was exposed doing?[1]

That I even have to ask this question about a Nokia phone is just mind blowing and utterly telling about the appalling state of digital privacy in general.

[1] https://news.ycombinator.com/item?id=19449824
GDPR – The Aftermath
"Hetzner cloud have an amazing offer in Helsinki, but being German, I'm afraid they can get copyright-angry very fast." -> Yes I would advise you to avoid using our services if you think you are likely to have these issues. --Katie, Marketing, Hetzner Online
>Then I realized it was actually true. But at that point my dismay in the incorrect use of "factoid" after all was completely dwarfed by my shock that injecting frogs with human urine really did determine pregnancy.

That dismay was misplaced. Factoid was used correctly (and can mean both real and fake information -- see my response above).

And X-oid doesn't imply "looks like X but isn't" in general. In most cases it means "in the family of X things" (as per the original etymology).

It's just that some word, like "humanoid" are more useful when referring to non-humans (else we could just say human). Whereas there are many types of trapezoids (for example), there are only one humanity. So our uses for humanoid would either be as a synonym for human (useless), or as meaning "human-like" which makes sense only to apply to non-humans (e.g. aliens, robots, etc).
We don't have two brains but if you split the brain it will become two brains.

This feels like people playing with words to grab attention.
You can do a 4 hour average week though: Just do a year of 60 hour weeks then quit and live off that money for 14 years.
Ok let’s not forget that it’s also the flag of the Republic of China - so the other side of the revolution from the current government.

I was gonna say something like “what if a US state had the same flag as the UK or the CSA” but then I remembered Hawaii and Mississippi feature them :-)
>They were huge in early electronic music because they were cheap and had those handy built in MIDI ports. I believe cubase was originally written for the ST.

Indeed - the reason I got into electronic music was because I had an ST (and that was part of the reason I got an ST, if you get my meaning). Tried Pro 24, and then got hold of Cubase. Used to spend hours improvising music using it, using muting via the F-keys. Rock solid setup, just worked and was dead easy and quick to use. Amazingly it translates to the version in use today - I used to show it to my pupils (via an ST emulator) to show them how what they were using had a history going back 20+ years.

I wonder how different the musical landscape would have been without MIDI ports being built into the ST. Yes, of course, you can buy an interface, but if it's already there...
Doesn't matter. Wikis have and need a community, and the voting/comments/answers part of the wiki is where the community happens. Or not.
>also working on OpenCVS

Are they really though? I can't remember for how long "OpenCVS is to be released soon"[1] but the page itself begins the copyright in 2004.

While I respect other technical decisions taken by the OpenBSD team this one strikes me as pure hubris. Sticking to SVN I could sort-of understand but CVS is just ridiculously frustrating to work with.

[1] https://www.openbsd.org/opencvs/index.html
This "astronomy makes no predictions" meme is goofy. Halley got a comet named after him by predicting the year of its return. That was a completely falsifiable hypothesis. If you like something a bit more current, there are plenty of falsifiable hypotheses concerning e.g. neutrino mass that various underground/under-ice detectors will test in the next few years.

Such hypotheses are not inherently impossible for climate science.
Note I own nokia 7 plus (the phone that had this issue)

There was a fix released, for anyone with nokia 7 plus, just install latest firmware.

Also since this problem only affected 1 phone out of their line, I believe them it was a screw-up and not intentional.
After about 1.5 years of working in the US, I moved back to India for a year and made some mobile apps at home and also travelled south east asia. It was obvious that H1B was a waste of my time.

Then moved to the Netherlands and worked freelance and some regular jobs there for 5 years to get EU permanent residency.

Now moving to Spain and working as a remote freelancer in Barcelona for iOS/Android apps.
Palantir wins $800M contract to build the US Army’s next battlefield sys
It comes with kernel 5.0, Mesa 19 and Gnome 3.32(which support fraction scaling) and has lots of performance improvement https://www.phoronix.com/scan.php?page=article&item=ubuntu-1...
Show HN: ByteScout SQL Trainer Part 2: Advanced SQL Queries
I can't agree more. The existence of MCAS is a testament that the behavior of the plane wrt. to the pitch axis is vastly different. Handling this needs training and anyone doubting that please spend a moment on what happens when this savior MCAS has to be switched off. Yes, the pilots need to be able to handle the plane without. And they have to handle the plane at that point in time in an odd flight situation, are stressed themselves and have their hands on hypersensitive engine and rudder controls. Pilots train to handle airplanes with only one engine - there is a reason for that.

Anyone doubting that Boeing needs to have its authority wrt. to airplane certifications cut should ponder what they are proposing here.
>Or, rather, the dictionary shows that it has been used incorrectly for at least a few years. Knowing what the ending -oid means clearly shows the usage wasn't correct.

Or you don't know what -oid means either.

Oid doesn't strictly mean "looking like but not being X". Some words ending in -oid can mean that, but generally just means "having the form of X, belonging to the class of X" etc. From the ancient Greek -oides.

Dictionary again:

-oid. a suffix meaning “resembling,” “like,” used in the formation of adjectives and nouns (and often implying an incomplete or imperfect resemblance to what is indicated by the preceding element)

Note the "often", not always.

And not at all mandatory at the original ancient Greek -oeides where -oid was adopted from, for math, zoology, medicine, etc. It means both "likeness" (so alike, but not X), and "form" (belonging to the family of things with X form).
I wouldn't say "easily": at some point in the video the guy on the right tries to trim manually but fails -- it only starts working when the guy on the left starts helping him.
I don't want to give examples of specific companies for what I hope are obvious reasons.

But in basically all cases western companies were much more interested in buying us for our users, which they could then subject to whatever their business model is. Selling ads, selling subscriptions, selling data, whatever.

Our companies profit was actually a negative to these western companies since it simply increases the price that they would have to pay to get at the users.
>shared by both your client side and server code

How do you get that? Are you using GWT?
Nice comeback :)

The person who asked should have looked at your profile.
Don't want to shill too much for nokia (or HTE), but it was fixed, and since it affected only one phone out of their line up I believe them, it wasn't intentional.
Edit: typos
Yes and no. Phones these days have a lot of very smart built in software that makes it very easy to take good looking pictures in most situations by just pointing and clicking. Could a skilled photographer using an RX100 in manual mode and then spending 30 minutes in Lightroom produces better results? Absolutely. Would a picture taken with an RX100 in full auto mode using the default jpeg settings look better when viewed on a phone or computer screen, probably not.
Biological Selection and Heterogeneity in Human Survivorship(2013)[pdf]
Fulcro Developers Guide: Single-page full-stack web applications in clj/cljs
literally the comment before:

> it would still be more dangerous to drive to the airport than it would be to fly on a 737 Max

context is relevant in a discussion.
That's a pretty interesting machine, but as you point out far too clean!

I also noticed that the cow's teats weren't sprayed or dipped with iodine solution post-milking to prevent mastitis. Each cow should also be inspected pre-milking for mastitis, cut or damaged teats etc, and the milk diverted away from the main vat. I think there would still be requirement for human input and monitoring even with this machine.

The other thing is this machine seemed quite slow to attach to the teats. Generally, you'd want to get the cows back on the pasture quickly. This system would take half a day to milk any decent sized herd.
That's why I have cpdup (https://github.com/DragonFlyBSD/cpdup) around on all systems I use. No need to worry about rsync's special syntax.
8 years in to my programming career, I still LOVE Rails. No other framework I've come across lets me do as much quality work in a short space of time as Rails does.
And here is the problem with the unaccountability of the NSA: if not even the broad outline of its operational statistics is available for public scrutiny, and we can't trust the politicians who do have that data available (assuming it is), how can we have a meaningful public debate about this?
Yes. The cynic in me immediately concluded after reading the headline: "then either the UK's or Australia's hoovering apparatus is finally up to spec, and the NSA can get the data from them".
These tax hikes are protectionist and designed to stifle american business so that asian and european tech sectors can be more competitive.
Facebook Engages in Housing Discrimination with Its Ad Practices
A man honouring every Holocaust victim
Reflections on Software Leadership [pdf]
Well as a European I find the "uproot your life for a better job" mentality completely alien. Short of a war I'm not sure what would make me leave the place I call home.
Checking out the mitigation for CVE-2019-6111 [1], how does `sftp` help?

* scp(1): Relating to the above changes to scp(1); the scp protocol
relies on the remote shell for wildcard expansion, so there is no
infallible way for the client's wildcard matching to perfectly
reflect the server's. If there is a difference between client and
server wildcard expansion, the client may refuse files from the
server. For this reason, we have provided a new "-T" flag to scp
that disables these client-side checks at the risk of
reintroducing the attack described above.

You could just do a remote `ls` and then `sftp` all the files listed to your client - nothing stopping a malicious return from `ls`? Surely it's the risk of running any kind of wild card copy? If the server is compromised then there's no telling what will be returned from such a command?

The scp protocol is outdated, inflexible and not readily fixed. We
recommend the use of more modern protocols like sftp and rsync for
file transfer instead.

The protocol itself might be outdated, but surely one of the best aspects of `scp` comes from its simplicity [2]?

[1] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6111

[2] https://github.com/openssh/openssh-portable/blob/master/scp....
This looks so great, I'd also have like to see a Mistel 5 implemented some years before that.
I don't see it any different than malaria, caused by plasmodium and also a serious health problem in some parts of the world ( https://en.wikipedia.org/wiki/Malaria ): not all mosquitoes carry malaria, but the only way to eradicate malaria in some area is to manage to not have mosquitoes there, it's known since approximately the end of the 19th century, and still true. And the spreading of malaria has also different dynamics from the spreading of all of mosquitoes. So yes, the changes in environment that make for the insects to easy to spread in the areas where they couldn't before is something that should concern the humans, especially if there is a proof that humans helped the spread.
Something like that doesn’t happen by accident though. Someone had to write that code. For some configurations, markets or customers this was intentional behavior.

Maybe it wasn’t meant for everyone. This time. But if Nokia let it slip once, I see no reason not to be skeptical of future models.

They lost my trust. Now they’ll have to re-earn it.
minor chords continuously slide into a major one hasn't really been done by orchestra's in the hundreds of years before MIDI either. I don't think this is MIDIs fault.
> Sure... I would love to play Stardew Valley in "real life" too but it's hard work and economically it's not that lucrative...

The thing is... some people have to “play Stardew Valley in "real life"” so you can have things to eat. How come their job isn't more stable and they don't have the time to play Silicon Valley App of the day Sim 2019 ?
Indeed.

I don't have Trypophobia but it does kinda make me feel a little uneasy. Just looks awful to me.
This is something I've also thought about as a solo dev who has experienced the exact same issues.

Before hiring someone, think about collaborating with someone else in the same position. Organising a regular screenshare or meet-up where you both go over these things and provide feedback. Like a language exchange: 30 minutes speaking English, 30 minutes speaking French.

I'm curious if there is a forum or service for these kind of exchanges?
Or just use gevent and monkey patch the synchronous world to make it asynchronous :)
I don't think anyone argues that the United States should have cut its military budget to zero. It is a question of degree.

Did the US chronically overstate the Soviet threat, inflating the defence budget well beyond what was necessary? One could make a good case that it did.

From the start the Soviet Union was on the defensive. Stalin reigned in the Red Army in the final months of the Second World War from taking West Germany, for fear of inflaming the US and UK. He refused to support the communists (mostly ex-resistance fighters) in the Greek Civil War for the same reason. Nor did he lend support to the Chinese Revolution.

The US was the far greater power from the beginning of the Cold War. The Soviet Union had only industrialised in the last generation and was wrecked by the Nazi invasion. While it showed impressive growth into the 1960s, under Brezhnev it began to stagnate.

Various US operations (e.g. Vietnam) and defence programmes (e.g. the Strategic Defence Initiative) were not only unnecessary, but detrimental to the US. Both of these examples were based on exaggerations of the Soviet threat: Vietnam on domino theory; SDI on the phantom 'missile gap'.
Farming != subsistence farming. Last time I checked, Howard G. Buffett was doing OK.
I was learning rx.js for new project in angular 2 and learnt two things:

1. Observables are best when used as Behaviours from classical FRP formulation by C. Elliot. It's a value that's changing over time, and you should only compose it (map, combineLatest, switchMap, merge ...) and push subscriptions to the edges - for example asyncPipe in angular. That makes writing "reactive" (as in Excel cells) code a breeze. Reacting to changes as events (like button click) should be handled with care, with first/takeWhile and so on. But simple cases are still nice looking.

2. Observables are bad as framework for coordination problems. Complex flows of events can easy get out of hand, and suddenly you are passing objects with values and some state through streams or nest switchMaps instead of piping them. Often such code could be written with async/await and would be ten times cleaner. So any code which dealt with changes as events and had branches/state because of that, we rewrote with async/await. Examples are POST/PUT/DELETE requests with logic around authentication/authorization/timeouts. You could model that as stream but when you access closure from outer switchMap it's starts being unwieldy.
allegedly
Which would be true for any IPO?
Does Hare Brain Tortoise Mind talk about the same things that Thinking, Fast and Slow calls system one and two?
What a coincidence: I was only yesterday looking up Lancelot Hogben [1], whose probability book using card games and chess is very interesting [2]. I wanted to see if this book was available in print. Today, I see this factoid come up as a top comment.

Hogben was the main statistician instrumental in this research on the African clawed frog.

The reason why clicked on this thread was because I was always intrigued by H. P. Lovecraft's horror towards fungi [3]. I always wonder if he was onto something. :)

[1] https://en.wikipedia.org/wiki/Lancelot_Hogben#Early_life

[2] Hogben, L. Chance and Choice by Cardpack and Chessboard, 1950.

[3] https://en.wikipedia.org/wiki/Fungi_from_Yuggoth
> If you want a working pain-free solution learn C++17 instead

A solution to what, exactly? I'll admit I haven't worked with C++ in awhile, but I'm skeptical of C++AnyYear being "pain-free". What do you like in C++17 that you feel is lacking in Rust?
Yes, that code was written for the model meant to be sold in China. I can completely understand how it might have accidentally been bundled onto a non-Chinese model.
Robert J. Shiller on Bubbles, Reflexivity, and Narrative Economics
As others stated, I don't carry my DSLR with me at all times. It weighs almost two kilograms with the lenses and I need to have a bag for it or carry it around my neck for the whole day (did it a few times on a trip, ouch).

I bought the Nokia 9 because its faster to get good photos than a regular camera and easier to lug around than a DSLR.

For its price, I'm really happy with the specs and the camera. Only minus is the horrendous fingerprint scanner.
Boxcryptor: Encryption software to secure cloud files
Crypto may be distrust or sinking but Hedera Hashgraph seems legit and growing
I can't speak for the others but Django doesn't do any code generation. Are you talking about the templating system?
But the phone is perfectly regular and symmetrical...?
The wording of the grandparent comment was sloppy.

You might try DOI 10.1039/C8NR09321K (https://pubs.rsc.org/en/content/articlelanding/2019/nr/c8nr0...).

In summary, for whatever reason it seems that nanoparticles of some plastics readily penetrate and accumulate in biological tissues. There are also chemicals that will adsorb onto these nanoparticles. This can make a chemical at a given concentration more toxic to an organism, or even potentially make something toxic that was previously not.
> (a direct result of my resting heart rate being in the 113-120 bpm range)

Yeah that should have been a red flag in itself

Also remember that while it will give "true positive" results, there will be a lot of borderline or non-worrying alarms that will need to be checked.
scp only appears to have simplicity because it outsources large parts of its functionality (e.g. glob expansion) to the destination host's shell. scp/rcp was a great protocol for 1981 (yes, that's when it was introduced) but not for 2019
yes, but before using the API you need to know which API to use.
If you are looking into using a new service, say, analytics. Which coupling of services do I use, between cloudwatch, firehose, etc etc.
Or reading documentation for example. They have terrible documentation.

Someone using their API/cli is already familiar with aws and how it works. The point, before getting to that point, you need good docs and UI to allow people to discover and learn.
Isn’t the federal government paying him enough these days?