skysight-inc/HackerNews huggingface dataset:
I think that's a good example of how these kinds of static allocations are tricky to get right. With your scheme, you would have hundreds of millions or even billions of actors being idle all day long, and probably a few thousand actors potentially overwhelmed with processing new email every second. You would probably have to go back and decide a new partitioning scheme to avoid this, with maybe cascading consequences in other places.

The pieces are simpler, but you might pay a greater cost in system-level design. In shared state models, you could have a more dynamic approach with a number of worker threads scaling with the number of requests (emails), with the only problem being contention when accessing the same piece of the shared storage, but at least no massive overhead from idle workers. The shared-state layer would be responsible for the locking strategy, and could even potentially optimize the required locking without necessarily changing the worker code, depending on the level of abstraction it offers workers to begin with.
I totally forgot about that! Good point.
Does masonry belong in the CSS Grid specification?
Turn Vim into a VS Code Style IDE with Remote Collaboration
To be fair, some of the US's defense spending sounds like a way to covertly fund "socialist" programs in a way that's politically tolerable. For example, a bunch of weapons programs appear to be driven by the need to artificially create jobs in some precise locations.
Between things like pyspark or using a rdbms you can scale pretty far. Even with other languages like java this is the case. Once your dataset goes beyond a single machine you need some kind of data platform.
The fight over facial recognition technology during the Covid-19 pandemic
Challenging Children
> it's hard to fix mistakes made 25 years ago.

I like PHP, less and less since I started with it in the 90s. Largely because of the current stewardship and syntactical changes. Many languages move forward rapidly. A difference between PHP and, say, Python is that PHP seems to move more slowly to the same end. There are still trivially fixable problems that would qualify as breaking changes. Seems lazy. Instead, we have a bunch of hand wringing because those who make the releases are heavily involved with projects that move slowly out of fear...ostensibly because they have customers they don't want to antagonize. They might jump to another framework or language.
https://system76.com/desktops

If you want something that just works, buy something with Linux preinstalled and supported. If no vendor offers the distro you want, buy from a Linux vendor anyway and install what you want. When people buy Windows hardware then complain that Linux doesn't work it sends the wrong message to the market.
I've been using it since it was introduced. I no longer think about my passwords. Everytime I register in a new website, I just right-click -> generate secure password, it auto-fills and saves it. One password for every website. Yes, they are stored remotely with Firefox Sync.

I just love this browser more and more
Is the JWT plugin usable yet? There are no instructions.
What precisely do you mean by "political"? Aren't there often major political/partisan conflicts about the appointment of justices?
Great first edition! Subscribed!
Eh, I don't really agree with that. All the states really need are a paramilitary branch- the state police, local police, and maybe the local National Guard. You need rough men with guns to stop looting, bandits, etc.- and they'd probably do some bad stuff as well, but I mean that's the most fundamental level of civilization: the guys with guns. Judicial branch is quite a bit further up there on a Maslow-like hierarchy.

Plus the red states mostly grow their own food, which would be pretty huge
Deletion is a form of cache invalidation if you think about it
I will log this as the first appearance (to me) of the "light mode also available" pendulum swing! See you all in a year!
I tried to read through this at least 4 times today, and my brain keeps going between "Woah thats neat!" and "WTF JUST DONT DO THAT!"
We've been looking at this recently as well and have been considering switching to Paddle. It seems to solve all of our sales tax issues (and other challenges like selling in India or the EU in general) in exchange for about double the fees, which in our case seems worth it. Would love to hear anyone's thoughts on Paddle specifically.

I've heard about Quaderno and Taxamo as well, they seem to go on top of Stripe and PayPal, but I haven't looked at them closely and have read that the additional cost ends up being similar.
IOW the "windows" are just labeled in order from left to right, starting with 0 for the leftmost window.
They get more liberal overtime as well. The court is partisan. Even the current. You can look at 5-4 and majority decisions and there are tons of flip flopping by different justices.
Film Izle
bedava film izle, ücretsiz sinema izle, sinema sitesi,film sitesi
I believe that this "window and offset" intuition, while indeed true and useful in the radix-2 ("binary") case, does not cleanly extend to the general case where no hidden bit is used even for non-"subnormal" numbers, and some numbers may thus have multiple representations. This shows up perhaps most clearly in the case of decimal floating point, but ISTR that a non-2 radix was also used in some mainframes.
Well, it's sure great that a random HN user like you vouches for him.
The touchpad on all the HP Zbooks and crappy Dell laptops I've had over the years have all been better than, or at least as good as, Macbook touchpad, for me.

Hell, I even have a low power, super cheap Lenovo laptop (Atom CPU, IIRC), and I much prefer the touchpad on that over my MBP's!

Honestly, it feels like some Apple users almost fetishise over their MB touchpads! I truly don't get it.
Modern Python Developer's Toolkit – PyCon US 2020
(I work at Google on Cloud Storage.)

Developers working with cloud storage APIs generally need to get used to the idea that not everything is going to work all of the time. Retries and proper status code/error handling are critical to making your application work properly in real-world conditions, and as "events" occur. Every major cloud storage provider has circumstances under which developers must retry to create reliable applications; Backblaze is no different. For GCS, we document truncated exponential backoff as the preferred strategy [1].

Google has its Global Service Load Balancer (GSLB) [2], which handles...let's just say an enormous amount of traffic. GSLB is just part of the ecosystem at Google.

It's hard to design a storage system that's "all things to all people"! There are a series of tradeoffs that need to be made. Backblaze optimizes for keeping storage costs as low as possible for large objects. There are other dimensions that customers are willing to pay for.

[1] https://cloud.google.com/storage/docs/exponential-backoff
[2] https://landing.google.com/sre/sre-book/chapters/production-...
I've been up to this recently. None of the maths I've used is very advanced yet. I've mostly been trying to use simple statistical tools like regression analysis as well as possible. I know a few people who have found employed in finance after having done graduate work in stochastic processes, but I'm not sure what the payoff would be for some of the more advanced stuff as a non-institutional trader.
Why Home Prices Are Rising During the Pandemic
I think this a useful question to ask and to hear comments on. I have observed this. Just as I am reading this discussion it gets flagged. :(
As someone who started my career in PHP in 2002 and switched to Rails in 2008, I can say I do not miss PHP. I still maintain my old apps only because of the high pay associated, not because it is joyful. PHP's version of "mature" does not match other modern langs, not even close imho.
In the security bug fixes:

>>> CVE-2020-12387: Use-after-free during worker shutdown

>>> Impact: critical

>>> A race condition when running shutdown code for Web Worker led to a use-after-free vulnerability. This resulted in a potentially exploitable crash.

And:

>>> CVE-2020-12388: Sandbox escape with improperly guarded Access Tokens

>>> Impact: critical

>>> The Firefox content processes did not sufficiently lockdown access control which could result in a sandbox escape. [On Windows]

So a sandbox escape and a way to be in a position to need a sandbox escape.
ALM makes some eurorack modules that are fun to use and sound great. This one provides 4 operator digital FM using ‘new-old-stock’ Yamaha ICs:

https://busycircuits.com/alm011/
Note also that while it probably is a net-win for security to use dynamic linking, it's not 100% a win. I've seen security vulnerabilities introduced because of upgrades to dependencies.
The first thing to notice is that a (not subnormal) floating point number can be compared as such: you look at the exponent bits, and pick the one that has the greater exponent. If they are equal, then look at the mantissa, which is always between 1 and 2, and pick whichever one is larger. Since the exponent comes before the mantissa bits in the bit representation of a floating point number, it has "higher significance" when interpreted in fixed point. If we used two's complement to represent the exponent negative exponents would "look larger" than positive ones, despite them being smaller. But if we used a biased representation, where we shift the range so that there can only be a positive number in that field, and the smaller negative exponents can actually be small and the positive exponents are be larger than those so we can compare them directly.
Is the reason for the flat structure saving space? I know on older games, space is at a premium and referencing files from the root might save some bytes so maybe that's the reason due to shorter file reference names.
Does anyone know if this is something that will benefit Jitsi too?
Honestly I think this is a little bit too abstract.

Imo the answer is that only one mainstream language bothered to emulate MATLAB's plotting API to the best of its ability.
How exactly does this work?
Ask HN: Minimalist Coding Challenge Tool?
I'm trying to setup a super-minimal coding challenge I can invite candidates to: complete this function in ruby, complete this other function in javascript. Under 30 min.

The platform runs the submissions against my tests, and if they pass, I'll review the actual code.

Everything I'm seeing wants to subject candidates to 2hr screenings for a bunch of skills with plagiarism detection and what all, and I just want to give them a quirky little challenge to show that they know what they're doing and have taste.

Any suggestions?
I'm really looking forward to seeing SwiftUI mature. After the initial release of Swift it's the most exciting part of iOS development that I'm looking forward to.
Unfortunately for you, you're in the minority. The Touch Bar is infinitely more useful than unlabelled function keys.
Books With
A lot of the common complaints about PHP are merely echoing the wildly outdated and misinformed "PHP: A fractal of bad design" that has been circulating for the better part of the last decade.

Unfortunately people tend to uncritically repeat whatever it says without actually paying any mind to the facts that, 1) it's 8 years old, 2) it's flat out wrong about a lot of its claims, 3) it's evidently written by a guy who has no idea what PHP is even intended to be.
Any cook should know that a simple volume measurement of salt is useless - eg 1 tbsp of kosher flake salt is way less salt than 1 tbsp table salt
Critical Vulnerability Discovered in Evernote Chrome Extension [Jun 19, Fixed]]
Not the OP, but I think it's the latter (tooling getting better and easier) combined with lower (or close-to-zero) trade execution fees and more widely available information.
A Low-Cost High-Efficiency Integrated Device Toward Solar-Driven Water Splitting
Why do they always comment on gcc not the latest as a bad thing?
The base compiler needs to be stable. Newer releases might be faster and better on edge cases, but also have much more bugs. Many of them serious.

7 is a good choice, 8 might also work. everything since 9 is very experimental. 10 even crashes on the simpliest of my testcases. how fc32 managed this is a miracle.

latest is not always best, mostly worst.
That's a choice though.
>As a result of Guardio’s responsible disclosure, Evernote has patched the vulnerability and a fixed version has been deployed within a few days.
Most of the jargon denotes straightforward definitions. Pick the top-most frequent three terms, e.g. monad, monoid, applicative, write down the definition + a small example on a card, lather rinse repeat a few times and you're golden.

Edit. For example, let's take 'catamorphism'. Read the Wikipedia entry [0] and it's a seemingly never ending jungle of more and more abstract terms. Homomorphism, initial algebra, F-algebra, endomporphism. This easy, let's see what an F-algebra is [1] and we'll be on our way soon. "If C is a category, and F: C → C is an endofunctor of C, then an F-algebra is a tuple (A, α), where A is an object of C and α is a C-morphism F(A) → A.". Oh my God, this is hopeless.

Or, find a good description, with examples [2]. A 'catamorphism' card, abbreviated from [2]:

Catamorphism

A function that “collapses” a recursive type into a new value based on its structure. Visitor pattern.

Define a sum type Gift:

type Book = {title: string; price: decimal}

type Gift =
| Book of Book
| Boxed of Gift

Define a 'description' function over Gift:

let rec description gift =
match gift with
| Book book ->
sprintf "'%s'" book.title
| Boxed innerGift ->
sprintf "%s in a box" (description innerGift)

Parametrize the function, creating a 'catamorphism':

let rec cataGift fBook fBox gift =
match gift with
| Book book ->
fBook book
| Boxed innerGift ->
let innerGiftResult = cataGift fBook fBox innerGift
fBox innerGiftResult

Refactor your 'description' function to use a 'catamorphism':

let descriptionUsingCata gift =
let fBook (book:Book) =
sprintf "'%s'" book.title
let fBox innerText =
sprintf "%s in a box" innerText
// call the catamorphism
cataGift fBook fBox gift

[0] https://en.wikipedia.org/wiki/Catamorphism

[1] https://en.wikipedia.org/wiki/F-algebra

[2] https://fsharpforfunandprofit.com/posts/recursive-types-and-...
Whatever the intentions may have been, it is definitely not the case that OAuth pushes complexity to authorization servers. My audit checklist for OAuth clients is fairly long.
> If you want something that just works, buy something with Linux preinstalled and supported.

System76 is known for simply rebranding cheap Clevo/Sager laptops.

* https://news.ycombinator.com/item?id=17039414

* https://news.ycombinator.com/item?id=17049463
They check against a database similar to https://haveibeenpwned.com/
We'll just have to agree to disagree. The experience was great on Macs before then but it was still a dramatic difference when this change happened because we got additional gestures, much more precise tracking, and a larger surface area with less friction than the previous models.
Why do you think "not-even-FullHD" is an issue if it passes the benchmark of not being able to see individual pixels? Higher resolutions than that aren't just pointless, they're counterproductive.
Am I just the minority who finds touchpad on my GNU/Linux system reasonably functional and bug-free?

With a tool like Fusumu (https://github.com/iberianpig/fusuma) I am using three finger and four finger gestures just fine!
The Firefox password manager now tells you when you use leaked passwords
An example is ARM systems including an ETM component that supports data tracing. You connect an external trace probe, usually via JTAG, to receive the trace events. This technique usually uses read/write and control-flow state for reconstruction. This has the advantage of not requiring a recording from the beginning to reconstruct since you can correctly work backward from the final state, but requires higher data bandwidth and storage.
I'm using it, it seems to work fine, and works/syncs on mobile as well (mobile Firefox that is, not for other apps AFAIK), and on my work computer's Firefox instance. I seem to recall attempting to change my Firefox sync password once and it notified my that I would need to export and re-import the passwords (IIRC), which I took to mean they are careful to never get full access to them unencrypted on their side. While less convenient, I like how that's set up if it's how I think it is.

For every device I have logged in with Firefox sync it just works as you would expect.
I personally prefer the physical buttons.

On my MBP, it really feels like I have to press with far too much force to get it to "click" (which isn't great given I suffer from nerve damage, but I felt the same about the trackpad even before that). By comparison, I just make a "purposeful", light tap on any other trackpad.
Uber CEO Says Layoff Decision to Be Announced Within Two Weeks
>If those states don't get federal funds, they will not be able to have a functioning judicial branch

Your phrase "GDP draining" probably refers to the fact that some states receive more in federal services than their population pays in federal taxes, which has nothing to do with whether such a state will be able to continue to fund and administer its own "state" court.

Most matters, e.g., most murder trials, are adjudicated in the 50 state courts, not in the US federal court. When OJ Simpson was put on trial for the murders of Ron Goldman and Nichole Brown Simpson, for example, he was put on trial in a state court.
Curious if you have used your foundational data infra for trading live? Were you able to beat a benchmark (e.g., beta-adjusted index returns?)

I'm asking because I've used semi-pro and pro infra (paid services) and it was hard to get consistent returns. It was easy to get returns, but rarely beyond, say, S&P 500 returns (at which point, I might as well just invest in the S&P 500 index.)
The Small Business Nightmare
Forecasting the impact of Covid-19 using an epidemiological model
I also disliked it. Both of them actually.

For story 1, the expected value of game 2 is like $100,000. A kid might not be able to calculate it, but it's obviously a good deal. So obvious that, when the bad part of the story is that other people think you're dumb, it just comes across that your detractors are then dumb ones because it's obviously a good decision. It's awkwardly trying to mix a lesson about shrugging off irrelevant social consequences with a lesson about expected outcome being different than the most likely outcome.

Story 2... I just don't think the premise is all that interesting. As a former high school track captain who didn't work all that hard to get there, I'd think it was vastly more impressive to give a speech at the United Nations. The lesson is fine, but the reasoning feels weak.
Call me back after Ramadan is over in PK.
My understanding about the smoothness of the animations in MacOS is that the animations interpolate along the gesture, versus being triggered only when the gesture is considered complete and thus registered.
If you don't understand assembler then you don't understand how a computer works. C is a higher level language which just happen to be more primitive than most.

Knowing C is fine, but thinking C is somehow "the real world" is dangerous, since then you don't understand that the abstractions in C (like pointers or the stack) are just design choices with certain trade-off and that alternatives are possible.

Are you suggesting someone who knows say Haskell but not C is not able to debug their own programs?
What are some good fundamental data providers for small-time amateur investors (non-professionals)? I am looking for 1. US + international stocks 2. deep history of all historical accounting records (15+ years) 3. api, ideally with python examples

So far I have only found https://eodhistoricaldata.com and haven't tested them yet, is there anything better?
It's possible, but they're trying to hire some public-facing k8s engineers which makes me believe there is actually some veracity to that PAAS claim. If they're going to offer an "Apple Cloud" or something they're going to need public facing (conferences etc) engineers to convince other engineers to use the product.

On the flip side I thought this was all a complete joke and a goofy rumor and would never happen until the last month where I saw a good portion of my twitter peers (k8s architects) talking about going to Apple, but as you said it could be for internal systems.

I mean, honestly, I still think it's a pie in the sky rumor but maybe a little birdie will chirp.
My first programming experience was QBASIC. Even if it's not a good programming pattern, I think GOTO is a great way to let a novice programmer "discover" the idea of loops and functions for themselves. Although it's error prone, it's still very intuitive for someone with no programming background.
Nicotine: On the benefits and lack of demerits of nicotine (research up to 2015)
The Art of Doing Science and Engineering
I use both MBP and other trackpad regularly, and respectfully disagree. I actually prefer non-Apple trackpads, and physical trackpad buttons.
Not at all. For instance, if I publish code on github without a license, it remains proprietary / all rights reserved.
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locally in memory. If the editing process is remote, every edit you make is going to involve round trips over the network? That sounds awful?
https://www.gwern.net/Nicotine
Well that just isn't true. The only reason Python is remotely even usable in this context is because it's merely a wrapper around C the vast majority of the time. Language definitely matters.
How long until web sites start offering Frequent Scroller Miles?
+1 on dask-distributed. I'm surprised they dont get more coverage/discussion in the industry! Why do you think they are so overlooked?
Get it on foreign embassy employees, and then if it shows up on one of your staff, you'll know they talked to that foreign embassy.