skysight-inc/HackerNews huggingface dataset:
There is looting. Weapons, ammo and equipment appear in defined locations at various times.

If you look at good players who win their games, it's a lot about being at the right place at the right time. Get the best stuff and locations for yourself and don't let opponents have anything.
Looks like we need a Python 4. (/s)
Money is the force carrier for the value field. Humans exchange value, quantized as money, and the value field is stronger in some areas of our world.

Like any force carrier, they are fungible, and they are constantly being created and annihilated. Banks emit and absorb them strongly, other organizations less so.
> For a Python program to properly support all valid Unix filenames, it must use “bytes” instead of strings, which has all sorts of annoying implications.

While in python 2, you had to use unicode strings for all sorts of actual text, which caused its own problems.

> What’s the chances that all Python programs do this correctly? Yeah. Not high, I bet.

Exactly.
> It was all based on faulty sources.

Made up, manufactured "evidence", not faulty sources.
> entering a password started changing a system significantly

When different passwords (for the same user) simply decrypt and access different parts of the filesystem it's not the case.
The point of insurance companies is to hedge against financial scenarios that you cannot otherwise plan for.

There's no world in which adding a middleman for a regular and ongoing service lowers the overall cost of that service.
While I like a lot of the new capabilities of the web, I sometimes feel like it's Google strong-arming them into existence, and the rest has to follow.
Don't know German, but I've learned Spanish. I feel that English is easy because it's relatively hard for a learner to accidentally completely change the meaning of a sentence and make themselves misunderstood or, worse, say something offensive. In Spanish, a single letter changes the subject from him to me, the mood from indicative to subjunctive, etc. The use of pronouns in Spanish is especially difficult for English speakers.
AMD Announces Threadripper 2970WX/2920X Availability, Adds Dynamic Local Mode
> changing a system significantly

I'm rehashing your parent's comment, but: Unless the command wiped the entire disk or the entity gained access to the unencrypted versions of the disk before/after the duress command, an outsider wouldn't be able to tell if a log had been updated or if an entire partition had been wiped.
The fifth amendment says you cannot be forced to incriminate yourself. Actively destroying evidence that could incriminate you is not covered by that.
Rust is probably one of the languages which does this crap best, and that's thanks to static typing and deciding to not decide:

1. it has proper, validated unicode strings (though the stdlib is not grapheme-aware so manipulating these strings is not ideal)

2. it has proper bytes, entirely separate from strings

3. it has "the OS layer is a giant pile of shit" OsString, because file paths might be random bag of bytes (UNIX) or random bags of 16-bit values (and possibly some other hare-brained scheme on other platforms but I don't believe rust supports other osstrings currently)

4. and it has nul-terminated bag o'bytes CString

For the latter two, conversion to a "proper" language string is explicitly known to be lossy, and the developer has to decide what to do in that case for their application.
What gives you the right to decide what other people do with their stuff? How would you feel if someone came along and said "I don't think two orders of magnitude is a reasonable level of wealth inequality, so I'm taking everything you own to give it to poor Africans"?

Imagine two people both making $100k/year. One saves/invests half their income, the other saves 0%. In 20 years, one has a million dollars of savings, the other has less than a thousand: three orders of magnitude of wealth inequality. The saver, by exercising restraint and not consuming everything he produces, has contributed more to the economy by allowing the fruits of his labours to be invested, increasing future productivity. If we penalise the saver and favour the wastrel, we incentivise and get less savings and investment, hence in the long term less growth and lower standards of living for everyone.
Deadly Australian funnel-web spiders can also kill melanoma cancer cells
HyperV is outstanding and I don't regret paying for the Pro upgrade to get it.
there are no hearings, so they are not contentious
How many joules or watt hours has these used?
Wow! Docker for Windows and SQL Server 2019 on Linux What a Combination
Good point but the book is very clear about how unusual Erdős was and talks about the lives of more normal mathematicians he worked with.
If you read the links given, you'll see that is in the godoc. Godoc has a place to put prose documentation. The formatting is quite weak (you get headers of more than one word, paragraphs of text without italic or bold but with URLs turned into active links, etc, and preformatted-code), but it's often enough. (If it really isn't enough, link somewhere.) Godoc also has official support for examples, which are included in the documentation and tested as part of the automated test suite, ensuring they stay up to date if written even halfway reasonably.

This is not specific to godoc. Most, perhaps effectively all (certainly all the ones I've seen and used), automated code generation tools have a place to put arbitrary prose at the top. The fact that it is so often unused is a developer problem, not a tool problem.
I believe Hungarian has something like 16 cases, making German less difficult to learn that in could be.
I've tried many of them, but my favorite is Gmail. Yep. Whenever there's somethin I need to keep for the long run I'm sending my self an email with it. Attachments supported, formatting supported, search is pretty awesome, so it has all I need.
Yike. I had forgotten about that one.
They are 3½. We’re not monsters.
> When you need undo and redo, knowing about command pattern made it easy.

This is an example of a pattern that's only needed in C++-like languages. In a language which supports messages (first-class method calls), undo stacks come naturally.

Note C++ has first-class function calls (function pointers), but not methods. NSInvocation does it all.
I firmly believe there’s an ocean of undisovered applications for electrostatics.
WhereBnB in Dublin
As far as I can tell this is a long-form “I used to be able to ignore encoding issues and now it’s a ‘mess’ because the language is forcing me to be correct”. Each of the examples cited is something which was a source of latent bugs which he thought was working because they were ignored.

Only his third bit of advice isn’t wrong and treating it as something unusual shows the problem: the only safe way to handle text has always been to decode bytes as soon as you get them, work with Unicode, and then encode it when you send them out. Anything else is extremely hard to get right, even if many English-native programmers were used to being able to delay learning why for long periods of time.
> It amazes me how many people claim English is easy to learn

People say English is easy to learn because it's both fairly easy and very useful in the modern world. There certainly are languages that are even easier (e.g. Spanish, as soon as I've started learning Spanish I found myself wondering why would somebody need to invent something like Esperanto (which has cases!) when there is Spanish already).
How you can find free online fashion tips?
This is just the cost of using a dynamic language with implicit error handling (exceptions).
Moco museum in Amsterdam sells in its giftshop Banksy artworks on pretty much everything, from posters to mugs.
Yes, it has effects on the real economy (although in the case of these high-value positional goods I'd argue they're rather smaller than you might think - as likely both buyer and sellers are simply swapping for money which otherwise will sit in a bank account so the effects are limited to those imparted by the middle-men).

My point was, the economy is not a zero-sum game.
It's a nice thought in some ways, but that requirement in particular is where I figured the author must be talking about massive projects, because I'm sure not taking my ~100 man-hour open source project documentation and getting it translated into half-a-dozen languages. A project has to be pretty big (multiple orders of magnitude larger than that) before it can justify having documentation in anything but whatever language the probably-single developer is most comfortable documenting in.
Me too. I've had mine for ~4 years and it's going strong. Blackberry OS 10 is really nice, and I prefer it to Android and IOS. They seemed to 'get' what a mobile OS should be (i.e. a helper not something that takes over your life). Then again, it is frozen in time 4 years ago.

In the past I have had to install a root CA (for AWS or LE, I forget which), I have to use FTP to get my pictures off, but the trade-off is worth it in my book.

I always get an amazing amount of push-back (from astonishment to outright "you're wrong") from people who argue that no-one should ever want anything except what Apple and Google want to push. Well, some people do!
Progress to Pinpoint an Aircraft’s Position (2017)
Ask IH: Settings as a service idea, thoughts?
Hi Matt! Great to see you're doing so well!

(Fellow UWA alum and Slime Volleyball ex-World-Champion here. :D )
This is actually a deeply engrained practice in Japanese business culture - “keiretsu”, or interlocking companies.
RoadRunner: PHP app server, load-balancer and process manager written in Golang
Thanks for mentioning CouchApps (based on CouchDB, or the scalable BigCouch). I haven’t thought about CouchDB as a platform for a long time, but it does hit a sweet spot for local data, distributed replication. Seems like a good basis for a Decentralized Web on a small scale where you share with a small number of people.
this is the beginning of the end
You can garble filenames just as easily in statically-typed languages. Consider, for example, Windows' infamous 16-bit units that aren't actually well-formed UTF-16. I'm not aware of any widely-used programming language whose type system will save you from that sort of thing ("here's some bytes, figure out if they're a string and if so what encoding" is a historically very difficult problem).
> The most correct way to expose Unicode to a programmer in a high-level language is to make grapheme clusters the fundamental unit, as they correspond to what people think of as "characters".

> UTF-8 is a non-starter because it encourages people to go back to pretending "byte == character" and writing code that will fall apart the instant someone uses any code point > 007F.

These are somewhat different concerns, you can provide cluster-based manipulation as the default and still advertise that the underlying encoding is UTF-8 and guarantees 0-cost encoding (and only validation-cost decoding) between proper strings and bytes (and thus "free" bytewise iteration, even if that's as a specific independent view).

> Far too many real-world uses for textual data require the ability to do things like length checks, indexing and so on

This is not a trivial concern e.g. "real-world uses for length checks" might be a check on the encoded length, the codepoint length or the grapheme cluster length. Having a "proper" string type doesn't exactly free you from this issue, and far too many languages fail at at least one and possibly all of these use cases, just for length queries.
I didn't now you could do monte carlo (and what-if) with excel. Can you tell us more about that ?
For those who haven't heard of it, BSD authentication originated from BSDi (early commercial BSD variant) and is pretty much exclusively used by OpenBSD today.

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

https://man.openbsd.org/authenticate.3

It does have some benefits, with its process-based model, with various login_* helper utilities (in contrast to PAMs shared libraries). This allows some cool things like "sandboxing" with pledge(2), which it appears many are.. including login_duress.
How to Listen to Someone You Disagree With
Supply Chain Security Speculation
Perfect! I didn't think of trying to run Linux software via WLS! Cool Retro Term is exactly what I'm after, thank you.
You might want to read up about genetically modified, the term is not used as you think it is used.

You might wanna start here: https://en.wikipedia.org/wiki/Genetically_modified_organism
> You can garble filenames just as easily in statically-typed languages.

If the language assumes filenames are regular language strings, which not all do.

> Consider, for example, Windows' infamous 16-bit units that aren't actually well-formed UTF-16.

unix filenames are literally just bags of bytes with no known or specified encoding.
This is beyond a huge stretch but your creativity is appreciated.
Yes. I’d rather not say what exactly but it’s common in my circles.
I agree with everything you said. It would be really interesting to see Microsoft adopt the Arch Linux release model, but unfortunately I don't think it will happen. They're stuck in a difficult place, trying to do SaaS with an operating system installed on users' devices.

If you use Windows 10 Professional or above, though, you can defer Redstone updates for a maximum of 1 year while still getting the usual bugfixes. I guess that's how long Microsoft wants to keep supporting the not-updated version.
Yes, but the issue here would be that Python forced these "things which are not unicode" into unicode.
Ultimately the west deserves to lose, should this come to conflict. Our system, which elevates the corporation above all else, is so damaging.
Noob here. Doesn't targeted genetic mutation have an additional step of recognizing the exact gene (or combination of genes or gene properties, whatever the terminology is) that is needed to be changed in order for the desired outcome to take place? If so, isn't all that fuss about GMO exactly about that additional step with several open questions like:
1. we cannot be sure that the gene we're editing is the one that is responsible for the feature we want (or that it is responsible only for that feature)
2. What are the chances of editing the wrong gene and noticing it?
3. What happens is we edit the wrong gene without noticing it?
It drives me nuts when friends and associates write long form content on other people’s/organization’s platforms.

The purpose of FaceBook, Twitter, Google+, etc. should be as a place to put a link to your content in your own domain.
That's silly. How often have you had to work with grapheme clusters without also using a text rendering engine? But the number of times you need to know the number of bytes a string takes, even when using scripting languages, is much higher. The only way to deal with this is to not make assumptions, and not have a string.size() function, but specific accessors for 'size in bytes', 'number of code points' and (potentially, if the overhead is warranted) 'nr of grapheme clusters'.

The 'fundamental' problem here is that the average programmer doesn't understand 'strings' because it seems so easy but it's actually very hard (well, not even hard, just big and tedious). Even more so now that many people can have careers without really knowing about what a 'byte' is or how it relates to their code.
Best
I have been fooled so many times trying to get my card fixed. I encountered so many fake hackers in a quest to erase all negative reports on my card and at the same time increase my credit score to at least 700 and above. I actually went through this with my husband and we went through hell and back not until my husband’s friend introduced him to a reliable hacker called DARKWEBZZ. He put a smile back on the faces of my husband and I. The sweetest part was that we paid little for a whole lot of services. I still want to pay him more by sharing his contact; you can reach him via darkwebzz@null.net
My God.. just when I was finally onboard the .NET core train they are back to ramming through crap like WPF forms.

Damnit, keep .net core clean and lean!
> The vision of a "timeless way of building" based on participatory design and traditional yet evolving harmonious patterns at every level of scale is beautiful but kind of steamrolled by technical capitalism, division of labor, economies of scale, CAD, etc.

I think the largest issue with making people care about building things is that in the West we already have all the things. Everyone has a real "end of history" outlook that grocery stores and suburbs already exist and someone else is taking care of it, or did take care of it in 1950.
>_Everything_ has been modified for thousands of years.

Sure, and - consequently - has been tested extensively for an adequate period of time and found to be safe for human consumption.

While most of the modern "bio" obsession is IMHO not wholly justified, genetic modification of something that you eat may have unwanted consequences, possibly only visible in the long term.
Makes sense - still it feels odd, coming from the “other side“. I wonder when this split happened.

About dieser/diese/dieses, that would be tento/tato/toto (this/that here).
> I think that’s standard procedure already.

Simply transferring everything off a 2TB HDD at 100MB/s will take over 5 hours, and that's ignoring any hashing.
As a magic aficionado my bet is that the picture was rolled into the frame and a pre torn version popped out the bottom. Like the old dollar bill trick. Still impressive.
Ask HN: How can Artificial Intelligence help artists paint?
I'm doing research and developing an open-source tool which helps artists create paintings (with data analysis/mining, visual analytics and deep learning methods).

A question for every artist or art lover: what features do you want for such a tool?

Topics include but not limited to:

- Analyze others' artworks to get ...

- Analyze my artworks

- Coloring, sketch, stylization

THANKS : )

-----------

The purpose of this post: User requirement analysis

The purpose of creating this tool: As an art lover, my dream is mapping human thoughts to digital images, though it's impossible with current technologies. I'm enthusiastic about using computer science techniques to help art communities.

Tools/Algorithms you might be interested in: style2paints, paintchainer, Autodraw, Sketch-rnn, pix2pix
Or, you know, it could be the NSA, since we've seen pictures of what they can do to a cisco router, and especially after the big web services made a push for TLS everywhere.

Does anyone more knowledgable know if this must be an at-the-factory thing, or if it's possible to do this afterwards, "interdiction" as the bloomberg story put it?
'Metro' is the only design concept Microsoft has come up with in the last decade.
This is the whole point of such a feature. Pipe wrench guy demands password, you give the duress password. Re. parent comments, I suppose you could have the script delete all traces of login_duress (and itself).
Count me in. My email is in my profile.

As much as I like AllegroGraph (and I wrote a book using AllegroGraph) if you want people to be able to install your project easily, then using SQLite, or something similar, might make it easier for people try try it out.
"There is only One True Parabola" https://youtu.be/hoh4TmPzu1w?t=70
> As far as I can tell this is a long-form “I used to be able to ignore encoding issues and now it’s a ‘mess’ because the language is forcing me to be correct”.

The problem with that view is that there are things for which you can not be correct, and there are no encoding issues because there is no encoding (or if there is one it does not map to proper unicode):

* UNIX files and paths have no encoding, they're just bags of bytes, with specific bytes (not codepoints, not characters, bytes) having specific meaning

* Windows file and path names are sequences of UTF-16 code units but not actually UTF-16 (they can and do contain unpaired surrogates), as above with specific code units (again not codepoints or characters) having specific meaning

These are issues you will encounter on user systems, there is no "forcing you to be correct". A non-unicode path is not incorrect. On many systems it just is. OSX is one of the few systems where a non-unicode path is actually incorrect, and that means you will not encounter one as input so you have no reason to handle this issue at all.

> Only his third bit of advice isn’t wrong and treating it as something unusual shows the problem: the only safe way to handle text

That's where you fail, and to an extent so does Python: some text-like things are not actually text. Path names famously is one of this case. You're trying to hammer the square peg of path names in the round hole of unicode.
This is a funny comment about this particular piece of art because it is an obvious & unsubtle reading of the theme of this piece (and other Banksy pieces).
Excellent, I've subscribed! Thanks, looking forward to future articles :)
> I'm not so sure other languages do that any better

I can only speak of D since I'm familiar with it.

In D, strings are arrays of chars. The standard library assumes that they contain valid UTF-8 code points and together form valid UTF-8, but it's ultimately your responsibility to ensure that. This assumption allows the standard library to present strings as ranges of Unicode code points (i.e. whole characters spanning multiple bytes).

To enforce this assumption, when raw data is interpreted as D strings it is usually checked if it's valid UTF-8. For example, readText() takes a filename, reads its contents, and checks that it is valid UTF-8 before returning it. assumeUTF() will take an array of bytes and return it as-is, but will throw in a check when the program is built in debug mode. Finally, string.representation (nothing more than a cast under the hood) gives you the raw bytes, and .byChar etc. allow iteration over code units rather than code points, if you really want to avoid auto-decoding and process a string byte-wise.

There are also types for UTF-16 and UTF-32 strings and code units, which work as the above. For other encodings, there's std.encoding which provides conversion to and from some common ones.

My only grip with how D deals with Unicode is that its standard library insists on decoding UTF-8 into code points when processing strings as ranges (and many string processing functions in other languages are written as generic range algorithms in D). Often enough, it's unnecessary, slow, and makes processing non-UTF text a chore, but it's not too hard to avoid. Other than this, I think D's approach to Unicode is better among the other languages I've seen.
I didn't read the article as saying "I hate the complexity of Unicode", I read it as a complaint about language/library ergonomics. Comparing a string to a bytestring should not just always evaluate to false, it should (IMHO) raise a type error.
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.

On the other hand, it's possible to delete an encrypted partition by only overwriting the encryption key, which might be a small-enough change to go undetected.