skysight-inc/HackerNews huggingface dataset:
Since the iOS simulator is an x86 target it might not need any work. Adding a compiler target for ARM OS X may just be a matter of allowing the configuration.

Also, given the Intel OS X project was cooking long before they announced the transition, it’s likely safe to believe that full blown OS X on ARM is already running somewhere in a lab at Apple.
I would imagine people looking at UIs for a systems programming language would want a lighter abstraction than pulling in an entire browser (for things like embedded).
Exactly this. It seems the article and most nerds assume the conclusion that giving must be for reputation enhancement.
32bit is effectively dead... only need would be to support x64, and ARM. Which could be okay, so long as their cross-compilation works from pro. My biggest fear is they'll abandon Intel architecture altogether, which will be pretty bad for those of us relying on hackintosh desktops today.

No idea where all the creative types will go if that happens. Apple could indeed be shooting themselves in the foot on this one.
Android started by copying Apache Harmony, as means of Google trying to avoid to pay Sun their rightful licenses, as confirmed by Andy Rubin emails.

Thanks to that, Sun lost what might have rescued from insolvency. Which Google, while thinking that they finally got rid of Sun did not bothered to try to save.

After the lawsuit and IBM's move to sponsor OpenJDK, Google was forced to migrate to OpenJDK.

Yet Android does not use 100% of OpenJDK, rather they are adding little pieces of it in each Android version.

Thus Android uses a forked version of OpenJDK, with everything that Google doesn't care removed from it.

The fact that they use ART is an implementation detail, some Java certified JVMs for embeded deployment also have tooling to convert to their optimized implementation instead of using .class files.

Rest assured, I am quite good parroting.
Ask HN: What are some clean, readable JavaScript / Typescript codebases?
I ask as someone who has written a lot of code and been satisfied with none of it (other than maybe my Clojure code). I'd like to find inspiration for improvement.
I think I'd like it if airlines would mark their flights as "panicky person onboard", etc.

That way I can just take the later/earlier flight and leave the crackpots to themselves.
Cool news... aside, thank you for all your work on Homebrew, it cannot be understated how much you've helped so many developers and ops people.
>maybe a sufficiently powerful computer running a sufficiently sophisticated program can be conscious.

Maybe it can. People presenting the hard problem of consciousness do not usually exclude such a thing. The question is, what causes human qualia? The actual experience of stimulus, rather than merely being a system reacting to them in a certain way.

The only way I can understand someone rejecting this assumption is if they somehow do not actually experience qualia.
Everyone has this instinctive reaction when their favorite viewpoint gets moderated, but it's an illusion: https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme.... You don't know what I agree with; you have an image based on what you've noticed, and people notice what they dislike.

Those with opposite tastes have opposite images (e.g. https://news.ycombinator.com/item?id=16407769, https://news.ycombinator.com/item?id=16750306, https://news.ycombinator.com/item?id=17216687, https://news.ycombinator.com/item?id=17248326).

If you know of users breaking the site guidelines who haven't gotten moderated, I'd appreciate links.
This is built on the old Harpo Studios (Oprah) location in Chicago. Nicely done. But, you can class up the headquarters but you're still selling burgers at the end of the day.
“The economy is already at full employment.”

I'm not sure that's actually true. Yes, the govt. reported "official" unemployment number is 3.8% or whatever. BUT...

Upvoted your post.
You are correct to be skeptical here. In fact there are even people at the Fed who don't agree with the assertion. Current President of the Minneapolis Fed has publicly stated that Labor Force Participation Rate would be a better measure. As I'm sure you can imagine, that isn't a popular view w/i certain circles.

While Ben may truly believe what he's saying, I mostly get the sense that he's trying to burnish his 'legacy'.
Evolution endowed us with faculties. We have a lot of flexibility in how we deploy them. Go read Yudkowsky’s Adaptation Executors Not Fitness Maximizers for a somewhat related thesis.
Hidato: Addictive challenges from beginner to expert
I think the dev tooling will migrate fine... I think the creative tools for video editing/encoding etc will suffer to a level that cannot really be understated.

Maybe Adobe will finally take Linux seriously if that happens.
It can be hard to be sure though. For example, IMO The Circle is unreadable unless you approach it as a satirical, deliberately over the top cautionary fable but I don't think that was its intent. (Haven't seen the movie given its reviews.)
(Too late to edit: you’re using the terms correctly, I was wrong. I was thinking of what the article calls the “staging area”)
> Did anybody else pick this up? The person has only ever seen Windows. That’s extremely limiting.

The original Factorio team ( once they grew to 3 ) developed 100% on Windows, Mac, and Linux respectively. So Twinsen may have very little experience outside of windows, that probably helps him develop an authentic Windows experience, while the Mac and Linux developers do the same, and the result is a great cross platform game.

Disclaimer: My in-game hours for Factorio probably qualify me for Stockholm syndrome, so lots of bias here.
A potential easier approach could be detecting when an existing auth0 user attempts to access an abnormal auth0 subdomain. Even if the user gives up their user/pass accidentally you could send an email warning to review their activity. You can fingerprint the user's browser or ip address to help identify them if you don't have any other info.
Same for my zenbook ux501. I find the build quality to be not far away from a 2011 15" MBP.
The Ancient Egyptians also used base 2 multiplication.

https://en.wikipedia.org/wiki/Ancient_Egyptian_multiplicatio...
I could see this being a time for Adobe to partner with say Canonical to do make a linux commercial release supported.
Computer Vision Based Phishing Detection
I’m expecting that shift to coincide with the adoption of ARM-based A-series CPUs to offset for the double energetic consumption of the screens and to provide an ”obvious to the typical consumer that doesn’t understand techy stuff” advantage from these new laptops. Late 2019 with the next iteration of macOS after Mojave seems about right, so users will be able to load iPad apps from the iTunes App Store on it from the get-go.
This only proves that behaving identically to a human is reducible to an algorithm. The actual experience of consciousness is something secondary to behaviour.

It's possible that an algorithm which behaves as a human experiences consciousness identically to a human, as some fundamental property of reality, or it's possible that it does not. We cannot know, because consciousness is not something that we can observe.
That culture did not emerge with Java, rather the Taligent, CORBA, DCOM, MTS archtects moved from VB/Delphi/C++/4GL into Java and applied the same patterns.

J2EE was based on Sun's initial attempt to use Objective-C with CORBA.
> They have yet to prove any of the doubters wrong with regard to the model 3, sorry.

There will always be an unproven next step. The point is that in each example where we have a clear conclusion, the conclusion has been favorable for Tesla. My money is on the Model 3 continuing this trend.

> Also, the stock is not traded on fundamentals as much as you or the rest of the public believes.

I never said (nor do I think) that the stock is traded on fundamentals.
My original point was that this was a good article about communication best practices. Sadly, that element seems to have been given short shrift in favor of mostly discussing religion, which I am guilty of participating in. The vast majority of the discussion here is not about principles and practices of good communication, a thing I would have very much enjoyed.
<$250 is still a long way from >$750 for schools with thousands of students, Chromebooks will probably win more often than not.
Another source that's not WaPo
https://gizmodo.com/china-hacked-a-navy-contractor-and-stole...
It is possible to transform code sufficiently such that the original author's copyright no longer applies, eg, USL v. BSDi.

It comes down to the ability to demonstrate to the court that "not-recognizable" is sufficiently transformative.

But you don't want to worry about the possibility of taking it to court, since that's expensive and worrisome.

So, why not leave the original copyright notice?

It doesn't hurt, and it doesn't step on anyone's toes.

You wrote "Are the answers different", but didn't pose any questions to answer.
Yeah, but you're barking up the wrong tree. The military will get the weaponry it wants regardless, likely at a higher cost to the taxpayer and/or more side effects (pollution, for example) if they're forced to do it in-house because all powerful private sector companies somehow agree to 'boycott' and leave the money on the table. It is in everyone's best interest for their military to be the most superior -- the real issue is in military leadership and civilian policy-makers causing the problems. It dilutes the message when you spend energy on issues that should be primarily reserved for commander-in-chief discussions.
You're missing the point. I did not say trash doesn't get published. And, I did not say this paper is trash. I said this is fine as a term paper in an econometrics class as a vehicle for demonstrating that the students are capable of using various tools. Even in that context, if I were teaching this class, it would merit a B mainly due to the paucity of their references.

In a different context, one could criticize the paper much more harshly, but it is OK as a term paper.
I've come to believe that that isn't the case, but that's a position which isn't scientific. In any event, it's a reasonable theory on which to proceed with a scientific investigation of consciousness.

- - - -

Time is subordinate to consciousness, in the sense that "now" is a synonym for "you".

This is a really subtle point, and not easy to convey. I've deleted a half a dozen elaborations before posting this.

Whenever we are conscious it's always now. (You were conscious five minutes ago, but the only reason you know that is because you are aware of memories of it now.) It's never not now, or if it is you're not there.

Since it's never now without you, and you're never there except now, there's nothing to distinguish between "now" and "you". It is literally impossible to separate "you" and "now".

I think this must have some sort of physical (as in Physics) meaning or significance.
Well, desires can only exist if there are rewards. You are implying people can desire things without rewards, but that would be against human nature.
CFGExplorer: Designing a Visual Control Flow Analytics System [pdf]
IMO pretty much no other language run-time is directly comparable to the JVM simply due to the VM part. Building an entire VM into your run-time comes at a huge complexity cost but is necessary for its goal of running on different hardware seamlessly. It is simply not worth it for most run-times to try for that level of binary compatibility when simpler solutions like cross compiling work most of the time.
Does anyone have any good articles about the same technique for Node?
Seamlessly fused digital-analogue reconfigurable computing using memristors [pdf]
There was a time when half of Microsoft's net profits came from stock dilution. They were issuing new shares for employee stock option grants, so the strike price went into revenue every time options were exercised.

The schadenfreude crowd was waiting and hoping for MS to make a big misstep. Any slip in profit would reduce their P/E, and if the stock price leveled off they would get hit again when option exercises declined, taking them negative (fewer new employees also equals less stock revenue).

As one person put it, they were a bicycle. Stable while moving but would fall over as soon as they stopped. But I got bored of following MS long before those supposed hens came home to roost so I have no clue what really happened.
I dev on macOS. Mostly node and related though. Almost everything I use will be unaffected... Video/Photo creative types are likely to see an exodus if it happens though.

I think this would be a great time for Adobe to partner with Canonical as a supported platform for Creative Suite. With improved funding and work towards getting NVidia and AMD support top of line.
What a coincidence seeing this topic today. Just yesterday I released some similar code for upgrading Go servers in-place while maintaining sockets:

https://github.com/crawshaw/littleboss
Jargonizer: Making simple emails complicated one email at a time
No stigma here. Just don't know how to get a person who thinks everyone is crazy but her, help.
My question is how would you know if a new thing is not going to turn out the same way? (not that I have an answer)
I use C# in combination with Razor views and kestrel server. Why is that strange? To me it seem so natural.
UFC fighter Colby Covington plans on handing title to Trump
There can be private rewards that are not socially visible, e.g.

- donating to the favorite charity of a deceased friend

- donating to a charity whose goals are aligned with your belief system
Clever scripts tend to be easy to understand only for the author. Heck, even the author sometimes will have difficulty understanding the cleverness of their own old code.

Since Java enterprise applications can easily live on for a decade or more, it is important that they not be "clever" and be easy to maintain. Developers can come and go. New team members should be able to dive into and grok the code right away.
> the feelings of wanting to do good for another

That feeling comes out of finally getting a reward after a reward-motivated behavior.
Yes! If you want something less mathematical, you can read the explanation of the various commands: https://github.com/prettier/prettier/blob/master/commands.md
As someone who hates touchpads, a touchscreen in its place is a wonderful idea.

I have a retired smartphone on my desk showing a live feed to my doorbell cam, and I could see myself using that Zenbook's touchpad screen as a Zoneminder window.
Futures are provably a better vehicle for that, aren’t they?
You don’t find the concept of “positive and negative liberty” to be specific and useful? Personally, I think it’s incredibly insightful yet fundamentally very simple, which is the mark of a good thinker IMO.

https://en.m.wikipedia.org/wiki/Two_Concepts_of_Liberty
There's no mystery here - karma caught up to him.
You’re not a professional day trader, aren’t you?
I do recall nag screens that open websites, so that's what I am referring to. I believe Winzip did this, as did other 2000 era software. It seems to me that this happens in many mobile applications in modern times, though I don't know as I don't use many. Since many screens in mobile applications are drawn from the Internet and serve the same purpose as a website, the distinction is not significant.

Opening parts of the application that I don't intend to open in an attempt to force me to look at them is disorienting, distracting from work, and gives rise to emotions that I do not wish to experience.

As far as your conclusions about this not being user hostile, or a gray or dark pattern, I disagree. We must be operating from different definitions of user hostility. I don't wish to participate in psychological warfare and regarding my use of a program. If they wish to cut off or restrict usage of it, they should simply do so.

As far as things like timers or other shareware style restrictions, they seems legitimate to me, though obsolete. It strikes me as a different topic.
Article 2, section 2(c) exempts processing of personal data “by a natural person in the course of a purely personal or household activity”.

http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELE...
Tools for integrated Python and C++ logging (bonus for ROS)?
Plus, the Mac App Store makes this a lot easier this time round. Apple will have a big "optimized for Air" sticker on the App. 99% of common apps will switch in no time.
From my perspective, it's about people who see religion as the point versus religion as a tool to get to the point.

For Mr. Rogers the point wasn't conversion. He didn't set out to make people Christian. He set out to foster kindness, caring, understanding, and happiness. And for him, Christianity was a pretty darn good playbook to gain inspiration from.

I've often said that being a good person looks strikingly like the fundamentals of most religions.
An Introduction to BCD: binary coded decimal
If you want a particular thing to happen, you can support that thing without getting public credit and be happy that the thing is happening.

If you make the world a better place, you get to live in a better place. It can be a form of enlightened self interest.
I'd glady do that if it didn't involve living somewhere awful, marrying into a family a despise, and/or attending church :-)
Rapid and widespread white matter plasticity during intensive reading
Why isn't this in everything? I'd easily pay an extra few cents to have this in spray bottles. It's such a frustrating problem.
7 Things You Can Do Early in the Morning to Have a Truly Productive Day
> Additionally, we identify tracts whose properties predict reading skill but remain fixed throughout the intervention, suggesting that some anatomical properties stably predict the ease with which a child learns to read, while others dynamically reflect the effects of experience.
I saw 'Won't You be My Neighbor' on Thursday, and this scene is in it, but before that something I hadn't seen: Clips of the previous 2 days of testimony, which were NOT going well for PBS. The senator holding the hearings was, I believe, legitimately interested in getting to the core of the issue and had VERY little tolerance for weak arguments or filler.

That's why, at the beginning, Fred is asking him to read the written statement: The senator had banned people from just reading pre-written statements.

It also adds so much more weight to the Senetor's response at the end, knowing that Fred wasn't being rushed in for a quick decision, but the last in many many hours of testimony that was not going well for PBS.
Got another article without a paywall?
I generally found the fluid analogy did more damage than good for a lot of people in EE school. A lot of people think of electricity as electrons zipping around a circuit at the speed of light due (at least in part) to the water analogy. Having to transition from that world to thinking in charge transfer and fields while electrons move around linearly at a snails pace if at all was very difficult for many people.

I'd bet in a poll of the general public, most people think electrons fly around a circuit like water in a pipe, which is of course completely wrong. I guess it's debatable whether the inaccuracy matters or not. But in general, I prefer analogies that are simplifications and leave out details, rather than those that are completely ass backwards from reality.
>Perhaps you should revise your writings, because nothing about the sentence would imply the "since then." This is an international forum, not everyone learns the history of US military recruitment practices.

If someone is not a citizen of the USA, and not familiar with how it's military functions, maybe they should take some time to educate themselves before debating how it should be used.

¯\_(ツ)_/¯

>In the lead up to the invasion, our borderline state media apparatus was heavily reporting that Hussein was building WMDs. There was also much accusations of him either funding or supplying Jihadis.

It's too bad no government has ever lied or distorted the facts to push for a war prior to Iraq... astute citizens could have learned from that experience and viewed US government proclamations through a critical lens.
I'm not sure, to be honest, but I'm a bit dubious. Some things would definitely be impossible to translate with good performance, such as unsigned types, checked arithmetic, and value types. Forgetting CIL translation, code that needs these things already runs very slowly on the JVM, even when translation isn't involved. (E.g., I think JGit is awesome, but the lack of unsigned values slows things down, as JGit has to promote integers or emulate types, depending.) But I don't know that these are so common that it'd generically be an issue. Other common things might be okay; Kotlin achieves C#-style generics by inlining all over the place, so I suppose a CIL translator could pull the same stunt. Likewise, while the JVM doesn't have a direct equivalent of stackalloc, I know the escape analysis has gotten pretty good, so maybe that'd work out okay anyway. IKVM had a comparatively easier job, since CIL is mostly a superset of the JVM bytecodes.

(Note though that I have zero idea how GraalVM impacts any of this. It might completely negate all the things I flagged above.)
Can’t you still return null from a function? So even if your return type was optional, you’d have to check if it was null in some cases before unwrapping it.

(Edit: Limited c++ experience, thanks for explaining)
Not nearly as difficult, but I recently did a large project on converting Erlang Dialyzer output into Elixir friendly output in the Dialyxir[0] project, which involved a lot of lexing and parsing and pretty printing, though I was fortunately able to take advantage of the Elixir code formatter for a lot of the heavy lifting for output. My grammar rules, while better than they've been, are still pretty bad, but they seem to work well enough in practice for most programs that I've seen.

The tl;dr for that project is that it runs dialyzer, finds the relevant Warning module for each warning, which will pretty print parts of the error output into a larger explanation, which involves taking the output, lexing it, parsing it, then pretty printing the IR back into Elixir, then running through the formatter.

[0] https://github.com/jeremyjh/dialyxir
Well heck, Birth of a Nation was probably considered as a documentary too when it was shot -- along with a lot of war movies.

My larger point was that to produce anything for the public, it must be simplified. That always requires bias. Satire has stopped being entertainment and instead is a way to simplify things. We tell a joke in lieu of explaining something. (As the old documentaries were supposed to do: explain something) Once satire takes on that role, it's always going to be misinformation to some degree or another.
That's not fun at all :)

I agree. Still, I think that there is a difference between implied contract/obligations and an actual piece of paper with your signature (or checkbox) on it.
The translation stuff may be okay for user code (and I know Apple has done it before). But for scientific code it is just too much cost and too many things to break. I know scientists are not Apple's target market, but this just makes getting a Linux laptop a much better proposition.