skysight-inc/HackerNews huggingface dataset:
New keyboard has a "4x more stable butterfly mechanism."

I'm still limping along on a 2012 Air. This could finally be the upgrade.
Neither.

The best explanation I've seen is: https://twitter.com/TomChivers/status/1057210578429755393

"the average population has declined by 60%. If you have two populations, white rhinos (8 animals) & pigeons (a billion animals), and four of each of them die, then "the average population" has declined by more than 50% but the total number of animals has declined by 0.0000007%"
20+ MongoDB Alternatives you should know about
Wait... you can charge a MBP with another MBP?
I am not arguing against SPAs, but to prevent redownloading common page elements (menu bars, footers) you can use web components. I recently built a website using web components for this purpose (official implementation of the university's official theme) and it was a good experience. Proper CDN caching means you only have to download them once.
Some seem to think the goal of all humanity should be to “lift everyone out of poverty.” Even if it destroys the planet and leads to massive humanitarian crises and ever greater suffering, putting dollars in wallets, that’s the point of it all. Homo economicus.
Spring Boot 2.1.0
> These tools are no good for automatic lossy image compression

The self-promotion didn't bother me until this claim, because you posted some great advice along with it.

ImageOptim is great. If you choose "lossy minification" it does automatic lossy image compression, preserving perceptual image quality while making huge reductions to file sizes. Users can even adjust how aggressive it is.

I'll take your word for it that I could get 13-24% smaller file sizes with your Optimage product on top of the 80% (or whatever) that I can get with ImageOptim. But I'd prefer that you didn't claim that other choices are "no good".
Meh. I grew up somewhere tourism was the biggest local industry. I will never be able to go on a "normal vacation" without feeling dirty because I know how the sausage is made.

Tourism sucks and the suck percolates through the entire local economy and everybody who has to participate in it (i.e. everyone who lives there). Even if you don't sell grossly overpriced goods or services to the tourists you make your living off of those that do. The non-repetitive nature of transactions means shady people get rewarded shady business practices and everyone develops this world view in which everyone else is a lying scumbag who will screw you for a quick gain until proven otherwise. Of course many people bury their head in the sand from a young age and convince themselves that wherever they live really is special (protip: it's really not). Drugs are rampant in whatever the off season is. People get all bent out of shape over "branding" issues (e.g. the color you paint your house, what kind of business you run, etc, etc) because your local "brand" is what attracts tourists and money. I could go on and on and on about specific downsides to having an economy dependent on tourism.

By trying to curtail tourism I think these cities are doing the right thing in the long term even if they could make a few dollars in the short term by selling out. This isn't a pro business/anti-business issue. It's a "what kind of business are we ok with" issue. Tourism unconstrained poisons local society the way a chemical plant will poison local waterways if left unchecked.

Also, FWIW all the negative predictions about cost of living in this article are correct in my observation.
Just on a lark I've been looking at picking up an old MacPro tower to max out on the cheap, but it looks like a better idea every time Apple announces new Mac hardware.
> the new model comes with the latest-generation edition of Apple's "butterfly" keyboard

Maybe it was naive of me but I had high hopes Apple would use the Air refresh as an upgrade path for those of us who have decided they need a keyboard with more travel and reliability beyond a few months.

(I use a 2017 butterfly keyboard today, never again)
It is not hard to block in the trivial case; after that you're playing cat & mouse and dealing with false positives.
Is this from his essay on the cruise ship?
Re #2, if you haven't tried the newest versions recently (and especially with the jupyterlab beta which has a nicer completion GUI), I'd encourage you to take a look! It's come a long way, along with the library that's doing the completions under the hood.
Yeah, but you need to hit the convenience side, too. Shopping on Amazon is really easy. They already have all my info, and seem to be trustworthy enough to hold it.

A few nights ago, I was looking for very specific LED strips -- no waterproofing, black PCB, warm white LEDs, etc. Amazon couldn't help me, or at least, I couldn't find the item with high confidence that I'd actually get the right item after the 3 months of slow-boat China shipping.

I ended up branching out to a bunch of local 'warehouses', which are I think what you're describing: Local stores that stock and sell a small number of items that they stand behind. I passed on every single one I found because of their terrible websites, filled with popups and chat windows, and the scourge of early ecommerce: "contact us for pricing!"

This is before I ever had to enter an address and credit card number to actually buy anything.

I think the solution is somewhere in the middle. Use Amazon for what they're good at and what makes them good for your customers, but build a brand with its own trustworthiness that exists outside of Amazon.

It is something like SDCardholder.com that sells what I feel is the best card holder in the world. They have a storefront, but they use Amazon for their cart and warehouse. Monoprice has been the best place to get cables for years. I've purchased from them from both Amazon and their own storefront. Or Anker and Aukey, who have made brands around "reasonably-priced chargers that probably won't burst into flames and kill your family."

Recently, I've been getting a lot of boxes from Walmart.com after ordering from Amazon.com... and I'm okay with that. Because I didn't have to open an account with Walmart.com, but I still got the products that I wanted and a price I was okay with.

So, quality is VERY important, but don't forget about convenience.
Pretty much any book by Steve McConnell, but I'd start with Code Complete.
What is specifically fascist about this?
20 Minute Masterpiece: Custom Style Transfer Models with Google Colab and Fritz
Replacing the iOS system allocator for fun and profit
I love notebooks as a way to present information, data, code and computations.

However, I cannot stand typing any text into a web browser window. Is there any way to edit a jupyter notebook with a text editor and then run it in the browser? The native json is not really human-editable.
This has zero chance of passing the most trivial legal challenge. Plain reading of 14th Amendment grants citizenship to those born in the US. And for good reason. This is really the heart of equal protection. Do we want a country where the laws apply consistently to all, or a country of castes with different rights?

But like all these cheap, position-taking measures, we really should ask -- what is this distracting us from? What is going on that we should be paying attention to, instead of the daily outrage?
The Art of Refactoring I: Evaluating the Code Blob
For those actually curious of the details of all those changes, Wikipedia has a good overview:

https://en.wikipedia.org/wiki/Proposed_redefinition_of_SI_ba...
World of Warcraft: one simple line of code can cost you dearly (2016)
I've seen enough evidence of senior leadership of major companies disregarding human life. Car manufactures are particularly bad in this respect, lots of major safety issues in vehicles wouldn't be fixed if not for regulators, since wrongful death lawsuits are cheaper than fixing the issue.

You can look at cigarettes companies for trying to deflect from medical evidence that they cause cancer. Similarly with asbestos and black lung. There's so much evidence that senior leadership at large companies are more than willing to let people die rather than pay out.

Down vote me all you want, but there's plenty of evidence to convince me.
If I did my calculation right it takes more than 16 hours to retrieve all 15T from the driver. Wow!
By way of a similar recommendation, there's Atheist's work, particularly "Elements". It's an early 90s Florida-scene death metal theme album lyrically about, well, the elements and Nature... which breaks into samba on the third track:

https://www.youtube.com/watch?v=HHHkxUqqnQ4&list=PLArAJlC1y5...
The cost of Amazon for this type of thing is only useful to burst to 200K cores, this is a supercomputer, which will be heavily used all the time. From a pure economics standpoint, the cloud makes zero sense for this sort of thing.

Also, the performance of 200K cores on Amazon in VMs compared to 200K physical cores is a lot different. These HPC systems are designed to eek every last 3-5% of performance out of the entire thing, something that you simply can not do even if you try using virtual machines or the cloud.
You know nothing about my day to day life so please stop making massive assumptions & generalizations about people who read HN.
As far as I'm aware tourism is not a short term thing there will always be tourists coming and leaving this is an constant revenue steam in its own right.

So I don't get what you mean.
> it has become fashionable to decry making personal changes as "irrelevant" and "ineffective" with the lie that since everyone isn't doing it, there's not point in anyone doing it

I think it's very short-sighted for people to say that. While there may be no direct effects of certain personal changes, there are still indirect results.

Such change may make me more self-conscious about our environment. If I made a hundred irrelevant small changes, then perhaps it'll be more likely for me to even realize the need for a big change, when it comes.

Same way, other people who see my small changes might be more likely to even start thinking about our environmental impact.
C++ is already used in production by big companies. It currently is deployed as asm.js. But you can use an equivalent toolchain to create WebAssembly.

This way you can create production-ready code and be ready to move to WebAssembly as soon as it gets feature ready.

The fine control that C++ offers will help you to understand the underlying architecture and put its performance to test.
You need gas to post your "Release" to Ethereum blockchain and gas costs money. How is it possible to be free?
This is reductio ad absurdum, isn't it?

You could implement a fair system giving everyone the equal opportunity to access (e.g. a tourist destination), even if not everyone gains access (via some sort of lottery).

There's also enough places and opportunities on the planet that not everyone will want to do everything, certainly not all at once. So you could implement cap and trade.
Big changes:

- 8th gen 4 core CPU in the base model, upgradable to 6 core

- 16 - 64 GB SO-DIMM RAM

- Upgradable to 10 gig ethernet

- 4 thunderbolt 3 ports
No, I'm well aware of what open-source is supposed to mean, as opposed to shared-source or whatever the proper term is for that type of arrangement.

I just try to deal with the world as it is, and the damage has been done already to the popular meaning of the term. I don't have the energy or interest to tilt at this particular wind-mill, so at this point if somebody says something is open-source, unless I have prior knowledge of what they think open-source means, I can't really infer anything in particular, and have to ask some more questions.
And yet the irony is that the main reason I and many people travel is to break out of that.
This seems really misinformed and written by somebody who has no idea how SPAs work. The SPAs approach results in much cleaner and simpler architecture in practice because you have clear separation between the client and the server. It also forces you to think about the API up front allowing you to create other clients, such as native mobile apps, later on.

The SPA approach also helps with statefulness, because it allows you to keep the UI state on the client where it belongs. The UI becomes much easier to reason about because you're not trying to keep state of the server and client in sync. Meanwhile, the server can just be a set of service calls the UI queries when it needs data, and doesn't need to store any state about it. This directly helps with horizontal scaling where you can spin up more servers and balance across them.

While SPAs can have a larger initial Js download, they can be a lot more responsive overall because you don't have page repaints, and you fetch data as you need it.

Testing actually becomes easier because your front-end is decoupled from the backend. You can test it in isolation, and the amount of statefulness is dependent on the complexity of the UI as opposed to whether its implemented SPA style or not. An equally complex UI implemented using traditional server-side rendering will likely be harder to test in practice.

Also not sure why authentication needs to be any different with SPAs. You can authenticate exactly the same way as if you did server-side rendering.

>Let's illustrate this with an example: we're building an e-commerce site that has a list of categories. We need to update the list from time to time. In an MPA, the list is updated on every page load. That's not the case in an SPA though.

Why wouldn't it be?

>In an MPA, we can simply pass models to views and render attributes we need. This isn't the case in an SPA. We need to define data formats and implement serialization.

Not really sure what that's about either. JSON exists, and I'm pretty sure nobody is inventing serialization formats in SPAs.

>Single-page apps are much more expensive to build than multi-page apps. In most cases, there is no business reason to choose this architecture.

Perhaps this is just a problem with the particular stack the author is using, and they're extrapolating this to be a general problem?
> I think your point is invalid as much.

I'm just telling you what hundreds of people have told me. They expect the first thing to be #1. Their words. I dont see how you can call their own experiences invalid.

Your dismissive attitude is another reason why so many non programmers have trouble learning programming.
So does the standard terminal repl in python. You can achieve the same workflow with having a plain old python file, and then just use your favorite editor's "Send block of code to console" function. This way, you retain your editor's functionality while you can work just as interactively as with a notebook.
How far we've come.

I remember back in 2001, when Reddit and HN didn't exist yet, and the whole Internet was caught up in a seemingly unanimous furor about how, not only were most of Microsoft's just-released Shared Source licenses not open source, but even the ones like MS-PL that met the OSI definition still weren't open source simply because they had Shared Source cooties on them by virtue of being announced at the same time.

I fear that the bad old days were so far back now that people no longer remember why this stuff is important.
So... it's not all about money. You can refuse to accept money from sources which are really not all that cracked up (because the margins in tourism are not great actually) and accept people for humanitarian reasons.

If you're not 14 or completely driven by greed you can understand the reasoning behind this.
That's not quite true. Const forces a variable to always point to the same object, but doesn't make the object immutable. Only primitives like bool, string, or number are actually guaranteed to be constant.

The following is perfectly valid code, but breaks almost everything someone would reasonably expect from const.

const foo = {bar: 123};
delete foo.bar;
foo.baz = 456;
Cons: Still dual core, no USB-A, no magsafe.

And still the butterfly mechanism. And apparently, specks of dust also affect the latest iteration:

https://theoutline.com/post/6409/the-new-and-improved-macboo...

I have been waiting for a good replacement for my MacBook Pro 2016. But this is not it. Still too few ports, still the risk of sticky keys. And given that the base model with 128GB is $1199, after the upgrade to 256GB and adding the Europe tax, it's not going to be that much more affordable than the MacBook Pro (assuming that they update the MBP Escape as well).

It's great that they have finally updated the Mac Mini though! The pricing is a bit steeper than previous models, but they stuck with the nice old unassuming design, no wild experiments. Just the same old box with updated innards. Well done.
> It's not one standard.

Do you have specifics?

> It's about having a huge head on the on all the important internet standards and pushing their cloud interests

Is Google not supposed to be trying to improve the services they offer?

> It designed to work well at their scale on their network you connect to directly.

I don't see any reason why QUIC won't be perfectly usable on most networks and that is what the article was about. I'm not sure what standard Google is spearheading which is only going to be useful on networks their size and will someone harm other networks.

> The standard group should taking into small and medium provider but there not really.

Again, what is an example of this?

> Who has the resources to follow Google's multi-azimuth "standardisation" pace ?

I really don't see what the issue here is - Google is spearheading new standards. In doing so, it's working with the IETF to develop those standards. I'm not aware of any indication that its working in bad faith or subverting IETF processes. The IETF process is fairly open. No one can follow everything happening in technology all the time - too much is going on. It seems like you are saying that Google should stop or artificially slow its work with standards bodies so that outside observers unaffiliated with those bodies can follow more closely?
Absolutely. I still lament the retirement of magsafe, but USB-C is a considerably better standard than USB-A.
We need a different name for this, so either

- Source-available software (https://en.wikipedia.org/wiki/Source-available_software)

- Shared source (https://en.wikipedia.org/wiki/Shared_Source_Initiative)

So that it's clear that source code is available in some form, but it's not open source.
> So who get's to define evil?

The people who are running the site?

> but to outright ban certain topics of discussion is a dark road to follow

Is there any actual useful discussion site (which excludes the various *chans) that allows unfettered discussion?
> in favour of some refugees the government will have to spend a large amount of money on

https://www.nature.com/articles/d41586-018-05507-0

Stop repeating this lie.
Not being in industry, I forget that AWS doesn't have 100% utilization 100% of the time. One of the reasons the lab likes us lattice QCD people is that we always have more computing to do, and are happy to wait in the queue if we get to run at all. So we really help keep the utilization very high. If the machine ever sits empty, that's a waste of money.

You're right that the IO tends to be very high performance and high throughput, too.
I believe nextjs is just taking react and rendering the initial page load on the server. So this library (texas) and nextjs don't really have much in common.
Pretty much none of those things will make it reasonable for someone from, say, Central African Republic to visit Venice.
>A rise in standards of living is directly correlated with lower birth rates.

No it isn't. That is based on a single observation, increasing standards of living in the 20th century in western nations. Living standards in western nations were increasing before that and birth rates were not declining. Living standards stopped increasing decades ago, and birth rates have not gone back up. So the evidence that this is even true in western nations is quite poor, but there is no evidence at all that it holds true in other cultures.

>We can't just exploit the world and then blame those who live in systems that offer no alternative.

It isn't about blame, it is about solving the problem. You can not give 5 billion Africans a western standard of living, that is not a physical possibility. So we need to prevent the 5 billion Africans from happening while there's still only 1 billion Africans. We're not trying to prevent 5 billion Europeans from happening because the European population is falling, not rising.
Chinese Panda conservation is a kind of 'soft power'. Being a place with Tigers and Rhinos is large bragging rights that I think they would be Keen to hold. Chinese Medicine can be changed to exclude endangered animals if Chinese Govt are able to handpick religious leaders.
I was pretty irritated by the articles supposition that certain personality types may prefer "violent" music while others do not. Sure everybody has their preferences, but the violence of the lyrical content has nothing to do with why I like metal.

And actually the people in the mosh pit at Gojira showed a great deal more empathy and kindness than the screaming masses at the last The Weeknd concert I was dragged to.
Google is running ads on Facebook
Version control for Jupyter notebooks was one of the biggest complaint I had. Specifically, diff and merge with the JSON files (.ipynb) is ugly.

I built ReviewNb[1] to solve one of those problems (diff). Note that, there is nbdime[2] which works well for local diff/merge. The idea for ReviewNb is to have much tighter integration with GitHub etc.

[1] https://reviewnb.com

[2] https://nbdime.readthedocs.io/en/latest/
Question/idea: Could a notebook-model supplant bespoke photographing processing software such as the "darkroom" mode of Lightroom (or darktable). The extant programs essentially take a lot of data (camera's raw output) and apply a configurable recipe to produce intelligible output (an image). Each recipe (stored as an XMP sidecar) is essentially a list of math operations (increase brightness, wavelet decompose, change color model, etc.) and their parameters.

Obviously a great part of why we use Lightroom/darktable is because of the speed with which the recipe-processing occurs. Plus a smooth UI, a catalog-viewing feature, and a well vetted choice of image operations. The appeal of moving this work to a notebook would be that an actively maintained Jupyter ecosystem could supplant lock-in to a specific software, and open up the underlying math magic.

At the very least, this could be an interesting platform for experimenting with image processing methods. And the reordering of cells could become a virtue, to run an image processing pipeline out of the standard order.

I'm curious if anyone has already worked along these lines. I find through a quick web search that people are doing some image processing, but more in the face detection or ML for medical imaging aspects. I see as a basic toolkit that http://scikit-image.org/docs/dev/auto_examples/ is something, though this isn't the whole range of operations needed for, say, fine art image tuning.
Maybe the citizens find that, if they have to put up with someone, they prefer to put up with people escaping dire living conditions (that will, statistically, go on to strengthen their economy in the long term). What does that tell you about what citizens think of tourists?

I can tell you that loud AirBnB hosts or the foreigners using my country as a landfill for their money, pricing people out of the inner cities, are not welcome.
AFAIK new generation of tape has decent read-write speeds.
Palm taken over by hipsters
UK Fines Facebook Over Data Privacy Scandal, EU Seeks Audit
Red Hat ​Business as usual: Fedora 29 released