skysight-inc/HackerNews huggingface dataset:
Why not? Besides UK and Malta, what other non-English speaking country would you recommend? The Netherlands? I don't think the difference is very big and Germany and Switzerland have such great need for skilled engineers, they won't often require German for an IT position.
That's great to hear, I hope the best for the project! I meant 'scheduling' in the cluster management sense (which containers run in which nodes), though.
Templates. Very useful in many places.

Although if you are using templates in Python, you are likely using jinja2. And they just "fixed" the bug. So you are good to go if your upgrade.
Land of the free...or as we quip in German "Land der begrenzten Unmöglichkeiten" ("Land of limited impossibilities", obtained by just moving the "un" a little from the original "Land der unbegrenzten Möglichkeiten", "Land of unlimited possibilities").

The thing is, individual freedom means putting limits on the freedom of those in power, be they the state or corporations. In the US, you have prosecutorial discretion, employment at will, etc.
Wouldn't that imply the other way around? If you can get these amazing, often human-level, performances out of tiny insect-brain equivalent NNs - which I don't believe anyone predicted in advance - that suggests that the estimates of thousands of parameters or megaflops per neurons (see the Whole Brain Emulation Roadmap for a compilation of estimates) are irrelevant and human-level AI requires much less computation than expected.
Agreed. In the US, our lack of infrastructure spending has been a Republican effort to stymie Obama. Now suddenly they want to spend on infrastructure.
> One thing I've noticed is that if you're willing to live a bit outside of a major city and along a commuter rail line (a commute not extraordinary by U.S. standards but seemingly insane by European), housing costs can be much much lower.

YMMV, IMHO etc, but living too close to the middle of cities is the biggest mistake I see people from who move to the UK make. Yes, you get a shorter commute and a great social life, but the crazy cost (esp. in London) doesn't justify it - and these people often end up moving further out.
Disappointed with the down votes. A company is not the same as the country it operates from
I read somewhere[1] that because we know far more now about human neurons than we did five years ago, modern CNN's are better compared to a _single_ neuron (but are probably still simpler than them). I'm far from an expert in brain biology, but what I took away from that is that it's specious to make these comparisons based on our current knowledge of either field.

[1]: http://timdettmers.com/2015/07/27/brain-vs-deep-learning-sin...
It's already been used in many production ready apps for both web and mobile.

See https://www.nativescript.org
Practicing skepticism and always being analytical is a lot of work. Listening to the SGU podcasts shows that even when people are actively trying to be skeptics they still catch themselves shortcutting to opinions.

Let me ask you this. Take something you believe 100%, how much evidence the other way will it take for your opinion to change? Now imagine that item is somehow part of your identity. It's not an easy fight every single day.

The reason I bring this up is instead of saying 'some of these people', it's better to say all of us.
I have 2 questions:

(1) Do not such articles sound like "not everyone can afford a holiday in Hawai"? Or "all my friends have a Mercedes AMG but I don't"? What is the difference? *

(2) In Bay Area, the daily commute itself is an obvious sign of overpopulation. How does more housing not make it even worse?

* I exclude the gentrification problem which is really affecting the lives of poor and old people as their mobility is far worse than middle class, and most of the time they won't be able to buy the new houses and apartments anyway.
You can do the same thing in Java with reflection.

Don't let users run untrusted code. Full stop.

If you need templating use a sandbox like jinja2.
Until now I thought the new features were confined to `f""` format strings.

Edit: As correctly pointed out, this feature has been around since the introduction of str.format(). So this warning applies to all Python versions.
Python year in review 2016
Right, my feeling is that democrats, by failing to pay attention to the effectiveness of the VA, are shooting themselves in the foot.

But maybe I'm wrong and the issue has complexities I'm not yet aware of.
"...take some action to prevent it from being discussed"

This is where the researcher needs legal advice and a contract with the client. Sure, do the private presentation, but make sure you have a contract that says the interaction with corporate staff in no way prevents the researcher from presenting the findings publicly.
Hackaday: 33c3 Works for me
The better minimalist architects of the mid 20th century were very much into careful choices of materials. Eames, Wright, and to some extent van der Rohe chose materials well for their big, flat surfaces. Minimalism in lesser hands looks much worse. If you replicated Fallingwater with gypsum board walls, it would look awful inside.
Kalvi
AI powered digital education system
Also there are commissioning groups?

I also want to look into how the NHS works in more detail.
Here is an interesting blog post by John D. Cook on how too much news creates an "Inverted Sense of Risk"
http://www.johndcook.com/blog/2014/09/05/inverted-sense-of-r...

While I highly recommend not being too connected to the concretes and noise of the day, i.e. news, I think sticking your head in the sand is not such a great idea either. Nobody planned on or set out to design and build tanks, cars, plane, guns, bombs, ciphers or databases for the Nazis but people actually did.
So sad. One of the greatest artist of his generation. I did not know that 'Bambi' was created by him. RIP.
Exactly. Canada is very diverse and there are plenty of music scenes, symphonies, and other culture centers outside of Vancouver and Toronto. It's like saying the only good places to enjoy culture in the US are New York and LA.
Internationalization should never use arbitrary string or system level formatting.

Look at MessageFormat or L20n. Yeah, I know that it's more complex than what you think you need (I've hear the "let's just use JS template literals" so many times) but you actually do.
Yes, but that's meant for trusted translators of the UI, nor arbitrary users, right?
Or from any "smart" editor like Outlook.
It doesn't need to be cutting edge or anything close to it - just less link soup. I'd hate to use this on mobile, on top of that.
Does it matter who runs them? Are the various subsidiaries of abc now not to ever be associated with 'Google'? That's naive and shortsighted.
Here's a good article on the subject: https://www.google.com/amp/s/techcrunch.com/2013/01/24/my-pr...

One more: https://techcrunch.com/2013/01/18/facebook-data-voxer/
The regular social circles of most adults do come from their occupations, simply because they spend such a large part of their waking hours there. There's nothing strange about that. If that's not the case for you, cheers, but empirically speaking, most people aren't lucky enough to have a vibrant and dynamic private and outside social life beyond work—least of all in the highly isolated, individualistic automobile landscape of America.

And so, of course, it comes as no surprise that people look to work to fill a lot of their social needs, and that coworkers play a big role in not only their job, but their life satisfaction.
I moved US -> UK in July and don't regret it at all. This depended on me getting a tier-2 visa though. This is harder without a degree and programming skill.

If you want recommendations for communicative, knowledgeable, & ethical recruiters in London or Dublin, I'd be happy to connect you. My email is in my profile.
Heh, thanks. I've been on the internet long enough to know most of what folks are going to fuss about on HN probably doesn't have much to actually do with me as a person.
Inequality is not the problem. The problem is there are more people who want to live somewhere than there are houses. With perfect equality there would still be more people than houses.

The one and only fix is more houses. That's it. Any other solution is just picking winners and losers different ways. But no matter which way you pick the same number of people win and the same number lose.
I know people have said this already, but just to update it, the site is still giving 5 second timeouts.

Also when you are playing as anonymous against anonymous, when it says: "anonymous wins" you don't know which of the two anonymous players won. Even if the game says "you won" in the case where it was you, a new player doesn't know that, so it still seems unclear. The anonymous players should be differentiated in some way.. a number tacked on, for example.

Also when the round finishes, it shouldn't just show the regular expression for two seconds and then clear. It should show it for long enough to let me read it and think about it, with the data still displaying, and with a continue button I can click when ready.

Also sadly I think long term this site will have trouble attracting matching players. I expect it to only work during the peak of this exposure on HN. Great idea though.

Finally you should scale down the data so there is less of it to read. You can still make the challenges interesting with well chosen data. And you could add capture and substitution requirements. Again, great idea.
Neither does python.

The problem being discussed here is that the format string can access and attribute of the object passed in. From PEP3101 [0]:

" Unlike some other programming languages, you cannot embed arbitrary
expressions in format strings. This is by design - the types of
expressions that you can use is deliberately limited. Only two operators
are supported: the '.' (getattr) operator, and the '[]' (getitem)
operator. The reason for allowing these operators is that they don't
normally have side effects in non-pathological code."

[0] https://www.python.org/dev/peps/pep-3101/
If you want your client/user/customer to be aware of something you put it on your front page or packaging in plain language and a large, legible font. T&Cs/TOS is where you obfuscate information that you're legally obliged to 'inform' people of, but you really wish you didn't have to and you hope they'll never see it. Nobody reads the T&Cs of every product they use. I know this, you know this, everyone knows this. To suggest otherwise is either naive or disingenuous. It may be commonplace but it's really not ok and we shouldn't accept it. To defend companies doing this is enabling and shameful IMO.
There's a difference between "publication" and "presentation." Have the potential client acknowledge this in writing. You get paid for "presentation" of the material. It'll be "published" for anyone to read after the paid public "presentation" next month.
It shows the recursion of our entire universe.
Shouldn't that be based not on the built-in string capabilities, but on a template engine, that must also take care for much more narrow cases of abuse (e.g. SQL injection, or access to only of a restricted number of helper functions within the template)?
http://www.rediff.com/business/report/pix-beijing-shanghai-b...

> Although the railway authority has said that the Beijing- Shanghai high-speed railway was the only profitable high-speed rail in China in the past five years, some believe that other lines in densely-populated and developed regions will likely become profitable soon.

Only Beijing to Shanghai is making a profit ATM (flying is still cheaper on that route, but airport delays are way too bad).
The data transfer itself is happening over UDP.
Does that imply the housing prices will grow even more in 2017? The new riches will buy houses, which will raise the housing prices even more?
My bad regarding whales then. But still, I believe whalers don't "use" the whole whale, right? It used to be blubber, not sure what it is now.

Dude, living in this beautiful and multi-cultural world is a great blessing, but you have to offend someone's culture eventually. There is simply no way to satisfy everyone, which is why this whole PC movement is silly imo.

Yes, that's basically it: you may think no animals should be killed, while I think that some should be killed. But the "winner" is the one who convinces the most people by providing the most compelling arguments.

As it stands, the majority agrees that cows and pigs must die to feed humans. They also agree that sharks should not be killed for their fins, elephants should not be killed for their tusks, etc.

Now, we may end up being wrong about cows and pigs (unlikely, given history and research), but this will appear over time rather than overnight.
News disturb you and make anxious. Besides, reading news is no use https://playforitsownsake.com/articles/why-reading-political...
It depends on if you are okay with living with flat mates. My wife and I considered living farther out, but that increases cost of transport and the length of time in transit.
Maybe a more fully worked example is needed. You're making a blog hosting service as a service service. Bloggers have different ideas about what page titles should be.

Post Title
Blog Name: Post Title
Blog Name - Post Title
Post Title - Blog Name
Blog Name ----embdash---- Post Title
~~~ xXx Post Title xXx ~~~

It's a little overwhelming to put every possibility in a dropdown, so you allow the user to specify a format string.

title = userformats.title.fmt(post)

This doesn't look so very dangerous. And then the user can say

"{post.title} - {post.blog.title}"
"{post.title}: Another fine post by "{post.author}"
"~~~ xXx {post.blog.__init__.dbconnection.__keys__.password} xXx ~~~"

And then oops.
> because I'm happy to live communally with a handful of excellent flatmates.

Television. In a small apartment, if one person is watching TV, the rest of us are locked into it too. Any hope of reading, programming, or any other focused activity goes out the window. After long days in a noisy open-plan office, coming home to other people's blaring TV show wore down my sanity very quickly. No job could possibly be good enough to justify that life.

In college, you could at least escape it in any of the multitude of secure 24x7 spaces with tables, power, WiFi, etc. But the libraries around here close at the end of the workday, and that's about the only quiet public space we have in this country.

I'd kill for a "media only with headphones" communal apartment.
I also am happy with my financial situation. That doesn't mean that what I said is not true.
Salaries which a re "standard" in the US, like 100-150k USD are very hard to attain in Europe, working for European employers. They are certainly not "standard".
If they asked him to present, replying with "Sure I'd be happy to present, my fee is $xxx" doesn't seem likely to be construed as extortion and more than any other speaker charging for their time (be that research time, speaking time or both).

If he had approached them cold it may have been a different matter, but that's not what happened here.
Yep, this is a good idea. We've been holding off so that we can use the community's actual creations as the examples, and that's what we'll feature when we make clearer introductions to Gomix. Some will be videos, some will be written out, and maybe we'll do other formats as well.
> It's pretty cool that clang uses this when it knows the value in the first argument is byte-sized.

Clang is using the 8 bit subregister due to how it legalizes types.

When LLVM-IR is compiled for a target, it undergoes a process called "legalization" where invalid operations for the target are Expanded (replace the invalid operation with a semantically equivalent but legal series of operations), or Promoted (e.g. promote operations on boolean types to character types), Libcall (call out to the likes of libgcc.a) or Legal where the target directly supports the operation.

Since X86(_64) supports 8, 16, 32 (and 64) bit register accesses and operations, operations on variables of those sizes will be matched to the corresponding operation and register sizes.

If you were to compile that code for the likes of MIPS, ARM or PowerPC you'd see fully 32 bit code.
I noticed that we have

- class abstraction

- functional abstraction

- syntactic abstraction

- declarative specifications

- parallelism

Where is architectural abstraction?
Every RMB in someone's savings is offset by another RMB of someone else's debt. The savings rate isn't really as relevant as how productively that savings is utilized by the debtor on the other side of that balance sheet.

For example I can save 50% of my income but if i lend to a 90 year old who uses it to fund an elaborate funeral my savings means little.

Other metrics in China suggest that a lot of investment in China since 2008 hasn't been productive. This pattern isn't limited to China but is common in every country who has gone through rapid debt expansion including the US. Finding productive investments takes work and talent and economies have natural limits on investment opportunities that aren't purely monetary.
2-stroke engines are lubricated by their own fuel mix. There's no reason you can't mix oil and gas in a 4-cycle fuel mix. This is what the Stihl 4-cycle chainsaw does.

Honda also makes small 4-stroke engines that work in any position, because Japan is awesome.
что это
The sugar-reduction approach that I found manageable was to consume added-sugar only in cakes and biscuits that we make at home from raw ingredients.

We still enjoy sweet-ish foods but have hugely reduced our sugar intake.

An additional advantage is that as a result our toddler finds most commercial confectionaries which he encounters to be unpaltably sweet, and throws them in the bin after trying them for a few seconds.
It seems that this isn't for CS paper writing, but for writing pseudocode during design, which needs much more flexibility than communicating results in a POPL paper.
Yes-ish. :)
pattern idea: provide a UI for users to suggest sets of data to match.
You can ether use the foreign earned income exclusion (which I think has risen to closer to 100k) or the foreign tax credit.

You also want to take extensions so that you can qualify as a nonresident, or you will pay the ACA penalty for not having health insurance.
I've always wondered about that oft cited savings rate. How is it even calculated? I worked at a startup trying to generate credit scores for a significant portion of Chinese citizens. Unless our company was completely incompetent, it was pretty ingrained in us that the majority of people in China either don't have access to banking or choose not to bank. Also, it seemed like the vast majority of Chinese citizens lived paycheque to paycheque. So how does one calculate this savings rate figure? Is it just the difference between earnings and expenditures of the entire country?
Absolutely true. And when you have in mind that I am actually writing to the OP, who is young, presumably healthy and in the beginning of his career, it's easy to agree that he is not taking a (financially) smart decision by moving to Europe.
So what's your takeaway form the paper?

$200M isn't much on a continental scale. Also where exactly is this money going?

"New legislation is also required to tackle some problems
associated with trophy hunting. For example, ownership of
wildlife should be devolved to communities to permit direct
receipt of benefits from hunting and thus create clear incentives
for sustainable wildlife management"

Yeah, that will be easy to pull off, I'm certain of that.
Well good for you, but you don't speak for everyone.
Well of course for entirely different reasons. I personally am not in favor of facilitating the human blood lust to kill in order to save a species.

Humans can easily facilitate good conservation without requiring it to be attached to the killing of animals for sport.

I think it's valuable just for the reason that it's from a unique and special animal. And the market is supported by China via corrupt government officials and organized crime.
I always felt that mutt was needlessly difficult to configure.
People are just spending too much of their money and lack fiscal disaplin. 250k/year is more than enough for the bay area. But you'll not be able to live like a king.
Depends, I think having a bio that seems too self-congratulatory is not as bad as, say, perpetrating systemic violence or oppression against entire groups of people. Some can disagree with that, I guess.
That's entirely untrue - you can find plenty of decent affordable neighborhoods in LA that have nothing in common with skid row. What you have to compromise on is traffic/long commute.
Also, in C# the string interpolation works only on literal strings at compile time. So it's not possible to inject a malicious code this way from outside of the source code.
I don't really follow the news where I live (Estonia) but I do check the news and weather for my Australian hometown daily. Why? So I can communicate with my parents about their garden and thoughts on local (to them) matters. It really helps bridge the 14,000km between us.
Ask HN: Why does every entry job require at least 1 year of experience?
I've been trying to find that elusive first job since graduating university in May 2015. Companies usually have two buckets: a regular software engineer position and another one for senior level. The regular one usually states something like 1 - 2 years of professional experience required. Why can't it be 0 - 2 years? How can I get that first year? I have tried applying to the 1 year positions, but then they tell me I lack experience.
> why can't SF be more like BCN?

1. Earthquakes.

2. City planning policies over the years (or lack thereof).
My experience provides a few counter examples, and I think in the world of making little items out of an SOC and some code, my examples are highly representative, so I wonder if you have a good source to back your supposition.

I had a project at one large company, where a daily conference call was scheduled at 8AM Pacific Time, my local zone, so that the guy in France could attend at a reasonable hour. There were attendees in various other "Western" locations. The time zones ranged from -8 to +1.

Nowadays I see this happening with virtual companies, who rent offices all over the place and barely own anything. When I have dealt with such, no one has been expected to be operating more than 8-10 hours at a time. Expectations of email response are patiently kept in accord with the time zones of the recipients.
If it was the other way around - you suddenly needed to leave early every day for a week - how do you think your employer would react?

Every employer I've had (all in the US) would be perfectly fine with that.
In some applications, users can change the their own translations, which are stored in the DB, to allow for easier customization.
Near Hollywood. Have no idea where I'd move, we are already in the cheapest area I consider tolerable with a family.
Many templates allow accessing fields. There's no risk of SQL injection, you're only echoing the output back to the user.
The Hacker News discussion of the announcement: https://news.ycombinator.com/item?id=11808911
Did you get around to writing examples? None show up for me.
Put simply, this was my personal blog post, so it was about me & my feelings about the moment. On our company blog, or on Medium, we (as Fog Creek) wrote about the Gomix product and the only mention of me was a little blurb at the bottom. Both of these choices seem appropriate to me.
I could even name some Reagan donors turned unqualified ambassadors.

I can't tell if people hawking such ridiculous ideas are truly naive or are just following a motivated reasoning to reach some post-hoc justification of their dislike.
It sounds like a conspiracy theory or something but you can actually look at all the payouts from CTR here https://beta.fec.gov/data/disbursements/?two_year_transactio...
Thanks! Article definitely fails to mention this and it's an important angle to understand.