skysight-inc/HackerNews huggingface dataset:
I used to be happy with Ruby, but learning Scala and then Crystal really changed my mind about where the line ought to be drawn wrt to expressiveness and safety.

I don't and have never used the vast majority of Ruby's metaprogramming features, but I'm the odd duckling in an equation where probably 95% or more Ruby programmers are Rails programmers, and I am not. I mean, I can, but I don't. That factor makes less sympathetic to the majority of Ruby users who won't have any stake in a project like what I'm thinking about. And that's ok. And either way, if they want to make use of all those features then they will or maybe already have realized that Ruby already does what they want and Ruby3's care for backwards compat surely will cater to that majority in order to keep them on board. Metaprogramming I think is the primary style of Ruby, and that's OK.

The Crystal team has essentially reprogrammed the way I think about how it should feel to write good OO code. Scala did the same thing for a time, but just the sheer pain of SBT drove me away. With Crystal, Having parametric modules is an incredible advantage. I can write mixins essentially like traits that specialize on some new type in my program.

I have to consider how my methods end up typing out, and that changes the way I think about how I'm going to get from here to there. With Ruby, I really like that left-to-right idea of chaining until I arrive at the structure I want, and the more Crystal I write the more I realized how irritating it was to hunt down Ruby bugs by:

whatever.tap{ |o| puts "#{o} is a: #{o.class} here" }

or even deeper with responds_to? or whatever I'm trying to figure out. With crystal, all I have to do is look at the stacktrace, it is getting a nil where it shouldn't be at SomeClass#some_method on line 230842349, and I immediately can work on the bug at the source of it, instead of the tedious extra step of finding it.

Being able to make Ruby do magic was never part of the equation that held me a romantic captive to Ruby, it was always the succinctness. Elixir came close, but Crystal gets me all the way there.

If nothing else, maybe I will learn something new trying to find a subset of ruby3 that I can transpile.

I haven't read much about the new JIT, but if you're happy about it, maybe I should stop procrastinating and find out about it.
Personally I’d be happy if it adds shortcuts for Split View.

macOS is the only major desktop environment where you have to take your hands off the home row to snap a window to the side of the screen.

Plus is would be nice if they could get rid of slow animation every time you make a window full screen.
Facebook officially sends arbitrary friends data through the Android/Samung APIs in the normal course of operating the official FB app. It likely also locally caches a lot of data in a format and on-device storage that Samsung could arbitrarily access. The only thing stopping Samsung from stealing all of your friends data is legal and social, not technical.

Is there any evidence that the API was actually used to arbitrarily request and exfiltrate other users profiles? If not, this is strictly only "Facebook allowed other developers to write Facebook apps": there is no way that could possible work without offering an API with this level off access to the app.
> In the US, we dont associate homelessness with wealth but rather mental illness.

Probably because when we see a visibly homeless person, they are also very obviously mentally ill. There are lots of "invisible homeless" - in the sense that they don't look homeless, because they're not pushing a shopping cart around, aren't nursing oozing sores, and don't smell like they haven't bathed in two weeks.

Last fall, I was walking in my neighborhood and saw a woman asleep in her car. She didn't look like she pulled over to take a nap because she was too tired to drive safely; she looked like she was living in her car. But she looked just like any other person you'd pass in the street.

So, you're right, but it doesn't mean that homelessness-due-to-poverty doesn't exist.
What has changed so drastically in 5 years to necessitate an new OS?
As far as I know that's the case. At least we can't verify any predictions with the energies we can reach right now and long into the future.
I guess that’s probably when they started working on it as well /s....
Can you promise that Microsoft employees will not browse and otherwise process private repositories?
Perhaps I wasn't nuanced enough. I think Elon is better than average at the art of defying Nash equilibria -- both in the raising of funds to "disrupt" industries and in the execution of disruption.

This is not necessarily the same skill as boring old "ops."
It's convincing in that they labeled each style "as such", but it's not convincing in a musical sense. Music is playful and joyous and inspirational, these clips are academic exercises. Let's see what can be done with the tech in years to come, but I won't put down the virtuosi for this anytime soon.
Sure. But this is the thin end of the wedge. This suit wasn't funded by artists or bakers. It was funded by religious people who are upset they can't discriminate as much against gay people as they used to.
I'm sure I'm going to get down voted for this because you don't want to hear it, and it plays with your world view.

I written a ton of code for side projects and never made money from the projects, ie my code isn't worth much.
Debian can be installed on G5 (although the latest stable Debian 9 "Stretch" isn't supported, what you can do is install Debian 8 "Jessie" or the unstable branch "Sid") [1].

Also note the PPC 750 and PPC 7400, used in the Mac G3 and G4 computers, are NOT affected by meltdown & spectre, so if you want a secure desktop, try Debian on G4 [2].

[1] https://wiki.powerprogress.org/Debian_PPC_Starters_Manual
[2] https://www.makeuseof.com/tag/computers-unaffected-meltdown-...
It was a win-win either way for Tesla. Worst case scenario for them, they got an interest free loan. They could've just put that money in a savings account and made free money off the 1% interest.
Power Mac G5 (Late 2004)

https://support.apple.com/kb/SP67

Power Mac G5 (Late 2005) "Quad Core" (2.5)

https://support.apple.com/kb/SP37
Pence probably would. Even a Democratic successor might (for some crimes) just because it's more politically expedient than dealing with what would, arguably, be a political prisoner if he were convicted and imprisoned. Again, depending on the nature of the charges.

He probably could. I don't think there's anything that prevents a successfully impeached person from holding office again. It just removes them from office and requires reappointment or reelection. But I think he'd lose the popular vote again and probably the EC since enough people would've finally wised up (or just lost the momentum).
Looking for answers to these questions from previous threads:

1. If you want to develop software for Microsoft’s Linux distro/kernel (Azure Sphere for IoT), it appears you must use Windows 10 + Visual Studio, https://seeedstudio.com/productDetail/3052 & https://azure.microsoft.com/en-us/blog/developing-an-azure-s...

> To use MT3620 Dev Board for Azure Sphere, you’ll need a Windows 10 PC with the latest Windows Updates, along with the Visual Studio Tools for Azure Sphere (which will be available for download from Microsoft). These tools will include application templates, development tools and the Azure Sphere software development kit (SDK). Terms: This development board can be only used for prototyping, it cannot be built into a product for commercial distribution. It cannot be re-sold or used as part of a production environment.

Since IoT is one of the “next big things”, it would be nice to use Microsoft Linux ARM kernel with open hardware (no terms of service for hardware resale) and open software (e.g. use open-source Linux dev tools with the Azure SDK. Will this be an option?

2. What is Microsoft’s position on EU upload filters for copyright screening of code uploaded to Github? Has Microsoft taken a public position on this issue? Does Microsoft currently use upload filters for open source code screening?

https://blog.github.com/2018-03-14-eu-proposal-upload-filter...
i'm torn about this. on the one hand, microsoft is profit oriented, but so was github. and github was under certain pressure to make a profit, which is optional under microsoft, as they have other revenue streams which can be used to cross-finance a small, money hemorrhaging github.

but why would microsoft buy a money-losing company? either they think they can turn it around
- maybe because they can use their own, cheaper hosting infrastructure -, or because it's a ploy to reconcile a mostly microsoft-wary developer community with their new "not so evil as before" image (we all remember the microsoft under gates and ballmer and the damage it did).

the question that remains is: can we trust them to continue to run github as we know (and love?) it? it's not like the company hasn't improved tremendously in the last years, but the windows 10 update and privacy debacle has shown they're not above suspicion.

for me personally, i'll probably continue to use github, as i use it only for non-critical hobby projects anyway.

for important work i'd rely on a self hosting gitlab/gogs/gitea instance. i know it's not the same, as the barrier-to-entry for potential contributors is higher and the added sysop work is a pita for most people. but that's the price to pay for a healthy, robust open source community.
Yep - I recall that the first iOS version that pre-integrated FB I recall specifically writing an email to a friend of mine that worked at Apple to blast Apple for including it - when there was a perfectly viable option for them to use the app-store. They didn't reply to that email, but we remained friends. That was about 8 years ago.
I think every cell (and every bacteria) has this capacity, but higher intelligence can be disabled by some molecular switch (other senses cannot be disabled, they are the property of life) . The one that carries the illusion of human "I" is not particularly "advanced", but again, it's just a matter of some extra axon or something :). I'm pretty sure humans were designed by bacteria (or their descendants), but our species plays very modest role in the overall scheme of things. We are certainly not the ones calling the shots :)
You can start here: https://www.youtube.com/watch?v=gBGt5OeAQFk
>These partners signed agreements that prevented people’s Facebook information from being used for any other purpose than to recreate Facebook-like experiences.

Two people you don't know made a deal about how to use your information without telling you. There is no reason to think they are going to keep that deal, no reason to think anyone is actually checking up on your information, and no reason to think either of them cares... and no way to know if anyone actually keeps the deal... and probabbly no recourse even if you did know someone broke the deal.
Measuring apps....

And now this:
https://9to5mac.com/2018/06/04/apple-unveils-new-first-party...
Thanks for the HN link. That will be the last HN article I read for this week :-).
That's obviously untrue.

A major difference between Apple and Google: Google does lots of fancy machine learning to make Google Now magically anticipate everything. Apple introduces a kind of low-key programming in graphical form to let the user shape Siri's abilities.

I find the latter very interesting, it's a bit like Tasker lite.

And more important, the first few times Google Now appeared on my phone I was creeped out. Just because I had googled an event weeks ago on another device doesn't mean I want you to tell me to leave now and present me with the map and traffic information!
The root contention here is over the word "prevent". You questioned this:

> "Signed agreements do not prevent your information from being used in other ways."

But I guess you now understand why contracts do not prevent it.
>I can't understand why anyone would think they are better than Android.

I have used Android exclusively since some early Sony-Ericsson phones, and moved to iPhone just recently. I cannot put my finger exactly on why I prefer these notifications, but I think it has something to do with how easy it is to ignore them on iOS.

On Android, they're constantly on my face until I manually go through them. On iOS, they pop by once and exactly once and if I ignore them, they kinda vanish to the background immediately.
How much energy could a device extract from blood sugar?
Well, let's say that string theory has far fewer testable predictions per unit of theorem[1] than other physics theories have.

[1] However measured (cubic meter of paper, maybe?)
He's talking about time-translation symmetry, not time-reversal symmetry, which is the T in CPT.
> Do you want remote code execution? Because that's how you get remote code execution.

It's fundamentally not the case that any data serialization format without support for map and set values allows for remote code execution. This CVE was CouchDB's auth code not handling some edge cases in the JSON standard.

Your argument that edge cases like this lead to problems is definitely a good one though. I'm more inclined to say that a lot of these kinds of issues are due to people thinking JSON is a simple, straightforward format when it definitely isn't -- and that's due to mostly two things:

- It fits on a business card!

- You can serialize/deserialize in one line in most implementations

Serialization/Deserialization is something you should always pay careful attention to. Making it a one-liner and advertising it as such was pretty irresponsible.
I think you two may be talking past each other, one speaking of "safety of checked memory access" and the other of "compile-time checking of memory safety".
We're still waiting for the 3GHz G5 Steve promised at that keynote "in 12 months"...

Much of the failure to get it into PowerBooks is probably attributable to the same issue as the mythical 3GHz models - IBM's struggle to die-shrink the things.

> https://www.theregister.co.uk/2004/06/09/apple_g5_promise/
I find it awkward how Apple is now bravely fighting problems that it has (co-)created in the first place. They invent all the clever ways how to limit the number of notifications and disturbances on the phone. But that's just attacking the problem from the wrong side. If you don't want notifications, just don't enable them! It's that simple.

I may be old (42) but the only notifications that exist on my phone are from SMS and WhatsApp (which I occassionally use). I intentionally don't enable notifications about emails, as this communication medium is by definition not realtime. Of course I'm not on Facebook either, but even if I were, I don't see the point of having to check all the time what fresh pics of cats are other people sharing.
> - How on earth does Facebook justify giving direct API access to information that users have, in every setting possible, marked as private?

The user logs into Facebook on the device. This log-in action the part of the user is effectively permission to share data with the device.

> - How on earth does Facebook justify offering deep API access on users who have literally disabled API access to their data?

When the user logs into Facebook on the device, they are giving permission for their data to be transferred via an API to that device.

I do not understand your outrage.
Thanks! Checking it out. The more I look into this the more I am feeling like there is less and less to hold against Monsanto, save my general feelings about patents. I almost feel bad that it took until now, until your HN comment pointing it out for me to question my stance. I feel like everything you're sending me I could have found myself from searching.

As someone who considers myself a proponent of facts, analysis, data, science... I'm wondering how I got scooped up in this and didn't challenge myself. Certainly a lesson learned.

Even in the comments on that article, nearly everyone making anti-Monsanto claims avoids providing any sources, yet the responses to them provide plenty of evidence to the contrary.

I'd like to read some valid, solid, data-proven criticisms of Monsanto. I am absolutely willing to entertain any if people can provide them or point me in the right direction. I'll be doing some research on my own now, inspired by this discussion.

Part of the issue is that the internet, documentaries, news articles, etc are all a minefield of misinformation anymore, and we've got to be incredibly careful in our consumption of it.
What languages are you comfortable and proficient in?

If you plan to write a volume of code comparable to a small novel, you will likely want to do so in a comfortable way, able to express nuances and details in an efficient, readable, elegant manner.

There aren’t many writers who can write equally well in French and English, and even fewer who can write fluently and with finesse in Belgian French, Canadian French, UK English, Australian English, Mexican Spanish and Catalonian Spanish.

It takes constant experience and refinement to master Ruby + the rails API, something I imagine is even more true for the front end in the presence of elm etc.

I know that i would pick up the tools that my brain groks with the least effort (from a set of reliable, popular, well maintained options). The way my mind works can be the weakest link or my strongest asset — if I take it in consideration.

I can think Vue but I can’t think React. I can joyfully think Ruby but I get frustrated with C# or pho etc. slim makes me happy, erb pokes my eyes.
This is game changing, one thing is accepting a weakness or a negative side-effect and another is implementing features that mitigate that. Props to Apple, this is some impressive work that will have a net benefit for users. It is almost as if they care. Of course, they can do this since it does not go against their incentives like other companies that make money on the time spent of the platform (video watching, website browsing for ad clicks, etc). It is a good step in the right direction way better than nothing or sitting on the sidelines until regulation steps in.
Stratospheric-based services will help the U.S. win race to 5G
This is great, as a parent. Next big thing I'd like is a better parental youtube filter (it has something now, but it's absolutely terrible).
Siri Shortcuts (iOS 12) + Type to Siri* (iOS 11) is a revolution in mobile OS design imo

assuming Type to Siri works with Shortcuts.
>This algorithm based on _your input_. You can absolutely manipulate the feed.

You can incidentally manipulate the feed. But its clearly not intentional behavior; the recommender system naturally operates on the belief that you're using the services without considering the recommender system. You can manipulate the system to something specific by breaking that assumption, but all you've done is essentially exploit a bug. Its clearly not a feature. And in a perfect world, the recommendation system would realize you're lying to it, and discard that behavior, and serve you what you really want.

your input is expected to be natural consumption of the service, with limited, abstracted forms of feedback, but otherwise without knowledge of the recommender system judging your every move. You don't edit the results, you don't play with ordering, you ideally don't even search too much out of your defined subject range (lest it skew horribly and fuck up all your recommendations, like your yoga example).

>I think it's actually that they believe they can create an algorithm that will keep you coming back. It clearly works.

But this I agree with; it's a better understanding of what I was trying to get at.
Except that people rarely show off engagement rings once they're married.

It's not about the ring, it's about the expense. The same purpose could be served by just piling up twenty-dollar bills and setting them on fire, and the person with the biggest pile of bills to set on fire would be the highest status. There are cultures historically where stuff like that was common: generally as sacrificial offerings, but same thing really -- if you can afford to sacrifice a horse, in a culture where a horse is really valuable, it means you're really fucking serious about whatever you're doing, or so rich that you can do it casually, one of the two.
I think my main concern going forward would be a diaspora of open source projects.

One of the neat things about Github is that a ton of open-source projects can be found there. Regardless of how Github operates going forward for individual users, I would be surprised if projects like Facebook's React or Google's Angular remained on a platform controlled by Microsoft.

Those are only two examples in a sea of OSS projects, so maybe the impact will be smaller than I think.
The Hedgie in Winter
If not SV, then where?

I could buy "Congress" or "the European Parliament", but outside of those answers I don't see it. Average users don't appear to be rejecting Facebook to a meaningful degree, no matter how much news outlets beat the privacy drum. But the Valley is small enough that FB could get stuck paying extra for engineers or even losing domain experts.

More broadly speaking: consumer boycotts don't work (directly), but supplier boycotts sometimes do. That includes labor.
Teleport 2.6 Audit Report Is Available
>how powerful Android's notifications

Yeah, a thing that keeps taking my attention? I prefer that to be as weak as possible.
There probably is, and if not, someone will have created one. But even then, "every developer has almost or exactly an identical copy of the repository in at least one location" is false for issues and pull requests; while nearly every developer can be assumed to have one or more "git clone" copies of the repository, few will have any copy of the issues and pull request comments.
> There's definitely major benefits for diversity in this area (meaning not having the vast majority of projects on one platform), but I'm hoping we (as developers in whole) don't throw the baby out with the bathwater here.

Perhaps tooling can help with this. Github, Bitbucket, and Gitlab (and I presume some of the lesser used solutions out there) all support some type of forking and pull request model, even though that's not core git. An abstraction layer atop that can hopefully obviate a hard dependency on one platform.
I wonder if Apple putting their weight behind Dark Mode will lead to more apps and websites properly including support for it. Windows 10 has supported Dark Mode for a long time, and I set Dark Mode on any websites that feature it such as Twitter and now Reddit, but overall, most things I do are still on irritatingly bright white rectangles.
No one would write a bunch of essays on their personal website and expect money to materialize without distribution. Business is about distribution, code can be a valuable, positive-sum product, but you can't skip distribution.
Funny, that was the most exciting example for me. A whistle2orchestra app would be great fun. Agree the input sample should have at least had the breath scrubbed out.
Tesla isn't actually making money yet.

Edit: I'm actually not sure what you're counting. What happened once with Tesla and twice with SpaceX?
Let's start with: what did you consider revolutionary in past releases?

Because just about everything was maligned from some people or others:

The App Store? Obviously a stupid idea, nobody will program apps with such a limited feature set.

Copy&Paste? Yawn. Should have been there from the start.

AR? Who needs that?

Face ID? An expensive gimmick.

And so on.

Personally I found this WWDC announcements way more interesting and a reason to look forward to than last year's iPhone announcement.
What is your opinion of Rust? It seems D and Rust can both be seen as saner successors to C++, so I imagine they attract a similar crowd, and maybe compete for mindshare. Any ideas from Rust you wish you'd incorporated in D? Any ideas you think Rust ought to borrow from D?
Their Grafana data source seems to be overloaded/not working. None of the graphs will render.