skysight-inc/HackerNews huggingface dataset:
> the law of large numbers applied to quadrillions and quadrillions of atoms and essentially uncountable numbers of interactions between them yields a large likelihood for even very unlikely independent events

It’s not so simple. If something is extremely unlikely but also has many chances to occur, the probability of the thing occurring is a very large number divided by another very large number. In these cases, it’s not always clear if the resulting probability will be high or low.

Just stating that there are quadrillions of potential interactions is meaningless if the chances of any one forming something useful can range from one in a billion to one in a quadrillion quadrillion quadrillion. Much like zero divided by zero (or in this case infinity divided by infinity) the overall probability is pretty much undefined.
When “easy mode” isn’t enough: An analysis of unclear lessons in video games
Unfit for Office
It’s all speculation but I wouldn’t be so sure about some negative press killing Libra. Thinking of another large platform where an algorithm determined a driver safe and then they perform a sexual assault on one of their passengers, it gets tons of press, still has millions of users...
Example: https://money.cnn.com/2018/04/30/technology/uber-driver-sexu...
E-ink tattoos are as real as my girlfriend.
I am quite happy with xmpp being unpopular, as it means governmental pressure against E2E encryption will most likely never reach this place.
My take: good jobs are not even posted anywhere, they are given to friends and acquaintances. Bad jobs remain open long enough that a recruiter is called.
Python uses Karatsuba multiplication for its long integers. This works very well for not too big long integers but when they get huge using the GMPy module is much quicker.

If you want to see a practical demo of that when calculating pi see:
https://www.craig-wood.com/nick/articles/pi-chudnovsky/
The full anecdote as told by Hardy is

> I remember once going to see him when he was ill at Putney. I had ridden in taxi cab number 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. “No,” Ramanujan replied, “it is a very interesting number; it is the smallest number expressible as the sum of two cubes in two different ways.
Flat structure morphs into shape of a human face when temperature changes
Winning a deal with totalitarian china is not a long term win.
That post yesterday : https://news.ycombinator.com/item?id=21147865 shows a side channel attack on smartcards. In the links we can see the FIPS140-compliant affected hardwares. Maybe it contributes to show that FIPS140-02 is not as much a reference than it used to be?
Don't forget the New York Times:
https://www.nytimes.com/2019/05/26/us/politics/ufo-sightings...
https://www.nytimes.com/2019/09/26/science/tom-delonge-ufo-r...
https://www.nytimes.com/2019/05/26/us/politics/ufo-sightings...
https://www.nytimes.com/2017/12/18/insider/secret-pentagon-u...
https://www.nytimes.com/2017/12/16/us/politics/pentagon-prog...

and CNN: https://www.youtube.com/watch?v=60ZJQ4I7_3M

and Michio Kaku:
https://facebook.com/michiokaku/
https://www.youtube.com/watch?v=nWEhY5NzaBQ

and Vice: https://www.youtube.com/watch?v=VqdOXfuzDIw

and The Hill: https://thehill.com/homenews/house/460334-top-homeland-secur...

and Politico:
https://www.politico.com/story/2019/09/06/navy-withholding-u...
https://www.politico.com/story/2019/04/23/us-navy-guidelines...

and The Washington Post: https://www.washingtonpost.com/national-security/2019/09/18/...

This is all over the mainstream media, so I'm taking this news seriously.
It's also ironic that the community fixing something for a security issue isn't going to help much since almost all the users rely on the app stores (Play Store in this case, since it seems like this is Android specific) for updates and wouldn't get any fixes unless they're tech savvy or until the developer (Signal) pushes the update to the Play Store and Google approves it.
That's still the case on intracity transit throughout most of Switzerland. Intercity trains are nearly always checked though.

I think it's able to work because the fines are seen as high (90, 130, 160 CHF for the 1st, 2nd and 3rd violations and at some point they can force you to buy an annual pass) and because not paying the fines isn't really a viable option in Switzerland (they'll go into a debt register which is checked for a variety of reasons, it's kinda like the replacement for a credit report).
In linear time was the key part.
Why do lawyers need approval to stop representing a client? Isn't this essentially slavery if the courts decide so?
Apple started selling 64 bit machines in 2005 and supported it in the operating system with Leopard: http://theocacao.com/document.page/343

There weren’t many 32 bit only Intel based Macs.

This complaint says far more about the developer than Apple.
That is true. Then you get a recruiter that knows what they are doing only to be met by a company that has no clue what the fuck they're doing. Me and recruiter left confused.
I'm looking at doing desktop apps for my latest project. It's not simple.

It used to be simpler, although fragmented. There wasn't one tech for all targets, but there was at least one tech for each platform that did a good job.

How come writing a desktop application is harder now than it was 20 years ago?
Satellite service has, in the past, failed at local TV - but most folks view that as a cable replacement.

And like others have said, people are using Netflix to replace cable - and as such, it is a cable replacement. It isn't difficult to get some live news from major services (BBC, for example) or get some local news from local sources. I don't know much about sports as I've never really watched them - but I know in some places, you need a fairly special cable package to have good access and that sometimes, a disagreement between the networks and the cable company will keep them from you. Using sports as a marker seems pretty flimsy.
Show HN: Elegant Converter
Why you can't just have all user profile data(cookies, local storage, browser history, etc) homed in a temporary folder that is deleted upon exit?
This has nothing to do with your skills, and everything to do with the way recruiters are paid.

Recruiters are paid to find employees, and get a percentage of their yearly salary when they make a placement.

In contrast, agencies and contractors are completely different. It’s normally the job of the agency to find clients, they are not found by recruiters. If youre getting paid $100/hr, it’s likely your agency is charging $200/hr. That may seem unfair, but it’s likely they spent a ton of time and energy trying to find a client who values your work. That extra money supports those client development activities.

In many ways contractors/agencies are competing against full time recruiters. I wouldn’t expect them to be your friend.
If the distribution of A and B is uniform, the probability that C from this proper distribution is between A and B is zero.

If the distribution of A and B is also a proper distribution the probability that C is between them is positive. But then the distribution of A and B has a middle point such that 50% of the numbers are above and 50% below and the problem is trivial.
This is not a place do discuss biblical topics, but I really do hope you see the difference between the slavery from the ancient times and the slavery as it was practized in 19th century... If not, please educate yourself, not with the Bible, but just read historical books on history of Izrael and later Europe.
I would definitely use it more if it played nicer having it's DB on a nfs share.

Although I don't know the underlying cause so it may be infeasible.
The first response sums it up nicely:

> The people I hear complaining about this are those who, like you, didn't move to Cocoa. Carbon was a _temporary_ transition API*. It was necessary when Mac OS X shipped in March 2001, but even though it wasn't yet formally deprecated, it was clear it would be.

- https://lists.apple.com/archives/cocoa-dev/2019/Oct/msg00021...
You can write messy anything. C, C++, C#, I’ve seen tire fires in all three.

Messy code is due to the programmer not the language. The idea that you can magically be a better programmer without spending time on learning and improving because you chose “a superior language” is silly.

Also we should be having this discussion in Latin. English is messy, you can write messy messages in English.
I speculate that many, if not most, of the abstentions were whites who were there to help, but in light of the organization's goal of increasing black power, wanted on this occasion to cede power to black members. I highly doubt that they "didn't care".
Very correct, bad results or user experience would unfortunately not have any effect if it is not a systemic problem that the great mass of users experiences. Google services also are still successful and used by billions even though google has a track record of terminating accounts at random...
> much-improved memory utilization between multiple memory cgroups

There will be no improvement if I don't use memory cgroups, which means it's not related to a typical desktop or server without containers. But still good news, the use of containers can only expand.
Communist party owned paper. Have you heard any story about actual hurt other than by the police. There is no truth in it.
Would you say that the value of the infinite sum 1/2 + 1/4 + 1/8 + ... is 1 or that it is an unknown number?

The probability that a random number uniformly drawn from the real line is between 42 and 43 is zero in the same way that “the probability that a random real number selected uniformly from the interval [0 1] is pi/4” is zero.
Fyi, a simple microcontroller like stm32 which is like 3$ can push gpio at 25mhz reliably.
I think it's a design choice. Ignoring types lets you focus on other features, in case of SQLite, things like crash resistance and reliability.

In other words, typechecking is also a cost for language designer.

Even SQL itself has not particularly strong type system. Perhaps you're looking for something else entirely.
Maybe we're talking about 2 different things here; to build for iOS, you need Xcode, and for Xcode you need MacOS and a dev subscription.
> You can write messy anything. C, C++, C#, I’ve seen tire fires in all three.

Come on, please. Of course you can write a steaming pile of trash in any programming language, but some languages allow you to do that more easily than others.

Comparing languages based on their absolute worst examples isn’t really a comparison at all.
That sounds like an excellent start for a wavetable based synthesizer.
they are limiting the relationship between Facebook as a corporate entity and Libra, at least on paper.

On paper, by insistence of the regulators, as a condition of acquiring it, there is a limit on their relationships with Instagram too...
I would be using Sqlite a lot more if it had a decimal type for monetary calculations.
Cross-platform toolkits have much nicer and sane APIs compared to native SDKs. Even if I wanted to target the single specific platform, I'd still pick wxWidgets or Qt Widgets over Win32 or Cocoa.
It is now pretty clear that those financial institution joined Libra only because they saw it as a threatening competitor in the space. Now that they think that the project is unlikely to be implemented due to strong opposition from govt, they are leaving. I believe they are doing a big mistake, and that Libra will still be successful.
I theorize that there are two factors: First glaciers are efficient at gnawing at mountains, and second rock is brittle therefore mountains tend to set in the timespans of millenia even if there are no landslides. The second one might be the one that is unpredictable.

In Switzerland there's a tiny town, Brinzauls, which is setting as a whole together with the slope it sits on about three or six feet a year, because in the depth of a few hundred feet there's water flowing through the cracks of the bedrock. There are plans to bore a tunnel along the water-carrying stratum to drain it to stop the movement downwards.

This is just an example of one of the many things that might happen to crop down mountains.

The setting movement is unpredictable because it also depends on the climate. In oceanic climates water could quite literally be dissolving mountains from below.
Can’t wait to be told to implement some of these for my next whiteboard interview
You're comparing oranges to apples here. I really don't see how Facebook potentially refusing access to their platforms for obscures reasons can be compared to an employee of a platform committing sexual assault.
Alibaba's Oceanbase tops TPC database ranking
Did work at one for a few years, a better name would be WeTalkAboutWork.
My statement was definitely a reach, but I think there is a bunch of space in the life of an early startup for lack of highly available services. I've found startups to prioritize time-to-market (or time to PoC) over technical purity -- there's usually lots of unplanned outages early on that often have nothing to do with the database or are a result of bad application code/misunderstood requirements as well, so I'm not fully buying the availability emphasis, but a few things that I think could counteract it:

- I'm not sure I agree that the delay of the blocking write from a migration is so long as to cause significant (if any) damage to the business.

- If SQLite makes development and deployment easier (I think it does), this becomes a tradeoff between a deployment downtime/partial operation window likely on the order of milliseconds and hours of time spent setting up/managing the alternatives. With really robust systems like Postgres out there this is a pretty weak argument on my part, but there is at least something there.

- As I've also mentioned elsewhere, a high read-to-write workload would be less affected by this problem. If your startup produces aggregated business analytics dashboards for manufacturing plant stakeholders for example, your data set could be completely static.

- WAL mode[0] improves SQLite's resiliency to concurrent readers/writers.

- In the extreme case, you could treat SQLite as a hybrid row & JSON document store, and manage your own schemas (I do not endorse this approach), but you'd still be saving some time because you can do stuff like make use of SQLite's FTS search features, and you'd have access to other relational features that you might not get with other document stores.

All this said, SQLite is not for lots of concurrent writers, and they so themselves[1], but I think it can absolutely be done. More to the point, I think that SQLite can help you get something out and easily deployable, and is not hard to move off of later.

[0]: https://sqlite.org/wal.html

[1]: https://www.sqlite.org/whentouse.html
Can't find the exact location on google maps. But my guess is that there is a tram stop right next to where the person is standing. The fact that the tram blocks the cars is a good thing because it lets people get out without having to worry about getting run over by cars. This would be just one of many ways how tram stops are laid out along the streets. There are many factors that decide how they are built. Perhaps there was not enough space to construct a tram stop, two roads, and two tracks at the same location.
I hear and also feel the pain. I've been doing multi-platform app development since the 90's, and keeping up with Apple is starting to feel like a fools game - the work one has to do, just to stay on the platform and current with the vendor changes to the OS is very frustrating.

Which is why I'm just going to use an engine-only approach from now on. I can, fortunately, eschew native UI's .. since I work on creative tools and my users prefer to have the same pixel-equivalent interface on each platform rather than shifting paradigms.

I think that game engines are the future for all app development. There's not much I can't do in Unreal Engine, for example .. with the benefit that the same app truly runs everywhere.

If Apple want to continue to subvert developer minds to keep them on the platform, fine by me. The engines see this as damage and easily allow a lot of us to route around the problem.
Montenegro's Citizenship-by-Investment Program Now Accepting Applications
Ask HN: Site with good free slide deck templates?
I’m looking for slide deck ideas / templates, where do you go for inspiration or free templates?
> The primary thing that strikes me about that photo is how far apart the tram rails are.

This image was taken right before the tram station, with no context at all. There is so much space wasted to allow the passengers to safely get off the tram without getting hit by cars (see 3rd picture to see how people get of the tram). This is done because they cannot move the buildings.

In the 2nd picture you can see how the tram continues and how the tram lines move together to allow for a |CAR|TRAM|TRAM|CAR| street.

> It also doesn't look like a comfortable place for bikes.

It is not, you drive in the middle of the street there to prevent cars from dangerously overtaking you.

> Cars and trams separated in one direction, but not in the other

Its only for a very short section

> I guess it's okay for pedestrians.

Sometimes you are faster walking up there than cars drive.
It was our first application. Also it makes sense that 'sorry' is on default considering the majority of applications don't get interviews. I'm just speculating. Im focusing on the 'at this time' component of your question.
I would completely agree. It's a bit like html vs native though, you end up trading flexibility for compatibility and ease of development.
People are bad at probability. This shouldn't happen even once or twice.

If each human who ever lived flipped 1000 coins a trillion times, it shouldn't happen.

If there were a trillion planets, each with a trillion people, each flipping 1000 coins a trillion times, it shouldn't happen. Not even close.
> Would you say that the value of the infinite sum 1/2 + 1/4 + 1/8 + ... is 1 or that it is an unknown number?

Integral of 1/2^n ... got that no problem.

I took AB Calculus in high school, three semesters of calculus in college, and a bunch of calculus heavy linear algebra. I’m certain that I knew how to integrate that thing at some point... it’s pretty sad that now I can only stare at it blankly and at best lean heavily on Wikipedia to find an answer.
What Are the Best Places to Visit in Budapest
Drug combination to maximize longevity
Well enjoy it while it lasts at all.
> The UK financial regulators are not dumb and have thought this through.

The UK financial regulators have already given the Electronic Money license to at least three crypto companies[1].

[1] https://cointelegraph.com/news/uk-watchdog-grants-third-e-mo...
At any point in time there was likely a great variety of ecological niches on Earth. It seems weird that one kind of organism would achieve total global domination. For example Bacteria and Archaea have diverged relatively early on the scale of evolution, and both of these domains have survived until the modern times without one dominating the other.
Some faulty pdf\epub files maybe, but none of them crash any of my other readers, so... I gave up at some point. I love Calibre as a project, but for now I can't really say the same for the product.
I've been hoping for some time that someone could make an in-hardware (or FPGA) compressing memory controller or MMU, with low enough latency to be comparable to memory access, possibly even higher bandwidth (being compressed), and transparent. Would increase the effective memory of SoCs, but also in general. Thinking like zram but realtime. Another one for academia I guess.
It seems Pareto superior to still have the replay, though... with no replay, obviously wrong calls exist and borderline calls will go whichever way was called on the field... with replay review, the obviously wrong calls are fixed and the borderline calls still go whichever way it was called on the field.

Borderline borderline doesn't change this... by definition, a borderline borderline call is neither is neither super-right or super-wrong, so a overturn is not a travesty of justice.
> People are bad at probability. This shouldn't happen even once or twice.
If each human who ever lived flipped 1000 coins a trillion times, it shouldn't happen.

Yet, if you get 20 people in a room, there’s a near 50/50 chance that 2 folks have the same birthday. Equally mind blowing.

So yes, people are pretty bad at probability.
We already have the resources to feed the hungry. A third of all the food produced is thrown out.

The problem is how we distribute it. Systemic change is the only thing that can address this problem in a meaningful way. Efficiency is great but producing more when we already have enough is completely missing the issue at hand.
The US-UK Deal Would Trample Cross Border Privacy Safeguards
The fact that they had a long time to transition doesn't negate the fact that they have to spend the time doing the transition.

At market-rate developer salary, it doesn't take a lot of man months for the port not to be worth the investment for small shops.
In Amsterdam, trams stops have a platform for people to get on and off. Is that not a thing in other cities?

Also, if the tram stops cars, then cars also stop the tram, which means delays when car traffic is stuck.
> So, as someone that lived in New York for 6 years and California for 6 years, stories like this are incredibly depressing.

The US is a country of checks and balances. Viewed differently, it's easy to obstruct changes. On average this works well, as it's far more likely for any random change to be bad rather than good. The unfortunate side effect is that many good changes don't happen, because it's so difficult to overcome all the "checks and balances".

In an authoritarian regime, changes edicted from the top encounter very little opposition. In post-Mao China, lots of these changes were wise, but not all. In the majority of the authoritarian regimes though the story is a bit less rosy.

Can we have our cake (checks and balances) and eat it too (more good changes get done) ? That's a tough question, I personally don't have the answer. But it seems more likely that once China builds a larger network of high-speed rail, the US would get some type of competitive impulse, and start investing in this too. One can only hope ...
I'm not a kernel dev, but this looks like a pretty big change to a critical system, with very diverse non-trivial effects on performance depending on workloads.

It needs to be properly reviewed and tested before landing, and that takes time.
Fast and robust polygon triangulation was the hardest challenge in the period when we developed the OpenGL version of our 2D vector graphics engine (www.amanithvg.com), it was in the early 2000.

I clearly remember all such research papers. After studying all of them and after three complete rewrite of the engine, we finally implemented a classic 2 step algo: sweepline polygon decomposition to monotone polygons, and then monotone polygons to triangles.

We had really heavy headaches dealing with intersections, autointersections, splitting edges, comparing and merging original vertexes with vertexes created by splitting edges, managing edges connectivity and topology.

After some try, we totally discarded the idea to write it in floating point arithmetic, preferring fixed point integers instead (and this was a real turning point for the robustness!).

Anyway, good times to remember!
I would like to more about this can you give me a few links for further reading about this?
I got to an interview, and gave a solid presentation to becoming an $50M/yr company. They’re response was “how do you get to $1B”. I honestly didn’t know and even though I gave some BS answers they saw right through it. They aren’t interested in successful companies, they want explosive companies.
Business is business... I guess..
In short, governments are the real crooks.