skysight-inc/HackerNews huggingface dataset:
What's the 'ls quoting fiasco'?

Actually I recently found that coreutils and ls behave fairly well with funny filenames:

Here is an invalid utf-8 byte and then a valid utf-8 sequence

$ x=$'\xce\xce\xbc'
$ touch "$x"

You can list it:

$ ls
?μ

And here 'ls' does better than other tools that display filenames. It shows the invalid byte and then keeps decoding with error recovery:

$ ls --escape
\316μ

However GNU stat (which I think is also in coreutils) does something similar, but weirdly messed up:

$ stat *
File: ''$'\316''μ'

(it looks like it's outputting a valid shell string, except with extra quotes)

-----

Most command line tools are not aware of stuff like this. For example you can touch "x$ANSI_TERMINAL_CODES" and if you do "bash x??" or "python x??", then your terminal will change color because of the escape codes printed back to the terminal.

I just changed Oil to use a well-defined format I called QSN (quoted string notation):

http://www.oilshell.org/blog/2020/04/release-0.8.pre4.html#t...

It adapts Rust's string literal syntax to express arbitrary byte strings precisely and losslessly. (JSON can't express arbitrary byte strings.)

The QSN encoder does UTF-8 decoding with a specific error recovery mechanism. So it's basically like what ls and stat do, but it's more precise.

(If anyone is interested in QSN, please contact me. I think it's more generally useful in a lot of places. It's something we already do but it's precise like JSON.)
It depends. US immigration, especially under Trump, is pretty tricky.

Also, does it need to be US? The European offices hire pretty handily too e.g. https://www.cnbc.com/2020/01/21/facebook-is-creating-1000-ne... or the Google Zurich office.
Most VC Firms Are Fragile Partnerships, Not Institutions
I see, I think I misinterpreted you. Sorry!
Everyone in the economy is getting fired.
It surely does, because Haskell is not one compiler language, not only does it have multiple implementations, which I concede almost everyone only cares about GHC, there are interpreters and a REPL experience as well.

You don't need to compile your program in one go using GHC's LLVM backend, many times a GHCi session is more than enough.
That's not going to work for plenty of services. Most people (if not everyone) are not going to pay for search, social network, instant messaging, maps, mail etc.
There was an outbreak of lung injury over the last year that became associated with black market THC products that were cut with chemicals that are not safe to inhale, such as vitamin E oil.

https://www.cdc.gov/tobacco/basic_information/e-cigarettes/s...
> Our next major challenge: We are dealing with 21 million lines of code.

I think I just fail to understand the true complexity of a browser, but how is Firefox 21 million lines of code? How can a browser be 21 million lines of code? That just seems so large for what a browser does.
Long spaceflights change astronauts' brain structure, new study suggests
I love La Costeña! I posted these about it earlier:

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

DonHopkins on Sept 12, 2016 | parent | favorite | on: Dynamic Programming: The Name (1984)

The story I heard was that Adobe's Type 1 font encoding [1] used obscure names like BlueValues, OtherBlues, FamilyBlues, FamilyOtherBlues, BlueScale, BlueShift, and BlueFuzz, so that Adobe employees could discuss their proprietary font hinting algorithms in public while they were in line for burritos at La Costeña [2]. That way nobody from Apple or Sun or SGI who was standing in line next to them could understand what they were talking about.

Yes THAT World Famous La Costeña: Guiness Record Holder for the World's Largest Burrito! [3] On May 3rd, 1997 La Costeña of Mountain View, California created the world's largest burrito. The burrito weighed in at 4,456.3 pounds and was measured at 3,578 feet long. It was created at Rengstorff Park in Mountain View.

[1] https://partners.adobe.com/public/developer/en/font/T1_SPEC....

[2] http://www.costena.com

[3] http://www.costena.com/famous.html

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

DonHopkins 7 months ago | parent | favorite | on: Amazon’s “two-pizza teams”: The ultimate divisiona...

How huge could a "One-Burrito" Team possibly be?

http://www.costena.com/famous.html

On May 3rd, 1997 La Costeña of Mountain View, California created the world's largest burrito. The burrito weighed in at 4,456.3 pounds and was measured at 3,578 feet long. It was created at Rengstorff Park in Mountain View.

(So big they had to photograph it from an airplane!)

http://www.supersizedmeals.com/food/article.php/200604112036...

https://twitter.com/xardox/status/997942006872764416

xardox @xardox

I finally found the whole story behind the World's Largest Burrito that La Costeña made in Rengstorff Park in 1997!
4453.3 pounds, 3578 feet long!!! Also set that day was the world record for largest number of porta-potties filled.

http://supersizedmeals.com/food/article.php/2006041120363213

"Despite the hearty appetites of everyone involved, a substantial amount of food was left over. Soon people were filling enormous paper boxes with foot-long lengths destined for the freezer. A couple groups carried six-foot lengths like fire hoses to waiting pickup trucks."
I was thinking about Firefox development quality while trying to figure out why the f does Firefox CPU usage fluctuate between 1 and 5% with one background tab open and only one plugin installed (containers). The same URL when opened in safari goes to 0.1% or 0.0. I tried to look up dom timeout config settings and tried to set aggressive timeouts, but in the end I gave up.

There must be something fundamentally wrong if apps can't stfu and be at 0% while in background with simplest use case. I am going back to close app's when I am done using it.
This is quite similar to HabitLab https://habitlab.stanford.edu/ which also includes a number of other options (such as pausing videos on youtube before playing them, hiding comments and news feeds on Facebook, etc). [Disclaimer: I built HabitLab]
Andrej Karpathy – AI for Full-Self Driving
I built an ETL on top of AWS Lambda.

I had to pull data from Facebook/Instagram, YouTube, Twitter, and Pinterest on a schedule - once an hour. The pipeline took about 3 minutes to run. I used a CloudEvent cron to kick it off, a few lambdas, stored the raw data in S3, had another lambda massage that data, stored the final data into S3, and put a message into SQS letting my OLTP system know that it could bring it in.

Worked great. Were there other ways to build it? Sure. Could have done it on the same hosts that my OLTP system was running on. But the amount of memory it used for that 3 minutes doubled the amount that was needed on the host normally. Yes I could have optimized it. But my time was better spent figuring out other issues (I was sole developer on the project). So I just broke it into a bunch of different parts and kicked up to Lambda. Worked great. Never had any issues with it. Never worried about not having resources. I think it cost .2 to .8 USD each run? So ~600 USD a month at the high end. And it took me less than a day to break it up and get it running vs who knows how long to optimize.

So it definitely solved a problem I had in a very efficient way, and allowed me to speed it up just by spending money.
ZeroMQ is a behemoth; for something that just handles communication, it compiles to like 660KB of i386 machine code. Is there an OS kernel with networking, virtual memory, USB and a file system hiding in there?
What do you mean 'id as a DOD box'? Do you mean hostname/splash screen/ip .... I'm missing something
Nah, it's not popular. They'll wait until someone is actually using Duo before announcing its sudden demise. They'll probably open up an API first to make it all the more painful.
WhatsApp Reminders
Hangouts is pretty much a dead product so I see it going away soon anyway.
Thought-provoking, indeed:

"Before I start: be careful before taking legal advice from the Internet."

He got that much right, at least. I'm not going to argue every point, but as one with a broad range of experience on the topic I'd say there's enough wrong with that article to go find my advice somewhere else.
My understanding of the principle is that you often need a much larger rework of your life to quit an addiction than just changing the habit itself. So much of an addiction is the habits and preconditions that you take before using a drug. For example, first a person might have a lunch break at 12:30, then they'll go and talk to coworker X who also has a lunch break, then they'll take a walk, then they'll start lighting up. All of these little habits have nothing to do with smoking individually, but your brain is already primed to assume 'lunch break -> chat -> walk -> smoke'.

Being willing to alter your deepest held beliefs predisposes you to altering other things about your life, from big things like moving across town to small things like taking a lunch break at a different time.

There's also a social element that I think is hard to reproduce in a secular context. Convincing a bunch of adults to coordinate their schedules is much easier if they believe that they will go to heaven if they do so. Furthermore, you already have a public building as a location to hold meetings. Hell, even the architecture of a lot of churches is awe-inspiring. They're physically designed to be these places where you come to terms with your faults (sins) and begin to deal with them. Of course, that also means that their design is religious, with religious iconography in the stained windows and on the walls.
Same, when I heard that before I always assumed it had something to do with their gun advocacy.

I thought that too, when I moved from the east coast to Texas for a few years.

Once I understood the real meaning, I felt my presumption was a reflection of my own biases, and quickly learned to judge Texas and Texans more fairly.
How many are curries or other imports? ;-)

(Says the cat who's been home-baking crumpets.)
I didn't mean to suggest the language spec would have made it hard so much as that I'd have really not wanted to approach it in a way that was going to work with VC6/2002/2005/gcc 2.95/sunpro/ibm/hp compilers of the era. (I think it was 2009 before I got to push VC6 off the raft.) ISO support in C++ compilers was really bad for a long time.

Our typical pattern was to return T*. But that fits well with the "I should have just written it in C" argument IMO.
I think large corporations are big targets for frivolous lawsuits, so they grow big paranoid legal teams. Those teams succeed based on crossing every t and dotting every i, so they eventually look for any threats, no matter how small. Eventually it turns inward and they start stifling innovation by trying to handcuff their own developers, because there's some small chance they could accidentally leak something.
If people post their own pictures without a copyright notice, are they by default in the public domain? There are plenty of places people post porn. A friend told me see reddit.com/r/ <there are many nsfw websites there>. Just google it. Unlike many other places, in gone wild at least people are generally posting their own stuff. It's kind of an amazing concept, that there are apparently hundreds of thousands of people over time that are willing to post pics of themselves naked.
I'm aware of privately owned warships by privateers. It is true and a good counterargument.

However, the colloquial use at the time of the phrase "arms" almost certainly referred to small arms, but would have included knives and swords (State v. Kessler 1980[1]) which are paradoxically much more heavily regulated than firearms in most states. See also "To Bear Arms"[2], by which the modifier "to bear" suggests arms that could be carried.

Perhaps one counter argument to this point was the desire by the framers to include a conscientious objector clause obviating military service for people who had specific objections, which may support the view that "arms" was anything in use by the military of the day, but the clause was stricken from the constitution for fear that the second amendment may be interpreted by later generations as a right that could not be enjoyed by the people and was intended to encompass military service.

There is also the argument that the framers opposed the idea of a standing army, which would support your viewpoint, and there is an excellent essay[3] that makes a fair and reasonable argument to this end.

My personal opinion is that this isn't clear, but it is obvious that--at a minimum--the interpretation of "to bear arms" would suggest that the 1986 ban is unconstitutional, as is the 1934 NFA tax act that required registration. I'm not convinced "to bear arms" includes other weapons that could not be "beared," such as warships, but perhaps this will clarify my thought process for you.

[1] https://law.justia.com/cases/oregon/supreme-court/1980/289-o...

[2] https://guncite.com/gc2ndmea.html

[3] https://tenthamendmentcenter.com/2016/06/30/what-does-the-wo...
Duo also works with your Google account.
Unfortunately there don't really appear to be many good alternatives.

https://pricesearcher.com seems to be a fairly featureful replacement for Pre-2012 Google Shopping/Product Search/Froogle, but it's UK only and I'm not sure about its long-term survival prospects (and it doesn't include eBay listings).
Oh man, I've had this issue before and I just chose to nuke the logs and try again, thinking they were corrupted!
Running an independent Arch Linux rebuilder
So you’re saying open source projects are less secure than closed source.

You might be the only person around here to ever try that argument in public.
> I was lucky enough to be born into a good family, where I could learn the skills to be where I am today, no?

Right but I meant that Google offering a job or keeping you on payroll shouldn't feel like luck but like the default, expected behaviour in our field.
Yep, though they are actually advertised as being for RAID, not just NAS (though NAS is in the name)
I'm over here eagerly awaiting the Surface Duo
Your stats are pretty impressive. I'm surprised you didn't get into an MD program especially considering that you did the postbac. I'm sure you would've gotten into DO school though.

I've thought about doing this myself. I'm curious, what made you want to switch (from software engineering I'm assuming?) to medicine?
FAT is enjoyable! I spent a rather insane summer on a personal project to implement a FAT16 interface speaking the SD protocol to an SD card over an SPI bus.... from scratch. I think I had five spec documents open simultaneously at one point, spanning the stack from FAT to the microprocessor I was using.

It was insane, but I learned an incredible amount from it. Would recommend, even if you focus only on FAT.
> The best situation to be in is to have been through it and be immune.

I think the jury's still out on the odds of achieving even temporary immunity after having caught it.
> New Zealand is the only country that has a government that full elimination is a viable option. The modelling that drives the belief is 100% based on the best available science.

Isn’t Taiwan also on this path?
> it's harder to have a function return more than one value in C than it is in most architectures

Biggest issue is the cultural aversion to returning structs and tagged unions.
Netflix First Quarter 2020 Letter to Shareholders [pdf]
Pwn Challenges for AUCTF 2020
Nice. They suggest to use the European Union Public License [0], a copyleft license compatible with GPL and CC BY-SA (and others).

[0] https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-1...
25,000 Missing Deaths: Tracking the True Toll of the Coronavirus Crisis
I think we can all agree that LLVM IR is a more powerful compilation target than C. However, what Pizlo was saying is that generating C can be simpler than generating LLVM IR. A bunch of printfs can get you very far.
One of my favorite t-shirts says (in the shape of TX) "Don't Mess and God Bless".

https://www.amazon.com/Mason-Jar-Label-Llc-Shirt/dp/B07PK5FW...
They've been in the process of shutting down Hangouts for about half a decade now. I'll keep using it until it doesn't work.
SimCity BuildIt hack damn os
SimCity BuildIt Hack DAMN OS - Get Unlimited Simoleons and SimCash 2020 – 100% Work iOS & Android.damnos.com
peut-être "débrouillard" ?
We didn't choose the title :) "Boost VC closes $40M fund to continue the same Sci-Fi accelerator for the last 7 years" doesn't have the same appeal.

Revamp: We have been a Sci-Fi accelerator for awhile. But new terms are $500k for 15%.

Sci-Fi: What do you imagine the future to be? Current Tribe 13 include crypto, VR, quantum & biotech.

Sci-Fi - Whatever you imagine that to be
The solution for docs.rs is handling errors correctly and not panicing.
What doesn't a browser do these days.
This is literally what Duo is. It's preloaded.
It seems to have come around; Hacker News is fickle sometimes.
I had some old Sun brochures that my housemate scanned and uploaded to the Internet Archive:

https://twitter.com/miuott/status/1238181870816366592

miunau Otter @miuott

some nice shots on this Sun 4/200 series brochure I scanned and put up on archive:

https://archive.org/details/sun4200seriesbrochure

https://twitter.com/xardox/status/1238237305799876610

xardox @xardox Replying to @miuott

That's the old Sun 4/200 brochure I saved, that we just scanned and uploaded it to http://archive.org! Here's my favorite one, the runway shot (click the image to see it in its full glory and splendor -- twitter cropped the best part!):

https://pbs.twimg.com/media/ES8aJuFX0AMXMsL?format=png&name=...

Sun had nice offices back in those days. Except for the open seating on the airport runway. And that was before the invention of noise cancelation headphones.
Collateralized loan obligation
As annoying, to me, is that Godaddy lets you go through the entire transfer process without TELLING you it's going to be rejected.

So you have to the transfer get it rejected, THEN turn off privacy, then do it all again.

On the other hand, that just makes it that much sweeter once the domain finally lands at Route53 (etc) and you no longer have to play Godaddy Renewal Roulette and wonder if your next renewal will be 50% higher than normal.

(Oh, and BTW, I was happy to see that if your domain registration is a company, Route53 does quasi-private registraiton at no extra cost.)
Chrome is 25M, so they are close.
Yeah i think its too much as well.
Nah, it was official: http://web.archive.org/web/20171019144317/https://support.go...

The Wikipedia disambiguation page really clears up the mess that is Google's branding: https://en.wikipedia.org/wiki/Google_Chat
I wouldn’t use PIMPL unless you get something out of it (and “not letting anybody see the private stuff” counts as getting something). It’s a hassle, but it’s also the standard answer to the problem.
> When you hire a contract photographer to make some pictures, he owns the copyright on those pictures even though you hired him.

Depends on how the two parties set up the deal.

If you want the copyright or to change the license in some way that gives you (the publisher) more rights, the agreement will spell out those details and you could up spending more (maybe a lot more). I sometimes work with professional photographers and for pre-existing work I pay for a non-exclusive license that costs less than a commissioned piece. I also use stock photography extensively which works in a similar manner.

For commissioned photography or design work I'll insist on owning the copyright and the agreement will spell out that it's not work-for-hire:

To the extent that the Provider’s Work includes any work of authorship entitled to protection under the laws of copyright, the parties acknowledge and agree that (i) the Provider’s Work has been specially ordered and commissioned by Publisher as a contribution to a collective work, a supplementary work, a translation, or such other category of work as may be eligible for treatment as a “commissioned work” and a “work made for hire” under the United States Copyright Act; (ii) the Provider is an independent contractor and not an employee, partner, joint author or joint venturer of Publisher; (iii) the Provider’s ’s Work shall be deemed a “commissioned work” and a “work made for hire” to the greatest extent permitted by law; and (iv) Publisher shall be the sole author of the Provider’s Work and the Work, and the sole owner of original materials embodying Work and the Work, and/or any works derived therefrom.

Of course, the photographer or designer can opt to reject these terms, or make additional demands upon the publisher (more money, the right to use images in their own promotional materials, etc.)

Not sure how it works with independent contractors doing programming.
US companies need to sponsor a visa and that requires them to provide proof they weren't able to find an equivalent US citizen for the position. The visa has a cap limit per year, cost, paperwork, takes months to years. The big enterprise companies have dedicated staff and lawyers, and experience to deal with it but given equal candidates it's simply easier to hire from within the US.

International students currently residin in the US also have it easier. They're already on a student visa which can be converted.

Consider applying at their European offices, then after a year internal transfer with L1 visa. No cap limit, paperwork can be ready in as little as two weeks.

(I thought the 20% time was long debunked. "Realistically it's hard to do your day job productively and also build a new project from scratch. You have to be willing to put in hours outside of your normal job to be successful." https://news.ycombinator.com/item?id=6223466)
So, never. Like it's a 1 in 10000 chance that four digits are 1488.
Here's a paper I wrote in 1989 about The Shape of PSIBER Space: PostScript Interactive Bug Eradication Routines: a visual programming and debugging interface for NeWS PostScript

https://medium.com/@donhopkins/the-shape-of-psiber-space-oct...
I donated $12.5k to Plymouth Housing (housing-first org in Seattle) last year, which was matched by Microsoft to $25k. It barely matters, voluntary individual charity won't solve structural problems. Given that half your post is now an utterly wrong & irrelevant personal attack, I have license to tell you your mode of interaction here (and in other comments, from a brief perusal of your profile) comes off as incredibly smug and not nearly so clever as you clearly believe. We've all read Taleb, you don't have intellectual superpowers from knowing what skin in the game is.

The Tax Amazon movement would also levy a tax on Microsoft, because it's a tax on all big businesses which operate within Seattle, which I'm perfectly happy about, but I'm sure you're very used to being wrong about everything so this matters not.

I have no idea how you can care about "successful outcomes" without vision since success is not a value-free metric. That should suffice to make you think a bit, I'm going to cut short the gish-gallop here because interacting with you is generally unpleasant. Goodbye.
Could someone fix the typo in the title? "distibuted"
I applied for the Zurich office as well in 2018 and 2019, but since it doesn't have any graduate positions open at the moment I specifically specified my question to the US.

In all fairness, I wasn't ready for a phone screen then. I had no clue what it meant to apply for jobs (I had to learn that the hard way).

I'm ready now, I figured out what type of developer I am (a creative one, Brett Victor, Nicky Case and Douglas Engelbart are inspirations).
I am a computer graphics guy and I reckon it'd largely be a memory issue.

Essentially Minecraft is a voxel system which grows at a cubic rate.

This will quickly fill your GPU's memory and shortly there after system memory and shortly after that storage memory.

Rendering it on the other hand would be relatively trivial with a marching cube algorithm using one or more rays per pixel.
This phenomenon is observed in poker all the time.
Duo does support up to 8 people in a call. Naming is hard.
Michael Moore's 'Planet of the Humans'