skysight-inc/HackerNews huggingface dataset:
> 1-based indexing is just a silly departure from decades of ingrained thinking

This on only true for (not too old) programmers.

- Older programmers, taught pre-C, may remember that most languages were typically 1-based (Fortran, Pascal, Algol, Smalltalk...).

- Scientists usually use 1-based notation. I have avoided countless off-by-one by implementing papers in Lua. Matlab is also 1-based, probably because it is a language for mathematicians and scientists.

- In general, non-programmer tend to count from 1 and not 0.

> the only inheritance is prototype-based "classes" that are implemented via gross metatable hacking

If you need to you can implement non-prototypal object models, with metatables or with closures if you don't like them. My recommended object library is https://github.com/kikito/middleclass for people who want to write ojbect-oriented code (I usually don't).

> dictionaries masquerade as lists but can unintentionally become dictionaries if you mistakenly put a non-numeric key in them

I agree with this one, mostly. I would appreciate a purely sequential data structure ("list").
No you don't. CHECK constraints always work.

Maybe you are thinking about foreign key constraints, which for backwards compatibility are off by default, unless you use a compile-time option to make then on by default.
> What I want to know is, will the sync (not async/await) methods be available on Linux on .NET Core?

Yes.

> In an ideal world the old sync APIs would just work and we'd be able to move forward with .NET Core as it stabilizes and get off Mono without a major rewrite.

Yes, being able to move forward with existing code is the primary reason they were added to .NET Standard.
Unfortunately, the comically unqualified candidate is up against an embarrassing demonstration of what exactly "qualifies" someone to be President in the US these days. Which mostly seems to involve support from Fortune 100 CEOs, involvement in ill-conceived military interventions abroad, and sounding exactly like a Republican whilst running on a Democrat ticket. Oh, and lots of friends in the press. Not to mention the kind of connections and sharp political skills that let her blatantly race-bait against Obama in '08, publicly accuse people who pointed this out of being the real racists, wrangle the Senator of State position out of him afterwards, and then pretend the whole thing never happened.

There is no doubt that Hillary Clinton is eminently skilled and effective at being a politician. That's the problem.
NASA changed all the astrological signs
Is this what you are looking for?

https://www.raspberrypi.org/blog/piphone-home-made-raspberry...
Hello! I work on Exponent. We don't support Bluetooth right now but it's high on our priority list. We have docs for Facebook here: https://docs.getexponent.com/versions/latest/sdk/facebook.ht...
Never wished I could downvote before today. Not even the (ridiculous) content of the post, so much as.. this is your contribution to the discussion? Spare us.
You can sniff MX records fairly easily to figure it out: https://github.com/jace/mxsniff
I will probably get downvoted into oblivion for saying this, but I'll do it anyway. I see two problems with equal pay for each gender:

The first is the natural bias that exists to want to promote people similar to oneself. Whether this be sex, age, religion, race, in order to be a civil person, your ability to reach beyond yourself is truly a measure of your humanity. Certainly we should do everything in our power to eliminate bias.

The second is really hard fact to accept: men generally tend to be more aggressive, more direct, more assertive, and more driven in their careers than women. I feel denying this obvious fact is one of the problems with achieving equality in pay, and people want to dance around it because it's uncomfortable to talk about.

Can/should something be done about the second point? I don't have a great answer. I absolutely want all humans to be successful. I just think denying the obvious differences between the two genders is stupid.
"The whatever subjective suckage they introduce is their own. If you want racket-style modules, hack them up."

I don't think it really makes sense to try to roll your own module system? I mean, the whole point is to be able to easily share code with the community, right?
I like the idea - this would be cool as a self-hosted webapp.
What I don't like: "coming to macOS and iOS" - I would Love to have this ported to other OS too (Linux/Android - even windows). Or as I said - a webapp
I am using svgs in a project now.

- The first issue was the designer Im working with didnt know how to export to svg.

- Second problem is my svgs ended up with very weird numbers and groups. Such as the main groups offset was -60, 190 then another group to dlightly compensate. Then the paths themselves compensated further.

- Another issue is "cutouts" are nonintuitive for designers and also complex to reverse when they are curves.

- Another issue is linking and styling to an external svg. Despite you can put them in an image tag, it cannot be styled this way. If you put it inside a use tag, styling externally requires targeting ids.

- anothwr issue is that they dont follow the normal rules of width/height. By default they are 300x150 and takes a bit of patience to ensure they exist as 100% width (which I assumed was default)

Other than that, I am quite pleased with the format and am expecting great things for it!
Funny... I tried to fix an IKEA lamp and finding parts was impossible.
I like this.

Personally, I am not big on better/worse, but just different. E.g., we could look at white people as a weird mutation of true humans, one shockingly prone to skin cancer. Of course, as a white person, I'd rather see myself as an equally valid kind of human.

For a while I've been wondering what the DSM would look like if non-neurotypical people were in the majority. If we had a diganostic category for what we now call "normal" levels of sociality, selfishness, manipulation, violence, etc.
My eyes twitched for a couple months and I talked to my optometrist about it. He recommended exactly this - drink lots of water while using computers so I'm forced to take pee breaks.

Also, quinine which is found in tonic water might help... with twitching and relaxing the eye muscles.
Light bulbs aren't such a clear example. Incandescent filaments are much more efficient at higher temperature but burn out quicker. In the general case, savings from reduced electricity cost more than offset the increased replacemet rate for bulbs in accessible fixtures.
I think the difference is that under a tax, air travel can still expand without bound as people are willing to pay more for the air travel, but if you cap emissions, then air travel can't expand, regardless of whether people are willing to pay more than the cost of the environmental damage.

(And yes, folks, the environmental damage from any one use is bounded; it can't possibly cost more than the cost to undo that damage. If your model of the environmental damage implies it is infinity, it's just wrong, and it's driving bad policy.)
>You can't support Windows XP users who use IE anymore with HTTPs.

Not correct; you can't support Windows XP users who have not updated to SP3 yet.
(Typically a pirated version which has all updates disabled...SP3 has been available since May 6, 2008)
let me guess, romney was "too robotic" and "didn't stand for anything" ... ?
A related anecdote: a friend used to be a chef at a restaurant in London (not Michelin starred, but a very high-end, global brand). I was shocked to learn that there was no paid sick leave. So, not wanting to lose money, people come to work when they're unwell. And handle food.

I'm sure this happens at lower end places too, but given the enormously high prices I expected they would look after their staff better.
> Racket is all the promise of developer-centric power tooling that puts Common Lisp to shame.

Have you ever used a commercial Common Lisp like Allegro ?
> XUL failed... and while I really appreciate what XUL (and even XULrunner) offered, nobody really used it much in practice. XPCOM while interesting wasn't very widely used either... Neither got traction outside the Mozilla sphere of software dev.

Whether it "failed" is entirely a matter of perspective. From my perspective it has been a wild success, providing a flexible, powerful foundation for Firefox and Thunderbird, as well as some other projects. It enabled Firefox to be the most powerful, customizable browser by empowering extension developers to meet users' needs.

So, no, it has not failed. What has happened is that a new generation of Mozilla developers has arisen who are not enamored with the old code. They don't want to work on it; they want to make something new and shiny, users and extension developers be damned.

Just like all the OS vendors went for flat UI in a mindless herd mentality, so Mozilla is following Google and mindlessly imitating Chrome--first in UI, now in architecture. Then in 5-10 years (if Mozilla is still around), another generation of programmers will come up and want to throw out that baby as well. Meanwhile, browsing web pages will still be browsing web pages, and users will have to waste time on useless churn.

> It's not just "the voice" of the community... it's millions of voices screaming for different things, and those stearing paying attention to the majority for most of them.

Firefox did not dethrone IE by paying attention to a majority of screaming voices. It led the way with a vision of empowering users to take control of their web browser, going against the commercial, corporate grain.

Mozilla is no longer leading, but following, chasing, like a jilted lover who pines, "Please, don't go with Chrome, come back, I can be like Chrome too!" What they don't understand is that, if they act like Chrome, there will be no reason to go with Firefox.

What will attract users is a strong, unique browser that knows what it wants to be, that takes care of and empowers its users--in contrast to a browser project dominated by an enormous corporation which profits from exploiting its users. Only when Mozilla groks this will it turn around and reverse its decline.
>customer

You see, that's where you're way off base. Not everything shown here is going to be a 'product'; people often like to learn by doing, and showing what they create.
You Don’t Need Project Management Software–You Need a Strategy
Style= "transform : scale(-1, 1)"

I remember this was very important fir a personal logi of mine
Ah, you beat me to it.

A practical demonstration of XSS in an SVG is the following:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
<script type="text/javascript">
alert(document.cookie);
</script>
</svg>

I see this in the wild all the time, though these days it's becoming less harmful as more developers learn to host their images (and all user uploaded files, really) on a separate CDN.
I'm pretty sure that you can now get jury duty without being registered to vote.
It could be that there are many genes and many mutations possible to cause it, which means two people with autism would almost certainly not share the same mutation. This would make it quite difficult to work out what the mutations are.

(There is one mutation that causes something like autism, fragile-X)
I can see that being a problem. Let me try to explain:

* We've concrete .NET platforms, such as .NET Framework, .NET Core, and Xamarin. They are the moral equivalent of Linux distributions.
* With .NET Standard we now have shared specification that dictates which APIs all these platforms have to implement. That's the moral equivalent of POSIX.
The last time I looked, the market share leader for desktop/laptop computers held just over 20%. Apple is a top-5 computer supplier in the U.S., top-10 worldwide.
To add on to Jesse's answer, Charlie Cheever (co-founder of Exponent with James Ide) wrote a blog post about this recently: "Exponent is Free" - https://blog.getexponent.com/exponent-is-free-as-in-and-as-i...
CSP is another baseline config that web application developers consistently don't include for whatever reason. It could be plain ignorance, but I think it goes deeper than that: I think CSP is too specific for the larger problem at hand which is Javascript itself. If I want to perform XSS on a site, I will find a way. There are still unpatched SVG vectors I can use in Chrome which have gone un-noticed for the longest time, and they will, can, and are being used today. There's just too many code paths in browsers to exploit, and CSP only partially addresses the problem. I'm still seeing TrueType libraries from the 90s executing arbitrary code in browsers, and it's 2016.
Apply transformations to Go code with eg
Disney is in talks with bankers about possible Twitter acqisition
Okay, so where are you going next, beyond worshipping self?
But how does this relate to the article? Are you implying the pay gap in models is caused by the first of your reasons?
Sounds to me like project.json going bye bye

"After looking at our choices, it was apparent that it would be easier to move .NET Core projects to .csproj/MSBuild so all .NET projects use the same tooling and build system."
> Does this mean that STD 2.0 will support .NET 4.6.1 but not 4.6.2 ?

No, it means that .NET 4.6.1 supports .NET Standard 2.0 but not 1.5 or 1.6; .NET 4.6.2 supports .NET Standard 2.0 and 1.5 but not 1.6, and .NET vNext will support all of 1.5, 1.6, and 2.0.
This is key. I've been researching solutions to homelessness and part of that has involved looking at attempted solutions. In the 60's and 70's the idea that you could just "build them homes and that would fix it" failed pretty miserably for all of the reasons you describe and more, which was that "home" was only one part of the problem.

One of the things my research has turned up is that you have to build a community rather than simply shelter. The keys being governance and an economy. As there are a number of goods and services these communities need, I am looking at how a project could empower residents of the community to provide those goods and services. As examples, providing basic groceries or child care in a way that it can be both staffed locally and delivered locally. Also the local delivery of mental health, general health, and addiction management services.

Basic shelter though is key and it has to be low enough cost/maintenance that you manage it through the inevitable destructive people. The tiny houses in the article had the simplicity that you could pull out a damaged unit, salvage what you could from it (solar panels for example) and then replace it with a new unit relatively cost effectively. Not so with a multi-story apartment building.
This took place way before that technology existed. The CPU (ALU + Control Unit) was built from individual chips.

The Alto dates from 1973, and Intel's 4004 microprocessor dates from a year or two before (and was used to run a calculator, not a personal networked workstation)
I know right... I'm also a .NET developer and I wonder in particular how this new move will relate to .NET Framework.

I understand that .NET Core is sort of a subset of it, a new "fresh start" with refactoring done as well as platform-specific code cut in order to be able to support multiple platforms. And that .NET Standard covers .NET Core and .NET Framework as an umbrella.

However, where is Microsoft's focus now? Is .NET Core the future? What about .NET Framework 5? Will it happen? What about UWP? .NET Framework include a _ton_ of legacy stuff now. Windows Forms. Heck even WPF can be argued to be in the past, now that UWP is the future? UWP isn't directly interchangeable with WPF even though the technologies are confusingly similar. What about ASP .NET vs ASP .NET Core? What about Entity Framework vs Entity Framework Core? Is Microsoft honestly going to move them ALL forward at a good pace? That sounds like an insane undertaking!

I'm sure they want Windows devs to develop UWP apps for the Windows Store. Still, are they cannibalizing on that platform with this move? Windows Phone essentially doesn't exist. Xbox? Many wouldn't care about universal Windows apps and suffering by having to follow "weakest link support" due to non-existing smartphone platforms. Many devs would hit a MUCH larger target if developing .NET Core and targeting the web for anything UI related.

I wish Microsoft was more clear on this, but maybe the issue here is that they don't know either where they're going since it depends on where the devs are going... This whole .NET ecosystem is becoming extremely large and complex, even when singling out Windows. A whole lot has happened in a short time that it's dazzling.
U.S. Companies Turn to German Vocational Training Model to Fill Jobs Gap
Free POC on Web, Mobile and API Automation as Well as Load Testing Using JMeter
Nice response. Instead of addressing anything I said, just make tenuous political metaphors and baseless claims of ignorance.

> It is genuinely sad.

It's ironic that you're using Trump as an example of bad argumentation, given that your styles are quite similar. "You're so sad. You're a slob. You're a mess." Etc. etc.
At least in the world of private trackers, no. In fact, many private trackers outright forbid DHT-enabled torrents.
"Comically" is certainly an exaggeration. But her corruption, a resume lighter than GWB's, and dishonesty that makes other politicians blush (some with envy, others with shame), etc. make her qualifications at best questionable.

Neither candidate would be a candidate if we had a functioning democracy.
> That's a rather poor measurement method.

Its a reasonable and often (though not in this case, I would agree) the most interesting definition of share-of-the-market represented by a particular player.
Pricing products differently in different countries is all about charging whatever people will pay for something, in order to maximize profit.

Australia's minimum wage is ~$16/hr, so Adobe products, Apple, even online downloads cost a lot more than the US, because people in Australia have more money to spend.

When the citizens of a country have a lot of spending money, international companies charge them more than in countries where the citizens don't have a lot of money.

Viewed this way, it's really interesting to note that "stuff" (cars, laptops, phones, beer, smokes) is cheaper in America than any other developed country in the world. This is an interesting way to come to the conclusion that the average American citizen has less spending money than the average developed country citizen
The SHA-1 deprecation wasn't a secret: it was decided back in October, 2014. In February 2016, one provider basically said "oops, we screwed up, how can we get a SHA-1 certificate?", whereupon the answer was a one-off exception that would be notated as "yes, Symantec violated the rules, but everyone agreed to let this exception go through." This exception was converted into a more formal exceptions approval in June.

Tyro's certificate would have expired on June 9, 2016 if I'm reading the timeline right. There is nothing that would have prevented them from doing what WorldPay did and approach the CAB themselves, or become vigorously involved in the ongoing discussion (the proposal document for the process was made June 3, 2016).

On the other hand, as the IT mantra goes, failure to plan on your part does not constitute an emergency to plan on my part. The evidence is that Tyro updated its certs at the last minute, found that they couldn't get the SHA-1 they needed, and basically shopped around until they found someone who gave it to them (while lying about it!), instead of, say, making sure to request a certificate in late December to maximum the transition time available.

The great sin is not so much that they issued the SHA-1 certificate, but that they agreed not to do it, and when someone needed one, rather than bring it up with the CAB Forum, they issued one and lied about their compliance. The REALLY great sin is that they appear to have built an entire system to do the backdating, rather than applying one-offs.

Browsers can forgive CAs when they fess up to their mistakes. It's when they lie about them that they get really pissed off.
I'm on the opposite side of the coin. I only start up a windows VM when I absolutely have to. Yet, here I am building an ASP.Net Core MVC web app on a mac using nothing but project.json and the command line dot net tool. So far its worked pretty well. I'd still personally use GO but my employee know .net so...
There is a result in microeconomics that if you ban price discrimination from a previously discriminating firm, there was a always an alternative policy (specifying a maximum profit margin the firm can achieve but placing no restrictions on price discriminations) that would have lead to strictly greater welfare gains.

http://www.sciencedirect.com/science/article/pii/S0165176597...

This is ignoring competitive and redistributive effects, but the competitive implications should be positive (higher profits encourage competition) and this tool is sufficiently blunt for it to be unlikely to be the optimal feasible redistributive mechanism.
Dreamcast was spectacular. I bought it for my young children and I was stunned by how beautiful the graphics were and how smooth the games were. Sonic the Hedgehog was the main one that (I think) I remember.
I have to agree here, however this is mostly not an issue if you use luacheck, assertions and unit tests.

Still, stronger typing would help, and this is why several people are working on adding gradual typing to Lua. The main initiative is probably https://github.com/andremm/typedlua
IBM advertises jobs yet when qualified people show up, they are rejected. Either it's a way to look like they are reaching out to the public to satisfy the government so they can then go hire outside the US; or it's a way to let insiders get those positions after the applying public are rejected, all IMO. When I was in there, 99.999% of the people I met came in through acquisitions, not applying for a job and getting hired.
Not even slightly true. If Uber was a worse experience you wouldn't have had to vote to keep them out.

Besides, that vote was massively skewed by all the city's propaganda about driver-rape which is less of an issue than choking on party balloons while blowing out birthday candles.
I agree, society currently has unfortunate views towards food addiction.
Using clojure.spec for compile-time union-types (ADTs)
I usually scroll down for appealing infographics before I start reading the post. But all we got here is people posing for their new Linkedin profile pic
Thank you so much for your work!

> We want to make it easy for people on Windows and Linux to build apps

Is there a Linux version of XDE? I can't seem to find it.
Look no further than D3.js as an example of the kind of visualisations which are possible with SVG.

https://github.com/d3/d3/wiki/Gallery

At least this is what introduced me to working with SVG. As much as I like D3, mainly for charting, it's not the easiest thing to pick up.
Tests, JSON Support, and HTTP Requests Over SSL in Standard ML
The people saying this is "generous" are making largely irrational arguments. What Mozilla is proposing is the worst case for incumbent CAs.
Thanks! We updated the link again.
I pinged successfully from the linux 3 machine. You need to run a command first though, it says so two lines above where the shell begins
I'm on the same, Chrome/OSX, but arrow keys don't work for me on that page.
Can you be more specific? In particular, about stuff you'd consider to be lacking in Clojure?
Using Docker you can already run Linux containers on Windows, using native virtualization in Hyper-V. You are correct however this announcement is specifically about windows containers.
The Story of the HTML5 Shiv
Why tax incentives? We have too many of those already.