skysight-inc/HackerNews huggingface dataset:
I factor numbers up to 3 or 4000 as my form of "counting sheep" when I want to relax and sleep. It's not hard. Obviously, you only need to check primes up to the square root of the number in question. 2, 3, 5 and 11 are easy to check. Beyond that, my main trick is to quickly reduce a divisibility check to a check on a smaller number. For example, if I want to know whether 2747 is divisible by 7, that's true if and only if 2040 is, which is divisible by 7 iff 204 is, which is divisible by 7 if 102 is, which is divisible by 7 iff 51 is, and it isn't. Alternatively, 2747 is divisible by 7 iff 2800-2747 = 53 is, which it isn't.

To check 13, I might subtract off 2600 to get 147, then also 130 to get 17. Or I might have started by adding 13 to get 2760 and hence 276, then subtracted 260 or 26.

To check 17 subtract it once to get 2730 and hence 273. Then add it to get 290 and hence 29.

To check 19 subtract 1900 to get 847, then 38 to get 805. Divide by 5 to get 161, add 19, and we've pretty much gotten to "no".

For 23 add it to 2747 to get 2770 and 277, then substract 230 to get 47.

2900 - 2747 = 153, which can only be divisible by 29 if it equals 29 x 7 (because else the last digit wouldn't be 3), which it doesn't.

Similarly, 31 doesn't divide 353.

2747 - 37 = 2710, and now there's a special trick, because 37 divides 111. 271 - 111 = 136. 136 - 37 = 99, which 37 obviously doesn't divide.

At 41 I'll just do a size check. 41 x 57 is too small, and 57 isn't prime anyway. 41 * 77 also couldn't work. So it's 41 x 67 or bust. That's 2400 + 280 + 60 + 7 ... and we have a winner! 2747 = 41 x 67. Checking the multiplication, (40+1) x (70-3) = 2800 + 70 - 120 - 3, which indeed works out to 2747.
I did not get that as well.

Windows does not have PDF generation, its support has been recently introduced in Windows 10.

So most likely it was a third party library.

EDIT: It was actually introduced in Windows 10, not 8.
Shopware becomes gold sponsor for machineLabs.ai
Right. It’s like designing for any other tiny group: color blind, blind, people who don’t read any of the 3 languages your site is already translated to, etc.

I’m not saying that shouldn’t be done, but business wise its probably usually best to instead add design changes for the latest smartphone screen.

The web isn’t a hypertext graph anymore, it’s a large JavaScript program with a thin html front now.
When you indent the text by two spaces it renders as a pre block.

On mobile this will mean only about 35 columns are visible at once.
Not in every case, I have a cheap MediaTek MT6572-based phone which I've so far failed to unlock. It's something to consider though.
This argument doesn't make any sense to me.

It might be true for self-written blog software, but amusingly those tend to have quite good performance ... either because these are static generators, or because these are rendered on the fly, but with very simple and hence fast templates.

However, there is no such excuse for popular CMS. Those have been developed over 10+ years, and have a wide range of users - small as well as large blogs.

Finally, I wouldn't call static HTML pages "premature optimization", but rather "the natural thing to do". Let's have a look at the data access pattern: On average, articles are written once, updated seldomly, and read at least 10x as often as written. With increasing popularity, this ratio shifts even more to the "read" direction. [1] Since the datasets are small (order of KiB or MiB), complete regeneration is feasible. Moreover, it is much simpler and less error-prone than caching. And you can speed up site generation with classic build tools (make, tup, etc.), if you want.

[1] That is, with increased popularity more articles are written due to the increased motivation, but disproportionally more readers will arrive.
I was always taught growing up that "next" Monday is the one after "this" Monday which is the first Monday you will encounter moving into the future.

I was surprised as an adult to discover that this is not universally held. Since it's pretty obviously ambiguous, I would expect my voice assistant to ask for clarification on which one I meant, and maybe learn from that if it's the kind of assistant which keeps user profile data (which is probably all of them).
> If you ask Siri now, it thinks next Monday is the 15th.

Not sure about this in English, but in French you could have the same problem with humans. Most people would think of "lundi prochain" as the first Monday that follows today, but some (including me, at least before I moved to a place with a different usage) would think of it as the Monday after that. Some regions have an alternative unambiguous way of saying it, some don't.

So while the situation might not be the same in English (I don't know enough about English regionalisms to say), there are cases where usage is just ambiguous and neither Siri nor anyone can really be sure what you mean, unless they have spent enough time talking with you and paying enough attention to learn about these particularities. I guess it might happen with Siri, but I think it's not there yet (for now it's not going to understand that if you say "no Siri, the 18th of December" then it has to change its conception of "next Monday", but it could be done).
System Preferences > App Store

Click the padlock and authenticate

Uncheck "Automatically check for updates"
Atom is currently in the process of working on implementing a new source folding parser [0] based on something called 'tree-sitter' [1]. If you are interested in following that development, feel free to watch that PR.

[0] https://github.com/atom/atom/pull/16299

[1] https://github.com/tree-sitter/tree-sitter
Why not greet Google and facebook with message "don't be evil?" ??

Do anybody care about the fact that they psychologically lead users to multiple tests and use you like a lab rat ? While limiting freedom of speech???

Oh, please
Four-dimensional physics in two dimensions
I wonder if the whole thing with enormously complex CPUs requiring deep pipelines which in turn requires complex speculation etc was a design mistake? Is there an alternative history where mainstream CPUs are equally fast with a dumber/simpler design?
Disclosure: I work on Google Cloud.

Like the AWS reboots, people will notice. So in the interest of the embargo, both Azure and AWS waited to update as late as they felt was safe. Since we do live migrations and host kernel updates all the time, nobody noticed us :).
If you didn't mean to imply that there's a moral obligation to pay the legal minimum, then we don't disagree :)
They are. But, I’m having a hard time figuring out what percentage of the revenue.
Yes

https://sites.google.com/a/chromium.org/dev/Home/chromium-se...
Ah, that makes sense, thanks!

I was thinking of something similar but with a branching operation, but that would get screwed by branch prediction.
Work's on Intel® Core™2 Duo Processor T7200. Had to replace __rdtscp(&junk) with __rdtsc(), the Core 2 doesn't have the former.
MyMoney.gov Website for Financial Information – Social Security Card Reviews
Where we get all basic financial information? Which is the place where anyone can get information about any financial situation? The answer is only MyMoney.gov website. This website divide in three well organized sections named Life Events, Resources and Tools. Let’s understand in detail how it works.
Sure. It's an easy problem to fix, now that the team is aware it. I'm pretty sure they'll solve it for Go 2. In the meantime, it would break the compatibility promise, so it's just a kludge we have to live with.

I basically just wanted to point out that the problem isn't so much an implementation question (or about performance). But that no one thought of it and it's now mainly a question of how to best phrase the spec for this :)
I have seen a few bugs as well, I'm sad to say. Most impactful is that Time Machine no longer works... I don't think there is any step that I have not yet tried, short of meeting personally with the developer of the Time Machine software, an option that I don't think is in the cards.
100M Txn/sec. Join Us Tomorrow in Q&A Facebook Live 6PM PST:
Revamping a legacy backend
Projects – Darbo skelbimai, ieškantiems ir siūlantiems darbą
https://boostnote.io

And a notebook
Look, Electron is a disaster. It's a lazy, bummed-out way of blasting sparrows with tactical nukes.

I'm not sure I even understand the reasoning behind the thing. Yeah, fine, we want to do the web-thing in a desktop applikation. But then why a whole Chrome with a showroom of kitchen sinks? We can still run an html-stack without gobbling up every ressource in sight, you know.

I'm looking at this HN page in latest Firefox (and assuming Chrome would be much the same). And in another window the same page in Netsurf (http://www.netsurf-browser.org). One needs half a gigabyte and then some. The other does fine in 50MB.

Plenty of stuff which gets wrapped in Electron actually works without a hitch in Netsurf and similar minimalistic environments.

Professional pride, anyone?
Its actually the page of one of the researchers (Michael Schwarz) who found the javascript keystroke timing attack (which is in the paper in the link).
He is also one of the authors of the Meltdown/Spectre CPU Attack papers so the document is actually worth reading
Is it just me or was this article very thin on sources of information and in general? It ended very abruptly and was not that convincing.
Exploiting Speculative Execution via JavaScript
This is not the case, the famous (if apocryphal) quote of "everything that can be invented has been invented" made in 1900 by the head of the US patent office was clearly wrong and made either in jest or due to an enormous lack of imagination. The point is that there is always more to invent and the possibilities keep increasing.

There are plenty of inventions yet to make, from complex AI enabled devices down to the simple mundane items that make daily life slightly easier. I founded a company based on the latter that is ticking over nicely.

By saying that it is harder to invent things now shows you have fallen into one of the traps that the author highlights:

> If you have never seen rope, it actually doesn’t occur to you that rope would come in handy, or to ask yourself how to make some.

You have never seen the thing you need to invent so it takes either a leap of inspiration or a concerted effort to sit down and think of something new to solve a problem you have, chances are you will get their iteratively over a long time and not really see what you have made as "an invention".

Ideation isn't some spark that hits you, ideas need to be thought about and created with effort.
It is nice if you incorporate an opinionated code formatter into your git pre-commit scripts and also into the editor itself.
> Windows lost that crown years ago. Nowadays many people are using Macs.

Only rich people in North America and Western Europe, there are many other countries out there, where average salaries hardly reach 500 euros per month.

Mac market share is insignificant outside North America and Western Europe.
Crumbs, thats happening for me too.

It’s intersting that “This Monday” and “Next Monday” are different.
yeah, I don't think it is a perfect analogy for Meltdown, I'll try one, someone correct me if I'm misunderstanding Meltdown.

Let's say you want to know if your boss is away on vacation next week so you call their admin and say "you need to double-check my contact info if the boss is going to be out next week". They load up the boss' calendar to check and based on his presence next week then load up your info. Only once done, do they take the time to remember the boss didn't want you to know wether they are in or out. So you hear back, "sorry, can't tell you that, but you follow up with "OK, well can you still double check that my phone number is..."

If they respond quickly with a yes, then your file is still on their screen and the boss is in fact out next week. If there is a short pause while they look it up, then the opposite.
Another thing is the long term impact on developer skills. The majority of the current stock of programmers came to programming before locked platforms became widespread (basically until 2010-ish), often in their teenage years or at college.

But now between tablets, smartphones, ChromeOS, and a clear intention by both Apple and Microsoft to phase out their open OS for a locked down version (iOS, Win10 S), new generations will not have much opportunity to tinker with their device, create their own executables. Of course a minority will always get into linux or whatever will be left of Windows and MacOS in 10 years, and go around that. But for the overall population, isn’t it going to dumb down users, and reduce the pool of future software developers (while the demand for more software is only ever increasing)?

The car analogy is an interesting argument against: you needed to be an engineer to operate early cars, but not anymore, and that didn’t reduce the supply of engineers and mechanics expert on cars. But I would argue that cars is an extreme in term of standardisation, where few engineers are required to design a fleet that satisfies the whole market. While software is highly specific to many different applications, and you need tons of software designers for each corner case (even if we reinvent the wheel way too often).
One more bug in case Apple is reading this (used to file bugs under Apple's BugReporter but seems like no one is reading them): When you AirPlay a video from iPhone to Apple TV 4th gen, you then can not use the AppleTV Remote hardware to pause and play, as the audio will be lost. All with latest iOS, tvOS.
Just imagine all the stuff that's not giving off light or anything observable by us at this time. Rogue planets and what not should be everywhere no?
Lets do then.
Player 1 randomizes (1/3, 1/3, 1/3). Player 2 randomizes (1, 0, 0). Does player 1 want to deviate? Yes! Randomizing is not the best strategy if player 2 is going to be playing the same pure strategy all the time, player 1 would be better off if she were to play the best response to whatever (1, 0, 0) is. -> Not an equilibrium.
I was taught that there are two interpretations, and therefore it's always a good idea to ask for clarification. At least when interacting with humans.

So, what you said is exactly right: Siri should get clarification. And also when stating things in the form of "next Monday" Siri should clarify what is meant, or just avoid the form altogether by instead saying things similar to "this coming Monday" or "the Monday following this one."
You were very clearly brought up by Siri.
I wonder if we'll see a Mozilla engine based Electron (or simply not the latest Chromium engine, which gets bigger and slower with every passing day)
Ask HN: Do you have any settings recommendations for Orbot as a relay?
I currently have unlimited data and I'd like to contribute to the Tor community. I am going to search for answers on my own, but I trust HN and am interested in your thoughts on increasing the number of mobile devices being utilized by the Onion.
By random dude on the street? I doubt it.
Certain Atom CPUs have no speculative execution nor OoO execution.
The Earthrise reconstruction by Wright and Gallagher: https://www.youtube.com/watch?v=dE-vOscpiNc
Sounds like Chuck Norris jokes to me
Why doesn't it build on top of CRA --scripts-version ?
Is PowerPC Susceptible to Spectre? Yep
Show HN: Million Dollar Homepage for the crypto era? My project to learn crypto
Tumblr_od9kxy8teL1vndebgo1_400.gif (GIF 0 пиксела) – Scaled (117%)
Need less dark mass and dark energy then.

...
There are many times while daily driving the RX7 that I thought I should have just gotten a Corolla. It's an absolutely fantastic car.

But then I'm driving again and the smile is ear to ear.
14 जनवरी को मकर संक्रांति makar sankranti पर बन रहे है महासयोग इन 6 राशि को
The crypto-finance industry is not scared of regulation
Google offer exactly the same reservations mechanism

https://cloud.google.com/compute/docs/instances/signing-up-c...
Video of the Earthrise he's talking about in the article
- https://www.youtube.com/watch?v=dE-vOscpiNc

I just finished Andrew's A Man on the Moon book a couple of weeks ago and I throughly enjoyed it.
> Sorry — I don't know what those acronyms mean. I assume they're writing style guides?

Yes, the guides from American Psychological Association (APA) and Modern Language Association (MLA)

They are both the main results that appear when you google the acronyms and are quite common acronyms.

I am surprised you aren't familiar; I would expect that anyone who graduated from the US (United States of America) school system in the past 20 years would have heard of them. Are you not from the US?
An appeal to authority is entirely appropriate if that authority is indeed an authority on the topic discussed.

The logical flaw you allude to only fits if dvt would have said e.g. "I'm right because Lady Gaga said the same argument." While Lady Gaga is an authority, she isn't on the theory of justice.
Sublime is only faster in startup time. It’s slower than vim on all others charts.
You might also want to check and remove the over 4GB "Install High Sierra" app" which might have downloaded to your Mac in the background.
This is not true. https://cloud.google.com/compute/docs/security-bulletins says:

> However, all guest operating systems and versions must be patched to protect against this new class of attack regardless of where those systems run.
Parents, teachers and guidance counselors are mostly to blame tbh. Media and pop culture plays a role too, though not as much as I think some folks say it does.

The fact that technical classes in programming are typically electives in high school, and not just mandatory science classes is a big part of it. Guys are more likely to self-select into those classes and take those classes with other guys (in part because video games are a great pathway to programming), and guidance counselors and parents are more likely to steer them towards it over girls as well. This ends up making it so that by the time college starts, many of the guys in intro programming classes have experience and set an unrealistic bar for total noobs who don't. Add in the fact that it's easy for a woman to feel singled out in a class like that, and it's no wonder they don't pick it up in college either. I was one of two women in a class of 50ish for CS 101, and even though I had prior experience, I felt pressured to over-assert myself so that guys would stop coming over every opportunity to offer "help". They weren't being jerks, but they were typical 18 year old dudes who wanted to show off and get my attention, and I just wasn't there for that. I'm not exaggerating though when I say it was typical for the other girl (who was a noob) to have 4-5 guys around her for any assignment seeing how they could "help" while noob guys were pretty much ignored. Harvey Mudd has an excellent program that addresses this directly, I definitely recommed reading up on it: http://beta.latimes.com/local/lanow/la-me-ln-harvey-mudd-tec...

The single biggest factor that was common among women I know who switched into CS later (but did not initially consider it a major) was that their parents and school never exposed them to it as a career. Both are very rational and logical people, one was doing bio, and another was doing chemical engineering. Neither of them had ever taken a class about comp sci, or even really talked to a programmer before college. One never even had a game console because ultra-religious parents disapproved (though they gave her brother one). When I talked to them more about what I did day-to-day with programming, and how it was very creative and fulfilling for me (plus $$), they gave it a try and ended up switching majors and becoming software engineers. Obviously there are women I talked to who didn't switch, but those two are exactly the kind of people who might have missed out on a great tech career due only to gender socialization differences which seem mild at first glance. I strongly believe mandatory CS classes at the high school level would do a huge part in making sure minds like theirs have the chance to get on board sooner.
I can image a lot of obvious things that still could be invented like beaming, real hoverboards, holodecks and so on. Trying to invent any of this may seem preposterous to us as they are seemingly impossible. But these are only as impossible to us now as driving without horses or sailing the seas without sails have seem impossible three hundred years ago.

And neither cars nor steamboats have been invented by single individual. The "reasonably easy to invent things that are actually valuable" mostly have a very complicated history of trials and errors, tinkering and thinking and imagination from many groups and individuals.

Try to create your own lightbuld or try to isolate a mile long cable for the underground transport of electricity. Try to sell any of these to someone who has never heart of them and lacks the infrastracture for using them. In the hindsight these may seem "reasonable easy to invent things that are actually valuable". But seriously, nothing really new has ever been easy.
Good idea. But it’s a windows executable and depends quite heavily on windows specifics.

(In my case anyway)

30% overhead might be inscentive to revisit the assumption we can’t rewrite it for Linux.
> wailing rotary sound

Instant throwback to the legendary 787B:

https://www.youtube.com/watch?v=az39eqLIbyU

https://www.youtube.com/watch?v=OjwwV20iZYE
Ahh Linus, never change.
See https://github.com/browserhtml/browserhtml
I'm guessing you mean know personally?

It also depends what you mean by rich - I'll assume you mean monetarily.

I know several who have inherited great wealth - so I won't count them.

1) One guy I know very well left school at 16 and became a carpenter. He bought a run down house and did it up on evenings and weekends - sold for a profit, bought a bigger house, did it up on the side etc. He later partnered with his friend who was an estate agent and they worked very successfully buying, doing up, and selling properties together. Net worth around £5 million. He's still working.

2) Another guy, a friend of my Dad's, bummed around after leaving school at 14, worked as a tram driver and taught himself plumbing on the side, basically worked 7 days a week. Then got a job at Heathrow loading bags on planes. He worked every shift he could and continued plumbing on the side. Bought a run down house, filled it with lodgers (mostly Irish navvies). Bought another run down house, filled it with lodgers. etc. Grafted like this into his 70s. Now retired. Net worth around £10 million.

3) Another guy I know was especially bright. Did a degree in Economics and German. Became an accountant. After a period doing auditing he moved into small company analysis, specializing in small German companies. Twenty years ago his bonus alone was more than a million a year. He bought a million+ pound house without a mortgage - then bought one that was probably three times the size of that. In the end he cut back on work, and now only works from home, and only does work that interests him. He pays his daughter to pretend to be him on Skype, so he can go off and play golf. Net worth, around £20+ million.

Couple of interesting points - the first guy never got married, never had kids, never really had a serious girlfriend for more than a few months - and is not particularly happy. Second guy was completely obsessive about not spending money, he drove around in a clapped out van, which he fixed himself, and never really enjoyed his money. Third guy was a real family man and met his wife (who is gorgeous) when he was a student with no money, and she was a nurse (with probably even less money!). All their happiness comes from each other and their three beautiful kids. But yes, they do live in a big house - but I suspect they would have been just as happy in a semi.

Funnily enough, none of the software engineers I know are particularly well off (financially)!
No, that's only for variant two. Spectre is also variant one.
Building cryptocurrency exchange platform