skysight-inc/HackerNews huggingface dataset:
> just like ScalaJS made you need entirely new Scala libraries that did not use reflection.

Most Scala libraries never used reflection, so most of the ecosystem "just worked" on Scala.js.

I think quite a few things in scala-native are there to show the possibilities of this platform, but in the mid- to long-term those improvements will be supported everywhere:

- @struct and AnyVals: As soon as AnyVals can support more than one value on the JVM (as soon as Oracle finally gets some things done) @struct can go away, because it's equivalent to AnyVal.

- @extern and @native could also end up being the same.

- @inline and @noinline are already supported across platforms.
I may be wrong, but I think someArray[] only does that for function parameters.
Fantastic work!

* Any plans to strengthen the Scala core lib so one doesn't have to reach out to JVM for mundane tasks like I/O or threading?

* Is there a simple way to use raw C / C++ libraries from Scala native?

* Is there a http://search.maven.org/ equivalent?
This site is actually up (unlike the roulette one) and seems to also show IPs (I don't think the previous one showed IPs).
Don't "try to cheat" either -- or you'll be publicly shamed by an internet famous person!
I think Democracy 3 [1] covers the first half of your description.

[1] http://www.positech.co.uk/democracy3/
https://www.youtube.com/watch?v=TLbzvbfWmfY
"... to enable men and computers to cooperate in making decisions and controlling complex situations without inflexible dependence on predetermined programs."

Sounds like basically the opposite of the world we live in. Nice to see this on the front page.
... at worst, advertising is nothing but a tax on the quality of the internet
Disappointing, sad, and scary, but not unexpected. You can’t expect matters of life and death that effect liability, public relations, and profitability to be properly investigated and resolved by the entities directly involved. When an airplane crashes, the airlines, manufacturers, and pilots union don’t get to run the investigation and choose the results. Sure they are involved and try to influence the outcome, but an external agency heads the investigation.

Medicine needs some sort of non-punitive external investigative agency. With the scope so much larger than aviation and death often being a normal outcome, how to structure such an agency would be challenging, but I still think it’s the only way to really address the problem. The same applies for law enforcement and the use of deadly force. While many of the people involved have the best intentions, the pressures of the organization put undue bias on any internal investigation.

It looks like an agency along these lines may have been formed [1], but the ‘At the invitation of healthcare providers’ isn’t good enough. A quick google search found others pushing along these lines [3], and it’s interesting that they are talking about error being the ‘third leading cause of death’ in 2014.

While critics point out that the study may have an overly broad definition of error, it still seems that there is an issue here from anecdotal experience, and that error shouldn’t even be in the top 10.

[1] http://www.prnewswire.com/news-releases/pso-services-group-l...
[2] http://www.ntsb.gov/Pages/default.aspx
[3] http://safepatientproject.org/press_release/patient-safety-a...
Okay, here's some pseudocode that drives me nuts in every one of these SQL APIs.

I have a Group and a list of names of persons.

Group myGroup = "Groupia"
Person[] myPersons = ["Foo", "Bar", "Baz"]

I want to use that to generate the following query:

SELECT *
FROM dbo.Person
WHERE name IN ('Foo', 'Bar', 'Baz')
AND GroupName = 'Groupia'

Every language that tries to do the printf-style approach sucks for this. In many of these cases these are OOP languages. How hard is it to provide an API that gives me concatenation-like semantics?

It would be easy to design an API to allow putting the parameter calculation with concatenation-like semantics but without the problems of concatenation. For example (using Pythonic multi-line strings):

query = new query()
query.Text = """
FROM dbo.Person
WHERE name IN (""" + query.ParamList(myPersons) + """)
AND GroupName = """ + query.Param(MyGroup) + """
"""
resultSet = Query.Execute()

or somesuch nonsense - easier still if you're using a language that has good support for string interpolation. No worrying about lining up your parameters with their placeholders in the string which is functionally illegible in a long query. Good, legible programming involves keeping things that are related close to each other, so good SQL generation would logically involve having parameter's meaning as close as possible to their usage. printf-like syntaxes fail at this.
That's a great design fix and I wouldn't be surprised to see them implement it.
My understanding is that Outlook for iOS uses a cloud service that talks to the Exchange server and stores your credentials/data: https://blog.winkelmeyer.com/2015/01/warning-microsofts-outl.... So logging in involves giving Microsoft (and indirectly Amazon, since it runs on AWS), clear-text access to your information.
I'm reasonably sure that in C++ at least accessing an element outside the array is always UB. Is this legal in some sufficiently modern C?
Maybe the comparison is made more in terms of the contemporary context for each medium, instead of in a pure 1 to 1 relation.

Nowadays I would say that Facebook is more of a "format" of sorts than "just a service", in that it has tremendous power to sway the opinion of large groups of people all over the world, kind of how the TV was a "format" with a lot of impact during its time.

Maybe in the past you could've argued the same in e.g. a comparison between TV and theaters (or other previous format). Maybe people more used to going to the theaters could've made the same comparison saying that TV is just a "show in a box" and it's not delivering the same impact as a play.

I could even make the same distinction between Facebook and say Snapchat. To me, when I use Facebook, "at least" I can get some interesting stories, some interesting discussions among friends (very seldom but they are there), vs Snapchat which to me looks like "just a service" to take pictures, but I'm pretty sure that a teenager could give me a full dissertation on how Snapchat is much more than just a service and is instead the prime communication media of their time.

My point being that I believe you might be biased due to age or due to being born with the TV as the main world-wide reaching medium vs today's kids for which that medium is now FB/Snapchat/whatever the new thing is, even though in strict terms you are correct in saying that FB is a service (i.e. it's "just a webpage") but in the end, taking account the contemporary context for that, it's really much more.
Source in Dutch: http://www.euthanasiecommissie.nl/uitspraken/publicaties/oor...

Since the (psychiatric) problems started 15 years ago, patient had been undergoing treatment, both in-patient and out-patient, from multiple treatment centers, along with intensive medication regiments. Her problems only got worse, and she had developed numerous somatic problems. She was fed through a feeding tube, needed a catheter to help with urination, and required regular colonic irrigations. Additionally, she was suffering from chronic anemia, electrolyte imbalance and renal failure.

Following her initial termination request two years ago, she received intensive trauma therapy. While initially succesful, the improvement proved temporary. Her attending psychiatrist stated there were no treatment options left, and no remaining options to improve her quality of life. This opinion was shared by a second psychiatrist and medical director from another institution. She was put on a palliative track.

Due to wasting syndrome, the patient was severely weakened, completely bed-ridden and required round-the-clock care for every aspect of her life. She continuously felt like she was dying, but death would not take her.

She received two independent assessments prior to termination. The first consultant, a psychiatrist, described her situation as irremediable due to the therapy-resistant disorders. Her deteriorating physical condition also added to her persistent mental anguish. He deemed the patient fully capable and her request for termination realistic and understandable. The second consultant, a general practitioner, confirmed the previous assessment that the patient was fully capable.

(edit: after reading that daily mail article, I'm beginning to see the value in not requiring a lengthy approval process. At least this way, the patients are spared the additional abuse of being used as pawns in a political power play)
Hyperloop real world test videos
SMAC and the Call to Power series were made by different companies than the main Civ series, even though, through the process of the various sales and mergers since, all the rights related to them are, I think, in the same place now.
Major update to Spring Cloud OSS microservice stack
Thanks for sharing. I'm glad this is staying on our radar lately.

There was another link discussed here recently (https://news.ycombinator.com/item?id=11648361) about how these exorbitant prison phone calls are being replaced with video calls- and ONLY video calls. In the linked article we have this quote: The alternative to high rates isn’t lower rates, the association has suggested — the alternative is that phone calls in jails will be done away with entirely. "Absent these commissions," association president Larry D. Amerson wrote in a comment to the FCC, "counties would need to either increase taxes for the system or jails could potentially cease to provide inmates with this service." So either continue to support this monopoly, or don't speak to or see your brother/cousin/mom in jail at all.

Here in New Jersey where I live, as of yesterday you can no longer visit an inmate in a couple of our prisons, in person. Instead, you can pay Securus for a video connection to the inmate you'd like to speak with. I think if more people who were not directly connected to the System via a friend, family member, or personal experience were aware of what's going on, they would be appalled. Instead we conveniently pretend this stuff isn't happening.

From the linked article: [Securus'] Smith defended his company’s profits on many of the same grounds other inmate phone companies do. The contracts, he says, are a source of funds for crucial corrections services like health care. "It’s really a public policy issue," Smith says. Securus also provides security services, recording calls sent through its system and intervening to break up any illegal plots that it detects. "We really feel like we perform kind of a noble service for society," he says.

What he's not saying is that local municipalities can also get a kickback from the money paid to contact prisoners. So not only does it fund healthcare within the prison system (which of course are also increasingly privatized, so how much of that money do you think can be claimed as profit by the company running the prison), but to fix potholes etc in the local town.. on paper, at least.

What I wish these stories left me with is what to do next. Who do I call, petition, or vote for to get this changed?
I'll throw in my recent experience:

Rewind 2 years, looking for a more-legit DB dev job, coming out of a hybrid client-facing analytical role, with somewhat light dev work.

Resume is up in all the usual spots (Indeed, Dice, etc) get a call from a Tech recruiter asking if I was interested in a position paying nearly 2x what I was making. Jumped on it, and less than 24 hours later I was hired. I've come to see now that that was a HUGE red flag. The interviews were non-technical, among many other things.

Fast forward to this last month, workplace is horriffic, no process, no management, all the worst things. But I do have 2 more years exp in DB dev, so it's time to start looking again.

Put resume back up on the usual sites, this time I also put it up on a smaller, more focused site here in CO: builtincolorado.com which is aimed at start-up and post-start-up IT jobs.

Had a few interviews through companies I found there. Tons of calls/emails from recruiters, nothing catches my eye. Found a company thru BiC, and they go through a recruiter for a lot of their tech screening.

This recruiter is completely different than the previous one. Actual assessment testing, recruiters who've working in the field for years. Process took about 5-6 weeks.

So all in all, recruiters aren't always bad, but many are. And like some have pointed out, many have conflicts of interest in trying to just fill positions. The company I was hired by only uses them for tech screening, and doesn't to CTH, which I think helps lessen the conflict of interest, and only uses this recruiting company because they bring quality candidates. The moment they cease providing that, I don't doubt they'd use another screener or do it all themselves.
I had no idea about any of the above, but for our team this is awesome. I love that they're doing this because limiting repo's based on price is a serious PITA - it really is the way GH described is which is that every time a user wants a new repo, they have to ask billing/accounting for permission. For us and any company that uses github heavily, which is pretty much everyone in tech, this is awesome!
In theory, Spark lets you seamlessly write parallel computations without sacrificing expressivity. You perform collections-oriented operations (e.g. flatMap, groupBy) and the computation gets magically distributed across a cluster (alongside all necessary data movement and failure recovery).

In practice, Spark seems to perform reasonably well on smaller in-memory datasets and on some larger benchmarks under the control of Databricks. My experience has been pretty rough for legitimately large datasets (can't fit in RAM across a cluster) -- mysterious failures abound (often related to serialization, fat in-memory representations, and the JVM heap).

The project has been slowly moving toward an improved architecture for working with larger datasets (see Tungsten and DataFrames), so hopefully this new release will actually deliver on the promise of Spark's simple API.
Akasha: A Social Media Network Powered by Ethereum and IPFS
I Have No Words and I Must Design
Well, I don't really share your views there (and I am quite curious how you arrived at that conclusion), but HN probably isn't the best place to hash that out. Would you be willing to continue this offsite?
The DMV in Massachusetts can't handle a space in a last name. They convert it to a dash instead.

As a result, I know several people who have different names on their passport and their driver's license, simply because the computer system at the DMV is broken.
Hear. I want to give go a try but the lack of a decent gui solution is keeping me from investing too much time.
Oops, one typo here, the formula for t should be:

t = 2 sqrt((d/2c)^2 + d/a)

The numerical result I gave for t is correct.
That's for granted (that they don't get enjoyment). If they did they wouldn't complain about the productivity factor.

That said, I wasn't really meaning "work" productive, just productive in the sense "it lets me connect with friends" etc kind of utility.
Facebook is a company, TV is a device; Facebook uses the internet, TV uses the airwaves; etc. etc.

I was referring to a counter-cultural phenomenon rather than trying to say Facebook is exactly the same thing as TV set. It's not an attack on your previous statement, just an observation.
Why a dedicated HomeKit app in iOS 10 is exactly what Apple needs
Can someone explain why we're stoking the fire this late in the game, not that it shouldn't be?

Firefox implemented this since May 12, 2015 --
https://blog.mozilla.org/blog/2015/05/12/update-on-digital-r...

Chrome's had it since v 42

https://www.chromestatus.com/feature/6578378068983808
Also for external declarations:

/* file scope */
int a[];

/* later in same translation unit, or in another one: */

int a[42];

In this case, we get an "incomplete array type" after the first declaration. The storage size isn't known and so sizeof a cannot be computed.

This is also a de facto kind of "flexible array", but not formally named such.

For instance we can do this:

/* In proprietary kernel source code */
/* Size deliberately unspecified */
extern struct driver driver_table[];

The proprietary kernel code is compiled into .o files and linked into a .a archive library.

To complete the build, a driver table module must be added and some drivers. The module which defines driver_table can be open-source. It defines the size of driver_table by how many entries there actually are; users can configure as many or few drivers and re-build the kernel, without having to recompile the proprietary part in the .a archive.

Unixes were shipped like this once upon a time. The "device major number" is just the position in the device table.
RTS genre in general is on decline. Last good RTS was Starcraft 2. It is all caused by the shift to MOBA games...

Also there is huge challenge to create playable RTS game with current popular monetization strategies - in game purchases
Our local jail charges for personal visitation, you get 2 visits per week free but can pay a "nominal" fee to stream additional conversations over the Web. Let's just say that fee was ridiculous. I can't find the link for it was $30 for 15 minutes I think.

As a former foster parent that was just trying to connect with the birth parents while they awaited trial, yeah those prices suck.

But hey, who cares about people accused of crimes, right? That's the American way.
> I could never do it at the level I want.

Even professional programmers can get that feeling when looking at some of the really popular apps/webapps/games. You have to keep in mind though that none of those are built by a single person but by at least a couple of people (usually dozens upon dozens). The key is to start small but to start somewhere and keep going.
Apart from Alpha Centauri, most Civ fans (me included) prefer to pretend these games do not exist.
Do you have support for logarithmic charts?

Some of those top examples would benefit greatly from a logarithmic Y-axis.
Heya, your project looks interesting I must say. I was curious, is this mainly a 1-man gig or do you have support from the existing community (e.g. Odersky).

I heard some rumors that someone (you) was doing it as a graduation thesis under Odersky, is that true or complete bollocks?
The language is already a nightmare compared to a nearly syntaxless lisp so I'm not surprised that the ecosystem follows suit.
I understand the negative sentiment around these experiments from YC at some level.

But YC lives & dies by the quality of their "funnel", so to speak.

If they miss the next Airbnb because they overlook them or don't have a broad enough funnel in the first place that will cripple YC's ability to grow.

These experiments are part of YC's inevitable scaling challenges that are analog to any successful startup -> your platform is tested & proven, your current growth engine is reliable but you want to keep going faster.

So what do you do?

Find new marketing channels, experiment with new products (line extension), test new "funnels" to drive through a higher ratio of succesful outcomes.

Good on yah YC for eating the dogfood you're selling :)

(1) http://paulgraham.com/airbnb.html
> Its a valid question, clearly they weren't making enough money to survive as a proper business.

Is that the case? They were bought by Microsoft, but does that mean they weren't making enough money before?
Slightly shameless self promotion: If you're looking for an Android solution, we're working on TimeFerret, a calendar app that helps you reduce fragmented meeting schedules and track productivity. It's not released yet though. The iOS version will be out first, followed by Android.

[1] http://www.timeferret.com
unreal is right, this is crazy.

subdomain seems down, actual domain is "up" but a template (warning do not open - I opened mine inside a VM)

http://skrillsio.com/
I did not make up the phrase, just read the comments and the memes and the rhetoric by the OP. They are exactly what you disagree with. OP didn't just say "listen to his side" which is reasonable (albeit dangerous and should be handled by legal rather than personal means)
Yes. Scala Native is developed at EPFL for real.
Occupations of persons from Panama Papers
Dear North Carolinians: Shit Where You Want
Not the author:

> - Can this reuse existing Scala code?

I think that's the plan. Would be a pretty pointless exercise without that, right? :-)

> - How does it compare against Rust/GO/Swift? Why use this over them?

Rust: Scala and Rust have different niches. Rust is more focused on low runtime overhead, while Scala is more focused on low development overhead. This means Rust can be potentially faster to run, but Scala is faster to develop.

Go: Go is utter shit that only survives due to the devs name-dropping "Google" every 5 minutes.

Swift: Scala is more mature, simpler, better designed. Not a knock against Swift, but there is a difference between a language where changes have been tried experimentally for years before either adopting or removing them, and Swift where things get added at a frightening rate.

> - How about libraries?

Libraries without Java dependencies should work, libraries with Java dependencies depend on whether their Java dependency is provided by Scala-Native (just like on Scala.js).
Their web application rewrite that they did last year though is hot disgusting garbage. I don't know how they managed to make something so slow and sluggish as the "new" Outlook. Downright embarrassing.
RiakTS does not rely on any external data storage (other than our fork of Google's leveldb) or processing tool, so Spark's performance is irrelevant.
It's absolutely an attack.
Yeah Facebook is able to leverage peer pressure in a big way, yahoo had email but with facebook messenger if you cancel out you lose access to communication with a lot of people. Not even google was able to make a dent in facebook, google plus turned into a broken joke.
> although Religion tends to feel like a sideshow

Does it? One of my favourite tactics in Civ5 is rushing to pile up religious wonders, convert the crap out of other countries, and proceed to actually get decent trade deals with their leaders. Combined with Patronage and a few network-oriented beliefs, religious domination will let me lock-in complete support from all City-States (as long as goddamn Alexander isn't in the picture) and dramatically ease my path to victory.
Once again, the Onion is spot on with the satire. I was reminded of the XKCD comic: https://xkcd.com/1299/
I think if autonomous technology ends up killing somebody, PR is the last angle we should worry about. Let's first worry about pushing a technology that, y'know, kills people.
If you read the linked Verge article at the end you'll see that Tesla's manual instructs that the user of Summon mode must monitor the vehicle and be prepared to stop it at any time. If this is the case, which according to Tesla's manual is the case, then a simple remote control operation would be better overall. If the user must monitor the car the whole time they mine as well just take control. No need for any smarts from the car itself.
Ah, I don't see if this already posted before.