skysight-inc/HackerNews huggingface dataset:
> GPU exceptions usually create interrupts in the controlling CPU, for example, rather than being handled within the GPU

I would say that's out of date. GPU exceptions typically don't exist for most shader code (unmapped memory loads are just RAZ, division by zero is defined and doesn't trap, etc.). For the ones that do exist, they're typically handled on GPU these days for latency reasons, but that's just a config register to route it externally or not.'

> Timer interrupts are usually deferrable.

I didn't say they weren't. Just like SIGALRM can be masked.

> The Cell. Is it totally gone now? (If they'd had, say, 16MB/SPE instead of 256K, it might have been good for something.)

16MB would have never made sense. You're only supposed to keep the working set in memory, and 64x the amount of memory was never in the cards from a gate count perspective.
You could try a Fermi approximation:

There are 10 billion people * 100 uC chips / person * 10 years of life / uC chip * 10^13 microseconds / year * 1 clock cycle / microsecond = ~10^26 clock cycles
Apple Watch Ejects Water with Speakers
I have thought about this a bit in the past, and I think the answer is that the AST for a given blob of text can be different depending on which version of the language you interpret it with. consider 'print "foo"' in python 2.7:

Python 2.7.15 (default, Feb 14 2019, 16:26:56)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.10.44.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.dump(ast.parse('print "foo"'))
"Module(body=[Print(dest=None, values=[Str(s='foo')], nl=True)])"

but in python 3.7:

Python 3.7.2 (default, Feb 14 2019, 16:12:42)
[Clang 10.0.0 (clang-1000.10.44.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.parse('print "foo"')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/philsnow/.pyenv/versions/3.7.2/lib/python3.7/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
print "foo"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("foo")?

nothing changed in the text, but the AST is different. What should get committed to this hypothetical "git-ast"?

The answer probably lies in creating a different abstraction , different building blocks. In git we have bytes -> blobs -> trees -> commits, where the bytes of a given file get annotated with a file name (and mode bits etc etc, gross posix things) by the tree object.

In git-ast, maybe the abstraction is bytes -> lexemes (which annotates the bytes with a language version, and thus lexer version) -> tree? I haven't gone down the thought experiment that far.
We Need Better Masks
The problem with campaign finance isn't that there's nothing there, it's that everything is there. "Money is speech" isn't a law of the United States, it's a law of physics. Money buys staff and billboards and newspapers and TV stations. Fox News works for the Republicans and CNN works for the Democrats even if neither of them donate a dollar to anybody's campaign. Google can put a banner on google.com that will be seen by the whole world.

Counting influence only when it's in cash and not in kind only makes the asymmetry worse. It transfers influence from millionaires who can "only" afford advertising to billionaires who own the media outlets themselves and gain airtime for themselves by not selling it to someone else. But counting third party speech as a political donation because it benefits a political campaign is intractable.

The easier problem to solve is to fix the voting system, because there is an uncontroversial and straight forward solution. Switch to range voting or approval voting, which dismantles the two party system. Then, when there are twelve parties in Congress, it's much harder to buy elections with money or airtime because the election winner's original chance of winning was 8% instead of 50%, which makes it much easier to waste your money on a loser and thereby reduces the payoff from spending it that way.
Your next laptop will be a personal computer?
> with the browser vendors working together to be compatible with each other

The one with the greatest market share is incentivized to the contrary in order to cement their position.
Really smart from Mozilla; they leverage trust in their brand with a product for which trust is the most important feature. Making a VPN is a non-trivial technology project, but it's pretty straightforward how to do it well.
There's the classic, Protein Data Bank. A number of people in the field saw it as a moral imperative. It's interesting how open different disciplines are to openness
lint for C has existed in one form or another for 42 years.

https://en.wikipedia.org/wiki/Lint_(software)
I’d love to use a search engine that simply didn’t index websites with moderate or excessive amounts of JavaScript, images, and video.

You wouldn’t need AMP because it would load quickly, ads would be minimal, and the text content would probably be forced to be higher quality because it would have to stand on its own.

Does such a thing exist?
There's a difference, because you are given a number of RSUs at hire with some monetary value, so on this example you would be given RSUs worth of 800k at the time of hire, which would be 200k per year (they vest over 4 years). If we run this example just for 2 years you will start to see the difference:

Year 1:
At Netflix you get 400k in cash, you buy 200k of FB stock, so you have 200k cash, 200k worth of FB stock
At FB you get 200k of cash and 200K worth of stock

Year 2 - FB stock goes up by 10% so 200k of FB stock from last year is now worth 220k:
At Netflix you got another 400k in cash and you will buy another 200k worth of FB stock. So now you have 400k of cash and 420k worth of FB stock
At FB you get 200k of cash and 220k of FB stock, so now you have 400k of cash and 440k of FB stock.

Also RSUs vests quarterly so you can (and should) sell it and invest in other things to diversify.
It was flat, until the Elves receded to the West, then it became round.
You cannot connect to the internet without an IP address. However, ZudVPN servers are disposable. This means that you can always destroy the server and create another VPN with completely new IP address that is assigned by cloud providers.
You can't post like that here. We've re-banned this account.
The talks, the slides, the write ups are great. I hadn't known about this till someone here on HN made mention of it. Definitely recommend at least watching / listening to a video of him doing the presentation on YouTube.
No-Code Analytics Tag Setup for Google Tag Manager
Raptor is a platform that allows people to setup UA (Google Analytics) and Facebook Pixel tags on their site and deploy them to Google Tag Manager without the need to know/do any code. Checkout our demo on youtube: https://youtu.be/SX30JP3i75A

We think it's at least 15x quicker than the alternative, which would be to scan your website code, determine which CSS/id/class to latch onto and then create all of the tags/triggers and variables in Google Tag Manager manually.

We're currently in beta, if this sounds like something that can help out your flow let us know and get access here: https://forms.gle/GkNyVbYM9az8WthS6
I guess it depends on how you define "exploit." I'd personally consider bypassing the sandbox an exploit, even though it's not a full chain.
It would be interesting to understand better how shortages came about. Was there enough time for a global price rise to have filtered through to retail customers?

Or was there enough retail panic-buying to generate shortages? If everybody with a prescription tried to buy 3 months worth, because they are scared of shortages, then I bet there would be shortages. (Isn't that exactly what happened with toilet paper?)
> Just to clarify my understanding, none of this is free though, right? If I understand correctly, every WASI will have to be maintained to achieve and preserve feature parity as new features are added to the language or, in the worst case, a breaking change is introduced.

WASI is versioned by namespace, which is just a prefix for the modules; so v1 and v2 of WASI may in theory actually have nothing in common so the runtime needs to support that particular version of the interface.

e.g; a module compiled today with only the MVP WebAssembly features targeting wasi_snapshot_preview1 (the current version) today should continue to run just fine as long as the runtime doesn't drop support for that version of WASI.

Features in WebAssembly itself do not necessarily require a rewrite, at-least in the current specification but it depends what happens going forward.

> This may be a naive question, but this is also only for server-side code, right? Would you be making these kinds of syscalls in code you deploy to the client? Forgive me, I'm not entirely up to speed on webasm.

Browsers too; e.g a browser game or app can use standard library i/o which calls into WASI; altho my web-wasi implementation is not up to par at the moment as I'm waiting for the outcome of a proposal Emscripten's kripken put out on how to deal with async/await in browsers.
> Even in Portugal he wasn't that well known, not until he was voted 3rd Greatest Portuguese(TM) some years ago

That doesn't sound coherent at all.
I think that's where commercial programs make their money--in phase identification. JADE comes to mind
> Apple is violating antitrust laws by forcing companies to use Apple Pay

Just to be clear, afaik there has not been a ruling so far that asserts this, so all you can say is that in your opinion they are in breach of anti trust, but they have not actually been found to be guilty of that yet.
Much like the UFO stuff, they'll just claim it's a multi-national conspiracy, and ignore the problem of motivation.

I kind of wish these vast multi-national conspiracies that can cover up important world events, and maintain the secret for decade after decade existed. Who wouldn't want to work for such an organized, well funded, and culturally diverse organization?
Why does this post have so many commenters conflating lint & friends with code formatting tools?
There is certainly pros to having cash as pointed out. The appreciation of stock though can be a benefit in that your 200k is still going to be 200k next year, while the 200k of RSU could be worth say 300k. So second (and third and forth) year you get 300k a year worth of RSUs, while still 200k worth of cash. So while yes first year of RSUs vs stocks you buy appreciates the same, subsequent years RSUs are worth more (if it keeps going up) because the # of shares granted is locked in. Of course the inverse is also true, if the stock price falls, the # of shares granted is still locked and the value drops.
I wonder if DHH will give up his iPhone
Snap spent an awful lot of money on the facial recognition tech they acquired. I’d imagine the investment was somewhat worth it even it only slowed down competitors time to market.
Any new google will become the current google because it will be gamed. I agree with the parent poster about hand-curated directories being the key to finding better stuff. It's necessarily much more distributed - because one person can't index everything - and therefore much harder to algorithmically game.

Google has conditioned us into thinking that "an algorithm that automagically separates the wheat from the chaff" is the only way to do things. It worked for them for a while, but the adversarial forces of marketing, spam, malware, etc are very creative and fast-moving, and that's a lot for an algorithm to try to constantly reckon-with, so best case it'll probably stay a stalemate.

But that's not the only way things can be.
Those articles are about expensive lawsuits fighting over the meaning of the contract. So they are almost worthless at their single function, which is to form an agreement.
This makes no sense. The person was 20 years old meaning he was an adult. It is his fault for not researching before investing. It’s his fault he was in such a financial hole. It is his fault he decided to take the desperate action of killing himself. This is what the Darwin awards are for.
I stand corrected. I kind of knew that since I've been struggling with identity and access control on a home network, and have been trying to muddle through so far without setting up kerberos. I know there are people who have no trouble setting this stuff up, but I'm not one of them.
Nice course. Looks like good, practical material for people who want to dive in.

Side note, this example made me pause and be grateful that I'm no longer professionally writing in python as much as I used to be:

@shares.setter
def shares(self, value):
if not isinstance(value, int):
raise TypeError('Expected int')
self._shares = value

I programmed python for about 6 years. Now I've switched to Java and Go and really don't miss having to type-check things manually. Static-typed languages have too many benefits right off the bat. You can (mostly) avoid all of these types of checks.

I still use python if I'm doing prototyping, exploring APIs or ideas, etc. But I try not to roll it into production unless it's an inconsequential program.
Ah, didn't know that part, that's very good to learn. Thanks!

edit: ah, EFS access points are general and you can mount them from EC2 instances ? MUCH better.
The materials project has experimental and theoretical structures. On the experimental side, how does it compare to ICSD? How up to date is it in comparison? I love the API for the materials project!
In my company, micro-front ends was appreciated by the development teams involved. It seemed to reduce problems with delivery to production, probably because of splitting up our tests (which were too slow). It is worth noting that we introduced micro-front ends along with a change to the philosophy of the product and also a change to the technology. So our front-ends might be better described as separate applications that happen to be presented to users within a seamless shell.
The comment you edited is probably ok except for "taken in by people giving them saccharine messages", but I would say that https://news.ycombinator.com/item?id=23563745 breaks the site guidelines about calling names, shallow dismissals, and generic tangents.

You can't give precise definitions to any of the terms in the guidelines and it would be a huge mistake to try. All that an attempted formalization would do is create loopholes to be exploited, and then make moderation harder because people would excuse themselves with "it's technically not against the rules". The rules aren't technical. HN is a spirit-of-the-law place, not a letter-of-the-law place: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu.... Here's a version of this point from 6 years ago: https://news.ycombinator.com/item?id=7606756

In practice there is an easily observable difference between how people use the site for curious conversation and how they use it for political/ideological battle. The former goes with openness, respect, and exchange of information. The latter goes with being aggressive and wanting to defeat, not hear, the other side. The former produces comments that are unpredictable and fresh; the latter produces comments that are repetitive and nasty.
Today Driverbase turns 2 years old!

To celebrate this milestone our team is excited to announce that we will begin deploying our vehicle recommendation engine to dealer websites starting in July 2020.

We look forward to helping our dealers deliver a personalized online search experience to their dealership website audience.

Thanks to our team, drivers, dealers and partners for supporting us as we make the transition from startup to growth stage venture.

“84% of customers say the experience a company provides is as important as its products or services” – IBM Services

“35% of Amazon.com’s revenue is generated by its recommendation engine.” – McKinsey & Company

Try the demo
https://driverbase.com/recommendation/step1
If it was that easy, someone would be able to do it.

Instead every algorithmic content delivery platform, from Google to Twitter to Youtube to Facebook, is constantly chasing just to keep from being underwater against the spammers.
You seem to be saying that renewables require improvement just due to the scale of the problem. But once renewables are sufficiently cheap, or once CO2 taxes cause fossil fuels to reflect their true cost, all that's required is just building more of them. This is a matter of scaling up, not improving the product, although improvement will almost certainly also occur, due to experience effects if nothing else.

That renewables are still a fairly small percentage of global energy demand is a good thing. It means that these experience effects still have room to kick in. Extrapolating the demonstrated experience curve gives that resistive heat from PV will be cheaper than heat from burning any form of fossil fuel, by the time PV has expanded fully.

The investment required to go 100% renewable will be many trillions of dollars. But the world GDP is $87 trillion, and the world spends about 10% of that on energy each year. There is enormous capacity to invest in energy infrastructure -- which is good, because enormous investment will be needed, regardless of what that infrastructure is.
That's likely a firmware bug in the monitor. It probably reports some ridiculously small resolution during its boot process and macOS queries it that time and rearranges the windows accordingly.
macOS could implement workarounds of course, but probably it just follows the process whatever the display id protocol prescribes...
Flash take: huh cute, these students wrote a paper formalizing something so simple I can have opinions about it

After browsing paper: holy cow that's awesome, where do these rocket scientists get their crazy ideas and when can we have it in Postgres

tl;dr: its basically a compression algorithm that produces a compressed stream whose sort order matches the sort order of the original uncompressed data

Minor complaint about the paper itself: all the datasets they picked can be expected to have very high redundancy. Would be nice to have included one approaching-random collection
or wget, since rsync doesn't work with HTTP.
Catholic philosophy actually has quite a bit to say about this. Generally, the question is framed as, "When can it be OK to cooperate with evil?"

The Archdiocese of Philadelphia has this little flow chart that does not go into much detail -- it's no substitute for the texts upon texts that seriously examine the question -- but gives you a taste of the moral calculations involved:

http://archphila.org/HHS/pdf/CoopEvilChart.pdf
I'd just skip the "when" and end up with lot's of different folders full of almost-identical ansible scripts lol...I've gone so far as to archive playbooks and banish them from the production folder just to lower the terror factor :D

But YES, ansible is amazing! all the simplicity of ssh and no leftover muppet agents plotting against ya!
I respect your experience, but that does not match up with what I've seen, and what I've seen by proxy networking with other developers in my area. I do personally think simplicity is a virtue. I always try to collaborate with our business team to deliver only what is needed, in the most straightforward way. But if the customer needs a 20 field form, with logical dependencies and validation between fields, as well as an interface for searching/filtering/editing entries, there is only so much that can be simplified. And yes I know all of that can be done with vanilla JS, but I've done it both ways and I prefer the framework.
Visual Explanation of SAML Authentication
Australian here, so sorry if this is a stupid question. I read PTO as paid time off. Does this include public holidays (e.g Christmas, New Years, etc) or is PTO excluding those?

In Australia, we get roughly 10 public holidays per year (depending on the state) plus 28 days of "annual leave" which is usually called PTO here (and an additional 10 days of sick leave, which usually isn't counted since it's not paid out if you leave the company).
Project Insanity have been going to work at running Linux phone OS on the iPhone. Early days/long shot etc. but worth keeping an eye on.

https://blog.project-insanity.org/2020/04/16/running-postmar...
PineTime doesn't run Linux But that's OK
In practice, you’re almost certainly not getting faster netflix or youtube by adding an extra VPN into the congestion path. There are some weird edge cases where particular peering agreements and anycast routing quirks leave some exceptions to that, but I highly doubt a non-negligible amount of users are actually seeing a consistent speed increase on a VPN, and the vast majority would definitely see a decrease. That VPN is doing more to interfere with traffic than an ISP is.

As for tracking you and selling your data, I trust my ISP to behave better in that regard than I do some shady VPN provider. And I don’t even trust my IP that much.
« First, no phone support. Hardly acceptable when even Google has this. »

...you can reach Google over the phone?
thank you Dabeaz !
How do you estimate the (non-)fairness of a distribution channel?
> My theory is that the high barrier to entry

I have the same feelings about social media. It used to be that you only had to listen to your stupid Uncle at Thanksgiving. Now he constantly spews his garbage on Facebook
Of course not. The article doesn't specify what is being counted, but Media Matters was clearly counting something.

And like any counter, it's bound to pass 88 on the way to however many versions/targetings/updates/campaigns/whatever the campaign had planned to run.
The GDPR has been a subject of constant dispute since it was born. Not a great example.
I haven't been to SF in 3 months, but most of the places we tend to go have pretty good mask compliance. The one exception is this one particular Pac-n-Save that obviously doesn't give a shit. We observed employees without masks, a security guard without one, and one guy who walked in with a headband over his nose. Needless to say, we reported that to the local PD and health department.
I hope you find your friend.
Idle+Talalay+Mattress+20%+Off
It looks as if it's a full-fledge book, rather than just a document:

https://www.americamagazine.org/politics-society/2020/06/18/...

Typically, if it were just a statement or a smaller document (or a papal encyclical), there would be a form of it -- in at least one language, not necessarily English -- available online almost immediately. The fact that news organizations reporting about it don't link to the text makes me think it's not available online.
Ive seen heaps of autoformatters dirty up version control. Mostly when theyre fussing about new lines. I kind of wish autoformatters would just ignore new lines and focus on indentation alone. It would certainly cut down on the over zealous rules.

I also think formatting should be separate from linting but because they both require a parser people seem to think theyre the same thing.
Micro-front ends sound like a bad idea, and exactly like the sort of thing our architects would think is a good idea. Does anybody know of any horror story blog posts so I can show my manager, just in case?
Not really. At least that wasn't my intention to say that. Most of the time, I find Black does a Good Enough Job(tm) that I don't care to mess with it.
> Is the implication that they should operate differently or be held to a different standard than Spotify?

Currently this is the case. Apple Music is held to a different set of rules and standards than Spotify.

When Apple Music wants to collect their customer's money from within the Apple Music app, they can do this practically for free - they don't need to forfit 30% of their revenue of that sale to another party.

When Spotify wants to collect their customer's money from within the Spotify app, they cannot without having to forfit 30% of their revenue.

Apple Music gets to play by different rules and is not held to the same standard as everyone alse on the App Store.