skysight-inc/HackerNews huggingface dataset:
I don't understand why there are self hating developers on HN or those who don't seem to grock the free market system - there is no god given "fair " rate for the job.
It's about safely exposing innards.

Are you are familiar with the substring problem in Java? Before 1.7.0_06, substrings where created using an offset into the buffer of the original string. Nice O(1) substring creation, the textbook example for benefits of immutability. Unfortunately, if you have long-lived, but short substrings taken out of short-lived, but long parent strings, the garbage collector won't find much to collect, since the substrings keep references to their parent buffers. This was no showstopper, but without immutability or in an environment with unmanaged memory it might very well be.

This Rust snippet is about similar cases of subcomponent sharing, just on a shorter timescale: the subcomponent is exposed in a way that allows the compiler to enforce that nobody keeps a reference for longer than it is guaranteed to be valid. You may look, you may even touch, but if you want to look again you have to ask again.

Other languages get by without this by garbage collection, by excessive precautionary copying or by simply hoping that the caller won't do anything stupid. Rust is unique in achieving the same runtime behavior as the latter but without the uncertainty. As a bonus, those un-keepable references cannot escape across concurrency borders so that in-place mutability becomes a lot more manageable.
oooooooh. I miss Amarok 1 and particularly its excellent selection of radio streams. (Amarok 2 was less-functional buggy garbage.)
You don't think they give up after one try, do you? Look as us Brits with the IP Bill (Snooper's Charter). May tried to push it through a couple of years ago as Home Secretary and the public backlash stopped her. Four months after she becomes Prime Minister she sneaks it in with barely a whisper.

You want a US version of events? Slipping CISA in its entirety into an Omnibus Bill in late 2015 after it was initially rejected as part of the National Defense Authorisation Act.

It's endemic.
Absolutely loved this! Thanks for posting.
I suggest you ask an accountant or some other kind of tax specialist in the country which contains the bank where you will receive your salary. Presumably that's your home country.

As others have said, it's probable that if you are out of this particular country for long enough you will not have to pay tax there.
Interactive Julia sets
> but I don't find anything inherently wrong with a country, any country, limiting or otherwise taxing foreign real estate ownership

The only thing inherently wrong with that is that the US has been advocating, and profiting, from the policy of relaxing rules for foreign investors for decades, to the point that most of the world is now partially owned by US interests.

So, while the US actors were the only ones which were in a position of profiting from those rules, since other economies were not developed enough to really expand into foreign markets in a massive scale, lax rules for foreign investment were perfectly fine.

Now that most of the world (thanks in part for the progress in IT) is in a position of profiting from those lax rules, the US is turning inward and tilting the playing field, again.
so we're back to applets
FOSDEM 2017 – My BSD sucks less than yours
It is. The idea was floated by the US founding fathers as a form of compensation for having all the land parceled up and owned. Further back you have the Levelers who were essentially proto-communists.
'locate' is 35 years old. And has been available on linux desktops since 1991. Just saying.
Hands-on VeriFast with STM32 microcontroller
Indeed, the rule of thumb is that you're taxed in your country of residency.

Even US citizens get taxed in the country of residency, except that they need to do a US federal tax return in addition to their local tax return. The get a tax credit of whatever they paid in their residency country, so most of the time they don't have to pay any US taxes.

Of course to declare a job in your residency country you'll need a work visa, and I think it will be very difficult (impossible?) to obtain one in most countries if you don't have a local job.

Long story short, I think people working abroad remotely with a company in their home country are either (1) on a spouse visa of (2) breaking the immigration laws of their residency country.
New Augmented Reality App for Shoppers and Movie Lovers on the Product Hunt
I don't believe any answer to a "what ought we do..." question can cohere without agreeing to a shared moral framework. The answer to the question will always assume you want to maximize something(s) and choosing among those competing somethings will always be a values judgment.
I see an awful lot of posts like OP here where they're for some reason thinking that using a specific distro, or even DE, locks them into using specific packages.

You can literally install anything on any Linux distro. Some things might take a bit of work, sure, but they're all just a Linux system underneath.

Install the right dependencies, get the app somehow (through a package manager, or source),put the files in the right place, and bobs your uncle.
Git init derby – similarities between learning roller derby and code
France election: Hard-left candidate Melenchon appears by hologram
Predictive analysis done via Learning Management Systems (LMS) to identify students at risk of dropping courses at Universities. Student retention is a big topic now because it really impacts directly on school's revenue stream and financial health. The big hope is with AI to be able to track how students interact with peers, with teachers and with instructional content, and then cluster students by their evasion risk.
ActiveX for Android
That's the point I'm
making. The clever adjustable lenses require head movement. My boring old bifocals do not.
Sure, but that is what sed is for, removing comments.

With Rust, or any other systems safe language for that matter, I can be assured that any code that violates the type system is contained in such blocks.

In C or C++ written in C style, any string, vector, function call with out parameters, data structure manipulation can be hiding unsafe code.

It is quite different just having to review some well defined sections than the whole program.

However I do concede all of this fails flat when using third party binary libraries.

I do enjoy using C++ since C++ARM days, already back then many of the modern C++ practices were possible after templates got added into the language, yet enterprise "C compiled with C++ compiler" code is the norm in many companies.

Specially since many don't even bother to write type safe C++ wrappers and call C APIs directly.
I think what the poster was saying is that the major sites are still country-specific, like I moved to Germany and here I use amazon.de, amazon.uk is a different site, so is amazon.fr, etc.
The lowest level of the US court system tries hard to stick to what law and precedent say, and to avoid engaging with constitutional issues. If you want to drive change you have to appeal it up a level or two, where the senior judges consider it to be within their pay scale. That is what is going to happen here.
Is that a problem?

If the masses don't know or care then it's not a problem to them.

Whereas you, who do both know and care, can snap up superior quality houses at bargain prices.

Seems like a good situation to me.
Didn't you guys completely shutter your Dublin office with minimal notice only a few years back?
David Heinemeier Hansson - How to create a profitable startup company?
https://www.youtube.com/watch?v=0CDXJ6bMkMY
Isn't an ideal weight a complex function of things like occupation and personal taste. A brick-layer probably needs to carry more muscle, than people in other occupations; some people probably prefer to look more muscular/toned (etc.).

Surely there's not an objective ideal weight for any particular person?
When I moved to Dubai, I declared myself non-resident in UK for tax purposes. Dubai was tax-free. Now I find myself resident in two countries for tax purposes and paying tax in both. But I've mixed feelings about it. I'm actually quite happy to pay taxes back in the UK, less keen on paying taxes in Australia, as they're rather scummy these days to NZ citizens, so I'm getting a little screwed over with no path to permanent residency, very little benefits, yet still have to pay full whack of tax... Lovely. (Fuck Australia)

But, in your situation, moving every 2-3 months can mean you might actually avoid tax residency in most countries. So it can be complex. Look into the three or five flags theory for perpetual travellers. Also into tax-residency rules of the countries you'll be staying in.

Essentially you want to have your citizenship somewhere where your foreign income is not taxed. Have a legal residence somewhere with low tax/tax haven. Earn your money/host your business somewhere with low corporate rates, have your assets somewhere where they aren't taxed massively and spend your money somewhere with low levels of consumption tax/VAT.

As for visas, it's really just travelling at a slower pace. While working remotely, it's kind of a blurry situation. Mostly though, as long as you don't remain longer than six months in one country, you're unlikely to fall foul of residency laws (for tax purposes).
I've been wrestling with this very concept. I often find myself writing custom variants of datastructures and relatively uncommon datastructures, and a language that makes this difficult isn't very motivating to get into.

What is really needed is good documentation on this specific aspect.

If on the hand if the messaging is "if you find yourself reaching for unsafe, it is likely you need to rethink your code's design" and then also "common datastructures are hard to write without unsafe" there is some slight dissonance there (imho, ime).

I'm not looking for 'blessed libraries' of prebuilt datastructures. I want to code up datastructures (e.g quadtrees, graphs etc), and good guidance on when exactly unsafe is the only way to get this done.

I don't really want to pause in the middle of a project and have to spend serious amounts of time coding up a (custom/unusual) datastructure just because there is no way without using unsafe (etc).

Right now there doesn't seem to be good guidance on this aspect (writing datastructures in Rust) which is presented as an "advanced topic" and "the wrong way / the hard way" to learn Rust. (there is the linked list book, which serves as a starting point, and using Cell etc seems to work - I'm still struggling - which is fine, that is how people learn.)

PS: None of the above is really a criticism of Rust the language or the team. I think Rust is great, I'm just a bit frustrated with the 'build common datastructures being "advanced" ' aspect, but in the end it is probably just that I haven't been able to wrap my head around Rust yet
Mozilla to Drop Support for All NPAPI Plugins in Firefox 52, Except Flash
this story reminds me of the card game Mao, which was a particular favourite at my college:

https://en.wikipedia.org/wiki/Mao_(card_game)
If I remember correctly (and its been a while since I've read Das Kapital), Marx tried to explain why a good costs what it costs, where its value really comes from. So he was dissecting the different parts that went into its creation only to conclude that they really weren't different parts, but that it all came down to labour in the end - basically what you said.

His theory however did not explain why the value of a good fluctuates over time, like the price of bread in times of bad harvests, and I have some fuzzy memories of weird corner-case explanations to maneuver around this issue.

Today we know that no matter how much human labour went into the creation of something, in the end the laws of supply and demand determine its price.

I could be wrong though and thats not what Marx goal was, after all.
Westoncb said it quite elegantly: "I think the core idea involved is a shift away from using text as a model for representing programs; instead, interact with more abstract representations of code, and render those abstractions as text. This allows your editor to have better understanding of the language you're using, so syntax becomes a property of a language's visualization rather than something totally central to it (and now you don't have to memorize it!)."

Foolproof HTML of course tries to do that only for HTML, but I do hope I can expand it to CSS, JSON and maybe generalize it later on.

So I'm not advocating for any specific syntax, but rather a way to edit html so you don't need to care about the syntax. The HTML syntax would still be there in the .html (or .erb, .php or whatever your template language is) the same as it has always been, but you could visualize it in a way that's most comfortable to you and edit it as a structure, so it would be impossible to produce syntax errors.

This could end up being a text editor plugin or a stand alone app, some sort of library or kind of anything, but I'm prototyping interactions and ideas as a standalone web app because that's what I'm good at.
typical.. I'm very glad you're not the person 'establishing things' in our team.

> If you don't want to transpile, don't. It's as simple as that.

Are you kidding? Please tell me your estimation of how many developers write in ES6/ES7 without using Babel or other transpiler???

You don't really need to tell me what Types are about, I have a long standing C/C++ background. And I really don't need Typescript. I use dynamic type checking based on ES3, does the job flawlessly already for years. Very rare for me to have a type related bug. I'm always wary of people that preach Typescript; what code do they write to get in so much trouble with types?

> Many would say that someone should be forced to write in a typed language in general in order to be taken seriously.

omg.. 'forced', this is bad.

I'm only looking forward to webassembly, that will be the real game changer and the end of JS as we know it.
[This] site is my favorite in this regard:

[This][https://ruudvanasseldonk.com/]
But you don't necessarily know what you don't know.

If you don't know enough to ask high quality questions, SO and Google won't help you.

If you're lucky, G will lead you to tuts and repos with useful code.

If you're not, you'll make a ton of stupid beginner mistake and be overdrawn on the technical debt account before you even start.
The last president asked us if it would be okay to bomb Syria. We said no. Then he did it anyways. He bombed them so much that we literally ran out of bombs. This guy screws up some travel plans and suddenly it's a problem. Bombing these people for 8 years, totes cool. Temporarily not letting them come here!?!?! Monster!!!!

I mean, I don't support Trump, nor do I agree with this dumb temporary travel ban, but all this noise about it is clearly disingenuous.
I can see troubling consequences that arise from both sides' arguments.

If private companies can hold copyrights on portions of the law, that inhibits access to those laws, and I think any reasonable person would agree that citizens have a basic right to access the text of laws and legally binding regulations, and paywalls or other restrictions conflict with that right.

But if the government can essentially revoke a private individual or company's copyright merely by incorporating otherwise protected text into legislation, that can have adverse effects on copyright holders.

And it would be interesting to see just how far you could stretch a claim on both sides.

For instance, let's say that a law specifies that vehicles used by some governmental department must be maintained according to the specifications in their respective owners' manuals. Could that be argued to be a type of "incorporation by reference" of the specifications, thus voiding the copyright of the owners' manuals?

Or what if a private company tried to impose absurd restrictions on accessing copyrighted material that has been incorporated by reference, such that even the governmental agencies charged with enforcing the law were unable to access it? Could that be a way of subverting the law?

Or what if a lawmaker has it out for a particular publisher or writer, and purposefully quotes their copyrighted texts (beyond what would typically be considered fair use) in legislation as a way of damaging their copyright?

And if it is the case that nonprofit groups that devise standards for public safety and device interoperability are deprived of their copyrights because those standards are incorporated into legislation, I would imagine it would disincentivize the work they do, perhaps leading to less well thought out public safety and device interoperability standards.
سه جزیره دیدنی در تایلند
Is it me or is this article reposted every four months? Does it show that there is a fundamental need that is still unmet?
Another thing that would help solve this is more regular exercise, and this is indeed a solvable issue, but probably not by the private sector; the government could prioritize support for modes that are healthier (walking, biking, even transit since that usually involves walking too) than driving. The Netherlands would be a leading example here, their rates of walking and biking for transportation are very high.

Yes people can exercise as its own thing too, but realistically it's way easier to get most people consistently exercising if it's something they're doing as a part of their regular daily activities.
And instead let a Chinese company develop that next greatest thing
I'm not being facetious here ... but aren't XML, Json and Yaml popular tree-structured formats?

Like OP mentions Excel for instance, for editing tabular data, which isn't quite a standard file format, and in any case supports many different formats for tabular data.

I can't help but wonder if OP is focusing on "format" rather than the structure of the data itself. There's plenty of editors for these well known formats. Perhaps he just needs to restructure his problem to use one of these?

In XML for instance, it's fairly straightforward to implement a "plugin" such as he describes, using python or ruby and a DOM parser, which could amongst other things provide the different renderings described.

I remember using XML Spy a long time back which seemed to do this quite well, as an ever expanding grid of cells, click into a cell, and it would expand showing its constituent cells. There were different tree representations available as well.
There never was a level playing field? Narrative fallacy.

Occasionally technology produces moments where dynamic conditions allow for people to leverage large amounts of energy if they get lucky. But all those people participating on a "level playing field?" they are "cheating" as hard as they can at every step.

The perception that things were ever even is just that. A perception. Our ecosystem is not "even". Nature doesn't "know" what "fair" is.
> Incremental compilation as a project in nightly is about improving compile times only, not about any functional change in build system/project management tooling.

Keeping compile times to a minimum is an essential task of a build system for me. That's why I wouldn't say that "build systems are a solved problem" in Rust.

> In this context, I'm not sure what you mean by tracking objects across dependencies.

When I make a change in one file in a crate, this triggers a complete rebuild of all the dependent crates.
Jim Carey's 2014 commencement speech at the MUM: https://www.youtube.com/watch?v=V80-gPkpH6M

Jim reveals his depth in this talk. Here's one of the gems you'll hear:

"You can fail at what you don't want, so you might as well take a chance on doing what you love"
> Lots of women benefit from the flood of hormones, but this is slightly off topic

And many more suffer from side effects that they don't even attribute anymore to hormonal contraceptives after years of intake.

Do you think that daily medication for half of the population is acceptable? Because if so, you could also argue that lots of people might benefit from taking happy pills every day.

Taking medication for every little uncomfort might be more accepted in the US, but it doesn't mean that this is a healthy view of the body and the world.
In case you're wondering why such a fascinating project hasn't received many (any?) votes or discussion, the answer might be that there is already a significant discussion over here:

https://news.ycombinator.com/item?id=13573702
I use Amazon in Europa a LOT, but funny enough it is not ONE amazon in EU, it is many - and I have to search for products on all of them, because what is available in amazon.de might not be available in amazon.co.uk. And there are obviously language barriers - and having to do math to convert currencies etc. It is anything but smooth right now - unless you are in one of the countries, that have their own amazon.tld, of course.

I want amazon.eu, where I can filter by products, that can actually be shipped to my EU country - one stop shopping. I would probably stop buying online from local shops in my country entirely.
Out of curiosity, why ~20?
I personally find that movable-window designs are a UI failure, requiring too much user interaction. A tiling WM, OTOH, enables me to do what I want: work with one tool or another, and work with multiple tools when that's what I want (which, frankly, is rarely — other than consulting a browser or info window, it's not often that I need more than one window on my screen at a time.
Nice joke, not trying to be like [1] but this would apply if there were more chances of finding $ 20 bills.

[1] http://www.uh.edu/engines/epi879.htm
Come now. Everybody knows the fixie is the hipster ride of choice.
Yes, there is no problem as long as you agree with X about what is a "real" error and what isn't.

X includes

the language authors (who are using this more and more in the stdlib as pointed out elsewhere)

the authors of any library you use ... but

transitively, so this includes the authors of any library you use indirectly as well

Hmmmm ... what was the problem with (unchecked, or python's) exceptions again ?
Is caring about your customer actually killing your business?
Introduction to making a simple game AI using Keras and Gym
>ruling that private organizations can use copyright to control access to huge portions of our state and federal laws.

Then if I decide not to use their copyright, the onus is on the copyholder to file suit against me for violation.

If in fact a firm owns it, the government cannot pursue a case, and the firm (with no criminal jurisdiction) cannot impose any penalty.

If in fact the government owns the text, it must necessarily be made freely available, unless it pertains to national security (which is shaky justification at best).
Seems like a enhanced personal wiki and away from PIM style and more added MindMap style. I would say this is not a tree editor.
Thanks for that. I've been reading through the Federal government's website lately and was wondering about any gotchas.

If you don't mind sharing, why did you need an American bank account?
[Screencast] Managing Servers with Ansible