skysight-inc/HackerNews huggingface dataset:
I consider myself an open-minded person, but I'm just astounded that people think a web without either JS or some other imperative, behavior-providing language would be better than the current web.
An interesting idea. A paper from last year showed that neural networks and rational functions efficiently approximate one another [1].

[1] https://arxiv.org/abs/1706.03301
Detecting Whether Your Flash Memory Is New or Recycled
Seems way too high to me (I even used to work at Netflix as an engineer years ago).
It's somewhat misleading when they say the C++ code runs before main. What's going on is after the same initialization steps the first code of your program is executed.

C and C++ have different syntax for what that code is, but it's pure semantics as far as the computer is concerned and C++ gives you zero extra power.
I'm guessing this is the part that divides some:

> [To be eligible] you are a person of any gender who is Black/African American, Hispanic/Latin@, Native American/American Indian, Alaska Native, Native Hawaiian, or Pacific Islander

That is racist, by definition. Not very consequential and they can provide support to whoever they want IMO, but technically racist.
typos: it's -> its
I can't find any 8051 less than 30 cents and I digikey sells attinys for 17 cents.
> But RDMS systems are just another monolith — failing to scale well and they don’t support the idea of organically evolving agile systems.

RDBMS systems could handle billions of complex queries per day in the 1990s (ie last century) and ship with an entire language designed to allow you to safely, incrementally evolve your data model.

MySQL and ORMs are not the limits of that universe.
Twitter says bug exposed user plaintext passwords
> Serverless is still many years away

This could imply that serverless "just need to improved" to a point is good for most.

I argue will NEVER* be good, not matter what kind of glue we put on top of it.

Because, I think, not matter what you do or how hard you try, is the most complex way to do a software project.

*Never: probably not in the next millenium....
> BA cabin crew are instructed to never help anyone put their luggage in the overhead bin unless they have a suitable reason.

Is this for real? Sucks, but I can imagine most fellow passengers pick up the slack... at least I've always helped others (and vice-versa) in the US.
How's wealth and welfare distribution around the state though?
My hunch: that modern programming often requires concurrent execution of software, but that most ways in which we have to model concurrency in code are at best hard to learn, and are frequently orders of magnitude harder to learn and use.
Magnitude 6.9 Earthquake – 16km SW of Leilani Estates, Hawaii
Already been discussed to death here.
> Rent-net-pay-ratio is about the same for Vancouver/Seattle

Doesn't that mean that Seattle is the same as Vancouver financially? If so, why not stay in Vancouver?
Didn't understand the relation between quantum computing and nitrogen fixation.
Nobody ever shows any love for Azure in these discussions.

Disclosure: I work on Project Riff at Pivotal.
Christopher Nolan returns '2001: A Space Odyssey' to its original glory
Expanding housing causing expanding demand is not rarely discussed. It is implicit to a lot of NIMBYism here.

The issue is to be always responsive to needs. Every place that has become unaffordable, started as a place that was affordable but then stopped building. Hong Kong is the 4th most densely populated area? Then it has room to grow. Hong Kong used to build lots of public housing for the growing population, but I heard that they stopped.

Tokyo is an interesting example. Despite the recession, it is growing, not shrinking. It’s expensive, but a detached single-family home in Tokyo is cheaper than an apartment in San Francisco. I hear that average apartment size, indicating how much space people can afford, is actually going up. We think it’s because zoning law is national in Japan, and also it legalizes mixed-use walkable neighborhoods, compared to the HOA-level car-is-supreme laws in the United States.
http://urbankchoze.blogspot.ca/2014/04/japanese-zoning.html

If the idea is that you have to plan to be ahead of demand, then the history of California is that the plan is too timid and unenforceable.
https://www.thebaycitybeacon.com/politics/of-california-citi...
Where do you come up with a $1.6 billion deficit? There is currently a $6.1 billion surplus, which actually understates the strength of the budget, given debt deleveraging.
I think the best way to move on to the next stage is find a project you want to do. I find it really hard to just learn a tools if I have no real project for which to use it.

I don’t know what suits your fancy, but some example projects could be:

- image recognition: is that your cat at the door or someone else’s?

- voice recognition: app to add a product to shopping list from a voice command

- etc
Gayman
A good cover letter / introduction.

Startups depend on Generalists to make autonomous decisions that are aligned with a company mission.

Enterprise Specialists often get disconnected from the company mission and need a lot of direction, which is a liability for startups.

A cover letter, or in-person introduction that says "I understand your mission and this is what I would do in the first year to achieve the company goal".

Although phone screens and coding interviewers are looking for tech skills on the surface, the underlying motivation is "I'm too busy to train/manage you. Just preemptively tell me what you're going to do and how you'll do it".
California currently has a rainy day fund of $8 billion and a current budget surplus of $6.1 billion.

https://www.wsj.com/articles/jerry-browns-legacy-a-6-1-billi...
Does this give any hope that if enough pressure is put on Nvidia that they will cave? If so someone ought to point out to regulators what they have done with that ridiculous 'forbidden in datacenters' clause.
The NSA only counts data as collected once it was accessed by a human in a query... but they do have all the data.
It is certainly possible to do this with C by editing a startup code. In embedded system, a source code of startup is provided and exposed by manufacturer's SDK so it is quite straightforward to do this.

Besides that, I can't see much difference between doing something before main() and just putting some code on the very top of main().
This is not surprise for me.. in my country "government" got private line in telco for their uses, my senior told me when i was working in telco..
The is anecdotal, but it has happened often for me to meet people in Canada doing non-engineering work even tho they have an engineering degree from their home country, something about their education not being recognized in Canada, thus they end up being cab drivers.
Ads? In my ad blocker?

It's more likely than you think.
You can view a person's friends on Facebook
This should be downvoted to oblivion. The only folks I've ever heard say black people's (we're not "blacks" BTW, we are actually people) problems are attributable to our culture ate racist shitbags. In order to believe that black people have some intrinsic culture of self destruction one would have to believe that culture evolves in some sort of vacuum. This couldn't be further from the truth when talking about African Americans. Black people have never been left to our own devices in this country. The government itself encoded ways to fuck with us and or minds from the very inception of this nation.

Even after we were freed there was Jim crow and the peonage system (I'm sure you'll have to look that up). Even after Jim crow there was red lining.

You don't have to be a history major to know that what your said is beyond dumb. I seriously hope you put a little more thought into the things you believe going forward.
AWS have rebranded everything they can as "serverless" and are pushing a definition of serverless which is, approximately, "it's AWS". I cannot blame them. I would too, it's a phenomenal honeypot.

I prefer to use the label "FaaS", because it fits clearly into an existing taxonomy and doesn't spark silly arguments about what is, and what is not, serverless or serverful.

Disclosure: I work for Pivotal on a FaaS project.
I'm not a NIMBY myself, but most of them would claim that preserving quality of life for existing residents is more important than maximizing GDP or making space for newcomers. If you want to improve housing policies then you'll have to find a way to counteract those objections.
Actually, you know what. Just ban me. This evening on this site has been another wasteful drain and i've barely even posted. I'm changing my email and password to random noise now.
There's definitely a significant difference in cultural strength between chinese immigrants in SF and in Toronto. Basically what I think it boils down to is that the Toronto chinese community is extremely self-sufficient - insular, even.

My chinese in-laws can comfortably live there without speaking a word of English because there's that much chinese cultural infrastructure - from church groups to supermarkets to gardeners, handymen, doctors and real estate agents whose _entire clientele_ is 1st-gen chinese. Chatting with the neighbor in chinese about so-and-so's grandson is a fairly normal thing.

In contrast, my wife would consider the chinese community in SF heavily "americanised" - Similar to how Sao Paulo has "nihongakkous" (immersion schools for 2nd/3rd gen japanese), some schools in SF have "immersion" programs. These basically indicate that the community as a whole doesn't have cultural momentum to imprint onto new generations. By contrast, at my kid's kindergarten in Toronto, the teacher would at times actively have to discourage kids from speaking chinese in class (when it would be disruptive/exclusionary to the minorities - caucasians - of the class)!

WRT VC culture, my understanding is that in China, there's a great deal of literal politics (IIRC, Didi and many other prominent startups were owned by family members of prominent politicians), but that culturally speaking, "success" tends to be narrowly defined as doing well in school and getting a socially desirable job after that. I'm told that indians have similar cultural pressure to raise to management positions. (Women have it even worse, with pressure to get married in their 20s, give their parents grandchildren, etc). I feel like in SF, tech workers are heavily immersed in liberal ideas (e.g. risk taking, individualism) and tend to "detach" from their birth culture to a much higher degree than in Toronto.
> Basically, they ran a survey which found that 71% of their users would allow ads with “no annoyances”. That means no animations, no sounds, and no flashy colors.

This needs some context.

This survey ran in 2011 - older readers may remember with some nostalgia the slightly less evil online advertising landscape back then -- pre-Facebook / partner analytics scares, pre Spectre/Meltdown, pre javascript bitcoin miners ... and various increasingly nefarious activities that may fall under the umbrella of 'online advertising'. Plus a significantly smaller ratio of mobile:desktop browser users -- advertising on mobile is rarely thoughtfully executed.

This survey question was answered by just over 1500 people. AdblockPlus on Chrome alone today is showing up on the store as having an installed base of 10,000,000+ people. No idea what it was in 2011, but 1500 people -- some of whom (70 people, 4.5% of responders) indicated that "Blocking ads is wrong and I disable Adblock Plus whenever possible" -- is a tiny, skewed by self-selection, horribly dated basis for current state.
I don't know much about AMD64 but if the arguments are passed to registers then how it is possible to retrieve argc/argv later, as other functions likely to touch registers?
UK is not in the eurozone
I don't think "an entirely different ethical framework" should apply when you're "treating someone versus learning to treat them." First of all, "learning to treat someone" is not clearly separable from treating them. That's the whole point of medical residency-- you spend a bunch of time watching and helping doctors treat people, so that you can become one yourself. Ethical standards don't radically shift the moment a resident enters the room.

The concept is absurd. "Whoa guys! A resident just entered the room! Now we have to fill out all our forms in pen rather than pencil because the ethical standards just radically shifted! Now we're learning how to treat rather than treating!"

I think you are also missing one of the big points here, which is that the study protocol was exactly the same as what the doctors were doing anyway. So philosophical tangents like whether risks should be minimized more in research or treatment are irrelevant in this particular case. The risks are the same because the protocol is the same.
But can one really count that, at least in the context of how the people understand where their money really comes from? Consider the adage, "Buy land: they don't make it any more."

A growth in the value of land isn't, in and of itself, an actual product, though I do agree the construction is. However, how much of that construction is actually in service of a different industry (i.e. would never have happened but for, say, mining and oil)? Similarly, how much of that real estate value would drop to approximately zero if the industries supporting it disappeared?

I'm sure there's some construction, especially residential, that must be happening just due to population growth, but I'm skeptical if that accounts for even a majority of that number.
Getting paid to satisfy others' frivolous pursuits is the future of work. With more real-world work being automated away, we'd better hope there are jobs like "World of Warcraft Concierge" and "Sim City Colorist." All the "honest day's labor" jobs are evaporating.
It would have been unthinkable, in a lot of history, for a nobleman to become a merchant or a craftsman. Not just "people think you're weird," but like your family and friends would disown you and your potential customers would all think you're insane and you'd have no way to learn the job anyway because no commoner would dare take you as an apprentice. The modern Western world has no analog for how deep the noble/commoner divide was.

Third sons wouldn't starve to death in any case, but they would rattle around the family lands making a nuisance of themselves and borrowing money from Dad. Noble families got some income from their tenants' taxes, generally, but it wasn't always enough to maintain yourself in high style.
In some times/places, noblemen could get involved in trade, but that would mean funding other people's endeavors, not becoming merchants themselves. And sometimes even that was restricted or frowned upon.
Let's keep it civil, eh?
Thankfully, I’m not sure if this remains the case, I’ve read NSA salaries cap out around $150k for devs, so they might not have anybody competent enough to do anything with the data. I consider this a valid hypothesis
Is there no instruction that just shuts off speculative execution altogether until they can properly bound it?
Exactly. Fund the existing pension liabilities now while money is relatively cheap. Then transition all state employees to defined contribution retirement plans going forward so that it will be closer become impossible to ever have underfunded pension plans in the future.
Tenjin (YC S14) is hiring a full-stack Ruby developer
Vancouver weather is amazing. I know that’s hard for Californians to believe, but it’s true.
The internet is a nasty place and you lot should recognise it as such. I did note this:

"As a self taught programmer of age 16, I knew from the start that taking on the complex topic of neural networks and then trying to combine it with the famously difficult field of prime numbers would be a challenge."

... and I read on and I am suitably impressed - good skills.
VC looking to learn about entrepreneurial media consumption. Want to help?
Hi,

I am a junior team member at a VC in NYC, and we are looking to learn more about entrepreneurial reading habits so that we can best reach and find prospective investments. If you'd like to help us out, please fill out the survey below- and if you're interested in sharing your startup with us, there is a space at the end of the form where you can leave us that information. We focus primarily on early-stage (seed, pre-seed, series A) investments, but we're open to learning about all kinds of companies. Thanks!

Form: https://goo.gl/forms/jPAOgv0YmlGxoQX42
Tridactyl works fine in FF. (Vim add-on)
California is similar in population but is part of the US. So if you base your company in California you have easy access to the rest of the US, whereas if you're in Canada you do not have the same easily addressable market.
There's really no sensible comparison between an individual on a fixed income versus a sovereign with taxing authority.
Now we just need somebody to make an MMO where all PvP is in the form of BR fights.
One heads up and kind of a correction, for users that want to stick to Safari on iOS (myself being one of them) after installing Firefox Focus on iOS, go to iOS Settings -> Safari -> General section "Content Blockers" and toggle on for "Firefox Focus"

Then ad blocking is on (:
Beware that new @angular/cli@6.0.0 doesn't support universal node packages that are using fs/net/stream depending on the environment

(e.g. using fs.readFile() when running in Node, while using window.fetch() when running in a browser.)

It seems that Angular team made a decision to not have out-of-the-box support for projects using such packages even in the future [1].

[1] https://github.com/angular/angular-cli/issues/9827#issuecomm...
20 years in this field has taught me that (1) we move on to new technologies more often because we don't understand the current ones than because the current ones are flawed, (2) we fail to weigh the costs and risks and setback of moving to new technologies, and (3) we don't realize that we're conserving overall complexity and flawedness, just moving it around.
2016 MacBook Pro butterfly keyboards failing twice as frequently as older models
This is from a 16 year old (I trust your homework was at least as good at that age)...
I agree this approach is unlikely to be fruitful. I think the author doesn’t realize how frequent primes are (for example, primes are a lot denser than square numbers).

If you do the minimal to avoid obvious non-primes, avoiding numbers divisible by 2 or 5, you can expect to find a N-digit prime checking about N random N-digit numbers (1), so finding a 4,000-digit one after experimenting for a while doesn’t indicate ability to find primes.

(1) the density of primes around 10ⁿ is about 1/ln(10ⁿ), so you expect to find a prime after ln(10ⁿ) random samples, and

ln(10ⁿ) = n * ln(10) ≈ 2.3 * n

Avoiding even numbers and multiples of five gives you back a factor of 2.5, more than offsetting that factor of ln(10)
I'm fine with those rules. Until you can understand why the rule exists (on a technical level), can you break it. Because anyone who knows all the edge cases, filesystem issues, contention issues, deadlocking and integrity guarantees with databases will search hard for an OOB solution that fits his requirements, and will consider rolling his own a last resort.
When I graduated and tried to find work in Canada multiple firms told me I was "too weird" and "should move to California", so I did and I'm super happy that it worked out the way it did -- but I still feel sad about having to leave my home country to be my authentic self.
Why not just looking at the source code?

I attached an example of Arduino Zero varients [1] (it is directly from Atmel's SDK.) It is quite straightforward to see what happends before main(). In embedded system, you can even change it easily if you want.

In this example, the stack pointer is updated at very first point after powering up the device [2]. And the undersocre-prefixed variables are defined in its linker script. [3]

[1]: https://github.com/arduino/ArduinoCore-samd/blob/master/boot...

[2]: https://github.com/arduino/ArduinoCore-samd/blob/master/boot...

[3]: https://github.com/arduino/ArduinoCore-samd/blob/master/boot...
I'm a US-citizen immigrant to Canada, selected by Quebec and living in Montreal. Many of these assertions, though commonly believed, are half true.

The Global Skills Strategy that the federal government here is running includes tech workers, and yes it includes Quebec. MIDI has facilitated processing for many of those. For kids of people here on temporary work permits, including that type, English schools are allowed.

For permanent immigration, MIDI currently gives more points for an applicant with a bachelor's degree in computer science from anywhere in the world - regardless of language knowledge - than it does for a high school-educated applicant who is fluent in French. There are lots of factors that affect the score. While they do value French ability more than English, it's not as overwhelming as that suggests.

Their autonomy in selecting temporary workers (including tech workers) is not full, btw - there are many cases where a Labour Market Impact Assessment is not needed, and then Quebec doesn't have veto power on those workers. Quebec will still give them a leg up based on that experience if they later apply for permanent residence - yes, even without French knowledge.

Last, KFC did rename themselves to PFK due to the language politics, but that was a business decision, not legally required. Subway, Banana Republic, Canadian Tire, and many other Anglo-named companies are still using their Anglo names as their brands here. It was similarly voluntary that Shopper's Drug Mart goes by Pharmaprix here.

As for taxes: it doesn't seem higher overall than NYC, a major US tech hub, and it includes a lot more for the money.
The United States of Japan
This is truly incredible and speaks to the amazing spirit of people and government of California. These numbers become even more incredible when you consider that UK has 66 million people. And CA is also a net donor state when it comes to Federal taxes. If you add that spending back, the economy would be even bigger. Most articles here and in the internet speak to a dislike of California. But for me, everyday I feel lucky to live here.
Crab picking is hard work, and requires a lot of skill to do quickly and without getting bits of shell in the meat. Not just anyone off the street can walk in and do the job. These businesses are built around a decades-long, 100% legal, guest worker program that suddenly failed them. In addition, the lack of pickers harms not just the picking businesses, but also all the watermen who fish for crabs.

To compound the issue, these businesses are located in rural areas where there just aren’t very many people around to do the work.

And, this is seasonal work - anyone local who takes the job will be laid off in the Fall, and then won’t come back next year (because they will have found another job, ideally), so their training is lost.
Are you starting new companies that frequently?
League is still extremely popular.
I don't own one of these either, I pretty much hate the current state of apple hardware and software, but that doesn't mean I don't have empathy for those who have essentially been conned by Apple here... don't get me wrong I get a bit of a sinister grin as I see Apple's shitty tactics fail on them, but ultimately they screw over people, and this petition is an opportunity to do right by the people and make Apple pay up.
So You Want to Build an App?
Well, you need to develop at least one launch vehicle. (See #31. You can't get to the moon by climbing successively taller trees.)
They're pushed on to the stack if another function will touch them.