skysight-inc/HackerNews huggingface dataset:
As long as we're trending towards web-apps having native apps' functionality then that distinction will soon be meaningless. Native apps are already sandboxed in various ways. Process integrity levels, VM protection, low privileged execution, call gating, ACLs, MAC, etc etc. All these technologies already exist and are already being used in various ways. Any systems level programmer should already be aware of those.

The browser is fast becoming the "OS" and most browsers are several order of magnitudes more bloated than mainstream kernels, not to mention horrendously insecure - if we're worried about security, then browser vendors are the last people I would trust for anything important.
Part of the problem with people paying attention to indexes/partitioning is that there's no very easy way to display that to the end user. A person knowledgeable in SQL can query the right tables to determine this but at that point you're pretty much thinking like a DBA in the first place. If major vendors had a nice visualization of such a thing built into the interaction tools like SSMS/SQL Developer/PGAdmin3 etc. then it might be easier (these might exist, I'm just not aware of them).

So yeah, the end result is DBA's give the generic "don't run SELECT * and use a WHERE clause when you're querying large tables"
GPS time isn't UTC, it's... GPS Time. It's unaffected by leap seconds.
> I did not intend to be offensive, only skeptical and cautious.

Cool, that's perfectly reasonable.

> We are all guilty of it, no doubt.

This might sound facetious, but don't you see the contradiction here? Towards the proposition "These are the principles Dalio used to achieve success", you are skeptical. Towards the proposition "people erroneously construct narratives regarding cause and effect in their lives", you have no doubt that it applies to all people.

Why not apply skepticism towards the second proposition? Maybe somewhere on the planet are people who are able to examine their lives without constructing false narratives.

The reason I am not being facetious is that skepticism is extremely popular amongst intelligent people, but it leads to such contradictions in practice (e.g., "I know that all knowledge is biased").
Show HN: Project 7BT – A Universal Start Menu and Common Storage Concept
In order to implement `f` as a plain function with same behaviour as g-strings, you would probably have to do some stack trickery to properly capture locals.

In fact, I don't think it would be possible to write such a function in the general case, because it's ambiguous what environment you would need to use.

For example:

def call(func, arg):

a = 2

return func(arg)

a = 1

print(call(f, "{a}"))

Does this print 1 or 2?
It is the JetBrain software. I use IntelliJ with various language plugins. It does a lot of work in the background to provide advanced features like completion, even for dynamic languages like Python.

The problem, of course, is that the new CPUs are optimized to provide better battery life under typical usage. If you've got something running in the background that is constantly re-indexing your source code, then the CPU optimizations aren't going to help you and a smaller battery is still a smaller battery.

Also, a lot of that indexing can take advantage of multiple cores, so the jump to a quad-core proc as in the 15" helps more than the minor boost in clock speed is going to. I'm usually fine with a dual-core processor unless I'm either trying to do big compilations (especially in Scala) or using JetBrains IDEs. God help me if I'm trying to do both.
FYI, The technology detailed on that page is governed by ITAR for US citizens. You can end up facing some serious penalties if you are a US citizen and build a GPS receiver (capable of operating > 10,000 feet) for someone in another country.
There's always fun stuff like this: http://dealbreaker.com/2016/12/cocaine-prostitutes-perks-new...

"other than the obvious don’t-defraud-public-pensions one – is that if you’re going to accept recreational drugs and sex services from state contractors, be sure to properly disclose it all to the relevant authorities." Good words to live by.

Provided an entertaining read on my morning commute on the MTA.
Yeah, using templates like that is something you can do with format (and then just do template.format(arg_name1 = something1, arg_name2 = something2) and it seems like usecase important enough to not use f-string exclusively.
How is this not well understood?

The metaphor I always use for people is with lawyers. In most cases (unless they are working on contingency), whether you win or lose the lawyer gets paid.
The non-violent solution is thus a land-value tax. Hopefully forcing most if not all the non-economically active people to move to cheaper COL areas.

That is not to say we should discourage home ownership, but we should discourage multiple home ownership for the purpose of rent extraction. Land is a zero-sum market and landlords who are against development and housing construction are effectively stealing value from those who would use thee homes as a residence.
My experience with development cost estimates suggests the easy parts are easy and the interesting parts might as well be splatter-paint.
It's the US equivalent of Which?.
I'm not in the military but I think bringing a commercial smartphone on a military operation against a very electronically advanced adversary is probably the stupidest opsec fail a soldier can do.

Even petty criminals know better !
Only around specific and punctual activities, and it's mostly city centric, not location or neighbor centric.
Yeah! Believe it or not (shameless plug) it was yours-truly who finally got the idea to snowball through the gauntlet at python-ideas. The extent of my participation, but still, am happy with how it all turned out. (pat pat)

Python is no longer inferior to Bash and Perl for short scripts and more concise.
Looking across the modern language landscape, this functionality is becoming an industry standard.
The format string is also a little more sophisticated that it looks on the surface.

Still, I was a bit down that so many showed up to complain about it, mostly with purity or adversity-builds-character arguments. I'm glad lots of people are enjoying it.
Tit-For-Tat Office Hours with a Seed-Stage VC
Every Start up should use automated deployment? Agree or Disagree
Literally everybody who is an expert in AI is worried about how to manage super-intelligence. The standard introductory text in AI by Russell and Norvig spends almost four pages discussing the existential risk that super-intelligence poses. The risk is so obvious that it was documented by IJ Good at Bletchley Park with Turing, and I wouldn't be surprised if it were identified even before that.
Those are the usual answers. But they're too broad.

A good way to look at the problem is that trusted software needs to be far less vulnerable, and untrusted software needs to be kept in a cage where it can't make trouble.

On the untrusted side, all games, for example, should be caged or sandboxed. (Yes, this breaks some intrusive anti-cheat mechanisms. Tough.) Applications on phone-type platforms should have far fewer privileges, (Yes, that breaks some ad networks. Tough.)

Until somebody with enough power to make it stick takes a hard-ass position and sets standards, there's not going to be progress. It would be progress if AT&T or Comcast or Verizon deployed secure routers, for example.
The Twilight of Carnegie Deli
Expanding on this, this idea of looking backwards as a method determining what returns you could have made is actually the root of a lot of _bad_ investment advice.

People often look back and try to determine some type of optimal portfolio that they claim is the best in all economic environments because they found it to be the best portfolio in the certain timeframe they looked, but they had the benefit of checking hundreds of different potential sets of funds and if you were to actually calculate the probability that composition of funds is better than any other composition you'd find that it was just random chance it provided the best returns over that time frame.

Granted there is a lot to learn from looking back, but it's also very imperfect if you're not taking in to the benefit of hindsight.
> [is to observe and understand the universe] a lucky break for the intelligent beings that they exist at all?

If we were so intelligent, we wouldn't have to ask, so the answer is 42.
>I wonder what it is that led to one perception in India and another in Jamaica, both poor countries, but one which lives in fear of violence.

This is the most tragic legacy of the transatlantic slave trade, and the degree to which it obliterated the indigenous cultures of most Caribbean islands, replacing it with the pure violence of subjugation.
Skepticism about other peoples' ideas and values is extremely popular among intelligent people. Skepticism about their own ideas and values? Not so much. Ditto skepticism about skepticism.
This is a great workaround for the UAE and Saudi, which are "oppression lite." This would never work in a more oppressive country; the rulers there would simply fail to whitelist traffic going to Google Cloud / App Engine traffic. This is already evident on the other side of the Great Firewall.

Still, pretty cool.
This is why I tell young people that math matters to them. Not understanding math correlates with managing ones' investments poorly.

It's also sad that nothing in high school teaches students a thing about what a balance sheet or a P&L statement is, or what debits and credits are. They don't teach anything about how business and the marketplace works - things that are very important to managing their adult lives.
Lorentz invariance appears naturally in practically all theories with waves - its violation would be a huge surprise.

To see it, understand STR, the perfect model is sine-Gordon: just many coupled pendula - we get particles ("kinks") with rest mass, which are created/annihilated in pairs, the mass grows exactly like in STR and is released while annihilation ... while moving these particles undergo Lorentz contraction (speed is limited by speed of massless waves) and oscillating particles ("breathers") slow down (time dilation) - exactly like in STR.

https://en.wikipedia.org/wiki/Sine-Gordon_equation

"Universe model with a drill" ;) https://www.youtube.com/watch?v=nl5Qq5kUbEE

Animation of kink-antikink annihilation: https://en.wikipedia.org/wiki/Topological_defect#Images
Yeah, these kinds of issues were why I decided to manually manage an array of serializable commands instead of using Promise.all.

Also showing the state of the queue (Sims-style, or just a number of pending changes) is easier when you control the queue yourself.
> In this “modern” world, it seems past time for governments to start supplying digital IDs.

Good graces just stop. While this may seem like a step in the right direction and offer a great amount of convenience, one can only imagine how this would be abused by authoritarian powers.
Do you guys agree?
Signal implements 'domain fronting' technique to bypass censorship
> And I lose half of the functionality, as RedPhone is also proprietary.

The source code for the Redphone client is here: https://github.com/WhisperSystems/Signal-Android/tree/master...

The source code the redphone-audio library is here: https://github.com/WhisperSystems/Signal-Android/tree/master...

Stop spreading misinformation.
Scientists grow atomically thin transistors and circuits
interesting theory

but i assume YT simply changed their recommendation algos

eg i see more random no-name channels now in my recommendations
Or Vector Based Animation tool
Who else has done similar testing? This is the first article I've seen mentioning the issue -- are there others?
Ask HN: How do you do Event Sourcing?
I see a lot of people talking about Kafka, but I don't really get how to fit it inside an Event Sourcing system.

What is the current state of the art (if there is such a thing) of Event Sourcing?
China claims success with this 'reactionless' engine for space travel
But again, why would it be bad if that "flagged" you? It's not like any of this sends you straight to jail or something. You should be investigated further if there is some signal that can help direct limited resources where they will be more effective. Law enforcement doesn't have limitless resources, and the downside to misdirecting them or looking aimlessly is you let actual criminals or what have you go unnoticed.

I simply don't understand the outrage. It seems random and unconnected to reality. Your public social media whatever is public. Why wouldn't it be investigated just like anything else about you that can be gleaned?
So then to answer the original question, what event would this be for someone born in the mid 90's?
Or it could be Twitch.
Speculation. It would be simple for YT (Alphabet) to figure out if this is true.
.. and that's what you get for allowing binary blobs (which are prime places to hide backdoors or to find 0days) into every possible level of your stack, because it both makes the system less secure and makes it a lot harder to verify the security properties of a system (as you can't formally verify a CPU whose specifications you don't have and whose microcode you can't know).

Let's look at the attack surface for a bit, the average Android phone has:

1. a CPU for which no methods exist to verify the properties of its physical internals, which contains a signed microcode blob (only Intel & Co. knows what's in there)

2. a blob in TrustZone (I haven't been able to find out if the secure world in TrustZone has DMA to the insecure world, but I'm sure there's more attack surface here)

3. signed closed-source firmware blobs in multiple places in the phone, including in the baseband which handles all radio communications

4. a monolithic kernel with 7 million lines of driver code running in supervisor mode (to be fair, a lot of that can potentially be excluded at compile time)

5. closed-source userspace OS services (Play Services) required by most apps

6. apps with a native GUI have to run on the closed-source Java Runtime

7. apps are disseminated via the Play Store which has:

7a. no provisions for providing a license (e.g. "filter by license" in the search option, a dedicated spot in the app page if the license property is set, it's not rocket science)

7b. no provisions for providing the source code and validating the code you run matches the source (few people use F-Droid and that only solves the first problem)

7c. no provisions against Google serving backdoored apps

8. all apps have the possibility to communicate with other apps without user intervention (if those apps chose to allow this) via Actions, and stock apps tend allow a bunch of things through this channel

It's rotten all the way down, unverifiable by users or security experts and just not secure against any kind of targeted attack.

The Ukranians shouldn't have been using smartphones at all, and they're just unlucky to be targeted by a state level adversary first (that we know of).

This could happen to any of us if we become a nuisance to a state (or when we anger one of the employees of the companies involved in producing this shitshow).
Fair point. He says that the 20% estimate is unlikely to be revised upward, but it's "unlikely because you can't get more than 30% using reasonable approaches to PV" and not "unlikely because you can't get more than 30% due to thermodynamics" (I can't find what's _that_ limit quickly).

> MacKay also made the challenge look even bigger than it is by estimating the energy consumption of a "typical moderately-afﬂuent person" and then multiplying that value by the whole population of the UK (...)

Here I'd agree with him: we need to find energy sources that will deal with projected future demands.
It sort of ignores the fact that escalators also fail by ripping people apart, maiming or killing them. I'll take the occasional broken back button and crappy contrast.
Apparently the battery life on the 32GB XPS 15 suffers quite a bit. The RAM the are using isn't the low-powered RAM that future Intel chips will support.

My only complaint with Dell's approach of offering the 32GB option is that they don't seem to advertise the fact that it comes with a significant trade-off in terms of battery life. I'm all for "let the users decide," but they should have given the users the information they need to make the choice. As is someone buying an XPS 15 is sort of left with the impression that the 32GB option is a straight-up upgrade.
Hah. You got downvoted for that, of course, because Hacker News.
It is children and pre-teens.
Last year I did an analysis of YouTube videos by mass-scraping as much data as possible. (http://minimaxir.com/2015/06/cars-2/)

I found out that the most-viewed Gaming video...is a random video of the game-of-the-movie Cars 2, due to kid viewership alone. (https://www.youtube.com/watch?v=urHuO7Zbhhw)

(I'd love to look at YouTube data again in light of the recent controversies, but it appears the API limitations have not changed since, which makes data scraping again a major hassle)
Meaningful Exits for Founders
MagSafe 1 and 2.

They are better, but we also have a situation where the only port on an Apple device is proprietary with the latest iPhone.
A vendor can still sue you (for libel I guess?). They just can't put prevent bad reviews with a contract?
I think desktop tools with an easy to version control file format fits better with branch based app development. Use Electron and it's super easy. Automatic updates also
4 Key Insights from Analyzing 5,000+ Cap Tables
I'm not sure what you mean by AT&T deploying secure routers. Do you mean routers as in the devices at the core of their networks? Or as in the customer prem devices? What's the role of sandboxing for either of those devices?

Two challenges with this least-privilege strategy for software security:

1. For single-function devices, like a customer prem device for a cable network, there may not be meaningful privilege boundaries to exploit.

2. As privilege models get more complicated, the risk that privileges may accidentally equate to each other increases. This was an observation Bernstein made of his qmail security model in his retrospective paper.
Only for vi users. Everybody else thinks they're weird.
Uber Denounces Traffic Light Laws After Self-Driving Car Runs Red Light
Have fun trying to convince people to download and run your app.
If I was an elevator designer, they'd accelerate upwards at about .3g and downwards at about .9g (leaving just enough gravity to keep you on the floor).

Acceleration would be continuous.
Ooh thanks for this. I've read THQ at least once before, but am really enjoying reading it again. I really liked this bit, emphasis mine as it relates to our current spectating of a dying ecosystem:

"Unhappily, Zee Prime began collecting interstellar hydrogen out of which to build a small star of his own. If the stars must someday die, at least some could yet be built."
They relaxed the ITAR restrictions on GPS quite a bit a few years ago. The new rules only involve decryption of the precise positioning signals, steerable antennas designed to avoid jamming, and GPS designed as missile guidance technology (ability to deliver 500kg payload at least 300km).

http://www.insidegnss.com/node/4051
As an owner of a Mac Mini from 5 or 6 years ago, I am fairly confident in guessing that this refers to what Apple calls “Mini DisplayPort with Audio”. My Mac Mini can use a Mini DP to HDMI adapter just fine — but it won’t include audio. Newer Mac Minis do support audio over Mini DP.
I don't like the extra parens, but I made an editor shortcut to alleviate that.

Other cases such as redirecting to a file, and changing the line ending are handled much more intuitively with the print function.
Hedge funds are allowed to disclose their performance. About 7,000 of them do.[1] They just don't have to.

[1] http://corporate.morningstar.com/US/asp/subject.aspx?xmlfile...
It's weird how some issues become partisan and others don't. I wonder what made both parties support this? Why can't that happen more often?
Why don't elevators announce the floor they arrive at? Wouldn't that work much better for blind people?
Your post prompted[0] a search for this: https://www.marxists.org/reference/archive/mao/works/red-boo...

Going to give this a read now.

[0]: self-criticism, "Truth-upia", "a little tricky"
>The city's elites may have led the performance to show their political and spiritual power, much the way their European counterparts of the same era were conducting public executions and crusades.

I wish the article laid out more empirical evidence for this rather than resorting to "well the Europeans were doing it, so this must have been what they were also doing!"

> He and Alt were both very opposed to the idea that Cahokia might have been a trade center and called it a mistake to view the city as an economic entity.

Cities are inherently economic entities... Kind of gives the impression that these archaeologists are imposing a bit of their own belief systems. It might be more reflective of the informal writing style than anything else.
I'm pretty sure not everyone in Indian regards the Raj as favorably as your parents. Some people in Jamaica do think the way your parents do, about the British. This is more than colonialism though. This poverty has a lot to do with cold war politics and meddling by world powers. It's surprising, such as small island, why even bother? But this happened in the 70s and 80s. It's well documented, you can read about it.

Education and opportunity would help to eradicate a lot of the crime in Jamaica. First, the younger people needs to see successful Jamaicans in good positions and understand that they got there through education. A lot of kids aspire to be Reggae stars, because they're influenced by the success of Reggae icons. Not many such influences are apparent with well educated Jamaicans. They're not 'stars'.

I think India does well because they put a premium on education and kids that do well are rewarded.
Over a decade of crawling on its belly at the bottom end of the market has really taken a toll on PC hardware and the whole PC ecosystem. The bundling of actual malware with PCs marks what I think is the low point. Dell's XPS machines are starting to climb out of that hole, but it'll take some resolve.
+ cameras + biometric info + more or less all your personal data and passwords
previous discussion of this topic: https://news.ycombinator.com/item?id=13234983
Ask HN: If GPG is so great, then
... then should we be using it instead of things like TrueCrypt/VeraCrypt? What is the point of the dozens of encryption software that we have?
Why is it idiotic? If someone committed a crime, wouldn't him admitting it's wrong a basic requirement for deciding he has reformed?
On that topic, the book 1492 is a pretty good read for anyone curious about the history of the few hundred years surrounding that.
> Im not sure we can fully disentangle the wave-equation for the photon from the equations for the splitters

That doesn't matter. The two sides of the experiment are space-like separated, and the splitters on each side are light-like separated. There is no place the information can possibly be other than in the photons.
It was taught plenty well at my college, Davidson College http://www.davidson.edu/academics/humanities, but I can imagine they did quite a bit better job than most of doing so.

Still reading Adam Smith it is very obvious what he believed. Even if your economics professor were to ignore much of what Smith said (hopefully they wouldn't fail to but in that event...) it would be a pretty poor student that didn't pick up on it.

His 2nd most well know book after Wealth of Nations is called The Theory of Moral Sentiments.
Phabricator's. Weird gaps, missing fields, bizarre unnecessary complexity, incomprehensible structures.