skysight-inc/HackerNews huggingface dataset:
The upgrade to 10.13.1 has effectively locked my SSD in read-only mode because reading from it would always cause an APFS kernel panic (both under 10.13 and 10.13.1) also making it impossible to boot from it. It took me several hours to figure that out and to restore my data. I now downgraded to 10.12.6 and I am not missing anything. I think I am going to switch to Ubuntu as soon there is a comparable laptop to MacBooks from ~2015 (perhaps in 1-2 years?). This kind of nonsense is just not worth my time and money when I just need Firefox, ZSH and Emacs anyway.
This question is asked on /r/rust a lot, so you may get good answers by aggregating those responses.
Unfortunately my mom fell for this and the upgrade did not succeed destroying her operating system install. Hopefully her documents are still there; she really enjoys looking at pictures of her kids and grandkids.

Apple seriously needs to take heart of this message: https://youtu.be/e_hnG7kuam8
LMGTFY:

https://www.google.com/search?q=nvidia+drivers+mac+high+sier...
HQ, a real-time video trivia app
What about folks who continue to use older hardware?

This is a problem with the manufacturer, that doesn’t backport security fixes to older OS versions.
Whats the issue here. I think its implicitly obvious what style of government and particularly political affiliation these cities will have based upon who's starting them. If you think there's a chance that they will take anything from the playbook on the other side of the aisle, you are sorely mistaken. :P
With secret warrants and other questionable laws trust is also becoming an issue for US companies.
I have a bunch of aliases mostly. Any time I find myself typing the same command over and over I'll add a single or two-letter alias. So for Git, 'q' shows me git status, 'a' does git add *, and 'p' does git push origin master. I also have aliases for things like 'tail -f /var/log/nginx/error.log', very handy.
It's a security company run mostly by ex-KGB and dependent on the good will of an administration willing to very publicly murder their opponents[0], and not bound by anything resembling rule of law.

So yes, it is possible, maybe even likely, that Kasperky is doing nothing shady and has only the best intentions. It's also somewhat irresponsible to entrust them with any data of value. Those two things are not mutually exclusive.
The issue with having an off switch is that non-tech-savvy people will blindly follow some instructions to disable it and will get caught by a major security vuln.

Case in point: when Chrome throws a TLS error, you could type "danger" to bypass it, but they had to change it because businesses started teaching users to bypass errors blindly.

Not exactly apples to apples, but similar enough in my mind. If users blindly disable updates, they won't be updated when there's a major security patch.
I was responding to the comment regarding collision between the Trump campaign and Russia
This is hacker news where we are smart which includes proper grammar. Why did you write out the word "slash", don't you know it's sybolized with a / sign.

Learn to philosophalize better.
Even then calling it "infiltrated" is disingenuous.
This article made me recall a high school Latin class excerpt about status in ancient Rome. At a party the high-status guests would get to lie or sit on higher couches and eat "snow white" bread, while the low-class guests received the hard loaves.
tosheets just reads stuff from stdin. It doesn't care if it's attached to a pipe or not. It might be that there's no "previous process" at all.
I mean... it was all over the news?

https://www.nytimes.com/2017/10/10/technology/kaspersky-lab-...
I’m not ignoring your request; in trying to dig up the paper, I came across a couple papers with data claiming to show the opposite. I’m trying to digest it all before returning to this topic, so I can give a more useful response. And I haven’t found that paper yet.
I don't use Apple software much but I understand that Xcode is Apple's equivalent to something like Visual Studio --- which takes several GB, but what exactly in Xcode needs 75GB? Does it somehow include all versions of iOS and macOS ever released?
Really only describes standard AV co practices.
The housing allowance varies, but typically, it's below what the actual costs are. Varies by location.

Dorm residents don't pay for the room or food, if they choose to eat at the mess hall. They also usually get free use of washing machines, a common room with TV, etc.

Basically, it varies. In some locations the married soldier might be better off. In others they aren't. Either way, the difference isn't striking.

You also give up the housing allowance if you live in base housing as a married couple. These units are typically pretty modest.

There are, of course, exceptions. Areas where single soldiers get a housing allowance because no barrack exists. And areas where the married allowance is higher than it should be, for various reasons.

The point is, though, that it's not a direct comparison to the story. The single founders didn't get a compensating free room and board.
Wow. didn't know that! Will add it to the section on Rabin-Miller. Thanks :)
After readfing the article is unclear to me why they think that orcas are the culprit necessarily. Clean cuts without damaging pectoral fins?. Killer whales don't make scissor cuts, they crush bones, dismember and literally skin its preys shaking it.

Looks much more like a hidden case of pirate fishing to me. A human's job. Squalene stored in liver is expensive as extra-fine lubricant for machines, having several specialized industrial applications. On the other hand, is not very good as food. If I'm not wrong, shark liver is known to be toxic for mammals.
It's also good for Apple's pocket. It's really good for them when people have to buy a new phone just because the old phone is extremely laggy after a mandatory update.
OTOH, allocating & using memory correctly so that a maliciously-crafted Makefile can't get elevated permissions is.
Looks like a cool project.

Does the real-time sync work for Postgres instances that are tens of GB and thousands of tables across schemas?
Apple should be legally required to maintain the same level of functionality as before then.
You could write a very similar article about any AV company.

I've personally been automatically scanning data shared by various¹ AV companies for sensitive documents. I only store files not detected as malware by any scanners, and filter out large usually boring files (i.e. videos, audio). I also make an effort to filter out publicly available documents by googling them. So far I've gathered over 20TB of data.

So far I've found:

Entire customer database of a Swedish bank
Thousands of git repositories
Hundreds of passport scans
Tens of gigabytes of sensitive medical documents
Tens of gigabytes of internal government documents
Payroll data for hundreds of thousands of people
Entire email inboxes, both government and corporate.
Hundreds of website dbs in various formats

This is just off the top of my head, I could keep going for a while. I've got a searchable archive of tens of millions of clean pdfs, word docs, excel spreadsheets, powerpoints and so on. All pulled from users computers by their AV software.

¹ Not including Kaspersky, but including many US firms.
Their APs are very good as well. Blazing fast, quick to set up, easy to manage, and they come out of the box with absolutely everything you need for any kind of mounting or installation.
> Ancient Greece was far from an utopia - even "enlighted" Athens used slave labor in nearby silver mines and regularly voted to declare wars on other peoples.

Considering there are still wars being fought in the modern world, even if we often choose not to call them such, I don't know that we can look upon that from a moral high ground.

As for slavery, some periodization / historical perspective is important here. "Modern/American slavery" is based upon a notion of racial superiority, but that was not always the case. I'm not well-acquainted with Ancient Greece in particular, but consider Ancient Rome[1], where slavery was much closer to a social class.

Further, there was a lot of mobility in and out of this class. You could become a failing to pay your debts, or being captured in war. Slaves, although property themselves, could earn money and own property; they sometimes recieved salaries from their masters. Freeing slaves was a common occurrence (not necessarily out of altruism; freed slaves often became clientes[2] of their former master). Freedmen (former slaves) were a very influential political blok).

Due to the amount of mobility, it was not uncommon for freedmen to own slaves, or former masters to become slaves; there was a very acute sense of "that could be me", exemplified in the Roman concept of humanitas[3], the concept that we are all human, and certain standards of empathy toward and treatment of one another (it's hard to translate well because there's no 1:1 concept that covers both the definition and connotations, nowadays; maybe the closest modern parallel is "one love").

I do not mean to imply slavery was a good thing (it wasn't) or that slaves were never abused (they were). But it is worth recognizing that the character of slavery has changed over the centuries/millenia.

[1]: Please note the Ancient Roman Empire spanned many hundreds of years; the above was not true for the entirety of its existence.
[2]: https://en.m.wikipedia.org/wiki/Patronage_in_ancient_Rome
[3]: https://en.m.wikipedia.org/wiki/Humanitas
> Are employees paid more (in a given company) just because they have children?

Very often the answer is yes from my observation, particularly for fathers.
Right. That's why the compensation is lower. There are a lot more jobs available for generalist skills though, so it's much easier to find jobs to apply for (which was my original point).
Yeah logger or fluentd are definitely better long term solutions. I wanted something that was no frills and minimal config for ad-hoc situations. Other's on my team found it useful so I open sourced it.

Bonus: In depth code review for this package: https://youtu.be/c5ufcpTGIJM
It might be late and me being tired, but isPrime function will return false for 1 and any other prime? Shouldn't it be true when function is called isPrime?
There's some truth here but it seems we're comparing apples to oranges considering Finland is the size of a US city. I wonder how a top US city compares to Finland for example, or the EU as a whole compares to the US in class mobility.
or.... You are trying to avoid an update that is going to break your machine/workflow. If security updates were sent along a different channel than feature updates, this wouldn't be an issue. But companies keep tying these together, and there are only so many features you can carelessly break before users become aware of what you are really doing.
Check this thread, talking about how it has been a huge headache for Electron apps. https://github.com/electron/electron/issues/10736#issuecomme...

The driver I am on is this one but it looks like (as per above thread) there could be updates.
http://www.nvidia.com/download/driverResults.aspx/126538/en-...

Disclaimer: Check your device is compatible before trying to install any drivers from the above links :D
Sounds like you're setting yourself up to get "Hollywood accounted", IMO. If you're going to do that, you'll need to be vigilant about establishing just exactly what "profitability" means - if the company is bringing in $2M/yr revenue on COGS of $1M/yr but the founders each decide to pay themselves $600k/yr, is the operation "unprofitable"?
> That means every song in the world sounds like one of those 81 codes!

Yeah, every 4-chord repeating song.
Unfortunately, Stockfish is not doing too well in the more recognized TCEC unofficial world computer chess championship at http://tcec.chessdom.com/live.php, due to lackluster performance against the weaker engines. With just over 3 rounds to go, it looks like it's out of the final:

N Engine Rtng Pts Gm SB Ho Ko St Fi Ch Gi Bo An

1 Houdini 6.02 3184 17.0 25 187.25 ···· =01 === ==1= 111= 1=1= 1=1 =1==
2 Komodo 1959.00 3232 17.0 25 183.25 =10 ···· ==0 ==1= =1=1 11= =1=1 1=11
3 Stockfish 051117 3228 15.0 24 173.25 === ==1 ···· =1= ==== =11= =1= 1===
4 Fire 6.2 3112 13.5 25 152.25 ==0= ==0= =0= ···· ==1 ===1 =1= 1==1
5 Chiron 251017 3013 9.5 25 114.00 000= =0=0 ==== ==0 ···· === ==== ===
6 Ginkgo 2.01 3052 9.5 25 110.00 0=0= 00= =00= ===0 === ···· ==== 1==
7 Booot 6.2 3091 9.0 24 104.75 0=0 =0=0 =0= =0= ==== ==== ···· ===
8 Andscacs 0.921 3100 8.5 25 107.25 =0== 0=00 0=== 0==0 === 0== === ····

It had better win its current game against Booot to keep some very slim chances. Which it now seems to be doing...
Or any solo player including a singer. It's a ridiculous statement.
The best part of all of this is how there is all this media coverage on a fricking antivirus, but nobody seems all too concerned with the NSA losing more secrets.

It's like incident #100, maybe Kaspersky is the KGB, good on them since they are clearly more competent than the NSA. Maybe we can poach them?
Some of your Enterprise apps (like antivirus) might have compatibility issues or straight up don't have an update available. Even these days it seems like these Enterprise developers don't start development on updates until after the major macOS update has been released to the public.
> If you raise a small angel or friends & family round, you’ll probably want to spend it on other things than founder salaries.

This part in particular doesn’t make sense, or at least assumes founders have savings and assets. But what if you don’t because you’re young or you’ve already bootstrapped your way through all of it and gone into debt too?

It makes sense to pay subsistence salaries at the angel stage.
> Are employees paid more (in a given company) just because they have children?

In practice? Yes. Any financial obligation (debt, mortgage, family, etc) contributes to a negotiation floor.
I feel there is some parallels with brexit here
Here's a passage from Dawkins' "The Greatest Show on Earth":

"As we look back on the history of life, we see a picture of never-ending, ever-rejuvenating novelty. Individuals die; species, families orders and even classes go extinct. But the evolutionary process itself seems to pick itself up and resume its recurrent flowering, with undiminished freshness, with unabated youthfulness, as epoch gives way to epoch."

And a passage from Brecht's "Leben des Galilei":

"Eine Menschheit, stolpernd in diesem tausendjährigen Perlmutterdunst von Aberglaube und alten Wörtern, zu unwissend, ihre eigenen Kräfte voll zu entfalten, wird nicht fähig sein, die Kräfte der Natur zu entfalten, die Ihr enthüllt. Woführ arbeitet Ihr? Ich halte dafür, dass das einzige Ziel der Wissenschaft darin besteht, die Mühseligkeit der menschlichen Existenz zu erleichtern."

I realize that those excerpts are from two different genres, but perhaps they will serve as example. Of course, English writers do not rely exclusively on vocabulary to create good style, just as Germans do not shun all big words. But in general, writers will try to capitalize on the strengths of their respective languages.
Show HN: Pokemon Emerald Emulator
Hi there,
this is a toy project I worked on for the past months. It's an early stage pokemon emerald emulator. Maps, tiles, animations, warps, sprites etc. are extracted from the provided ROM file.

There is a online demo [0].

After dragging a ROM file into the browser window, you can walk and explore the complete pokemon emerald world.

The game engine is created only for testing purposes, you will encounter a zillion bugs.

If you don't have a ROM file on hand (Attention, large GIFs):

- Warps: https://i.imgur.com/pYI9ipl.gif

- Behaviors: https://i.imgur.com/isgIRLD.gif

- Zooming: https://i.imgur.com/GMqDYKr.gif

- World Map: https://i.imgur.com/HmvBTAV.png

[0] https://maierfelix.github.io/emerald-engine/static/
Why should I forgo a market rate salary to take a 1 in 100 chance at a lottery ticket, where my likelihood of success is largely determined by the people who also choose my salary?

Because as a founder you have a great idea that you think will be worth those odds. If you truly think it is a lottery ticket then your idea isn't that good and you should look for another idea.

You can always make more money working for BiggleCorp. The benefits are always better at NanoSoft. So the deciding question for you is not what flavor of ramen you'll eat but whether your idea is so insanely great that you're willing to suffer.

Moreover, your skillset is already factored into both your stock and the relative ease vs difficulty of your raise.
You can always convert the C corp to an S corp.
The interim mayor just announced plans to upzone about thirty neighborhoods: http://www.thestranger.com/slog/2017/11/09/25555601/where-se.... Slow but steady progress.
Laser weapons developers 'riding the wave' created by Tesla
5s? You peasant! Off with your head for speaking in this forum.
The decision should ultimately be up to the user.

This sort of subtle authoritarianism in the name of "security" is quite frankly extremely disturbing, and the companies are using it to force what they want by bundling plenty of other highly disruptive and completely-non-security changes too. I could go into a more political direction here, but looking at some of the other changes that have happened to society in general lately, I'm not surprised at all. Disappointed, but not surprised.
Canara bank savings account minimum balance details
Node.js and MySQL Example: Handling 100's of GigaBytes of Data
The article contains a useful recap of the evidence so far regarding this particular Kapersky issue, but the news is Kerpersky's denial. I don't take the latter to mean too much either way; when you get into the world of intelligence, plausible denials are the norm, and corporations practice it pretty commonly too.

Of course the U.S. government had to remove Kapersky from its computers. Russian intelligence has been very aggressive; the U.S. can't assume they'd pass on the opportunity to utilize an opportunity this good: Antivirus is widespread and highly invasive - a confidentiality (and even integrity) violation utility, with access to all data and code on the system, that the user helpfully installs for you, and it comes with built-in remote updates and communication that the user fully approves of.
Anecdote time: I skipped Yosemite altogether (had a feeling it wasn't quite ready, and the discoveryd, wifi issues etc. had me vindicated), but El Capitan was really smooth (rose tinted glasses maybe, but I remember it beating my Snow Leopard experience) and Sierra has been great from point 0.

I can't say it's going to work for your Macbook, but if it has an SSD (or you can put one in it) I really recommend trying out 10.12.6. Revert to a backup if things go awry.

I'm really sensitive to graphics issues. You never know if it's a bug or your GPU is going out. I'm not touching HS for a while.
The title on this story changed long after I wrote this; the original title was something like, "Tesla accepts reports encrypted to a PGP key."
https://www.tripmode.ch/

It's $8, but has saved me so many times from blowing through data quotas.
Source-To-Source Automatic Differentiation in Python
If you’re upset about us doing it because it’s wrong, why wouldn’t you also be upset when it’s done to us? It doesn’t magically not become wrong, just like if you murdered a murderer, it doesn’t magically get you out of jail.
"Musicians never play notes one at a time. They always use chords."

Today I learned playing literally any brass instrument means I'm not actually a musician. Who knew that my knowledge of the trombone ain't actually musicianship? ;)

Otherwise a great article.
Congratulations to those countries moving up.

Congratulations also to Americans, who feel their country is moving in a better direction.

May America be the best America it can be, and the same of Germany, Japan, etc.
> Coding: I hate to generalize, but it's very likely you'll learn so much over your career that you will become an ineffective developer. You will know how to do things well and will have a difficult time doing things just to get them done. It's fairly common for projects to need completion over correctness and quality. This is where younger developers are great. They don't know they're creating technical debt, so they have no angst over it. But you will and this is bad for the project and for you.

I disagree: it is when you are young that:

* you spend and lose your time reinventing the wheel, either because you don't know the wheel you want already exists, or because you are sure you can do a better wheel (and after an extra 3 months it ends up being square);

* lose time overdesigning things because you want to apply all your lessons and your new readings, despite the fact that they do not map to the problem you need to solve.
It doesn't answer my question. What tuning system did they write for?
Keep in mind, this was a “Rapid” event with quicker than normal time controls. It was meant to be an exciting event for fans and to test the engines at quicker speeds that humans can both follow and enjoy. It certainly produced exciting games (in my opinion)!
Yes, orcas also hunt seals, sea lions, and other marine mammals that live on beaches. Orcas will even beach themselves in order to hunt these. And they've even been observed in freshwater rivers [1].

https://www.youtube.com/watch?v=AtF3FPyRVIw

https://www.youtube.com/watch?v=Ks40worW_gQ

https://youtu.be/HY-mefETVZ8?t=3m44s

https://www.youtube.com/watch?v=AkZKM47igpA

[1] http://marinebio.org/species.asp?id=84
When you just want line number info from DWARF -- all the existing tools are extremely slow.

A simple sorted address->line table with binary search is incredibly faster.

This is a very common use case. At the very least, this proves DWARF is not designed for its common use cases, not properly at least.
> Investors should ... set their pay

I understand the gist of what you’re saying, but in the early stages, investors might provide advice about salary but certainly shouldn’t be controlling salary. That’s the company’s job.

Investors get to have a say about the CEO’s salary once they have board seats but not until then.
Pandemic Legacy: Season 2–The world’s “best board game” gets better
Agree. The first thing I would discuss with a cofounder is my financial requirements. I'm not going to quit my job and draw a $100k salary (in SF) to start a company. I wouldn't be able to pay my mortgage, even on the most aggressive of budgets.

So the decision for the cofounder becomes whether they want me involved. And my decision is whether the company will likely be successful with that burn rate. A single cofounder taking the same salary as me might push that burn rate over the edge. In which case, we just say no and move on.
It would be nice if you could just disable it completely. At the very least I wish a class was used that way it could be removed and all notions of score could be erased.
It’s a sign that we are still in the software dark ages when security is so poor that a continuous stream of patches is the only way to stay safe.
Welcome to 2030. I Own Nothing, Have No Privacy, and Life Has Never Been Better
When a test is contrapositive, it's actually testing for composites. So technically, it should output True for composite but then, the name isPrime doesn't do justice. So I changed the outputs to strings 'Prime' and 'Composite'.
After getting so frustrated with really expensive consumer WiFi routers I finally decided to give Ubiquiti a try. I purchased an Edge Router Lite and a dual channel AC Pro access point for about the cost of a nice consumer model.

It took all of 10 minutes to get everything plugged in and configured and every WiFi issue I had in my house disappeared. I was immediately pissed at myself, why the heck did I resist the jump for so long?

Bonus points for the APs being POE, makes it a lot easier to put them on the ceiling, and more bonus points because I have not reset my router in 18 months.