skysight-inc/HackerNews huggingface dataset:
The idea that the Chinese gov't would seize Apple's "entire production" is up there with the possibility that the US invades China. It isn't going to happen. There are just too many consequences, not least of which is the withdrawal of most US companies from China.

The SEC on the other hand literally just got done fining Elon Musk $20m for a tweet. Fines for something like this could be in the hundreds of millions, that's not something you risk when you could just say "we are investigating the claims and take them seriously."
Is Brave always based on the latest version of Firefox? Or did it branch of at some point in the past?
A little awkward to see this here given Brave is becoming fairly mainstream. You want to lock down the tools you rely on to lock you down.
Madrid announces new rules of the road in bid to banish traffic from center
Thanks, I'll check it out. Getting buy in from this group will be a challenge, but it has been positive so far.
I use pinch to zoom all the time, but Brave (and Firefox) don't seem to implement it (please?)
The built in ad-blocking is more performant, it’s based on chromium, so compatibility with some marginal sites. Other than that they’re pretty comparable. Brave has some crypto-related compensation scheme for websites but it’s completely opt-in and optional.
Brave is Chromium based
Data Breaches like Apollo are why we exist
In Python 2, if you have a series of bytes -or- a "string", the language has no opinion about the encoding

This is incorrect. Python 2 lets you get away with a lot of things, but some string-y operations on Python 2 bytestrings will still trip the "need to know the encoding" issue. And absent you telling it the encoding, Python 2 will assume ASCII and begin throwing exceptions as soon as it sees a byte outside the ASCII range.
Lack of experience with C++?

I have successfully used plenty of binary libraries throughout the years.
A Primer in Web Performance
Claiming ignorance is the best defense.

It almost feels like Apple tried to bait more information from Bloomberg to identify the person who spilled the beans.
The Sotheby's auction page says the piece was "Acquired directly from the artist by the present owner in 2006", so either the owner or Soethby's collaborated with Banksy, or Banksy built the shredder into the frame in 2006.

Or, I guess, Banksy could have offered the owner the frame prior to the auction, without the owner being aware of what it did.
I don't understand this, what is their business model exactly? Aren't they just giving out loans like a VC with other VC money? Why can't the VCs invest directly without Brex taking their cut?
Brave is based on Chromium.
An EFI App a bit rusty
The most emotionally intense moment I've ever experienced in a video game (and I've played a lot of video games) was crossing the border into Mexico in Red Dead Revolver. The hairs on my arms stood on end. The YouTube clip [0] doesn't do it justice because it misses the context and buildup. Just magic.

That and docking with a spacestation in Elite to the Blue Danube waltz.

[0] https://www.youtube.com/watch?v=AUXGW6sWYDY
Github, a blog and Kaggle would help you stand out. If you get a new job, it will be easier to get another one
> Comparing a string to a bytestring should not just always evaluate to false, it should (IMHO) raise a type error.

Equality testing is implicitly done in a lot of places (like searching), it would become a bit of a hassle if the basic types were to throw exceptions when compared with each other.
I would express it more as "programmers in Unix environments like to act as if everything still uses the C locale everywhere, all the time".
3D animation: video or WebGL-based? (spoiler alert: WebGL, of course)
i love unicode handling in python3, it's so much better to work with. python2 was a mess, migrating old code requires looking at old code, the result is only better code, never a mess.
Dont know what you definition of mainstream is but it certainly is not known to the common people.
Isn't that exactly what happened? Banksy is an artist who feels that capitalism causes suffering (presumably including starving). This sale results in his ideas about alleviating starving by ending capitalism to be propagated and provides him with the funds to further propagate those ideas.
Ask HN: Should I incorporate a company for software side projects?
I am a software engineer, working on a side project. The project consists of platform in the area of real-estates, I already have consumers (real estate agencies). I would like to know when should I incorporate LLC, how, and where to do it.

- I checked Estonia as an option, but I am not sure how to manage taxes in this case (I am in EU). I am paying taxes as a citizen, and as part of my daily work. In case I start a company, do I need to care about paying other taxes https://investinestonia.com/business-in-estonia/establishing-company/

- Is it a good idea to incorporate an LLC while having full-time job ?

I am getting mixed signals whenever I read similar discussions, those who are interested in reading more about the topic:

https://news.ycombinator.com/item?id=15441846

https://www.mycompanyworks.com/create-a-company-to-manage-your-side-projects/

http://stu.mp/2010/09/why-you-should-probably-have-an-llc-for-side-projects.html

P.S: In case you are wondering, I am based in Germany. Feel free to suggest contacts to get legal advises (I couldn't find any one)
Boeing may have used a lobbying firm to plant a scathing story about SpaceX
> Patterns are just named best practices

Agreed, and this is one of the most important parts of patterns - being able to quickly communicate with someone else. In OO land, explaining to someone that this is a factory or a decorator lets them immediately understand the purpose.

Patterns also haven't gone anywhere. They are simply different for different languages and contexts. If someone sits down at a JS UI project and they are told it uses a one way data flow pattern vs. a two-way binding pattern they will immediately have a clear high level idea of what's going on.

I think people are too quick to get lost in the GoF patterns (and then mix in OO hate miss the forest through the trees). They forget that the GoF said these are common patterns that they saw while creating software. At no point did they say those were the only patterns or even the best patterns for evermore. For me, the real win for going over the GoF was a reminder to think at the next higher level of abstraction. To use the example above, Redux is a way to implement one way data flow pattern. Decoupling the implementation from abstract idea allows a higher level of understanding that is also transferable across technologies.
Yes, but if you isolate at cable level, using primary NICs MAC and IP is moot.
If you're sharing the medium, you need a good security team.

Attacks involving writing to / reading from memory & exfiltrating that data needs proof of concept code now. Hope someone with comparable hardware and BMC modifies OpenBMC's code to steal some stuff from the OS for research purposes.

If it can be proved, the results will be relatively fun and certainly revolutionary.
Not familiar with spark beyond being aware of it. We have a good amount of space allocated on a fairly powerful oracle server. Was thinking to store all of our tables there. If there are big advantages over an alternate system, I could get it done but would have to get the IT software team on board with letting me install it, getting a server, etc.

Jupyter have used but was thinking to have the team settle on mainly using SAS code to built the ETL process since that is the language most of them are familiar with using. (even though I personally HATE writing SAS)
Facebook is using your personal data, here’s why it’s fine
http://oscarmorrison.com/md-page/ shows only a blank page on firefox.

I even disabled NoScript for the site. Thanks, I'd rather have plain HTML.
I don't know enough (or in fact any) Khmer to make a meaningful comparison, but the "b", "bp", and "p" consonants exist in the Thai alphabet as well.
Kierkegaard might not have had a mortgage, kids vectoring toward absurdly expensive college, a shaky economy, the knowledge at any moment one could lose health care. In the modern economy, the sword of economic Damocles hangs above us all.
I-RevNet: Deep Invertible Networks (2018) [pdf]
Naming the Unspoken Thing:Inside the Bay Area’s crazy secret underground parties
One thing that amuses me given the number of complaints about the Python 3 string transition is how vastly better Python 3 is for working with bytes. The infrastructure available is light-years ahead of what Python 2 offered, precisely because it gave up on trying to also make bags of bytes be the default string type.
Meet the most prolific contributor to the English version of wikipedia
The first time I heard of Brave, I thought Oh cool, a privacy focused, chromium based browser. But I must say I'm honestly appalled by its parasitic business model.

Content creators are strong armed into becoming verified publishers, while users have to trust Brave that their data is handled properly and carefully.
Firefox for Android supports pinch-to-zoom, but only on certain sites (maybe it's disabled by a certain setting of `<meta name="viewport">`).

EDIT: Tried just now. Pinch-to-zoom works fine on HN.
I'm talking for myself. I stopped at like 3 movies and one game (Arkham Asylum was nice, but I didn't want more of the same), then lost interest completely.
Yup. I’m mostly advocating for patients to be active in their care. Stop blind trust.
Just tested in on FF 62. Seems fine. But yeah I have really only tested it on chrome
Two thoughts:
I don't see a viable way to change what society views as prestigious and 'cool'.

I can see the argument that the amounts spent on works of art are excessive, but it seems like we should at least keep in mind that this does benefit society by supporting the creation of great art.
> Romance languages. They are what Latin is today

That’s the same as looking at a tree and saying, “This is what I will be in a hundred years.”
Why would this be a type error? "Are these two things equivalent?" has an unambiguous answer regardless of whether the things are of different types. When they are not the same kind of thing, the answer is simply `False`. There's no reason to have a third answer "You're not allowed to ask that" for that case.
Bernat Patterns |Free Bernat Patterns
I've looked at using brave instead of Firefox because I'd install fewer extensions to get what I want in terms of ad blocking and privacy. Fewer extensions is a regular goal of mine. That said, Brave isn't quite there yet for me on the desktop but based on the roadmap, I'll be checking it out again in a few months. In the meantime, Brave is my primary mobile browser.
Agreed. So many of the complaints leave me wanting to suggest that someone try it for longer than 15 minutes and see what they think then.
Hey, may I suggest calling it Trig Party? (trig.party is available as of this comment.)
There is a particular use case which leads to frustration with Python 3, if you don't know the latin1 trick.

The use case is when you have to deal with files that are encoded in some unknown ASCII-compatible encoding. That is, you know that bytes with values 0–127 are compatible with ASCII, but you know nothing whatsoever about bytes with values 128–255.

The use case arises when you have files produced by legacy software where you don't know what the encoding is, but you want to process embedded ASCII-compatible parts of the file as if they were text, but pass the other parts (which you don't understand) through unchanged (for example, the files are documents in some markup language, and you want to make automatic edits to the markup but leave the rest of the text unchanged). Processing as text requires you to decode it, but you can't decode as 'ascii' because there are high-bit-set characters too.

The trick is to decode as latin1 on input, process the ASCII-compatible text, and encode as latin1 on output. The latin1 character set has a code point for every byte value, and bytes with the high bit set will pass through unchanged. So even if the file was actually utf-8 (say), it still works to decode and encode it as latin1, and multi-byte characters will survive this process.

The latin1 trick deserves to be better known, perhaps even a mention in the porting guide.
Hey, this is me!

This is some serious latency between recording and writing a thing, and is appearing on hacker news. I will go through here and try to answer various questions etc.
Didn't expect to see you posting here either. Anyway, thanks for teaching me what a sausage catastrophe is!
I have to trust every browser making to do the right thing with my data. Often, they don't.

What's the alternative to Brave's model? I personally will keep using Firefox with an adblocker and publishers will get nothing.
Banksy balloon girl painting self-destructs at sale
Well arguably there is much less reason to colonize Antarctica than to colonize Mars.

We could very easily build a colony in Antarctica - but nobody wants to live there. Plenty of people want to live on Mars.
Modafinil a few times a week, until I get headaches. And then I stop for a couple of days. Been meaning to get hold of some Adderall. Other than that, caffeine via drink (coffee/energy drink). Weed isn't a drug I'd pair with coding. I'm only an occasional smoker anyway. And I don't drink alcohol very often. Only really drink as part of social obligation.
Chrome 70 Canary and Firefox Nightly support AV1. YouTube has a test channel with AV1 encoded videos.

https://9to5google.com/2018/09/14/youtube-av1-video-beta-chr...
Why I never use it. I will always stick to Firefox. Firefox has yet to irritate me. A few plugins here or there is not as awful as most of what Google does.

Besides if I REALLY wanted to I could run one of the GPL forks of Firefox. They may be dated after a while but they work usually.

Edit: I meant to say GNU forks like IceWeasel and GNU IceCat which are licensed as GPL usually. There's other forks too.

See:

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

and

https://en.wikipedia.org/wiki/GNU_IceCat
Honestly, I prefer writing directly plain html5 with implicit tags. I cannot see any advantage of markdown over html for this particular usage.
Settings/accessibility/always enable zoom.
It's not the same kind of looting. In Battle Royale you need to search through houses, locations and move over the map to gather loot and when you kill someone you take their gear. Loot doesn't spawn after start and it's definitely not in defined locations.

Sorry, but you're talking about something completely different.
they're up front and open that they do

also, they're not that hard to dig out

https://www.youtube.com/watch?v=_eSAF_qT_FY
How about Firefox Focus?
> And the environment? [it’s not even clear.] https://stackoverflow.com/questions/44479826/how-do-you-set-...

That question is about interpreting backslash escape sequences for bytes in an environment variable. All this person wants is `os.environb` (and look, its existence highlighted a Windows incompatibility, saving them from subtle bugs like every other Python 3 improvement). https://docs.python.org/3/library/os.html#os.environb
(I am the author.)

The implementation I used was SWI-Prolog. I had tinkered with a couple of others prior to that in school (sorry, I don't remember more details), but this was free/open, and up to the job at hand without requiring an acquisition process from the customer of the system.

About the search strategy; yes I had to use a few cuts to get acceptable efficiency. Still, this was much easier than re-creating the same thing in SQL or imperative application code. The particular details, I don't remember well; sadly I've had little occasion since 2010 to use Prolog.
It's actually the only browser engine on iOS, all the third party ones are just skins on it with convenience features like syncing with their desktop counterparts.
> Thousands of years of breeding have produced a fruit that often suits farmers and sellers more than consumers.

Tomatoes were only brought to Europe a few hundred years ago. I very much doubt that there was much serious breeding before that.

And there are loads that taste good, the supermarkets simply won't stock them because they make less money.
It's easier to read? It's easier to write?
You'd recommend Polya over "How to Prove It" by Velleman? Polya's seems more about general problem-solving techniques, versus proofs.
Not OP, but making sure I have good sleep definately had a big impact on my live, as I now have full productive day to do stuff, instead of having the first half of the day ruined by waking up at the wrong time.

The two options that work best for me are:
- Wake up with the sun. Not feasible for every job, or when you have meetings early in the day, but if you have the freedom to do so, I'd recommend it.
- Sleep phase alarm that measures your sleep phase by laying on the edge of your mattress and wakes you accordingly. More reliable than a sleep calculator, in my experience. My app of choice for Android is "Sleep as Android" (which is also an awesome Alarm in general).

Your mileage may of course vary, especially if you are already hooked on morning coffee.
I recall how much joy I felt when my company's IT retired IE 7 and force-upgraded everyone to IE 8. So much polyfills and crutches that we could get rid of... (It was about the same, to a lesser extent, when moving the minimum requirement up to IE 9. That's the point where I stopped thinking about browser support.)
Sounds like an opportunity for competitors to advertise their competing services. Especially under Microsofts wing it could get more exposure on the Windows Store as a result.
Do authorities actually log in to peoples systems right now? I assumed password demands were just for decrypting existing hard drives contents, not for physically logging in to their computers.
Might be good to mention that in the readme.md then? Or make it an option in login_duress itself? I don’t understand the downvotes on my original comment.
I think this has already been done by Jr [1].

And for other markup languages, e.g. Dr [2] for AsciiDoc.

[1] https://github.com/Xeoncross/jr
[2] https://github.com/jonathonf/Dr
Well, if you tune the hyperparameters and architecture just so....
What good was that film if it made us "think", but not act?

I believe OP is putting the lessons in that film into action in his life, and those actions are present in the thoughts expressed in his words, and happily not the other way around like the people in and outside the art world giving lip service to Banksy.
"parasitic business model."

Can you elaborate more?
Reminds me of this classic Ai Weiwei photo where he just destroys a Han Dynasty vase for no good reason. I honestly love this photo. It really speaks to the breaking of tradition and not being bound to the past.

https://i0.wp.com/www.guggenheim.org/wp-content/uploads/2017...
It was a little too limited for me. I have 3 sites I visit regularly and have tabs open for each makes my workflow a little easier.

I liked focus and the DDG browser but settled on brave as the best for fit for me.

I don't love any of them but brave works best for the limited way I use my phone. I do check in on the DDG and focus browsers every 3 months or so to see if I want to switch.
I find it very interesting to see how experienced Coq programmers prove things. I have enough experience to know how deliberate there choices have to be.
Thank you for saying that. Working with strings and bytes in Python 3 is nothing short of a joy compared to the dodgy stuff Python 2 did. People who complain about the change are delusional.
> As a native speaker of Slavic language, I've never understood the need for differentiating between "THE table" and "A table"

This was a common sentiment I heard from Russian students when teaching them English. The concept of articles is absolutely maddening, I think, when your native language does not have it.

I recall trying to teach it with a simple explanation. “I heard a dog walking outside. The dog pushed the door open and entered.” By switching from “a dog” to “the dog”, I expressed that the dog I heard was the same dog that entered. We translated the same sentences into Russian and they expressed that it was natural to assume, without the articles it was the same dog. I then asked them “but what if was a different dog that entered?” and they indicated the speaker would likely add a clarifying clause to the statement to ensure that there are two different dogs in scope.

It caused me to ponder and I came to the realization that some of these elements of language while seemingly “useless” (meaning, you could clearly make a language work without them) are what add subtle richness to a language. Just as I can do without a ternary in JavaScript, I enjoy its succinctness even if it might be a bit confusing for a new learner.

I recall comparing some of my own difficulties learning Russian as a native English speaker. My head literally exploded when I realized for every verb I had to learn a perfective and imperfective aspects. Something simple like “I did it.” What on earth is the difference between the two aspects, I often asked. To Russians it was clear - it addeded subtle richness.

I guess what I learned is that in language “not needed” does not mean “useless”. I learned to love the richness of the Russian language and began to better appreciate some of richness of my own language that I previously took for granted.
Thanks for sharing - it's good to hear other opinions on this, and it's very likely the group of five or so people I was speaking to are not representative.
Http4s now on kotlin with: http4k
Have browsers started deprecating any image formats to decrease bloat?
Brave has a really good built-in adblocker. You can join a brave program that users can take part in as well to run some ads on approved sites.

That's the short version.

It's pitched as a way to allow people like me who won't browse without an adblocker a way to contribute to sites we like.
It would be better to link directly to the original ars technica story instead of this business insider regurgitation behind a computational paywall.

https://arstechnica.com/science/2018/10/a-shadowy-op-ed-camp...
That's pretty cool. But I would prefer code that checks the existence of the class at compile time.
Why is disabling it even possible?
It would be a type error because that would be helpful. Since comparing a bytes to a str is not usually what you want, Python could make you be explicit about it. It’s too late now, and it might have been considered another backwards compatibility break (so a good thing to keep out of Python 3), but it’s not a bad idea on its own. Heterogeneous collections are pretty rare.

Also, `==` doesn’t always answer the question of whether two things are equivalent in Python:

>>> 1.0 == 1
True
>>> {'a': 5} == OrderedDict({'a': 5})
True

(OrderedDict equality isn’t transitive.)
With the world on the line, scientists outline the paths to survival
Adding an Effect System to OCaml [video]
Bayesian statistics and cognitive modeling
I don't understand. Domestication is defined by the significant genetic changes induced by selective breeding. It's been practiced around the world, long before the industrial and scientific revolutions. For instance, pre-Colombian maize looks dramatically different than it's wild ancestor due to thousands of years of selective breeding.
Business Insider seem to be following up the initial Ars investigation, adding further relevant information.
Which makes Google Chrome a modern day IE. They push basically proprietary nonsense into the web that eventually gets scrapped or forced into being an open spec at which point its harder to redefine since it became a "works on my browser" implementation.
I believe this is what the poster is referencing. https://nakedsecurity.sophos.com/2018/06/25/brave-browser-st...
A successful serverless development flow
Russian hackers were caught in the act