skysight-inc/HackerNews huggingface dataset:
Yes you can, and so can the unwashed masses that have 10 toolbars in IE, ransomware, viruses, etc.

And it’s not just dumb people downloading from shady sources. Look for a printer driver online and you’re just as likely to find a fake malware site as the real site.

The need for trusted sources for downloading apps with limited permissions can easily be seen if you look at some people’s PCs - or Android devices.
Privacy Infrastructure:  Challenges and Opportunities [pdf]
Thanks dang. Perhaps modify it to 'US Housing market ...'
I said I'm spitballing[1] which means purely speculating for fun and not saying that I'm sure that that's the truth. It's really weird how these days you can't even throw out ideas for fun without some guy bringing out the heavy duty personal attacks.

Anyway, if you looked at Wikileaks vault 7 leak, the CIA stockpiles zero days that they use to remote hack all kinds of different platforms. Other intelligence agencies do the same. One of the voting machine companies had pcanywhere installed on their machines which is even known to be full of holes[2]. Whether this is negligence or malice is really up to a jury to look into, but certainly the possibility is there.

[1]https://www.urbandictionary.com/define.php?term=spitballing

[2]https://motherboard.vice.com/en_us/article/mb4ezy/top-voting...
>It's also a bit odd because it introduces a discontinuity: as the divisor goes towards zero the result of the operation gets greater until it reaches exactly zero and it yields 0. Wouldn't it make more sense to return INT_MAX (for integers) or +inf for floats?

Unless you're using unsigned ints, the discontuity will exist no matter what you do, because of negative divisors.
Must be a new construction. Usually big builders offer that when they can't unload units quick.
From a business point-of-view (when sideloading becomes more common) the "right" move for Google would be to fork AOSP, make new Android versions as closed as iOS (while still distributed for free) and prevent any sideloading.

You haven’t been paying attention...

Google has been abandoning AOSP for years and making closed source equivalents.
Study finds it’s harder to turn off a robot when it’s begging for its life
TL;DR some professors are worried that their poorly-paid students doing grunt-level work that professors find beneath themselves to do, will realise quite quickly what the better deal is after working 80% for a company and 20% for a university.
> generally, the most common function is going to be along the lines of "I know this is positive, so throw an error if it's 0"—which is exactly what we get anyway.

That's still a lot better than before. It's not too hard to read a function and be reasonably confident that it will always return a positive value. On the other hand, it's pretty hard to audit an entire codebase to make sure a value can never be negative, or something like that.

The main difference is probably only needing to do that audit once, when writing the function, instead of every time you need to rely on the function's return value being positive.

It would also save a lot of work because a lot of operations _can_ be detected automatically. positive * positive = positive, etc. So you would only have to manually assert in the cases it wouldn't be doable automatically, which would be significantly fewer than before.
Java has essentially the same behavior with threads. If an error occurs in a thread, it will throw an exception that will terminate the thread if uncaught. Other threads are not directly affected. This is typically what you want as threads are usually independent of each other, often processing an isolated request, which may encounter a bug due to bad data or other conditions. Contrast this to languages like C++, where the usual behavior is to segfault and crash the process.

Special care must be taken if threads are manipulating shared data structures, especially inside a "critical section" where the data structure invariants must be maintained. This is why automatically terminating the JVM when OutOfMemoryError occurs is a best practice, as code is often not paranoid enough to handle it.
- Leverage/convince all the OEMs into adopting the closed fork

You mean like they already force OEMs to use thier closed source apps and force them not to make any phones that are use Android forks?
People don’t buy Android because it’s “open” - they buy it because it’s cheap. If people cared about open, the “Year of Linux on the Desktop” would have already happened.
That last bit is just wrong. OKCupid did the full analysis, showing how each race preferred each of the other races, for both males and females. Nothing much changes.

The comment that "race and gender stereotypes often get mixed up, with a race acquiring gendered connotations" is interesting. Unfortunately, it implies that this is merely cultural viewpoint, but consider an actual trait: ability to grow a thick beard. Consider another: height. Height is particularly easy to demonstrate. One can simply look up average height by sex and by race.
https://news.ycombinator.com/item?id=17343885

It's not an argument against tariffs in general, but about these specific ones. There has been no actual tariff put on completed iPhones yet, right? Meanwhile the costs of someone developing a new phone here have gone up, and there is even more pressure to scale up and away from domestic runs.

Perhaps it does make sense looking at the larger numbers, if there still is in fact sizable (non-military) semiconductor production to prop up. My instinct just says otherwise!

(tangential: I think free trade could have worked out much better with sane monetary policy. As it is now, every time the stuff at Targ-mart gets cheaper, the price of housing is forced to go up!)
I really wish they stopped including books from previous bundles. I have already bought several bundles that I already owned half the books, and here's another. I get that they want to make books from previous sales available, but maybe they could have a "revisited" bundle, and a new bundle.
First the difinition of given of a field is wrong https://en.wikipedia.org/wiki/Field_(mathematics)
. But why not? the author might not know but 1/0 is by definition the inverse of 0 and that s why 1 * (1/0) = 1. What he do is extanding the definition of the division FUNCTION. And you can always do that. But by doing that you lose most of algerbaic and arithmetical propreties for numbers.
But worst! There exists 1/ 0 = infinity, but also infinity * 0 = 0(in probability). So please stop creating fake controversies about stuff that really doesn t need ANY DEBATES.
Check out his latest language: https://golang.org/ref/spec
The Big, Dangerous Bubble in Corporate Debt
Chapter VII of the Audiovidual Media Services Directive [2010/13/EU] sets rules on "television advertising and teleshopping". Maybe member states can set stricter limits.

[2010/13/EU] http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2...
> 25% tariffs involved here are not small; larger than most normal profit margins.

Profit margins are set by competition. The customer might pay $5 except that your competitors are charging $1 so you can't even charge $1.10 or the customer buys from a competitor. If everybody's costs increase by 25% then everybody can increase their prices by 25%, because you can't profit at $1 anymore but neither can your competitors. Unless your competitors aren't subject to the tariff, which is kind of the point.

Meanwhile the revenue the tariff generates offsets some tax that now doesn't need to be collected somewhere else and would have caused a similar inefficiency or cost increase in some other place.

Tariffs suck because taxes suck and tariffs are taxes. But for a given amount of revenue generated, it's better to tax somebody else's economy than yours.
So is it wrong to me to interpret this as an imprecision of a partial ULP on the input number, thereby making the accuracy of the output just fine?

Is there a use case for such a numerically unstable function use except as a party trick to get pi?
Oregon F-15s Scramble to Seattle to Intercept Possibly Stolen Q400 Airliner
There already are alternative app stores. Quite a few actually. F-Droid, Amazon has one, and lots of sites where you can just download APKs.
NGINX Raises $43M in Series C Funding
>2) this applies only to integer division wherein division by zero is undefined. 1.0/0.0 uses the available Infinity value.

Ah, that seems rather reasonable. For whatever reason, the OP had me thinking that Pony was replacing the ordinary semantics of IEEE 754 floating point division (probably because he talked about fields and multiplicative inverses).

Having 1/0 = 0 seems like a very reasonable choice, especially if you have 1%0 = 1 as well. Of course, if anyone thinks they will actually encounter division by 0 in their code, and needs to treat it as an error, they can always test for it.
A curated list of 70 data science interview questions
Hey respected downvoters - pure means homogeneous. Can you please explain to be what ultra homogeneous means?

When discussing scientific concepts being haphazard with language seems like it should be called out, especially when the source is a respected publication like wired.

Simply take a few seconds to let us all know the error in my ways please.
C dates to 1969. It was used to write Unix, the first release of which was 1969.

http://www.bell-labs.com/usr/dmr/www/chist.html

EDIT: I'm guessing you're getting this factoid from Wikipedia? Looks like an error. The quote it references as justification of the origin of C is misinterpreted. Thompson tried to write an operating system ONLY in C prior to 1972, but failed. Very early Unix was a mixture of C and assembly. Later versions, which Ritchie is referencing, used assembly only for the parts you really can't specify in C -- the boot loader and interrupt handlers. C was kinda a work in progress between 1969 and 1973 (see above link), and still after as it transitioned from K&R C to ANSI C. But there were releases accompanying Unix before it stopped drastically changing circa 1973.
Powers of 2 are not a prime though, unless the power is 1 (i.e. we are dealing with single-bit integers).
> You can write user code in Pony that will cause a kernel panic or hardware error?

You can always (as in OS with lazy allocation) allocate enough memory to get OOM no matter how safe your language is.
There are a few reasons why this might not be a good idea:

- it pisses off trade partners who may not act as rationally as you expect

- it might not be possible to manufacture an iPhone without cheap labour

Both of these will disrupt trade significantly, meaning productivity drops and the global economy suffers, reducing economies of scale and creating a negative feedback cycle that continues.

Also manufacturing jobs are crap, regressing your economy towards that will lower the standard of living for your citizens in general. The reason cars are manufactured in the US is to reduce shipping costs and give a great marketing line. Firearms it’s to reduce dependencies on other nations for weapons.
I agree with the overall message of the article, but I don't think "serialize" is the right term here. Serialize means going from in-memory data representation to a flat bytearray, which is eventually persisted. There are numerous way to perform serialization, from just memcopying the datastructures up to defining a good and extensible persistent format and converting into that.

The compatibility and extensibility issues are mostly coming up from the first approach. And can often be avoided by utilizing a more flexible persistent format, which can be anything from a total domain-specific format up to json, xml, protobuf, etc.
If you just want to get a file or files from A to B you can use rsync. It works great (although I don't know if it works on Windows)
I’m not ignoring anything, but trying to evaluate whether Julia will be worth supporting as the N+1 scientific stack in the lab I work for, and what to recommend to incoming students and people who consider getting off of MATLAB.

I think Julia looks very sexy and students jump on that, often without considering whether they will be their actual work done or spend time porting libs or debugging things I can’t help them with.
> do not mock other programmers

Who is mocking anyone though?
I think you can do that in explorer if you change some of the options.
>If we assume that we got to 0 because of a rounding error we do know that it should be some positive integer.

That's assuming we had rounding error from a positive number, not a negative number. Of course, if you are concerned about rounding, you shouldn't be using integer arithmetic.

>1/(a number approaching 0) produces ever increasing integers.

No. It produces a bunch of 0s, except when the denominator is 1 (where it produces 1) or the denominator is -1 (where it produces -1). Unless you're using a language like Python, in which case it produces -1 for all negative denominators.
World needs US dollars since it's https://en.wikipedia.org/wiki/Petrocurrency due to https://en.wikipedia.org/wiki/Nixon_Shock and till https://en.wikipedia.org/wiki/Triffin_dilemma is resolved.

And CHINDIA can get US dollars by exporting their Services/Products to America;
Setting aside the debatable morality of nationalism, protectionism just doesn't work well in the long term. A good place to start: https://en.wikipedia.org/wiki/Protectionism

> There is a consensus among economists that protectionism has a negative effect on economic growth and economic welfare, while free trade, deregulation, and the reduction of trade barriers has a positive effect on economic growth. In fact protectionism has been implicated by some scholars as the cause of some economic crises, in particular the Great Depression.
Cars are a depreciating asset because you can always manufacture more of them

Housing appreciates because land supply is limited in big cities. You can't manufacture more land
My First Day at Spanish School
I see what you mean. I’ve done exactly that sort of thing in C with an array of function pointers, but I’m not sure it would work in Numba.

The churn is exhausting but I see the merit of starting over and getting everything done in a fully fledged JITd language.
Joel Spoelsky is one of the greatest software writers of our time. This needs to be made required reading in every software engineering course.
Not that "Turing complete" matters much. Raw text find-and-replace is Turing complete.
Food Quality Trumps Variety, Experts Say
>I like your point here. I think 1/0 = Infinity+ is a satisfying expression. Its a clear concept which can be visualized in a simple graph.

Except it isn't. It still depends on which side you take the path from - from the positive denominator or the negative denominator side. (This is why IEEE 754 has a single signless infinity).
US labor costs are high due to standards of living etc... Chinese comparative advantage is cheap labor, loose environmental laws. Our comparative advantages are design, technology, etc... for the time being.

US standard of living is supported by free trade (energy, goods)
It's like it says in the book: "Are Men the Weaker Sex", women still (overall) do more housework than their husbands/boyfriends, even if the woman also works outside the home (which a lot of women need to do because they can't afford to stay out of the work force, in case their husband leaves them for someone prettier and younger. As it says in the book, it's not always easy being a woman.
"Not so much!" ~Intel motto
I think the main lesson here is something other than what Joel intended. He meant it as a defense of why IE had been breaking standards. I see it as a lucid explanation of the constraints that protocols place on software, and a reminder that the care needed to design them is usually mich higher than what's put in.
> The x87 instructions are both single and double precision, 32 and 64 bits respectively.

x87 supports 80-bits calculations, others are the result of setting the configuration register to shorter widths.

That's one of its advantages over both SSE and SSE2. There are still some use cases where it's reasonable to use x87.

SSE has single precision (32-bits) instructions only.

SSE2 has double precision (64-bits) instructions.
WTF IS Going on in Wyoming? A Hackathon with Joseph Lubin, Erik Voorheez
That is a side effect of the current debt-based economy, where every other country uses the US dollar as a reserve
Yeah, though it can be tempting to just pass some protos around, it's generally best to use some other abstraction for your code (even if it's just a wrapper around a proto!)
An example well-defined use case is if you want to compute a harmonic mean, e.g.

x = 2/(1/a +1/b)

This is a form of average where you are giving increased importance to the smaller number. It frequently pops up in science/engineering, e.g. in hydrology when you are computing flow of water underground.

In this case, it's "obvious" that when e.g. a is zero, you want 1/a to be zero so you simply return b. There's typically a clear, big distinction between "smallest realistic number", for instance 1e-3, and a zero, whether actual zero or 1e-34.

For instance Numpy offers a nice way of doing this:

def safeInv(a):
tol = 1e-16
return np.division(1.0,a,out=np.zeros_like(a),where=np.where(a>tol))

This tells numpy to put the result of division into an array of zeros shaped like a, but only do the divide where a>tol, so it returns 0 where a<tol.

In this case, though, the programmer understands this division is somehow special and should allow div-by-zero, so it is handled specially.
I keep my .tex, .md, and .org files under source control, but I don't bother syncing to GitHub. I just back them up with the rest of my personal (non-code) files.
1/0=0 is basically crack for the HN crowed, I knew it as soon as I saw it, just 5 little characters would drive people into the mouth of madness.

It's like WWE Raw Smackdown, Hulk Hogan vs. The Rock and everyone has to take a side.

And it's literally Friday night.

Sorry we're not supposed to comment like this buy y'all (I suppose 'we') are a really funny bunch sometimes.
Analysis of sleep regulation in the mouse
> the author of the piece you link to formerly worked for
> the China Daily in Beijing, run by the Publicity
> Department of the Communist Party of China.

Yes, I read about that too in the comment section of the Guardian article...I just feel that if there are some facts in that article, those facts are still facts even if the article was written by Satan himself, right? But of course, the organization of the facts is important and sometimes crucial too, but then it would require each individual reader to parse and incorporate those knowledge...But again wouldn't this be applicable to any book or any article, even if those written by the most famous or most authoritative figures -- if that's what people value in them?

> Finally, you do realize that skulls are easily
> obtained via death by natural causes, right?
> Especially before the adoption of antibiotics
> and vaccination?
>
> Tibetans practice sky burial, where bodies are
> left out in a charnel ground and picked clean by
> wildlife. (Probably because digging graves is
> difficult and cremation would be a waste of scarce
> fuel.) I suspect they have a different attitude
> about the dead and their parts than you.

Yes, I am aware of that and I respect their decision, if this is out of their own volition and informed mind...I am not an expert on such traditions...but as I read in the article that I previously cited as [2], it states that, on page 2,

There are trumpets made of human thigh-bones,
the bones of criminals of those who have died a
violent death being preferred for this purpose.

And as another instance, on page 17,

the bones of Father Brieux killed in 1881 [happened
in Tibet] were 1881 were taken from his grave, and
his skull was made into a drinking-cup.

There are a few other instances in that article if you want to know more...I will skip them here for the sake of brevity...

My point is the matter could be more complicated than either you or I currently think...I am not an adherent of the Chinese government propaganda...but as averse to those propaganda as I am, this does not mean that there is no information or valuable points in their propaganda...I also hate to have to dig out knowledge from propaganda, but if that helps me to get closer to any fact or truth, then I feel I have to do that, instead of simply throwing all their words away without any discretion...

BTW, the article [2] I cited was published in 1923 by Berthold Laufer , supposedly before CCP's Propaganda Division became full-fledged enough to be capable to have any influence on that...
No. SSE and SSE2 both simply don't have any instruction to calculate sin, also not for the reduced range, like in x87.
Porting SBCL to the RISC-V
“At first, Bekali did not want the AP to publish his account for fear that his sister and mother in China would be detained and sent to re-education.

But on March 10, back in China, the police took his sister, Adila Bekali. A week later, on March 19, they took his mother, Amina Sadik. And on April 24, his father, Ebrayem.“
It seems unrelated in a way. Flatbuffers and Protobufs are ways to serialize data. The fact that FlatBuffers happen to serialize such that the persistent format is the same as in the in-memory representation is an optimization. It is just as easy to shoot yourself in the foot with one as is with the other in regards to what the article talks about. That is could choose do dump your objects as vertices only instead of including edge information with protobufs, json, flatbuffers, xml, s-expressions etc.

The main point was that serialization needs to be thought about very well, because it will involved compatibility issues. It shouldn't be an automating stream of current object structures to disk.
Pure is not 100%. The article talks about 99.XXX percentages depending on application.
Johnathan Blow on criticizing engineering and C++ exceptions
Oh, sorry for the late response. Haven't been on in a while. I've been interested in languages for a while, been wanting to try writing one, but none of my designs satisfied me until Rig. It was mostly inspired by Lua, with some implementation based on Wren; but the syntax is basically a blend of traditional procedural and functional constructs. As I see it the only real advantage Rig has over Lua (besides a simpler syntax) is its record system; which allows Records with similar structure to share a lookup table, this makes their optimal usage patterns more similar to C structs than dictionaries.
I tend to be leery of any claims like this. It would be nice to be able to pump infinite knowledge into students in one course, but that's not realistic.

The implicit claim behind such a statement is: X should be a topic covered in all software engineering courses, and Y is the best explanation of it. And that is a statement quite easy to punch holes in, regardless of how much you like Y.

In this case: most intro SE courses need to teach things like good commenting and committing practice. Anything architectural is beyond most undergrads.
Is Syncthing here to stay or will it morph into a nextcloud or a btsync or that ubuntu thing or be abandonner in 6 months ?
In float yes. In int there's no Inf. There's only MAX_INT or 0 or throw an exception.

Normal langs throw. That what the checked int div will do. But the unchecked int div has no return type which allows throwing an error. And pony is strongly typed, unlike most other langs. That's why it can guarantee much more safeties and performance than all other languages.
In this context "pure" is meaningless (truly 100% pure silicon is impossible to obtain in quantity), whereas "ultra pure" is a technical term that refers to a specific level of purity. The meanings are context dependent.

It isn't haphazard, it's actually hyper specific and the terms have clear definitions in context. And in this case they are defined in the article.
Why no one create it yet?
Oracle Accused of Defrauding Investors on Cloud Sales Growth