skysight-inc/HackerNews huggingface dataset:
> The second one, using the previous Y coordinate, well, treat the command stream not as a series of points, but as a sequence of movements. Move needle (X) by this many, move the feed (Y) by this many. It clearly makes sense that the needle would use wherever the feed had moved to last.

In some of my earliest attempts at figuring out these sewing machines did interpret the coordinates as a sequence of movements. However, I was expecting it to be something like:

X1, Y1 -> Move Needle to X1, Move Fabric by Y1, Stitch
X2, Y2 -> Move Needle to X2, Move Fabric by Y2, Stitch

I was basically anticipating that each XY pair in the packet would match up to one movement of the needle/fabric. 1st XY pair represents 1st needle/fabric movement, 2nd XY pair represents the 2nd needle/fabric movement, etc.

Not mentioned in the article is the fact that packets for those patterns ("regular" patterns found in Sewing Machine Operating Software, different from the embroidery ones on the JN-2000) also have initial XY coordinates in their headers. They kind of act as a starting position, but they start to "mess up" the ordering. So with X0 and Y0 being those initial coordinates, it looks something like this:

X0, Y0 -> Move Needle to X1, Move Fabric by Y0, Stitch
X1, Y1 -> Move Needle to X2, Move Fabric by Y1, Stitch
X2, Y2 -> Move Needle to X3, Move Fabric by Y2, Stitch

X0 for most purposes can be ignored, and I believe the hardware does so too (if I'm remembering one of my tests correctly). As such, when emulating these machines, I always started processing at X1, e.g. move by X1 horizontally first, then grab Y0 and move vertically. So that's where having to use the previous Y coordinate comes from.

In my mind, however, it seems a bit convoluted. The initial XY coordinates are weird in that in some cases they're both ignored anyway but Y1 repeats in that situation. If I could change these machines, I'd just get rid of the initial XY coordinates in the header, and start processing XY coordinates as I first described. But that's just my perspective as a programmer and not someone who makes hardware or knows much about designing hardware. If you had me making hardware, umm... things probably wouldn't go well :P

In hindsight, the biased representation should have been obvious to me. In terms of reverse-engineering the pattern protocol, however, I was myself "biased", thinking it should have acted like the JN-2000's embroidery data (with the One's complement). I was way too hung up on that idea that I couldn't see the protocol was clearly using a simple LUT for the values. Others have pointed out that is common not only in Japanese embedded software, but lots of Japanese software in general. As I said, I can see the reasoning behind it, but I'm still more than a little salty about the process I went through (literally hours of frustration) to understand it.
I was surpised a little at that, and am personally ok with that, but his expertise on the Fed is pretty much tangential to those views. Tankus has been quoted in places like the Washington Post for his detailed discussion about Fed activities.
How do we live in a free market? Corporations get bailed out all the time for poor business decisions.
> I want all of the QT libs embedded in the package.

I don't understand why anybody wants this.

Libraries should have major versions and the latest of each major version should be compatible with anything using that major version, because that's what major version means for a library. You might then need to have more than one major version of the library installed, but any two applications using the same one should be able to use the same copy, and then have it maintained by one person in one place.

If every package has a separate copy of every library, people have to maintain them all separately. When that library has a security update, you now have to update five dozen packages instead of one or two, and have a security vulnerability if any of the maintainers don't keep up in a timely fashion. Which not all of them will.

> I want the proprietary app in a container.

People want containers to be magic but they're actually a hard problem. You want the app not to be able to do anything you don't want it to but still be able to do everything you do want it to.

A backup app that can't read my files is useless; it can't back them up. But it shouldn't be able to modify or delete them. But it should be able to modify its own state. It shouldn't have general network access but should be able to communicate with the backup server, which might have to be specified by the user and not the package maintainer. It doesn't need access to the GPU or the ability to use gigabytes of memory, but it does need to be able to transfer a lot of data over the network, but the data it transfers is lower priority than other network packets.

That requires the person configuring the app's container to have both detailed knowledge of the app and detailed knowledge of the container system. It's common for this not to be the case.

And that's why containers are a mess, not anything to do with the package manager, which should have little to do with the container system outside of packaging the app's default container configuration with the app.
Lancet retracts article on hydroxychloroquine treatment for COVID-19
Providers issue SIM (subscriber identity module) cards to uniquely authenticate subscribers to their network. Why do you need something that is constant across SIM cards? It's superfluous identifying information (GDPR wants a word!).
While we're on the topic of HN syntax, I really wish they
would add proper blockquotes. Quotes in monospace look ugly,
especially on mobile, and quotes that simply start with a “>”
aren't visually distinct enough, imo. Just indenting a
paragraph when it starts with a “>” would probably be enough.
So what you're saying is that Cloudflare is so big they can reach these sort of deals with connectivity providers where they don't pay for bandwidth themselves?
My experience with jsonnet varied: there's good jsonnet code, and there's bad one, too. Just like with any programming language, you have to apply good software engineering practices. Text templated YAML, however, is terrible by design.
Quoting a message from this thread:

> If you are black, you are less likely to get a small business loan, and if so you are likely to get worse rates [1]. They also are encountering more resistance to accessing COVID-19 bailout funds [2]. These are just two examples specific to being a business owner, not to mention the systemic racism they face as individuals.

[1] https://www.theguardian.com/business/2020/jan/16/black-owned.... [2] https://www.nytimes.com/2020/04/10/business/minority-busines....
Covid-19 pushes Zuckerberg to third world’s richest
Crossplane https://crossplane.io might be what you’re looking for with its bunch of controllers and a nice composition API.

One of the best features is that you can bundle a CR to request a MySQL database and it will be satisfied with whatever config is in your cluster so that app only declares the need but not care how it’s done.

Disclaimer: I’m one of the maintainers of Crossplane.
There's also the fact that this will trigger a lot of new smartphone sales, compatible with 5G. This represent a future massive amount of pollution, for something not really necessary
Oooh I didn't know about /invited. Few stories of very high quality, looks like HN back in the day
Cool fact! I always assumed this applied to everyone. I've seen this message on and off for at least a few years. Now I'm wondering why/when this was applied to my account. Interesting!
> I don't think their move here is illegal.

This seems illegal to me, but I really don't know. What are the laws surrounding race-based company promotions/discounts?
Are the arguments presented legitimate? Doesn't apt put the power in the hands of the distro developers and not the end users? After all they get to decide what is packaged and what is not.

Its all open source code so you can download and install yourself so I don't buy the argument about it being against the GNU philosophy.

Apt and snaps solve different problems. The only argument I can see here is the one about the back-end which is old and tired.
Yeah I think Vancouver is an exception to the parent's comment. It's certainly true in Calgary, Toronto, Montreal etc (IMHO).
That’s easy — they are going to put cable out of business. You’ll have fixed wireless internet and tv. Most of the consumer protections remaining for internet don’t apply to wireless service.

Unlike cable companies, the “national emergency” and need to “catch up” to the Chinese allows the telcos to drop poles anywhere and avoid pole rent, etc.

It’s probably one of the grossest examples of corruption at the federal level, which is a high bar.
"Is that reaction what I'm trying to achieve", interesting perspective.
Generally speaking ADs don’t allow comments. Have an example or reasoning why this would make sense?
Read the book “Everybody Writes.”
Building the most inaccessible site with a perfect Lighthouse score (2019)
> > This comes up every time from people who don't understand the regulatory landscape

> I work in finance, are obliged to complete a number of yearly trainings regarding KYC and money laundring and understand the regulatory lanscape very well, thank you very much.

Funny, you said earlier that you don't live in the UK, which makes me think you don't understand the UK retail banking regulatory landscape at all.

> Regulatory requirements do not mandate to treat your customers like shit. Throw in algorithms that just decide that You! Are Banned! for wild and wonderful reasons and a totally shitty customer support by design.

This regulations literally say that you're not allowed to tell the account holder why their account got restricted. If you think that's treating "customers like shit", your problem is with the legs, not the banks.

As for 'algorithms', what's the alternative? Human review (doesn't scale, still doesn't work) or not doing it at all (not legal)? Automated fraud detection systems are far from perfect, but it's an incredibly hard problem to solve.
FB buying/selling groups (particularly for housing) are quite common I'd say. In my experience, you will generally find them categorized as part of a college or university (e.g. "San Jose State University (SJSU) Housing"), but a quick search for "Bay Area housing" also results in numerous such groups.
A few long-standing feature requests I've noticed a lot:

* No autoscaling

* Can't reserve entire CPU core: https://github.com/hashicorp/nomad/issues/289

* No way to run jobs sequentially: https://github.com/hashicorp/nomad/issues/419
Hmm... not my experience. Not discounting yours at all, I promise, but I have a 20-package one-liner install script that I run on new systems and it's ready to go. After I pull in my dotfiles and symlink them into place, I can't even tell it's a different install.

Arch is pretty much exactly as opinionated as I want a distro to be. Hell, there are LOTS of folks who think it's too opinionated for forcing you to use systemd. The real installer is pacstrap, and it installs, I think, 300+ megs of stuff. That's all someone's opinion. And keeping it to just 300 megs is an opinion too, I guess.

EDIT: Okay, re-reading, and it sounds like installing 20 packages is a pain. But when I used Ubuntu I had to go through way more to get it how I liked it (and OS X is a nightmare 2 hours of clicking menus and buttons, and installing from web pages). I don't remember all of it now, but I had to get rid of the weird mini-vim and replace it with neovim, strip out Libre Office (nothing against them, I just have no use and it's a pain to wait for the giant updates all the time), my printer drivers were on a webpage somewhere, not the repo like Arch, etc. Ubuntu is WAY more work for me to get set up with just because removing and replacing is more work than installing.
That's far from the worst outcome. There are anti-trust concerns in play of course, and we certainly don't want a world where anybody without an AppleID is a second class citizen, but from the security side such systems are a win-win for users and site owners.
I think it depends what country are your from?

Lots of Canadians here will suggest to move to the United States for higher pay and better opportunitites.

But if you are from a developing country, then moving to the USA is very convulted and not an easy option for you like it is for Canadians.

So, If you that is your situation, then Canada is an exciting option and you might be able to work for a lot of US companies that have Canadian options.
Don't change! I somehow find every Dutch person I meet to be hilarious
If you're considering Montréal, do your research before. French language is not a requirement to get by day-to-day in the city (though elsewhere in the province is another story). We have a decent tech sector with some big companies like CAE, Mindgeek, and Hopper. There is also a respectable AI research scene and an incresing amount of startups in the city. If you're open to learning French (a good chunk of jobs require it) and have any data centre credibility, you might be on a good trajectory. Québec has super low electricity costs and data centres are interested for that reason.

The city has a low cost of living, high provincial taxes, but a top notch cultural scene, bar scene, festival scene, etc.

If not Montréal, Toronto or Vancouver have their callings but most tech folks I studied with headed off to the states for higher wages - but I imagine many of them will return with stacked savings accounts at some point. As someone else pointed out, Waterloo is a special case and might be worth looking at, too.
Compensation is lower, but if you have a family it's probably worth it. It's education, health care, and access to parks and such are generally easy to come by, cheap/free and good; particularly in Metro Vancouver. Those things make a world of difference when raising kids.
can you recommend some books you read?
Comments here show a lot of people don’t really know what racism is.

Now is an important time to learn, so please read.

Racism if the belief that race is the basis for determining that one group of people is superior to another group.

Specifically, it is NOT acknowledging that their are differences in the circumstances and opportunities people have based on race. Nor, necessarily, treating people differently based on acknowledging those differences.

Regarding Uber Eats... this policy isn’t racist simply because it treats black-owned restaurants differently.

Lesson over. The rest is just my opinion.

Uber eats’ policy it is divisive. It’s also tone-deaf (how does this help black people in their struggle to be treated like everyone else?). And —- I can’t know for sure from the information I have —- but I suspect racism lead to this poorly conceived policy, because of how divisive it is and how condescending it feels.
On top of the lower base salaries, the compensation you receive in the form of stocks is also a good bit lower.
Yeah, I thought it was a generator or mower at first. It's just quiet enough that I mistook it for a much louder sound that had grown faint due to my distance from the source.
Ingestion rate is pretty good in Influx and we are happy with that for now. If QuestDB is better I definitely won't complain. The issues with Influx is data integrity and also the difficulty in manipulating time series data if that becomes an issue (e.g turning all "0" string values into a 0i). How does QuestDB fare in this regard?
Do you have any specific questions? I am a Canadian, living in Canada, working remotely for a bay area company.
Non-us based employees at the company are technically contractors where I work.
It's pretty easy come tax time. You need to pay the full cpp amount, as opposed to half if you were working for a Canadian company, and I find the tax writeoffs to be quite meager, but I don't have any complaints in general.
There was one guy refer about your checkbot somewhere on this thread and I installed. Will start using it very soon :)
Because while I enjoy the philosophy behind open source and use, and even occasionally contribute to OSS projects, I'm not a zealot. Theres still plenty of software that only runs on proprietary systems I want to use (games are a bug one, but you'd be suprised how much dev software only runs windows). Hell even mant linux systems likely have something proprietary on it, even if it's just firmware for some wireless or graphics device.
Nothing against you because I held the same views in the past but I think this is a very dangerous line of thinking. Not everything can be solved with "when it's scare we will come up with alternatives" or "even if the alternatives aren't efficient enough now we will improve them if we run into a scarcity issue".

I hear this around energy most often. Oil is becoming more and more expensive ($$ and energy-wise) to extract (I find the best way to look at how many barrels of oil are extracted for the energy cost of 1 barrel). This number has been falling ever since the first well was tapped. We have used up all the "easy oil" and moving on to things like fracking which, environmental damage aside, does not have good returns and some of the major drill sites have adjusted their predicted yield down sharply (also fracking sites have a steep fall off where normal wells have more of a bell curve). The problem is: we have no viable substitute for oil (/gas). The world runs on oil.

Solar is great but you can't put it in a tank or ship across the ocean or fly and battery tech isn't really close to closing that gap. You also can't make plastic from solar energy. Not to mention converting all our cars, trucks, etc to battery-powered is not a fast or cheap process. I highly recommend watching these videos on Energy Economics [0], Peak Cheap Oil [1], and Shale Oil [2] (aka fracking).

All of this to say, I think it's dangerous to assume that we will have the time (or money) to reverse or halt the loss of non-renewable materials. Especially since if any of these start to get really expensive due to lower supply/higher demand it will kick off a number of other issues. If the price of oil spikes that affects a ton of our economy from gas, to plastics, and more.

[0] https://www.youtube.com/watch?v=IvqEi7XRKY8&list=PLRgTUN1zz_...

[1] https://www.youtube.com/watch?v=0uKihKkx0eY&list=PLRgTUN1zz_...

[2] https://www.youtube.com/watch?v=0uKihKkx0eY&list=PLRgTUN1zz_...
https://archive.org/details/engineersandpri01veblgoog/page/n...

https://en.m.wikipedia.org/wiki/Basic_income
In a market economy, there are no "shortages", only higher prices.

Not sure which way the Helium market works though.
I work with service to service integrations. Data gets ingested into Kafka, transformed and delivered to target systems. The initial prototype used Clojure but a plain Java reimplementation ended up much faster - 2-4x difference.
I didn't expect covid vaccine research to be so ahead. They expect to deliver batches by the end of this year.

> Gates’ millions will support the delivery of 300 million doses of the vaccine, confusingly dubbed AZD1222, with the first shipments expected to begin by the end of 2020.
My business partner for one of his other ventures, hired a kid who finished a degree from University of Waterloo in NANO Technology Eng as a lab tech for a starting salary of 48k.

It seems like his prospects were very limited. I'm not sure if it's his career choice or if it's related to the high levels of underemployment in the Toronto tech industry in general.
> Its about sources and authority.

This is a simplistic and lazy when it comes to something that is built on well understood scientific principles. This line of thinking is what gives us flocks of people believing in easily debunked conspiracy theories. People who don't understand gas compression leading to condensation believe in chemtrails because a false authority tells them to and people who don't understand electromagnetic radiation search for an authority to tell them what conclusion to come to and reject in depth explanations.

Much of medicine ends up being built on statistics because of the difficulty of drilling down to the underlying mechanics of what happens inside a living body. Statistics can be easily abused since most of the flaws end up being about what is not said and not measured.

Electromagnetic radiation comes out of light bulbs at even higher frequencies. No one seems to worry about halogen lights and heat lamps.

5G is a broad spectrum of frequencies, what specific frequency and amplitude are you worried about?
A preinstalled local server, presumably running in kernel space for it cause BSOD, crash when connected from localhost and attempted TLS handshake? The preinstalled crapware never changes.
/invited is basically the second-chance queue for things that have been personally stamped to be interesting by the moderators, so it's generally pretty good.
> My top earning friends in Canada of the same experience level earn 2 - 4 times less than me and my peers here

2 is possible, 4 seems like a big stretch. Are you really comparing apples to apples? Or are you working for Google and comparing against someone working for a random consultancy firm in Victoria?
In Montréal, top software developers salaries are around 200K CAD, a bit more if you go at Google, and Montreal pays less than other cities.
Going from building code to building a team is different for different people, and some resources can help you in that transition should you choose to go through it.

Keith Rabois has an excellent lecture on that entitled "How to Operate"[^1] in "How to Start a Startup". He gets right into it in the first five seconds.

Ben Horowitz has a lecture in the same series: "How to Manage"[^2].

Andy Grove wrote a book entitled "High Output Management"[^3], that's also referenced in both videos. As a matter of fact, Ben Horowitz wrote the foreword of the newer edition of "High Output Management". The book is good.

[^1]: https://www.youtube.com/watch?v=6fQHLK1aIBs

[^2]: https://www.youtube.com/watch?v=uVhTvQXfibU

[^3]: https://www.amazon.com/High-Output-Management-Andrew-Grove/d...
I’d guess most old smart phones get resold to third world countries. Not a bad thing.

Or do you have evidence that they’re a pollution problem?
Related link:

https://news.ycombinator.com/invited
Approaches to handle high volumes of tiny files
here's a couple of links discussing how to set up and working through the issues.

http://www.davidhunt.ie/raspberry-pi-zero-with-pi-camera-as-...

https://www.raspberrypi.org/forums/viewtopic.php?t=148361
Don’t expect to be able to pay anything with a credit card in The Netherlands. It’s all maestro debit cards.
Depending on the subject it could take years to understand everything that goes into an explanation to make sure you didn't miss anything. At some point you have to assume certain things are true for the sake of argument.
Great writeup, even if I'm longing for more details about things like Unimog and their configuration management tool.

Pay close attention to the section where they described why they went with Nomad (Simple, Single-Binary, can schedule different workloads and not just docker, Integration with Consul). Nomad is so simple to run that you can run a cluster in dev mode with one command on your laptop (even MacOS native where you can try scheduling non-Docker workloads). I'd go so far as saying that it would even pay off to use Nomad as a job scheduler when you only have one machine and might have used systemd instead. You can wget the binary, write a small systemd unit for Nomad, then deploy any additional workloads with Nomad itself. By the time you have to scale to multiple machines you just add them to the cluster and don't have to rewrite your job definitions from systemd.
There is an open source fork but it runs on Racket[0], so the Arc documentation isn't always correct, and of course that forum and this one differ in terms of features.

[0]https://github.com/arclanguage/anarki
Is Facebook + what’s left of their coalition allowed to set emergency monetary policy for Libra?