skysight-inc/HackerNews huggingface dataset:
We have a few examples in the readme. You can find demo applications using the Guess.js plugin for webpack here https://github.com/guess-js/guess/tree/master/packages/guess...

The most real-world demo is the Gatsby Wikipedia example which Addy Osmani demonstrated on Google I/O. You can find it here at https://guess-gatsby-wikipedia-demo.firebaseapp.com/. You can toggle link highlighting by pressing "h". Red links are very likely to be visited, orange/yellow ones have mild probability, and green ones are unlikely. The highlighting is based on the model that Guess.js builds from the Google Analytics report.

Here's demo of using Guess.js with static sites https://github.com/guess-js/guess/tree/master/experiments/gu...
Step 1 - Be a hot young woman.

If first step not achievable, you better have some seriously awesome content and savvy marketing skills.
https://github.com/mgechev/guess-next for predictive prefetching of JavaScript bundles
Implicit in this analysis is that density is valuable, and we can create value by increasing the densities of our cities. They consider the possibility that the increase in property values due to an increase in density may outpace the decay in property values due to an increase in housing supply. This is possible in a single metro, since population is highly dynamic and new residents can come from other cities and states, but if federal policies caused a universal increase in metro density, the relatively static population at the national scale would prevent the decay in property values from being wiped out by the agglomeration effect. You can imagine everyone moving a quarter mile closer to the closest metro population center. Average density and thus value would increase, while costs would stay constant.

I heard of a study some time ago that said that restrictions on urban development have cost the American economy on the order of trillions of dollars over the past few decades. When you also consider that existing property owners in cities have an incentive to maintain or increase their property values by limiting new construction, there is a powerful argument for the federal government to act on behalf of the interests of the nation as a whole in having more dense, dynamic, inclusive urban centers and prevent cities from enacting anti-development policies.

Furthermore, while developers are typically scorned by my comrades on the left, such a policy would be progressive in that it would tend to reduce the wealth of rich property owners, while decreasing costs for renters and making cities more accessible to people with fewer resources.
So which am I suppose to believe - a random story on HN or an existence proof that I have half a dozen apps on my iOS device that do exactly what the poster said his app was rejected for?
I highly recommend it. I use it at a client extensively and have grown to rely on it heavily for its ability to provide a hermetic testing environment with mobile apps (android).
As someone who's been through two major tech downturns so far and found myself scrambling without a job on several occasions, that seems like a risky strategy. I've been in situations where, without exaggeration, nobody local was hiring. When there's only one tech employer within 100 miles, a sudden job change means moving your family, possibly to a different state. In employment hubs, you're less at risk of this.
US businesses say China makes things best
Yeah, and Emacs has a long manual. I'd rather just use a text editor with toolbars and menus I can clicky click.
If the people who put criminal in prison had to pay for it with their own money, there would not be as many people in prison as there would be far more efficient ways to deal with the situation in 70-90% of cases.

That's the whole point of the argument about intensives. The very problem here is not the privatization but rather that the government wants to imprison so many people.

The very reason the US has private prisons is because there were to many prisoners and many governments couldn't handle it. A ineffective legal system and bad laws created the problem.

People focus to much on privatization. Government run prisons have many of the same intensives and are often equally as bad. Government prison guard unions for example are amounts the strongest supporters of harsher punishments including for things like weed.

But honestly, so long as the laws are bad, no system will really improve anything systematically.
> Go avoids magic

What? Go is all about magic. All the std lib stuff that is able to take any type works by magic.

Those "obscure rules" (which I prefer to call being able to reason about code) look like they are going to get added in Go 2.

It's odd how programmers think polymorphism is this obscure thing when it's available in almost every typed language.
>that's a ridiculous bar to hold someone to

"The bar" moves around depending on position. Sure, it's ridiculous to expect a secretary to put the company above all else, but the CEO? A high ranking government official? The head of a high profile medical department? Not so ridiculous at all.
A recent discussion about this is at https://news.ycombinator.com/item?id=17861878.
mainstream unsung then
That's why binary signature capability is important, and why very granular permissions are required. Any application that has even the capability to execute remote code should be precluded from getting the best ratings, and come with a disclaimer from the ratings company. It's hard, and people will try to game it, but at least you have a company that is incentivized to try to solve the problem because it actually matters if they do a bad job, instead of a monopoly (within that market) doing so with almost no repercussions if they do it poorly.
Does that justify the warmongering in the Pacific?
Considering that Go by default compiles to a static, native executable with close-to-0 system dependencies, I can't imagine why you'd hate it.

I deploy Go code all day long to various clusters consisting of hundreds of machines, and I'll take whatever Go deployment issues you can throw at me all day long, any day, over "simple" python/ruby issues.

It's all been moot since I went with Docker anyway.
We Should Stop Using Terminologies Like Master-Slave To Make Progress In Tech
Curious, does any compiler implement any kind of general algorithm for "memory pressure"? For register allocation (hence pressure), they do I think - but the memory layout, at least in lower level languages, is mostly fixed by the source so I didn't think there was much flexibility there.
This list is dangerous for the average user, because it disables safe browsing. 95% of people are going to suffer more from being phished than from being tracked.
Have you thought about creating keyboard snippets for common words or phrases? Similar to how iOS replaces omw with On my way! You could create replacements at the OS level that would apply to everything you type. Build them as you go so that your average characters per word is 3-4 characters, it might work out.
Unfortunately many do, since they come from Windows and have learned that they need something like this to "keep their Mac clean".
We do have people interested, but it's not a ton so far.

One big reason that numerics aren't the best in Rust right now is the lack of integer generics. Some people are waiting for that before bothering to write libraries, as they'd change the libraries so much anyways.
>what critical business actually won't get done because he takes 2 hours to go to his kid's little league game?

Who said that was the issue? I imagine it was a pattern, not a one off life event.
The "F# for fun and profit" site by Scott Wlaschin is a great jumping-off point: https://fsharpforfunandprofit.com/

I discovered it when I was reading a lot about domain driven design, and I stumbled upon a talk by the author that kind of blew my mind:

"Domain Modeling Made Functional" https://www.youtube.com/watch?v=Up7LcbGZFuo
> I don’t know anyone […] who is actually unaware of the present time.

That’s pretty superficial. People are seldom aware of now. We are thinking of how a meeting went in the past, or what we’ll make for dinner, or how we’ll handle an upcoming conflict, or whether a decision we made in the past was the right one. We aren’t even in our physical location: we think about wanting to go out on a walk, to be back on the beach, to rest in bed, to not have to suffer through a seminar.

The idea here is to be _present_ in the moment, in this place, because that’s all there is: everything else is a delusion. Being present also means appropriate response: a pond ripples precisely as much as it should when a stone is thrown in: not too much, not too little. Too often we are carried too and fro by our thoughts; they drive us, we respond automatically, being pushed from one thought to the next. Mindfulness is being able to observe these thoughts as they pass by and realizing how to respond appropriately, as we choose; being truly alive and not a mindless automaton responding to things that “happen” to us. There really isn’t any new age or spiritual component here if you wish.
The app review process is security theory. I blame the sand boxing mechanism that allows a Mac App Store app permission to an entire folder. That permission is inherently unsafe.

If an app needs that type of permission on the Mac sell it outside of the App Store.
And, as I pointed out originally, there was about an 8 year gap between demise of album sales and the prominence of streaming.
At any given moment we typically have a lot of thoughts racing through our minds. We’re thinking about yesterday, or tomorrow, working through some problem.

Mindfulness is stepping back and observing that phenomena, that process, and entering a state of awareness rather than “active” thinking.

Meditation is a kind of practice - you learn over time how to simply observe the mechanics of the mind as a kind of “3rd party” observer (this is probably where a lot of the spiritual / mystical feelings arise from — what people describe as a feeling of “oneness”, etc.)

Mindfulness is carrying that feeling of calm awareness throughout the rest of the day’s activities. For instance, going for a run and really just running and taking in the sensations without following every thought that pops into your head.
Daily Fasting Improves Health&Survival in Mice Independent of Diet and Calories
When this topic (back then it was Drupal, not Redis) was discussed here five years ago¹, I wrote this:

> Interestingly, DNS has gone the other way. It used to be that it was called “primary” and “secondary” DNS servers, but now the preferred terms are “master” and “slave” servers.

You have to look at really old RFCs to see the old terminology, but it’s there.

1. https://news.ycombinator.com/item?id=6826918#6827140
so transporting 1 TW would be a hundred of those in parallel
Keybase is fine for throwaway encryption that only needs short-term wire security to protect data that will be useless next month.

I wouldn't use a keybase key for anything that should be rendered eternally unbreakable, based on side-channel threat analysis alone. Private keys are not something that should be sourced from a website.
Anyone else thought this was going to be news about the tv series Breaking Bad?
What I'm reading doesn't seem to rule out SQL injection, and that being used to directly extract the data - am I wrong?
YC minimizes risk by spreading money across as many startups as possible using research and and gut instincts to find good deals.

Index funds minimize risk by distributing funds across stocks in an index using research and gut instincts to find good deals.

YC is different only in that it has a more direct impact on the performance of its portfolio through active participation and the ability to influence its management. Both are still similar forms of capital management with different degrees of freedom.
Houzz as well
It's not explicit enough for dummies like me, but the Safari extensions gallery is the Safari browser extension app store equivalent (available in browser) and one can submit the app and include the extension for publication in the app store and the extension gallery at the same time it appears (haven't tried or gotten that far yet).

"You can sell and distribute your apps with Safari Extensions to customers worldwide on the Mac App Store. To submit, sign in to App Store Connect. For information on creating Safari Extensions for the Mac App Store, see the Safari App Extension Programming Guide."
Friendly reminder that Dropbox is publicly traded and has a $10 Billion market cap
Indeed, may be similar to VPNs back in the day, when the UK was the number one provider. Though I wouldn't place much trust in the current government, they're worse than most of the EU when it comes to Internet policing :(
Oh noes, you have to have the platform from the company to make apps for the platform from the company. The horror.

I honestly cannot take seriously any complaints about having to have a Mac to make Mac apps. How on earth are you testing if you don't have the platform you're supposed to be targeting?
*still. As it is, not for much longer
I disagree.

Illustrator is a pain, fine, whatever.

Photoshops UI is optimized for its workflows. I was able to learn Photoshop easily enough, I've been able to learn other image manipulation programs quickly, but despite having spent many hours in GIMP, I hate every minute of using it.

If I go "create new image", there isn't an option to create a new image that is the size of the image on my clipboard.

There is not a dedicated "interact with this selection" tool, like the arrow tool in PS, instead there is a tool that sometimes draws new boundaries, bit the rectangle select tool also moves newly pasted layers, which is a different action than the move tool, which is also confusing.

Pasting just sucks. Why is it a new floating layer that I then have to right click on and say "new layer", just create a new layer, not this annoying psuedo-layer thing.

Everytime I want to move something I have selected, I want to scream. I create a selection, so, move tool right? NO. The move tool lets me move layers I have made. Joy.

In fact after having spent a couple minutes on it, I still can't figure it out, but then again why GIMP is so damn confusing I have to figure things out every time I use it? Good programs are learned, GIMP is suffered through.

The way to move something that is selected is the same in literally every other image manipulation program ever made, but GIMP has to be different.

Hilariously enough, all other transforms on selections are super easy, just not translates.

Actually, you know what, I just looked it up.

To move the selected pixels, the user is supposed to control-alt-drag, then release control and alt, and keep dragging.

One of the most common interactions in an image manipulation program is hidden behind a double-meta with a click drag attached to it, and then a release of that double-meta?

That is jaw droppingly bad UI.
https://news.ycombinator.com/item?id=17878131

Also covered by The Atlantic.
although one of the proposed solutions involves having the contract maintain a list of owners. The list being maintained by ... the owner...<doh>

That retains the control-freak EULA approach common to web design. The site is in charge, and you peons will take what we give you.
Do you know anything about that? I know some ABIs have a vzeroupper at the end of every method - what is this for and do you know how expensive is is?
X Window System Basics
I think so, too (even though I haven't read it). That jibes with my own experiences in meditating. Part of the process is going through a quick scan of your body and just noticing how your different parts feel: "huh, there's tenseness in my jaw", "there's a headache", "there's soreness in my leg" etc. It's amazing how quickly you can turn that from "my head hurts" to "there's pain in my head", which is a subtle but important distinction. You can't choose not to experience the pain sensation, but up to a point you can decide to simply note it and not react to it as pain.
It is observation, with low emotional reaction, in the present moment.

The classic example would be focusing on your breathing. You may have thoughts arise during this time, but you do not react to those thoughts, instead just acknowledge them and return your focus to your breath. This can be extended out to many other things that you are doing, for example, driving and having your whole head in the action of driving.

A counter example would be having anxiety over a hypothetical situation that may or may not ever occur. As well, being angry about something that happened in the past. In these situations you would refocus on the present moment and do your best to let the emotions go.
Sure, but it's not really a scheduling decision. I think the GP is correct in as much compiler now have to make the hard choice of whether to use any AVX at all, and it's a global trade-off: even though using a few 64-byte moves might be locally optimal, you now need a higher license hence slower CPU and you can only evaluate if that trade-off makes sense in the scope of the larger program: how much such speedups do you get and does it compensate for the lower frequency?
> wouldn't removing urls altogether and move towards full identity checks be better for the web?

Hey we'd be open to it, but we'd really prefer to have an RFC to read...

Instead, we got a quiet auto-update, without patch notes.

Good bye, open web. It was fun while it lasted.
You mean like Apple not having a built in content blocking framework for Safari?

https://developer.apple.com/library/archive/documentation/Ge...
> an existence proof that I have half a dozen apps on my iOS device that do exactly what the poster said his app was rejected for

Well, since the HN story doesn't rely on the fact that no other apps exist with that capability, and actually uses that fact to make its point, I'm not sure what you're trying to use their existence to prove.

"since other apps still get to do this, it's clear the policy change message was BS."
Also the value of businesses is in their ability to produce future cashflow (as reflected in market cap), not in their quarter-to-quarter income statement.
The concept of being more pain-free is dangerous to take at face value. Being 'pain-free' through mindfulness comes from a deep understanding of any given pain, which comes from feeling it fully and coming to terms with that feeling. Which, is itself very painful.
A glaring omission in this study is the effect of farming (and human activities more generally) on land use and albedo.
Intel can’t supply 14nm Xeons, HPE recommends AMD Epyc
I find this phrase often gets over-applied to situations where people are actually attempting to do something about a problem they feel passionate about.

To me, it's mostly straightforward: if you're actually following your words with meaningful action that could directly impact the problem, it's not virtue signalling.

Proposing meaningful gun regulation after a school shooting? Not virtue signalling. Offering thoughts and prayers and trying to put prayer back in schools? Virtue signal. That does nothing to resolve someone shooting people at a school.

It's also aggravating to see people start charities or donate their time and money towards a cause only to be accused of virtue signalling.
Silicon Valley CEO admits $1.5m fraud: Bouxtie boss forged investor signatures
We're getting a bit into the weeds here but I think it's a mistake to conflate the 'aggression' part of this with the quality of the products. In fact, the poor quality of the products was part of the aggression - Microsoft got to leverage its position as the platform vendor against its own ISVs. They even named them with Borland's own naming scheme!

You can probably make a decent argument that Borland's mismanagement was a misguided attempt to respond to Microsoft's pressure.
That's a well-known Buddhist proverb but I don't know what the textual source is, or if there is one.

This is the sort of thing one can email to the Quote Investigator. Maybe I will.
Quaternions recently made me look pretty smart.

I was consulting at a company that's developing a VR real estate app, and the first thing I did was check to see whether they were calculating their rotations with quaternions.

It was easy to do, I just looked straight up and then turned my head to the right. My view rotated to the left, and I almost vomited. I immediately ripped the headset off and said, "You're using euler angles to calculate rotations, you need to use quaternions."

I felt pretty good about finding the biggest flaw in their system in 3 seconds.
Simple File Manager is available on FDroid and probably also the Play Store. Simple Tools are usually good enough for me.
If this vulnerability can fit those 4 categories, what kind of vulnerability would you be confident would qualify for the bounty?
>
lnkmails 6 hours ago | parent | on: Two Years Ago, India Lacked Fast, Cheap Internet –...

I live in USA but I am of Indian origin. My parents' apartment in India now has Fiber Internet with 80Mbps at 1000INR (15USD)/month. On my recent travel (Aug 2018), I had Jio and was working remotely. It is so cheap to get Jio. I had 0 issues and I was praising the Internet situation in India for the first time in the last decade. Seriously, good changes in Internet situation.
The top challenges for me right now to move back there are 1. Rampant corruption in state government offices (especially with land registrations, legal heir certificates) 2. Extreme levels of sanitation/drainage issues even in metros 3. Personal indiscipline of the people. There is now some transparency because of digital transformation/e-governance. I think in a decade, (1) and (2) will be addressed. It will take miracles to fix

Great points.

About 1: What you see is actually a massive improvement from last decade. National level corruption is so low (low, not gone completely) as compared to last year, its incredibly liberating

About 2: Again, so much better than last decade. You can ask your parents if they feel India has changed way beyond what they've lived through. Especially in Tier 1 cities which are almost western but with Indian tinge

About 3: I think that is just the way of life in India. This will not go away soon. Come to think of it, I don't think it needs to. This is part of culture and the indiscipline allows for innovative folks to capitalize and make money with improved efficiencies in Jugaad
Insurance is unfair. Here’s how machine learning can fix it
It's a carebear legislation aimed at protecting imbecile content creators who can't be bothered with at least trying to run it like a real business. Why not let people figure it out and deal with it on their own, ffs
> The TL;DR is that capitalism sucks, but it sucks less than the alternatives.

This sentiment makes two mistakes. The first is that it implies capitalism is only a whole framework and can't be treated as a function to be applied piecewise in a larger system. The second is that "no alternatives are as good." This is like saying C++ is the best programming language; it certainly has its merits, but can totally be used in conjunction with other languages and programming language research doesn't just sit still; new compositions of ideas are constantly coming and we can learn from the mistakes of poorly designed systems to build better ones.
If anyone is interested in developing mindfulness, I like Full Catastrophe Living by Jon Kabat-Zinn.
One would think that syadmins love native executables with no system dependencies.
> Ordered maps require other tradeoffs.

Ordered maps don't require trees, and don't have that high a tradeoff: https://morepypy.blogspot.com/2015/01/faster-more-memory-eff... https://github.com/rust-lang/rust/pull/45282#issuecomment-33...