skysight-inc/HackerNews huggingface dataset:
But if you have arbitrary code execution on a MacBook, you probably have everything you want from that MacBook, because consumer desktop OSes and application software is insufficiently locked down to prevent you from getting everything you'd want. Escalating from arbitrary code execution to rooting the MacBook doesn't really increase its level of interesting to you.

This is untrue for iOS, because iOS actually does have a pretty robust security model which has only-semi-trusted apps running on your skeleton key to everything.
> A democratic government does what its citizens want it to do. Presumably they want taxes to be fair.

Both of these statements are based on very big presumptions indeed.
It's not that it can't be done, it's just that sometimes it is nice to have a tool that helps you think about the code. Unit tested code isn't better in any way, it's just a style of writing code that can produce good quality code, but not the only coding style that can do that.
But I'd like to add that there have been quite a few refactors that I have done that would have been way harder if it hadn't been for the unit tests. It might not work for everyone, but I'd recommend you give it a serious try, it might be useful.
> as the have the JRE installed.

Does this come packed with most platforms (Mac, Linux, Windows)?
You're thinking of windows XP
Old Reliable | Software Developer | Full-time | Remote (UK Applicants ONLY) | £50-80k + Bonus | https://oldreliable.tech

Old Reliable is a remote-first software consultancy and development house working in the climate change space. We're a startup working with large inter-governmental organisations to do our part towards climate change mitigation and adaptation.

We offer flexible working in a laid-back environment. You’ll manage yourself and be responsible for the delivery of a project from start to finish. You’ll need to be open to learning & applying new technologies and not afraid of figuring things out as you go. You’ll probably be working on a new project every few months.

Currently recruiting:

- C++ Developer familiar with cmake & C++ best practices

- Expert Javascript developer: someone who doesn't mind getting their hands dirty sorting out some old JQuery

- Backend Developer: a generalist with expertise using Java, C++, Python, SQL, Bash, and Linux. A little Fortran wouldn't go amiss, but certainly isn't a hard requirement. An interest in space & physics is a plus!

For more info: hn-mar2019@oldreliable.tech
> Melanesians were found to have a mysterious third archaic Homo species along with their Denisovan (3–4%) and Neanderthal (2%) ancestors in a genetic admixture with their otherwise modern Homo sapiens sapiens genomes.

https://en.wikipedia.org/wiki/Melanesia

> People from Melanesia may carry genetic evidence of a previously unknown extinct hominid species

https://phys.org/news/2016-11-people-melanesia-genetic-evide...
That's what I did. Still, only one answer (the one about the false research on autism and vaccines)
Lord of the rings?
I think OP's point is that getting these assurances doesn't mean you can stop checking for errors that come from outside the platform.
Any Framework (including WebdriverIO) that uses the W3C Webdriver API or the older Selenium JSON Wire Protocol requires the appropriate driver for each browser.

In my opinion that's not a disadvantage, since the Webdriver API is a W3C standard and there are official drivers for each browser, implemented by the Browser vendors themselves (with the exception of the IEDriver, which is implemented by the Selenium project as far as I know).

Unless you use a built-in browser automation API (like Webdriver / Puppeteer), the only alternative is to inject the test code via JavaScript, which might pose problems with the Content-Security-Policy directive and often requires the tested site to run in an iframe, which poses additional problems.
Show HN: I wrote a book about Laravel testing
Hey HN

I've spent the last couple of months working on an ebook about Laravel testing and I released it today:
https://laraveltesting101.com/

I noticed that the majority of testing resources are too theoretical, and they don't help much total beginners, so I built a demo application and documented my process of adding tests to it. this is not a book about TDD, but rather how to add tests to an existing application.

I would appreciate any feedback!
Exactly. I restore cabinets. From fixing electronics to fully stripping and repainting rusty cabinets. Just finished a sega rally 2. And I'd be happy if I got the price of the parts out of it. Shouldn't even think about getting money for the hours spend.
QML with QtQuick Controls 2
> when in fact a lot of the situations are minor and often escalated by overly aggressive police officers

Do you have a citation for this?
Support Is Insurance for Your Business
"We don’t even have an engine"

There is a horrible morass of politics in this area, to do with short term goals vs long term investment.

As a game approaches its release date, the codebase accrues technical debt in the form of title-specific hacks and optimizations, but also features and fixes that may be useful for other titles sharing the codebase. The former makes the latter difficult to propagate.

The pressure of internal milestones throughout a game project precludes the team devoting much time to significantly improving any shared codebase during any given title's development, but it also cannot happen any other way since that would involve "people not working on a game".

In this situation, a decision to mostly or entirely eschew code sharing begins to appear quite reasonable.
Ranked choice voting
> I really doubt it, considering the sheer volume

I feel like most people felt that way about the NSA's capabilities pre-Snowden
Another good example is Blizzard's Battle.net app https://www.blizzard.com/en-us/apps/battle.net/desktop
Bopomofo is still taught in taiwan and zhuyin is still used for typing. The only thing changed is signs now use pinyin....
London was already terrible to begin with. Mass immigration (to the point where they already have a Muslim mayor) and cuts in funding for the already toothless police are responsible. There's no way you could fairly compare it to other European cities.
You seem to be labouring under the delusion that voting actually changes anything.
You could ask the maintainer: https://www.troyhunt.com/contact/
I gave poetry a try and liked it a lot as well, but I really miss the virtualenv handling from pipenv. How do you handle virtualenvs with poetry?
Another way to think about it:

If the voltage-to-current transfer characteristic of whatever you're working with is symmetric about the y axis, then taking the maclaurin series gives you a polynomial with only odd terms. If you apply a sinusoid to that, you get odd multiple harmonics.

Working through the same reasoning with an asymmetric transfer characteristic means you get even polynomials as well, which means you get both even and odd harmonics.
Spark SQL: A data skew story
It's a part of Twitter culture. If you are an unknown person and one of your tweets suddenly goes viral, you get to post a follow-up tweet promoting yourself or whatever you want. This person apparently cares about trans rights.

I think it started in "black twitter". People would post jokes and it one of them took off they'd post a link to their SoundCloud page asking people to check out their "mixtape". Others started joking that they don't have a SoundCloud, but check out my book/art/Ruby package/craft beer.
Most of the "disagreement" is from Mapbox.
https://kernelnewbies.org/LinuxChanges?rev1=371
Regarding Facebook’s Cryptocurrency
HTTP/1.0 (and 1.1) both actually worked in production.

> Just cause pong sucked

Pong was and still is great.
I did a cheap version of this where I didn't have to build anything but I could test out the concept because I thought it would be awesome and I thought I wanted it.

Long story short it became problematic pretty quickly and I ditched it. You need to also be able to reply as that email address too etc. It's been done a bunch a times I understand.
Perhaps, though Googling the quote has SERPs more than 25:1 in favor of Buffett as origin.
Mathematics of Deep Neural Networks [pdf]
"But I'd
like to point out (yet again) that we don't do feature-based releases,
and that "5.0" doesn't mean anything more than that the 4.x numbers
started getting big enough that I ran out of fingers and toes.

Linus"
What's going on in that picture?
If only it were that simple.
Then there will be a competitor that will offer it. In NL we have a local grown Bol.com that does exactly what Amazon does (minus AWS).

Would it be fair if Amazon started competing while they pay no tax here when Bol.com does? I don't think so.
The one import from Mars that might be profitable does not come from Mars: resources mined from asteroids. Mars is closer to it (and in a shallower gravity well than Earth), so if for whatever reason we want people closer to asteroid mining operations, that might be a viable niche for Mars.

That's very speculative, though. Asteroid mining is probably going to be entirely robots, and both supply of those robots and the demand for the resources are almost entire based on Earth, so it's very questionable a Mars colony will add any value there. But it's the one area where I can see the possibility.

A refueling station on Deimos, however, sounds like a much more interesting prospect.
Snyk Is Hiring a Senior Developer in London
Fair Use is not a right; it's an affirmative defense (https://en.wikipedia.org/wiki/Affirmative_defense) that needs to be used in court.

Here's a recent (long) video on fair use that I enjoyed, and might be interesting for some of you here who are interested in this sort of thing: https://www.youtube.com/watch?v=SyucXC6pWug
> Hell, they literally use (not just copy) OpenStreetMaps, yet you won't see that in the App Store description, just a mention in their website's FAQ

OSM wants people to use the data! That's why we're making the data and making a map database. :)

But the OSM licence requires they attribution, in this case it would mean displaying it on the screen. Which they don't do. Live by the sword, die by the sword.
5.0 changelog: https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/Change...
> The daily spot price seems like a huge risk for businesses.

You factor it into your pricing models. Take the daily spot price from the day before, go +/- 3 cents in your favour, and you're probably fine. Unless you're dealing with a hugely volatile currency, you're unlikely to see more than a 1 or 2 cent variation on a day by day basis.
Look for languages with dependent typing. Idris and Liquid Haskell are the two that spring to my mind.

Other than that, TypeScript has decent support for the concept, though with standalone functions rather than methods: you’d define your “variants” as types (or interfaces), define the “enum” as the union of those types (e.g. `Foo | Bar`), and then have your functions take either the entire “enum” type, or specific “variant” types. In place of Rust’s `match`, you will then use type guards to narrow the “enum” type down to one (or more, if you like) of the “variant” types. See https://www.typescriptlang.org/docs/handbook/advanced-types.... for a bit of info.
r/unexpectedthanos Buddhism was in favour of anti natalism
Not Effective SEO Campaign? 10 Possible Reasons
Yes, you're right - one can dominate the cola industry, but if the cola industry itself goes away, one has serious problems.

To your other point, Buffett doesn't always have the time to elaborate on each answer, so perhaps you missed it in this context. In general, a supreme distribution network is something that he values highly. It's known as having a 'moat' and is one of his most cited investing principles.
For me, not so much. I installed Mint and skipped the step (as to not to introduce more complexity the first time), thinking 'I can do that later'. The disk is still unencrypted... Is there a way to do this and to restore the system state (installed software etc.)? DuckDuckGo didn't reveal anything conclusive.

Could anybody comment on the convenience of Linux encryptions (eg. LUKS)? In Windows, encryption is totally transparent to users (I need only to type the account password). I wouldn't mind typing in two passwords, other users on the systems not so much.
RepoLib Rx – Ready-to-Use Data Layer for Your Android App
.dev is not taken (yet). I think this might be one of the best uses for a joke .dev domain. :)

https://domains.google.com/m/registrar/search?searchTerm=fck...
Definition of Slack
There appears to be a good bit of literature on the Stop and Search tactic[0] and also the examples of the harassment of law abiding photographers in the U.K.[1]

It’s race to the bottom policing that’s approaching the US model. Assume everyone is a criminal (when crime is at an all tome low), dress police officers up in tactical gear, and turn them into enforcers rather than protectors.

[0] https://www.ncjrs.gov/App/abstractdb/AbstractDBDetails.aspx?...
[1]https://www.theguardian.com/uk/2010/jan/23/photographers-pro...
Xkcd-Style Sketched Web Apps
Pretty cool! Is the source on GitHub? If not, do you plan to put it there under an open source license?
Links to parts 2, 3 and 4:

Python:
https://eli.thegreenplace.net/2016/a-polyglots-guide-to-mult...

Common Lisp:
https://eli.thegreenplace.net/2016/a-polyglots-guide-to-mult...

Clojure:
https://eli.thegreenplace.net/2016/a-polyglots-guide-to-mult...
The economist Gary Becker's paper "Crime and punishment: an economic approach" [0] is up there for me.

He argued that prior to committing a crime, the perpetrator weighs the potential benefits of the crime against the probability of being caught and the ensuing severity of punishment. If the benefits exceed the costs, the criminal commits the crime. It is then noted that enforcement costs money. Becker concludes that the maximally efficient way to deter crime is to do relatively little enforcement, but to hand out severe penalties to criminals who are caught.

Becker was a respected economist at the time of publishing this paper. One can always defend a publication like this with the claim that 'it's just a model' but there is some evidence that the theory was used to justify crime policy from the 70's onward.

[0] https://www.nber.org/chapters/c3625.pdf
And, sadly, the more users use it the more chance that the big players start to ban such addresses.

It actually happened with the anti-spam services I‘ve used, twice.
I spent a lot of the early 80s writing Prolog, first on DEC-10 Prolog and then on Quintus Prolog. Too bad this great document was not available back then!
Same. It's also been proved that he was making it up but people turn a blind eye to that part of it.
> it's well known that malicious sites behave differently on certain conditions, one is having the developer tools opened

I had always wondered if they do, and I've known it's possible, but this is the first time I've heard any accounts of it. Would you have more info on this?
I can imagine that this probably applies to white-collar and corporate crime (anti-trust, tax evasion, etc.)
> This is in my opinion exactly the same as Instagram implementing stories from Snapchat.

As someone in an earlier comment pointed out, Instagram credited Snapchat.

https://techcrunch.com/2016/08/02/silicon-copy/

> The one thing you never hear in Silicon Valley is an entrepreneur admit they copied someone else. Yet there in the headquarters of Facebook, the world’s most prolific product cloner, Instagram CEO Kevin Systrom surprised me.
Thanks for sharing your experience. No one wants innocent peoples' data to be compromised, but maybe your story will do something to discourage others from participating, and United will feel the consequences as a result. Having a bug bounty program is one thing; standing behind it is another. Is there a ranking of bug bounty programs in terms of ease of use, good faith, etc?
16GB of RAM is $89 retail at the local Microcenter, in 2x8gb sticks. Not seeing how adding a bit more RAM would quadruple the price. Pine sells a 4gb RAM sbc for what, $59?

Edit : "Pricing will remain the same with the 1GB model priced at $24.95, the 2GB model at $34.95, and the 4GB model at $44.95."

QED.
Click this link in incognito mode: https://www.quora.com/What-are-some-of-the-worst-academic-pa...
Estonia Is Getting Its First Female Prime Minister, Hopefully
A practical approach to non blocking file IO
Sequence the world and run them through a clustering algorithm, picking how many clusters you get:

2 clusters: African and non-African

5 clusters: African, European, Asian, PNG/Australian Aboriginal, Native Americans

All the way to:

1 billion clusters: Individual families

When most people think of race they are talking about the number of groups that make clusters of major continents, where there wasn't much gene flow until 1492.

Google PCA ancestry (PC term for race) eg gnomAD:

https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSZ-l...

Self reported race matches genetically determined race at rates in the high 90s.

A way to think about it without clustering etc:

People separated (usually by geography) long enough that they bred mostly amongst themselves, and developed characteristics different than other groups.

Yes, you can walk from Amsterdam to Beijing and see a gradient of people the whole way - but that doesn't mean you can't tell the difference between a Chinese person and a Dutchman.
Not advertising.. but Skype can also generate phone numbers for you, and you can equally drop them. I remember I used a Skype landline number for that specifi purpose - throaway number for when I was looking for a new job. And I discareded it immediately after.
Ask HN: What all should a developer with 2 years of experience should/must know?
Still amazing.

What is also awesome is that after it boots DOS on that page that the CPU utilisation by my browser is pretty much zero.
Except that isn't the target market for the PI, there are other SoCs for that.
Except that it costs astronomically more to build advanced infrastructure in the US. Same problem with health care too. Too many people taking a cut? Structural profiteering?
Ask HN: How you ban IPv6 spammers?
If the spammer ip is `1111:2222:3333:4444:5555:6666::`, what subnet you will add to blacklist and why?
The quote is about "restoring" by putting cheap-looking stickers instead of properly restoring the original paintwork.
If at first you don't succeed, you may be trying to install Slow Ring Windows 10
Not everything needs to be a desktop system.
Just as a word of warning, I bought the old PineBook64 and it was dreadful. I could accept the speed limitations of a $99 laptop - but the hardware was inadequate. The trackpad couldn't tell the difference between scrolling and zooming. The keyboard regularly skipped keypresses. Firmware updates were promised, but never arrived.

There was also very little software support. The occasional community build of of Ubuntu or Android. Neither of which received much in the way of bug fixes or development.

I appreciate it was designed as a "tinkering" machine - but it's hard to tinker when the basics don't work.

Devices like this live and die by their community. If you don't have lots of committed people working on supporting a platform it quickly withers and dies.

I like the look of the "pro" model. But if it receives the same lack of attention as their earlier hardware, it won't be worth buying.
While I think you can definitely get too fancy with all of that sweet infra, I feel this is missing an important point:

Once you have a working pipeline in place, you can focus on the features, that's the whole point of the exercise: enabling developers to ship features for users. If I have to SSH into some machine and restart a set of services manually in the correct order, it will keep me from releasing features. I am afraid / lazy / whatever. Spending time on this is not something that will never ever reach the user in any way.

The user does not care if something is using Heroku, K8s, or something else, yes, but the user definitely appreciates a product that can reliably iterate on things without major downtime or similar problems.

It's kind of like saying, "well unit tests are nice and stuff, but does the user ever notice?". I would strongly argue the user will notice unit tests in the long run as they ensure the software keeps being maintainable.
Basically, the author suggested a “back to basic” approach, which is of course not totally wrong. But ignore the very real challenge of the software industry is not going to help either. We can not sit down to plan and wait for the so-called “global optimal” design and then and only then proceed to implement. Because to achieve a “global optimal” design one has to consider each and every details and aspects of the problem, which is simply impossible in the software industry because so many are unknown. The Waterfall model is long dead. History has proven it does more harm than good. Don’t dig it up.

PS: I don’t disagree that in some cases, academics can use the formal methods to find a (near) global optimal solution. But I don’t think it’s practical in a daily context, nor necessary. Our evolution is the best proof that local optima can lead over time to fantastic solutions.
You can buy trace mineral drops, which contain a fair amount of lithium, as well as magnesium and other trace minerals. The most common ones are based on de-salted mineral deposits from the great salt lake.

No idea if this is the best supplement for lithium (but would be interested to know).

I have been using these for years, primarily because I feel the evidence is strong for the benefits of a small amount of lithium. As a welcome side effect, the magnesium has completely alleviated leg jitters while sleeping (this is a well known effect of magnesium).
Not enough. In part, that's because companies have to much of a voice.
Similar in Norway, where there are times of the year companies basically shutdown or run on minimal staff. In Norway this is July, Italy has similar for August.

But ultimately I think it's culture as much as policies. The US, and lesser extent the UK, has a culture of submitting to work over life (as do other countries, so not singling out the US or UK here). In the UK I had to nag people to take holidays and there was usually a holiday crunch at the end of the year when lots of people took time of just because they had to.

Whereas, living in Norway now, the Scandinavian ethic of maintaining a good work/life balance means there's not really a problem of people not using all their holidays. Or work much overtime either.
For what its worth I live in denmark and I really enjoy wrapping up warm and going out for walks in the snow.

And of course afterwards you can light a candle and relax with a hot chocolate or some tea in the warm.

Why choose to live in a place like this if you don't enjoy it?
I work on my hobby projects, play with/take care of my cats, go for walks, read, watch Netflix or dumb YouTube videos.
Transgressing the Boundaries: Towards a Transformative Hermeneutics of Quantum Gravity - Alan Sokal 1994, published in Social Text #46/47, pp. 217-252 (spring/summer 1996).

https://physics.nyu.edu/sokal/transgress_v2/transgress_v2_si...
This is going to be interesting in EU where this is not allowed in such way. I believe fines are given as percentage of overall turnover. meaning expensive no matter the size of the company.