skysight-inc/HackerNews huggingface dataset:
I find that a lot of folks only think of programming in terms of variables and executable instructions that modify them. The notion of an invariant is not part of their toolbox, and the exercise of modeling a domain is not something they really engage in: if the program doesn't do what they want it to do, either the instructions are wrong, or there need to be more of them to handle the cases that aren't currently handled.
I'm all for building more housing. Lots more housing!

But Prop 13 is not to blame! Inflation hasn't been at 2%/year, yet property taxes rise 2%/year every year.

California already has the highest income tax and the highest sales tax in the Nation. Do we need the highest property tax, too? Right now it's right at about the median. That's fine.

Just because someone was stupid enough to pay $3,000,000 for a 1800 sq/ft home in Sunnyvale doesn't mean the people living next door need to have their property taxes raised from $3000 to $30,000/year. Anyone who thinks so is pure evil.
> (...) deleting all info from the official platform is unreasonable.

There's many linux distributions and packaging systems where you can easily download proprietary drivers. It's nice that there exists at least one with a firm commitment to free software.

Notice that you can still install proprietary software on top of Guix; they just prefer not to promote it via the official communication channels. That's perfectly reasonable.
I'm one of those people who are slightly susceptible to motion sickness, so I can't do anything that requires intense focus on an airplane.

My two go-tos are:

1) Noisli - white noise app to help me sleep.

2) BBC's Sherlock - the slickness of the production values keeps me engaged.

I find I'm more productive when I land if I don't try too hard to be productive on the flight.
>Nadya, whether or not that's the best thing to test for is beside the point.

What you test on is almost as important as how you test on it. Interviews go both ways after all. I think a majority of people aren't disagreeing that a professional should know these things - but asking them to "rattle off an answer to [question]" is looked down on. It reeks of the "reverse a binary tree" or "implement [some sorting algorithm]" type of questions.

I consider myself a Javascript professional (in so much that I am paid primarily for the Javascript work I do) and I had no issue knowing the answer to the three items listed. If I was asked to rattle them off the top of my head as some sort of Fizzbuzz Filter equivalent - I'd thank you for your time and leave the interview.

I agree people should know the answers - which (as you've pointed out) is the point you're trying to get across. But how you share that point, much like which questions you ask, is important.
> I'm extremely productive
> I spend a lot of time refactoring

Isn't that a contradiction?
Link: http://thehistoryofrome.com/episodes .
This is the fifth post in a 30 post marathon (writing one per day for 30 days). It's an incomplete list of lessons I learned due to unit testing. The lessons mostly have to do with how unit tests informed the design of my code, and not as much about how to write unit tests. Let me know what you think!
I am studying mandarin, I could probably be using my time doing some writing in my commute. I use a plethora of apps / download youtube videos / rosetta stone
Drop the leftist and you've got something approximating the truth.
yeah. that's mostly how i interpret a number of suspiciously durable job postings i see on sites like LinkedIn and Glassdoor.

either that or the working conditions are so bad that there's a high turnover.
Current Apple is sitting on the quality of the past. I wonder when they'll consume it all.
To prevent SQL injection

Prepared queries?
Comparing the Best IP Geolocation APIs
Poor people would be very surprised to hear that they all have washing machines. So would Laundromat owners. They may have TVs, but they can't afford cable so it's OTA only. And while they have a fridge, they can't afford food to put in it. Most importantly the cost for a place to put all these things is completely out of reach to anyone under the poverty line in the SF Bay Area.
I completely agree - my point is that the posted article’s metrics aren’t effective at illustrating these points. It would be more meaningful to look at, say, the share of productivity gains that has flowed to capital as opposed to labor (~100% in the US) or at the volume and distribution of various transfers and cross-subsidies over time.
CFPB will not take action against Zillow for “co-marketing”  practices
why have trucking profit margins decreased?
This article immediately lost me for calling Vine a "gif sharing app".
All my life, I've done my programming work either alone at home, in the silence of a library or with a small team in a quiet room. I consider that open offices are a bane to my productivity. I honestly cannot focus without headphones on. However, you have to keep an ear open at all time in order for the benefits of such an office.

I often do unpaid overtime simply to have time alone and I consider that during those times my productivity triples.

All open office plans should offer quiet private areas for employees where they could go and focus on complicated issues. Sadly, I have yet to see anyone offer it (except maybe the big names like Google and Amazon).
"The future is here, it's just not evenly distributed yet." ~W. Gibson

We are like lumberjacks who so love our axes that we refuse to even consider chainsaws. Many of us don't even know they exist, or if we do, think of them as esoteric and nearly magical. And then there's the fellow who says, "I'm too busy chopping down trees to learn use a chainsaw. I've got to get these trees chopped today!" (So learn to use a chainsaw on the weekends maybe? They really aren't that hard.)
> moving to Texas to do this.

Why Texas? Are there lots of data centres there? If so, is that an energy cost thing, because it seems a place with greater cooling requirements?
Barriers to movement causes an inefficient use of housing with respect to commutes and job sites. Someone locked in to a house in Mountain View with a job in SF cannot trade houses with someone locked in to a house in SF with a job in Mountain View - not without a huge increase in property taxes.

The redistribution gets rid of a deadweight loss in commuting, easing traffic and transit congestion and allowing more housing to be within commuting distance of jobs.
> Now, all of the major economies around the world is tapped out with QE

Tapped out?

1. Kuroda and Draghi are merely taking a breather. BOJ and ECB balance sheets were still growing as recently as April 2018. SNB shows no signs of ending their relentless buying of the QQQs.

2. No global central banks are prevented from restarting QE or QE-like programs at any time of their choosing. The very second deflation again becomes a threat, you can bet your ass that Powell, Kuroda, and Draghi will step on the gas.

"Tapped out" implies limits to the volume of beer in the keg. Central banks have no limits. It is extremely trivial to begin printing money again if these governors/presidents will it so.
Now is a good time to learn front-end tech. Skipping YUI was good, but you should learn at least one of Mithril, React, Preact, Inferno. I recommend Mithril for learning and React for job opportunities.

It's OK to have skipped CoffeeScript, but you don't want to skip TypeScript in 2018. The past couple of years have been good as it has increasingly harmonized with ES6.
JIT works when those making the decisions are experienced engineers with financial knowledge, not bean counters without domain experience (IMHO).
Hi Peter. I am an international student from Vietnam and I am on F1 visa. I wonder if it is possible for the employer to apply for GC right when I first start at the company? If it is, is it possible to get GC without having to go through the H1B route, providing that I have 3 years on OPT total (1 normal OPT and 2 years on STEM OPT)? Thanks a lot.
> What about the unknown bugs that could lead to deaths?

I wouldn't include that since it wouldn't be useful. In any case it clearly wasn't included in whatever definition the top commenter intended.
Your post basically boils down to "don't do any optimizations that might possibly exploit undefined behavior". That covers most optimizations. That means compilers can only use -O1. Proving you can still optimize is often equivalent to the halting problem (or you emit lots of branches and duplicate implementations for each function so the code can test the parameters and take the "safe" path in some cases or the "fast" path in others).

> silently do arbitrary optimizations

What are arbitrary optimizations to you? This isn't the magical land of unicorns here. Compilers have to be pedantic by nature so you have to sit down and come up with what is allowed and isn't allowed.

I happen to agree that some instances of undefined behavior should be defined and eliminated. For example, uninitialized values. Require the compiler to zero-initialize any storage location before use unless it can prove an unconditional write occurs to that location. This will have a small but manageable code size impact and a relatively small runtime perf impact.

> removing arbitrary code

The compiler is just a series of meaningless instructions executing on meaningless data on a dumb machine. It has absolutely no way to understand what is "arbitrary" code and what isn't. This is basically another argument for "compilers should disable 95% of all optimizations".
I don't know what it is about tomato juice and airlines. The only place I _ever_ see anyone drinking straight-up tomato juice is on flights!
The problems with that position and how your phrased it are that it is wrong, sounds condescending, is an easy way out and more importantly, completely ignores the real issue.

And the real issue is time vs result. That's the essence of worse is better. It's the well documented fact of diminishing return and exponential cost of additional quality.

You can deliver N features over a given fixed time. Given the urve of quality vs time, there is a true sweet spot where your maximize value, for whatever criteria you want for the value. Spending too much time on fewer items or too few time on too many will respectively waste time on unnecessary polish and deliver stoo many items of no value.

There is a sweet spot.
I think unlikely but less unlikely than some of the other immigration proposals.
There are a vast number of “known bugs that could lead to deaths” in these devices.

But when the bug is known to be hit only is astronomically slim scenarios, they don’t rework the entire stack to eliminate it because, well perhaps it is more likely to cause more harm than good?
This makes zero sense, you can easily resell 2-5 year old server hardware at x10-100 raw material worth.
> Dispatch is another big culprit.

Could you clarify what you mean by that?

Per both of your comments: generally speaking, your `mapState` functions _should_ run as quickly as possible. Ideally, a `mapState` function should just grab a couple values from the Redux state object and return those.

If a component needs the store data to be transformed in some way, we recommend using memoized selector functions [0] to cut down on unnecessary work.

So, in a well-written app, your `mapState` functions shouldn't be bottlenecks.

As I said, if you've got some examples of specific perf issues, I'd be happy to offer advice.

[0] https://blog.isquaredsoftware.com/2017/12/idiomatic-redux-us...
One area we're seeing Rust get a lot of usage for isn't performance directly, but low memory usage. You can do a lot more with less.
He did not pull us out of anything - just delayed the inevitable and prolonged the mis-mangement of the monetary policy by the Fed (with cooperation coming from other central banks).

The public debt almost doubled from 11T to 20T during his presidency). He also created moral hazard by not only NOT prosecuting people who he himself called "fat cats of Wall Street", but actually continuing to bail them out (started by W. Bush)
I recall a few years ago when some people were talking about porting an application to nodejs. The idea was dropped when it was found that there was no LDAP library that supported Kerberos SASL authentication, which was an absolute requirement for the application. (A quick look suggests that there still lacks an implementation of this).

Note that the number of packages is not a great indicator of the quality of implementation.
Then it's very slow, unfortunately, not 150 years but up to 10 years.
BOHICA is a great one for DevOps
Turi Create is a nice alternative to Create ML for building Core ML models.
Yes really. I'm sure you know power is velocity * force. For a long range, force output is pretty constant for humans, so power output must be lower: http://users.frii.com/katana/biketext.html
Ask HN: What are your favorite statistics and probability textbooks?
I took stats in undergrad, but it was a very rudimentary "push x sequence of buttons on your calculator in y situation" ordeal and left me with less applicable knowledge than I'd like.

Since sometime after graduation, I've taken up serious study of higher-level maths as a hobby. I think it will be most useful in my career if I also have a strong grasp on probability and statistics.

[edit] The suggestions so far have been great, but it occured to me to add that I'm working through Spivak and Apostol right now with Dedekind's essays on the side. Hopefully that gives an idea of the tone/rigor I'm after. Answers to problems is also ideal.
I said he left, got the operation done, and came back. I didn't say it was within 9 hours of flying.
Orrrrr you could systemically remove code injection vulnerabilities, which honestly aren't that hard to get rid of. Why play around with weird little hacks like this if you can remove the problem at its root?

Just say no to string concatenation of command languages.
Show HN: Owlskip – Increase social media engagement with custom link previews
The main change I would make to affirmative action would be considering factors like location, family income, etc that better represent a person's situation. But race, while not perfect, often captures these factors.

They already consider extra curriculars, and those are easily gamed since everyone knows they're important.
The Bayesian spam filtering in Thunderbird was really good because it could be trained to the kind of spam you received personally. It was not a joke; I survived on that for my work email for half a decade before they finally bought an appliance to do the heavy lifting.
>> Are there lots of data centres there?

Lots of DCs and general IT work available there. Austin is a burgeoning tech city.
>Life is short, enjoy your time watching movies.

That's all well, but let's don't forget the opportunity cost.

One can enjoy anything, e.g. food, but then they get to 300 lbs and they look back, and say wtf did I let this happen?

So enjoyment alone is not a safe criterion...

>I have wasted a lot of time being busy (reading non-fiction, TED talks etc) that did not translate into any noticeable self improvement or progress in my life. I have feeling a lot of people makes that mistake too.

That's a valid point though. There's even a name for it "productivity porn".
It's quite tempting considering the tons of stuff thrown out.

I think with a small team of quite knowledgeable people you can have different revenue streams

- stupid repairs (failing buttons, so common)
- parts (where the team would be here to create test tooling)
- materials (here you'd need chemistry knowledge)

I'd love that but I admit it's not easy and can be risky (never injured myself more than since I started scavenging parts)
Honestly, if I try to do anything mentally taxing on a flight I get terrible headaches.

Low oxygen environments are not a place for brainwork.
If I could pick one thing that I wish I would have known, it would be the understanding of functional programming techniques. Adhering to FP principles like functional purity and composition has made my applications infinitely cleaner, more maintainable, and easier to test. My work mostly involves React, which is very well suited to functional-style programming, so if you're doing something with heavy graphics or some other application, YMMV. However for react apps or anything that returns virtual DOM nodes as a response to state change, FP is the way to go IMO.
The same reason that landlords are entitled to expensive rent, doctors to high salaries, and colleges to high tuition. Its the market rate for those things. I would say there are much better second order effects from focusing on bringing prices down than the second order effects of focusing on forcing employers to pay more.
The bigger question is, Can China build any alliance? Thus far, the one and only country in the world China has seen fit to form an actual alliance with is North Korea, but those relations are strained. At the moment, the PRC has territorial disputes with over a dozen neighbours.

Does China have good relations with any nearby country?
No, I definitely mean type-level programming. Sure, most dependent typing systems subsume type-level programming, but you can do interesting things without needing dependent types.

The only requirement for type-level programming is that you have program logic that functions at the type level, taking types as arguments and returning a type.

The most overused common example is concatenation of length-indexed vector types. You need a type-level addition function in order for that to be expressible.

A more sophisticated example where type-driven code generation is required would be something like a type-safe printf that puts the format string at the type level and computes the required argument types from it at compile time.

Sure, you can stuff entire programs into the type level, but that's not where things are the most useful. The greatest value comes from using type-level functions to make the types describing your values more precise.
> MegaUpload was nothing but a great big den of facilitation of piracy.

That's how many rightsholders see it, but that isn't the only perspective.

Megaupload promoted consolidation by promoting download count. If a file is being downloaded more often, it must be more unique. Consolidation is one of the best ways to save on data storage.

When they received takedown requests, they didn't just delete user data; they removed the link. This way they could brag about their data retention: users don't want to use a site that deleted their data because of alleged copyright infringement.

Those two features weren't really provided anywhere outside Megaupload and BitTorrent, so naturally Megaupload was very successful.

The copyright infringement was done by users, not Megaupload. Megaupload was taken down, and is fighting court battles because people want to compel it - and similar services - to police and enforce copyright.
Texas has been big with datacenters for a long time. Apparently some tax exemptions may be involved, as well as good access to a lot of power.

https://www.dallasnews.com/news/news/2015/07/10/data-centers...
Short answer: no.
tl;dr This isn't about either the freedom of the Internet or net neutrality, as you might think from the title.

This is a pro-Trump opinion piece arguing that:

1. Fake news didn't contribute to Trump's victory

2. No new transparency laws are required to prevent Russian meddling in the future

3. Requiring political spending disclosures will chill speech
In case anyone doesn't know, the Julia convention is:

UpperCamelCase: modules & types

snake_case: variables and functions

This convention is shared, for example, with elixir (also FP Lang)

Also bang_functions! By convention, not enforced, indicate that the function may mutate one of its passed parameters. (Taken from Ruby's "be careful with this member function" idiom)

@at_sigil: macros (enforced by the language)
Even though little if any deference is given to previous approvals now, in the O-1 context, it's still easier to get the second O-1 approved through a new company. And while an O-1 isn't a path to a green card - no status is - those in O-1 status often qualify for an EB1A green card.
That's not the case. When you talk about large-scale farming, the (1) in the latter chains are actually (3).
Australia had (has?) the benefit of feeding China (both actual food and minerals and other resources). At some point China will grow like a normal country.
$3,000 sounds almost reasonable for property taxes. $30,000 sounds like daylight robbery.
Reminds me of Tony Bourdain.

May his soul rest in peace.
Seriously, how many kids have died from thirst, starvation, or disease curable with under $10 of medication worldwide in the time it’s taken to try to rescue the kids from that cave?

But people love a spectacle. And heroics. So we just have to figure out how to make mosquito netting seem spectacularly heroic...
Rent, medical expenses, and college expenses have all out paced inflation so it is more important to fix the underlying issues in those markets than force employers to pay more.
The problem is the last transaction might have been decades ago. This leads to some people paying several times as much property tax as their neighbors who own houses of similar market values, simply because their neighbors bought their homes years earlier. That's not reasonable.

It also means you could sell your home, move across town into a home that costs the same as the one you sold, and your property tax could quadruple. That's not reasonable either.
You don't need a particularly advanced DBMS to create a schema with views that have scrambled names, or just stored procedures with scrambled names.

CREATE VIEW oijweojf AS SELECT thing AS woeifj, stuff AS pokkx

Similarly, if you're shelling out, you can certainly set up a chroot jail with all the names scrambled.

That said, you then need to integrate all this into a build and deploy process, and god help anyone who has to debug it.
All of the things you listed largely don't matter to anyone outside the bubble of hackers. Users care about features and aren't nearly as sensitive to feature creep as we are.

* Average users wouldn't recognize a bug if they saw one.

* Average users don't even know what it means to control / be controlled by software. It's a tool that either does something useful for them or not.

* Average users barely know what an extension is, and they'll ask you to install an ad blocker for them.

* Average users don't touch settings. They don't even know what an 'about' page is let alone a mozilla.cfg.

* Average users don't even know what HTTP or HTML stand for. And nobody actually cares about standards, they care that the websites they use work. If given the choice between going against the standard or breaking any popular website a browser would be shooting their own foot by not picking the latter.
> It's not just SV that has similiar stuff to Prop 13, most places do so.

I do not know of any place that caps the property taxes of commercial or rental property.
Not sure why you're getting down-voted. You're right, the author didn't close the loop. Typically we would expect to see an insight after you apply the ML technique.

So they extracted features, clustered the pages and found... what?

I am sure they learned something but it might be proprietary.
Gentricide then :)
> Amazon’s facial recognition service, Rekognition, is designed to identify and track people going about their daily business. This isn’t hyperbole - a Rekognition spokesperson explicitly mentioned real-time tracking and identification at an Amazon Web Services summit earlier this year. The same spokesperson went on to call Orlando a “smart city,” with cameras everywhere that allow authorities to track persons of interest in real time.

Truly creepy.
>As the agony of travel bares on after hour and hour

What agony?

>you watch as you get closer closer to escaping your hellish existence in a tin can at 30k feet

Might as well bring some paint, to watch it dry...