skysight-inc/HackerNews huggingface dataset:
Yep. Transactions in subsequent blocks may be reordered or not included at all in the new chain forked from before the incident. Temporarily diverging forks are a property of Bitcoin anyway and must be expected. So your transaction being first confirmed but then dropping out is a possibility without assuming malfeasance.

Still it is also possible to revert transactions in Bitcoin if enough people agree. As demonstrated after this hack. The biggest collateral damage is in trust when this is demonstrated in vivo.
You gotta love the developers' schizophrenia where on one hand we go batshit crazy over mass data collection by "malicious" apps, and on the other we fight with passion for the same apps to just run unmonitored in the background and collect. "You've got a smart phone but a dumb ass..."
It's not a straw man, it's a practical question. If healthcare was a human right, you should be able to describe how you enforce that right, especially when someone infringes upon that right, such as a physician who refuses to provide services requested by a patient.
Then let it be enforced via competition and market forces - rather than just using location to lowball somebody.

If lots of people are applying from a low-cost country, the employer is free to choose and thus, would be able to offer a lower salary. But from my understanding, employers want the same level of quality as they would get from the bay area, but insists on paying 3rd world wages if the remote is at a low cost of living location, even though there are very few other candidates suitable!
On Linux I use zsh, but these should translate.

Some of my favourite recent ones...

List most recently modified files from the current directory and any below it. Helps remind me what I was working with when I don't ssh into a box regularly :

alias changedfiles="find . -type f -print0 | xargs -0 stat --format '%Z :%z %n' | sort -nr | cut -d: -f2- | head -n 20"

[ Need to tweak that sometime for BSD find on MacOSX, but I use it primarily on Linux ]

Before backing up from a Unix-typical filesystem to an ExFAT volume attached by USB, find problematic characters in filenames from the current directory and any below :

function badnames {
find . -name '*[?<>\\:*|\"]*'
}

A big favourite on volumes with deeply nested directory structures. My favourite technique for a quick directory find and switch.

If you use FZF, this will show all directories (not files) from the current directory downwards. You can do an incremental fuzzy search by starting to type, and quickly change to that directory by pressing Enter when the desired one is highlighted.

function fd() {
local dir
dir=$(find ${1:-.} -path '*/\.*' -prune -o -type d -print 2> /dev/null | fzf +m) && cd "$dir"
}

Love that one. As 'fd' is right under the fingers on the home row, the directory search and switch can look like magic when used quickly as part of the workflow.
"Good news" depending on who you are. If remote really becomes a common thing US programmers will start earning Europe salaries, and Europe programmers will start earning China salaries. I don't think it's going to become that common (I'm thinking less than 10% of programmers will work remote 10 years from now). Yes it will be more common but it will not be common.
Non-technical managers can successfully oversee engineers
Centrelink/DHS and myGov went through separate projects to redesign and use some parts of the design system.
What I want to know is why years into its existence, Android still can't stop waking up the screen for no reason, with no notification displaying. Whatever app(s) is doing this can still keep doing it to this day, on my #2 poop OnePlus. So clearly it can't be that bad.

Lock em down. App developers are terrible and have no taste. Y'all had years to make these devices useful and failed. Instead it's all cloud idiocy.
> We're trying to figure out the best way of telling users how to change their battery settings (which, for the avoidance of doubt, are usually on by default; and sometimes revert back to default on OS updates); some kind of annoying modal popup in the app before they begin a run, perhaps.

That seems to be exactly what TFA notes in various per-manufacturer segments (the color blocks with poop emoji are clickable and provide manufacturer-specific information and complaints) e.g. for Nokia:

> every [background] process gets killed after 20 minutes regardless it is actually supposed to be running and doing a useful job for the user.

or for OnePlus:

> Not only did users need to enable extra settings to make their apps work properly, but those settings even get reset with firmware update so that apps break again and users are required to re-enable those settings on a regular basis. […] On some OnePlus phones there is also a thing called App Auto-Launch which essentially prevents apps from working in the background.
Day to Day Spending with UPlexa's Digital Currency Is Getting Easier
This is why I've exclusively worked for London based companies for the last decade or so, even though I now live about two hours outside of London. All the similar jobs around here would as you've seen result in me taking a 50% pay cut, and because I work remote 80% of the week, spending more time commuting into the office.
Quick back of the envelope calculation... Lets assume 10 texts sent per person per day worldwide on average. Lets also assume everyone has a phone (far from true, but hey). Assume an SMS message is 160 bytes, but with compression is significantly less, but there is also connection/presence metadata - so cancelling out. So we have 1600 bytes * 7 billion people. Thats spread across 66 satellites. That totals 2 megabytes per satellite per second. Very doable.
Because hospitals vary widely in pricing, people often get stuck with part of the bill, and if it's not an emergency you've got time to comparison shop.

(But if you're asking "why do we have such a crazy healthcare system," I have no answer.)
Documentation is poor? There is lots of documentation for every iOS/Mac class and feature on developer.apple.com, and for the language and standard library, and dozens of books (several of them made by Apple and free). Plus tons of third party blogs and videos on Swift programming.

That's more than anything that can be said for Crystal documentation.

And bad package management or not (I don't see much problem with it -- and you have several options to chose from, cocoa pods, carthage, etc), there are tons more libraries than Crystal has again.
Any business that can afford to splice, destructure, and recompose their pricing into undecipherable mess is a strong sign they're doing too well, and have an unhealthy stronghold on their customers.

If the markets are free enough I'd imagine some hospitals coming up with reasonable price lists that amortise the variance between successive operations and between the hospital and the patient. Most calls are routine anyway.

Even car repair shops are able to quote rough price ranges even if they face a lot of unknowns. They will call you back if they find something else, and at least locally should the mechanic commit to a fixed offer he's only allowed to deviate from it by X percent. And routine jobs are generally advertised with fixed prices. The shops will undoubtedly swallow some of the accidental costs themselves to provide tighter quotes which is what customers like.

Surely treating a human patient is more involved than that but the mechanism for pricing doesn't need to be. The hospital can calculate how much extra they need to add in the fixed prices to be able to "insure themselves" against the rare pathological case, to some extent. There's always the route of escalation from a routine operation to operating an acute trauma, but I can't imagine that would be common enough to explain the inability to provide reasonable quote ranges.
Why I'm Grateful About the State of the Web 2019
Killing apps that the user isn't using or relying on is a good thing. Randomly killing apps running in the background is a bad thing.

This sounds like it should be an app permission: is this app allowed to run in the background or not?
For some basic use cases, like notifications and downloads, there is a special system or api that allows your app to do that in the background without actually running.

If you want to play audio or track gps in the background you need to do things yourself though.
Try selecting 'Lock' for the VPN App from the recent apps section (top right)[1]

[1]:https://imgur.com/Bk8jXbJ
Did you even bother reading the complaints? These "background killers" kill background applications the user wants to run and has specifically asked for e.g. alarms, health/fitness trackers, …, usually in the most harmful way possible (e.g. straight kill -9) meaning the application can't even tell the user what the issue is, and with complex steps users have to take (possibly repeatedly) to whitelist specific applications.

Hell there are comments in this thread testifying that these built-in "battery savers" even kill the built-in alarm application.
Email notifications and newsletters are much more popular than RSS/Atom, as far as I can tell. People already "get" email, and probably have an account, so it's easier to convert non-techies.
Francois Lionet is creating AMOS 2
App vendors, don't abuse background tasks.
Good point. The lack of visibility into today's blackbox commodity hardware is frightening, such as Intel ME. It's even worse when that hardware is listening to external commands via the EM spectrum and the like, as you point out.
No -- "primitives, dictionaries, and arrays" typed, which is different from "stringly typed", and representative of what JSON actually is.

JSON doesn't represent class hierarchies, but plain nested JS objects. And the types it supports are just dictionary, array, string, boolean, and float.

So having all the ceremony in Swift (or similar in Go, etc) to parse into predefined structs is not really idiomatic to JSON.

You can have all of those in the generic representation -- and this is exactly how any dynamic language does it (JS, Python, PHP, etc.) -- and any statically typed language when it wants to read arbitrary JSON.
Yeah, I don't really expect a mobile O/S to keep connections open indefinitely. It's hard enough to do that when the phone is awake and on the move, much less sleeping.

The O/S should, however, honor an app's request to wake up every 5-15 minutes to open a new connection, do some things with it, and go back to sleep. Especially if the user has given explicit permission to let the app in question use all the battery it wants. Periodic wakeup is what most email apps expect when they're set to "polling" mode. It used to work perfectly until about two years ago. It doesn't work anymore on recent Samsung phones. The system just ignores the wakeup schedule set by the app.
Uh, which individual corporation is favored here? It's not like only some corporations are allowed to have non-compete clauses.
In that case you wouldn’t opt-in to beacon notifications.

But there are many people with varying use-cases - some of whome want reliable BLE detections on their devices. And if they opt-in to these notifications, then it’s a shitty experience when it doesn’t actually work as intended.
Strange interpretation, I think most saw it as inadequate training.
All of my various git alises. I especially like `goops` which is very useful if you just pushed some code and realised you missed something.

https://github.com/k0nserv/dotfiles/blob/7721559be40bba09cd8...

alias gs="g status"
alias glff="git pull --ff-only"
alias glffc="git pull origin \$(current_branch) --ff-only"
alias glc="git pull origin \$(current_branch)"
alias gpc="git push origin \$(current_branch)"
alias gpcfl="git push origin \$(current_branch) --force-with-lease"
function goops { git add -A "$@" && git commit --amend --no-edit && gpcfl }
alias gbr="git branch -r"
alias grm="git branch --merged | grep -v \"\*\" | xargs -n 1 git branch -d"
function mkb() {
git fetch && git checkout -b "$1" origin/master
}

`mkdataenv` is nice for spinning up a quick Jupyter environment for all data analysis needs.

https://github.com/k0nserv/dotfiles/blob/7721559be40bba09cd8...

function mkdataenv() {
mkvirtualenv --python /usr/local/bin/python3 $1
workon $1
mkdir "$1"
cd $1
pip install pandas jupyter numpy matplotlib seaborn
pip freeze > requirements.txt
jupyter notebook
}
There is a difference between a notification that is sent to the user just to tell them something and then the user can take action (meaning no need to wake up the app) and a notification to the app for the app to do something in the background.

The former should always get to the user, the latter on iOS is controlled by both the OS based on an algorithm and by the user who can specifically turn off background processing on a per app basis on iOS.
The world's first fusion cuisine
Illinois a national outlier when it comes to losing residents
There is no objective definition for a line between "science fiction" and "science fantasy," but I've come to view Star Trek as no less science fantasy than Star Wars. Replicators and transporters violate physical laws to such a degree that they might as well be magic. The way the universe and tech are described (subspace, particles of the week, negative space wedgies, etc.) have little to do with the actual universe, or the way space and time actually behave. Beings with arbitrary, if not omnipotent, reality-warping powers like the Q, Trelane and Douwd exist, which are basically space gods.

I mean, there is little real difference between "the Force did it," the Q did it" and "a wizard did it."

That the show also happened to have imagined portable computers and other technological innovations ... makes it science fantasy, rather than fantasy outright. But more to the point, what makes Star Trek more science fantasy than fiction is that it isn't about science, or extrapolating a plausible future, but simply using a futuristic setting as a backdrop for drama, without regard for actual scientific plausibility.

I'm not mocking Star Trek, I love the franchise and the original series, for what it was, was the first attempt at describing a persistent futuristic setting on television that I'm aware of (also, it was the series with the least technobabble and "teching the tech" which always helps.) That also (to me) makes it the most "science fictional" of the series, maybe the only one that counts as science fiction. YMMV.
On the other hand, OpenAI is not bullshit, so...
I switched to a color schema where this dark blue is gone :-)
> The day I meet a woman who cares about scraping websites to create RSS feeds is the day I consider marriage again.

My wife is also the first woman I met who knew what IRC is, even though she's non-technical (apparently they covered it on her journalist studies). One of the many little things that impressed me about her :).
sorry you feel this way. it's hardly doxxing though if you have your name in your profile is it? you're the one using veiled insults and calling me a mealy weasel mouth. And using language like "sorry for calling you out" ... Don't say "sorry" and then launch your veiled attack in the same paragraph.

> Perhaps you should go back to school

is that where you got your world view from?
Building, managing and maintaining relationships
Salaries in SF are driven by competition, not living costs (in fact living costs are driven up by the high salaries). There are plenty of cities with comparable living costs to SF, but with much lower salaries.
"Grievance studies" are all rooted in conflict theory, which was developed by one of sociology's three founding fathers, Karl Marx.
They are literally rooted in a single (disproven) theory that all relationships are based on power and dominance. These are the people I believe we are talking about, the ones who speak of power and oppression and some tribe or class that is in control and must be stopped in the name of virtue, subsequently going on a witch hunt finding evidence and evils wherever they look because they have been taught to use post-modern reasoning, a form of irrational reasoning meant to question logic but not be used as logic.

The tactics they use, weaponizing shame and applying post-modern reasoning/critical theory, is a Marxist socialist tactic when combined with his ideology that cuts to the core of the most fundamental human psychological need -- the need for social connection, validation (psychological or scientific), and by using reasoning that cannot be argued with rationally is disarming if not disorienting in a political fight/argument. There's even a word for when they use it against other radical socialist groups -- leapfrog paranoia -- meant to get the different intersectional factions to unite against a common enemy in order to seize power. This is all in their own words.

(sidebar - watch the documentary Hard Times at Douglas High, where an inner city debate team uses critical theory in a debate about anything to make it about racism in order to win. In other words all debates became about their narrative, and these were Baltimore kids in what was the first integrated high school, indoctrinated by their professor back in the 90s).

It's coercive and dishonest, not simply persuasive, and a form of violence. They force people to submit under threat of social disconnection, which research has shown is more brutal than physical violence because it's psychologically traumatic, permanent, and has a biological impact on the individual as well as a sociological impact. Guilt is saying you did something wrong, shame is saying you are something wrong. There is no greater authoritarian or fascist behavior, which needs to be pointed out as distinct from the field of study itself.

So if the words "grievance studies" or "social justice warrior" are offensive, perhaps a better and more historically accurate and verifiable label to apply would be to call them Marxists or conflict theorists? I don't think that would be completely fair because as pointed out, few even know what those words mean let alone the roots and origins of their own beliefs, the nature of the tactics they use, or the nature of reasoning and belief systems themselves. What word wouldn't be offensive that embodies the characteristics that define them to others? The "grievance studies" label seems scientifically accurate and neutral without any attached ideology or behaviors.

If this offends anyone it is not meant to, I take no sides in any of this and seek the value in studying all of it.
Ask HN: Recommendation as to how often UX analysis of sites should be done
I guess I'm going to be fighting city hall, figuratively. One of the governmental web sites I have to deal with for my business has abysmal UX, and they wanted me to provide some data. I interpreted the bad UX as meaning they had a bug, and I also thought 'oh but I have provided that data therefore they are all sorts of messed up hah hah'.

So they started a proceeding to close down my company, using a law evidently only established for closing companies due to bankruptcy. In order to stop this process, according to the governmental agency, I have to:

1. give them the data (done)

2. pay fee for misunderstanding their site and not giving them the data earlier (done)

3. get an accountant to write a detailed report as to why I am not bankrupt and pay an extra fee for them to accept this report (required by bankruptcy law not pertinent to my case)

I'm trying to appeal against step 3 as being way too much. And as part of my case I would like to have guidelines as to how often UX analysis of sites should be done because

a.) I believe this problem with their site has existed for a while

b.) the caseworkers dealing with my case immediately understood the mistaken assumption I had made when talking about it over the phone, leading me to assume it is something they all know sucks about their site but according to them it was just the way it was and nothing was going to be done. So I think it might turn out there actually hasn't been any UX analysis of the site and its usage or any recommendations to fix things for the last few years, because governmental work - our clients have to use us!
Introduction to Word Embeddings and Data Splitting
CUDA is pretty great. But I ditched it in favor of OpenCL because it's closed source and limited to Nvidia GPUs.
Why is it so hard to hammer
a nail with a screwdriver?

Because stateful storage isn't the problem the system was developed to solve. The author is conflating what K8s is (a stateless container orchestrator) with what he wants it to be (a full service devops guy).

Now, if you simply must have stateful storage, I've had a pretty good time with PVCs pointing to Plain Jane NFS volumes combined with node tainting and performing local replication of high need data on the pods as needed.

If your pods are scaling up and down or dying so quickly that this seems untenable, you have other fish to fry.
Physicians may very well refuse services requested by a patient if the physician doesn't think those services are good for the patient. Health care is not a self-serve buffet. This has nothing to do with health care being a basic right.

And if a physician denies a patient necessary treatment, there are already ways to deal with that. Physicians are (usually?) subject to disciplinary committees that deal with malpractice and other bad behaviour by physicians. Furthermore, a physician who refuses to do their job can be fired just like anyone else who refuses their job. This also has nothing to do with health care being a basic right.

So what exactly is your practical question is it's neither a straw man nor one of these two issues?
By "policing other fields" I assume you mean papers that are critical of STEM research?

The comment to which I replied calls for STEM researchers to "do something" - without specifying what. What are you suggesting should be done? Are we talking about writing papers criticising those fields, as they criticise ours, or are we talking about some more radical kind of "self-defense" like making sure their funding is cut and their research and teaching positions cancelled?
Example project how to use Slim, GraphQL and Eloquent
> you can use an alias that downloads and executes the script every time:

> alias sshenc.sh='bash <(curl -s https://sshenc.sh/sshenc.sh)'

I wouldn't expect this from someone with a cryptography background.
Of course, but it's going to take a long time to really fix that. In the meantime, scraping some websites and aggregating their data could help.
Quite right, I didn't phrase that well.

Of course, even if unhealthy sun exposure + sunscreen is better than unhealthy sun exposure on its own, it doesn't mean it's better than avoiding the unhealthy sun exposure patterns at all.

I feel like there's a fair bit more to figure out here. A lot of us live far from the equator with jobs and hobbies that keep us indoors a lot. Observing that regular safe sun exposure is healthy is great, but I don't even like beaches. It's easy to criticise bad ideas (vitamin D supplements, tanning beds, etc.) but harder to figure out the best compromise.
Ask HN: How did you escape your safe 9-5 job?
How did you escape your meaningless 9-5 job to work full time on what you wanted to work on[1]?

Did you have a strategy or was it a leap of faith?

Did you regret it later on?

Are you happy with the decision you made?

Where do you think you would be today if you had decided to stay in that job?

If you are currently in a job like that, then do you have any plans of escaping to work on your passion[1]? if yes, then please share your plan.

[1] Your passion may be a dream job, a special course (masters, software bootcamp, course in another field like marketing or airplane pilot etc.) or a startup. It just has to be something you love but are not doing because you think you're job is currently the safest option for you.
Yes, it is all solar power.

5.5 kW is not a lot of power, modern buses for geostationary satellites (i.e., 720HP) can produce close to ~18 kW, of which ~80-90 % are normally used by the payload in a communications satellite.
I'd love to hear more about this - email is in my profile if you have a minute.