skysight-inc/HackerNews huggingface dataset:
> Disk encryption prevents revealing the plaintext of files on disk, but you can still observe their ciphertext changing when the file changes. If the duress command causes different files to be modified compared to a normal login, then that can be detected by comparing to the original disk image, even though the actual modifications performed are hidden by the encryption.

How would they even be able to determine which files are modified? If we're talking full disk encryption here, you can't tell which files are being accessed/modified, just locations on disk. Without metadata to map blocks to objects they're flying blind.
I never played Red Dead, but my most memorable video game moment I think was the end of Brothers: A Tale of Two Sons. I can't say more w/o spoiling it but the way it mixed game and narrative was inspiring.
I'd like to see the opposite; Browsers having support for more image formats, especially the legacy ones from 20+ years ago (PCX, ART, ILBM, MAC etc.). That way interesting and useful imagery from days gone by aren't lost forever when the few remaining decoders never get ported to newer operating systems.
How it's possible for spies to insert malicious chips into circuit boards
Personally I think it's just as likely he's riffing on the ridiculous ways some behave having discovered a Banksy on the outside wall of some property in order to sell.

Whichever, or even if he is an evil capitalist villain, complete with white cat, laughing at our expense, I still like his messages and style.
It's important to note the difference between the technical mechanism and the motivation for a design. Yes, lots of languages can pass functions around so perhaps you think the Strategy pattern doesn't apply to you. And yet I see huge numbers of APIs that still take enormous option maps and don't offer configuration with some sort of callback, however simple the host language might make it. Patterns capture a design _choice_ as much as a technical implementation.
Super! Thanks. For reference:

https://github.com/blokadaorg/blokada
https://blokada.org
agreed.

First, tell a good story. If the story can additionally be interpreted metaphorically to support specific viewpoints, so be it.

There are exceptions, but most of the time, when I reach for a novel, I am not looking for political commentary.
Looking on my bookshelf I see that Design Patterns for Smalltalk is only about 40% of the length of Design Patterns for Java. Design patterns are not much required for reasonable dynamic languages. Interestingly, they don't seem to be needed for functional languages like Haskell either.

All that said, when I did a lot of Java programming over about a 15 year period, I found the Java Design Patterns to be useful.
thanks a lot for feedback, fixed it!
>UNIX files and paths have no encoding, they're just bags of bytes, with specific bytes (not codepoints, not characters, bytes) having specific meaning

Yes, and you should treat them as such. If you decode them you're doing it wrong. os.listdir lets you treat paths like bytes and responds in kind:

https://docs.python.org/3.5/library/os.html#os.listdir

The problems you mentioned do exist, and Python 3's response is to make you deal with them. This is the whole point, not a mark against it. Often when you find that Python 3 is making it hard for you, it's because you're doing it wrong.
Sadly, rooting or reflashing a phone often requires to use proprietary software distributed on dubious forums.
You're getting downvoted because it's a flamewarish comment but as a mostly python dev, I think you have a point. Where types are so different that your code will throw a runtime error the first time you run it if you get typing wrong, you don't feel that much pain from dynamic languages. Also where types are being used like dicts explicitly as bags of stuff that might or might not be present/set, you can have the same thing in most typed langages with null errors.
The place in my experience where a typesystem would have avoided some annoyance is where you have two very similar but not quite the same types that can fall a long way through your code before you notice.
Str/Bytes is one, for me another common one is date/datetime. Fortunately in Python3 you can type annotate and just use a decorator to enfore runtime typechecks, this lets you track your assumptions and catch the errors closer to their origin.
People compare it to JPG or PNG. I think the main point is for deprecating GIFs, with their poor quality and very slow processing.
I don't think so. If you want to detect and operate on only the data that could represent ASCII characters, you could, certainly process it as a byte string if you wanted, but you'd have to track the presence of non-ASCII-range character codes yourself, and keep state around to represent whether you were in the middle of a multibyte character as you read through the bytes.

If done right, it would be a (probably much slower) re-implementation of what happens when you use the latin1 trick mentioned. You have to get it right, though (sneaky edge cases abound--what if the file starts in the middle of an incomplete multibyte character?).

TL;DR this could technically work but is a poor idea.
Picture quality. Performance is exactly the same — both have zero shutter lag. All reviews so far show XS is worse than a top of the line Android phone camera from last year.

https://www.theverge.com/2018/9/19/17878018/iphone-xs-x-pixe...

https://www.tomsguide.com/us/iphone-xs-max,review-5747.html

https://youtu.be/tZ9wpMl8pzo
Driving is not a right. It's a privilege.
So?

Rust's stdlib provides iteration on code units and code points. The use cases where these are useful are covered.

It does not provide iteration on grapheme clusters, the use cases where this is useful are not covered (and require an external dependency).

At no point am I requesting replacing codepoints-wise iteration by clusters-wise iteration.
i have lot count of the number of browser projects that positioned themselves as an alternative to XYZ existing product. not saying it doesn’t happen (chrome) just that there are often several attempts made that rise and fall quickly. adding cryptocurrency may be an interesting spin...but in the end it’s just a spin and the core loop is not much different. best of luck to them!
That is not what article is about. It is about novel describing point of view of characters that are not you and showing you the world ad they see it. Article uses example of janissaries who were military, but from point of view of their families boys kidnapped as kids and never seen again.

There is nothing complex about it.

Another similar example is pretty much when the same act is framed in one novel as cool prank and in other you see it from point of view of victims and cool dude suddenly looks like massive asshole.
That's basically what I assumed, but I wasn't aware that SIM cards had that kind of access to the device storage. I thought at minimum it was sending out my location constantly though.

I know next to nothing about telecoms technology, but in my head always assumed that SIMs were basically just read-only chips containing keys to authorise the phone to use the network. Clearly my assumption was wrong in some way.
Finding bugs early is considered a hastle these days? Really?
>As a native speaker of Slavic language, I've never understood the need for differentiating between "THE table" and "A table". It's useless and clear from the context what is meant (note that both are different from "THIS/THAT table", which I do NOT deem useless.)

One differentiating example could be:

One person says to another:

1) Put it on the table.

vs. saying:

2) Put it on a table.

(Where, in both cases, by "it", they mean some object, say a book or any other thing).

1) would imply there is only one table in the room, so "the" was used.

2) would imply there is more than one table in the room, so "a" was used, meaning put it on any table you wish, it doesn't matter which one.
Atlas is built to form a registered Delaware Corp with an agent and a corporate bank account in the US. If your goal is to be acquired or go the traditional startup route then it's perfect. If you just want to roll a new entity for legal/financial protection it is akin to combating mosquitos with a grenade.
Yeah comparing GMO to smoking is a bit of a red herring... Like, who cares, everybody knows that smoking is bad and driving is very risky, but these are known risks, we choose to do them. I'm comparing GMO tomatoes to non-GMO tomatoes and frankly, I don't see that much potential benefit at all, especially if you buy locally grown tomatoes (which already taste amazing).
There few cities where scraping by for a couple years is thought of as an accomplishment.

I love NYC, but I'm glad I don't live there.
Show HN: Tiny GeoNames search wrapper with cache in Redis
10-25GB. But a fast computer, so?
Microsoft laid off nearly all of its QA staff company-wide in 2014. From https://www.zdnet.com/article/beyond-12500-former-nokia-empl..., "Under the new structure, a number of Windows engineers, primarily dedicated testers, will no longer be needed. "
The implementation might be trivial, the design choice is not.
Generally I'd expect a primer to have a bit more information than this. I understand that it's a sales page for your software and services, so calling it something other than a primer would probably be fitting.
Show HN: API testing made easy with YAML
Which is basically the same as HEIF, except bpg has a sane container.
On the significance of petawatt lasers (Nobel Prize 2018)
My all too general rule of thumb: Whenever a piece of writing mentions the Other with a capital O, I can safely turn my attention elsewhere.
The reasons I'd start an LLC
* You are selling expensive services or something where you could be sued. (ie selling children's clothes in America I'd definitely do it)
* You expect it to be profitable and want to take advantage of tax breaks for small businesses or similar.
* You want to sell the company on, raise money etc I don't know much about this route

If you're doing a side project for interest, make a little money I don't think its worth it unless you think you could get sued. If its a serious small business maybe there is someone in local government that can help you - maybe even govt/EU grants and such.
Do they still have the stupid ICO token for advertisments? Or did they get rid of that
>To some extent, yes. He strongly believes that every employee under him should get some of their compensation in the company stock.

Jeff Bezos strongly believed the same thing, and gave his employees stock in lieu of higher wages... until AMZN passed $2000 a share, at which point he strongly believed in phasing out RSUs and productivity bonuses in favor of higher wages.
The main point was that they’re not validated as Unicode so you can store values which cannot be decoded. It’s easy to find cases where someone could find a way to create a file which couldn’t easily be renamed or deleted using the OS’s built-in tools because even they forgot about this.

Similarly, Unicode normalization means that you can have multiple visually indistinguishable values which may or may not point to the same file depending on the OS and filesystem. I’ve had to help very confused users who were told that a file they could see wasn’t present because their tools didn’t handle that, too.
I sometimes smoke a small bowl of cannabis if it's getting late in the day and I'm becoming frustrated over a problem. It helps me continue working without throwing my laptop out the window. It can also aid my creativity, which can be useful.
Show HN: Community maintained list of DevOps conferences
Enjoyed this! Except the advertisement for his book in the middle of the show.
This, although I wish running a desktop guest Dev environment were a better experience :| The new enhanced session Linux turned out to be pretty lackluster.
There is a modern book about Prolog - Power of Prolog [1].

[1] https://www.metalevel.at/prolog
Amazon fired an employee who shared customer e-mail address a third-party seller
The iPhone prices are ridiculous. It can cost as much as 5 average Chinese Android phones. Maybe they don't have such fast CPU but still are pretty usable, and often have similar amount of RAM. Don't understand why people choose to pay more just to buy a device to browse Instagram or Telegram.
New theory: the actual "attack" was a production mistake. E.g. an active component meant for a different product was accidentally loaded onto the PnP machine for these SM motherboards in place of some passive component. The changed component happened to trigger unexpected behavior in the BMC (e.g. put it into a TFTP firmware load mode sometimes). Those inspecting the hardware persuaded themselves they were witnessing a sophisticated attack, because that's what they expected to find one day.
Patterns failed because almost nobody does any actual software design worthy of sharing. There are very few architectural decisions to make when you're working with a modern web framework, for example. That's how 99% of us live, day to day: most programming involves basically no design at all.
In investment banking, one of the first things you are taught is excel formatting and how to write readable excel. How to write clear and concise comments, what color different cell types should be (black for formulas, blue for inputs, green for links to other cells, red for weird formulas), how to structure large files (when to make a new tab vs keeping a monolithic file), when to break up a formula into multiple cells so it is easier to understand, even that you need to hit "ctrl home" before you save so that the next person to open the file starts at the right place (the group that trained me called it "turning off the lights before you leave a room")

So if someone is good at exce you can easily understand what they're doing and why they did it
> Grapheme clusters are overrated in their importance for processing. The list of times you want to iterate over grapheme clusters:

> 1. You want to figure out where to position the cursor when you hit left or right.

> 2. You want to reverse a string. (When was the last time you wanted to do that?)

You missed the big one:

3. You want to determine the logical (and often visual) length of a string.

Sure, there are some languages where logical-length is less meaningful as a concept, but there are many, many languages in which it's a useful concept, and can only be easily derived by iterating grapheme clusters.
Unless you're implying this was done against the will of the majority of the citizenry who live there, I'm curious why you think an axiom "technology should create opportunities" should override the rights, freedoms and preferences of people there.
> is a sorry effect of the financial system we use or the way our society assigns ‘coolness’ score to people and activity.

Sorry, but if you think this is a modern, western, or somehow unique situation in human history you’re lacking a lot of context. This is just how humans work.

A good percentage of people appreciate art, a small percentage of people like flaunting their wealth, and between these two groups societies have elevated artists and art since we stopped roaming the plains and start building cities.
They have some token thing where you can pay to the website directly through BLOCKCHAIN (!!!!). Otherwise it just blocks all ads to all the websites.

They have their own token (with ICO and all that) and you can pay websites through that. I am quite sceptical about that.
You're right. Still photos can be deceiving...
The Brave browser loads pages faster, because it completely ignores the web standards (i.e. it does not show you what the author wanted you to see). Precisely, it does not load and display some elements, which it considers to be ads (or at least that is what they want us to believe).

If the page author writes <body id="ads"> ... , normal browsers will show you the content of the <body>, while Brave will show you nothing (in 0.001 seconds) :D

Personally, I think that using browsers, which add / remove / rewrite (i.e. censor) the web content for you, is quite dangerous. If it rewrites the Google Search results once in a while, or rewrites some part of the news, you would not even notice.
Tesla Software Version 9.0 - Autopilot
I've never used it, but it does have far, far lower abuse potential than traditional stims such adderall or other amphetamines. I could definitely buy that psychological dependence could occur pretty easily, though.
Anecdotally and just from my own experience they've been accurate but often lack context for an outsider to correctly interpret them.

I have seen cases where the reviews are mixed and they're generally accurate. The problem is that they're describing different departments and a candidate on the outside would not know that, so they'd not understand that one department is a lot more pleasant than another.
You should first check your employment contract very carefully. There may be a no-compete clause that could prevent you from doing related work on your own.

If there isn’t one, then it really is no business of your current employer whether you start a company while employed. Still, you should be very careful of anything that might be construed as taking advantage of confidential information gained through your employment. Don’t use your work computer, steer clear of their customers, and so on.

Starting a corporation in a different country can be overwhelming. Estonia is relatively easy compared to other countries but you can’t do everything online.

In particular you’ll need a bank account to receive invoice payments. Are you prepared to travel to Tallinn and visit local banks in person to try convince one to open you a business account? If not, just incorporate in your home country and start with the bank you’re already using.

I’m not a lawyer or financial adviser, but generally and purely anecdotally speaking, taxation of EU corporations isn’t as complicated as some make it sound. If your company pays you a salary, it’s taxed as income. If you pay a dividend at the end of the year, it’s taxed as capital gains. It doesn’t make a substantial difference whether the company is in another EU country.

If you do create an Estonian corporation, there’s one nice thing about their tax law: corporate profits are not taxed until you actually withdraw money as dividends. Most other countries have a corporate tax charged from annual profits, which means that if your Year 1 goes great but Year 2 ends up losing money, tough — you’ve already paid taxes from Year 1 profits so there’s no way to subtract the loss retroactively. In Estonia, if you kept the profit in the company, you’d get to subtract Year 2 loss and pay tax only on the net profit when you finally do pay yourself the dividend.
The Machines That Will Fight the Social Media Wars of Tomorrow
Honestly I can't see how anything of
this is problematic for anyone

Perhaps they heard about Brave blocking ads and... replacing them with different ads [1] that Brave makes money from.

That pretty much means the ads-are-cancer crowd don't like them, and the adblockers-are-theft crowd don't like them either.

[1] https://www.computerworld.com/article/3284076/web-browsers/b... https://www.wired.com/2016/04/brave-software-publishers-resp...
What platform are you on? It works perfectly in both Brave and Firefox installations (unmodified) on Android (version 9, Pie). (Tested on wikipedia articles). However, keep in mind that individual web pages can disable this behavior with meta viewport. (https://www.w3schools.com/Css/css_rwd_viewport.asp)
I guess kind of interesting.

I've been to my fair share of pre-burn parties hosted by some big Burning an groups that share similar antics.

I wonder how much more off the rails these are?
Was the car faster? Is taking the train actually difficult?

I live in the US, in a state famous for requiring a car. I genuinely miss when I could take the train to work, and my family visits me less now that they have to drive into the city rather than park at a train terminal and ride transit in.
> then USA could arguably do it easier than China

USA would be easier to modify servers shipping to US, target specifically at datacenters.

China needs to guess which batch of the contract manufacturing motherboard would go. It would be risky to leak the board tamper to everyone.
Implement experimental WebP image support
It’s definitely worth it. In many states you can do it online for less than $100.

If you wrote a bug that cost one of your clients to loose a sale you could be personally liable for the full amount.

Just spend an hour doing it and don’t risk losing all of your savings. You don’t want to go to court with a company that has many more resources for lawyer than you.

This is a no brainer. Advice saying not to do it is just plain wrong.

It’s ridiculously easy, you pay your taxes almost identically to how you currently do if you make an LLC and are sole owner.

—edit I see you are not in US. My advice is more specific to US.
I'm glad to see effect systems getting so much attention lately. I think they are a far better alternative to monads (and monad transformers) in terms of cognitive load. They commute, for example.
Sorry, but we can’t fantasize our way out of this mess
I wonder why nobody mentioned Agrippa (A Book of the Dead) by William Gibson. It was a poem on floppy disc that was programmed to encrypt itself after a single use.

[1] https://en.wikipedia.org/wiki/Agrippa_(A_Book_of_the_Dead)
Not sure I follow. How does the latin1 trick handle multibyte characters?
You could also look for opinions on the e-residents Facebook group: https://www.facebook.com/groups/eResidents/
You can't make void taste good. The problem of the tomatoes is not their genetic material but the fact their environnement is empty of the things that make them good.

You can create the most badass tomatoes you want, they can't create things out of thin air.
End user "programming" systems are precisely what personal computing was supposed to be about. Aside from spreadsheets and maybe a couple of other things (hangers-on from the business world), that line of inquiry and use has been abandoned. It's worth the development community's time to ask why today we have a larger schism between "programmers" and "users" than we did in the 90s.

Let's remember just how popular Hypercard was and what it meant for personal computing. It did not die because people weren't using it. It was allowed to wither on the vine because it never made business sense. And that's tragic.
TS;DR: Speed up server, reduce weight of page and external dependencies, test speed from different locations.
- only if your idea is already profitable beyond ramen profitability, i.e. you can quit the job and survive from the income, and you have a financial buffer for ~1-2 years

- hire an accountant, 100EUR/month and you don't have to care about taxes that much, unless you go wildly profitable

- LLC/GmbH is a better idea than having your life on the line if SHTF (though corporate veil might require at least 2 partners in some countries/states)

- Estonia doesn't seem very recommended lately (the only easy part is to get e-citizenship but the rest seems to be overly complicated). UG in Germany might be what you need, but your taxes will still be around 50%. Did you think about moving to Switzerland/Luxembourg instead?

- think about having a company in Delaware for flexibility reasons. International taxes are more complicated though and Germany would still be your tax domicile, and demanding its share of your profits while bombarding you with unending bureaucracy, often years after
Judging books by covers. First time I've seen it in the wild!