skysight-inc/HackerNews huggingface dataset:
> I'm pretty sure freedom and democracy are a really good match for Chinese culture (probably a better match than American culture? hard to say). It works well here. But that's just my two cents.

Would you care to elaborate on your point that "freedom and democracy are a really good match for Chinese culture"? I ask because that directly contradicts one of the points that the CCP (probably Self-servingly) hammers on. It would nice to get other perspectives on that.
I'm not going to say 'no', but I would highly doubt it.

If you're wondering what the 'state of the art' in disguising components to look like other components is, this [1] is probably the best example. It's a guy that turned a LED into an LED and an inductor, and put transistors inside of switches.

What you're proposing -- basically putting a USB-capable microcontroller inside something that looks like resistor -- isn't impossible. I can imagine that it could be done, but I would have no idea how. You would probably go with a very small (physically) microcontroller, maybe one of the SOT-23-6 PIC or AVR packages. I don't think it's possible to write a USB stack for those, and you only have 1-2kB to implement a BadUSB [2] sort of thing. It might be possible, but I doubt it. Still, that size of package could be disguised as a (large) SMD resistor, although the PCB would look odd with the addition of extra traces.

To be honest, it really wouldn't make sense to disguise a microcontroller as passive components. It's already been demonstrated journalists will gladly plug random USB devices into their computer. If you wanted the device to just pass a cursory investigation, you'd just put a glob of black epoxy over the USB port. Hiding a microcontroller as a pair of resistors might be possible, but it's far more effort than what is really needed.

[1] https://www.youtube.com/watch?&v=RkTvDjhImwo

[2] https://opensource.srlabs.de/projects/badusb
I think I'm going to have to start flagging nearly all Tesla-related thread on here and others should consider doing likewise.

The level of discussion in these threads is amongst the lowest level found on this site and now rivals the daily-news-politic based ones. The the top comments in this thread a shitty mix of dumb snark like yours, or bold apocalyptic pronouncements.

There's no room in these threads anymore for anything but emotional venting.
I think that would be an amazing comparison between systems to check the accuracy at critical points of inspection!
[i.] Which 18th century contemporary European models was the American Constitution "very closely modeled after... with vary[sic] slight tweaks"?

[ii.] Where are the other cultures which raised _the_ individual above _the_ collective?
As opposed to cultures which raise one individual (ruler) above one or more collective (people).

[iii.] East-West divide was exclusively between Catholic and Orthodox and not commonly between Christendom and Islam? When someone says East vs West your mind jumps to Catholic and Orthodox and not Occident and Orient? I wonder how "Eastern-Europeans" feel about that given centuries of Mongol and Ottoman invasion and occupation, east of the west but west of the east.

Any terminal injustices committed for the sake of brevity (me) do not counterbalance willful ignorance to engage in productive discussion (you), hitherto answering direct questions relevant to your emphatic critique. Style reflects character or lack thereof, content reflects intent.

Replying in good faith and restated in full for clarification:

Mexicans are Latin Americans [1]. Social competition favors democracies [2]. Social cooperation favors monarchies [3]. Monarchies are the normal structure of human civilization [4]. It follows that social cooperation is more common for human beings [5]. I used communism (capitalism), collectivism (individualism) and socialism (conservatism) to contrast their (western) opposition (in brackets) [6]. Western was synonymous with the US for the latter-half 20th century, individualistic capitalism with conservative values [7]. 21st century "western" is better re-framed in new terms of competitive (western) vs cooperative (eastern) capitalism, especially prescient given the recent G7 and SCO meetings are re-polarizing the world into a geographic West and East trade bloc economic war [8].

Which of these sentences [1-8] do you disagree with? Complex terms change across time, western is not some monolithic constant, it's very name indicates direction of travel away from something and towards something else, hence it's continued use.

I have provided sufficient refutation; without subsequent productive engagement future communication will be refrained.
Mesh is specifically the serverless environment that MS runs for you in Azure, so there's no real concept today of running Mesh somewhere else (probably except for Azure Stack) - you have to manage the servers then, so it's not serverless anymore :)

But the thing to keep in mind is that all the capabilities that you're thinking about are in the core product. So you could take SF and run it standalone and tell some people "hey you run the cluster" and another set "hey you write the services" and at least with the resource based model you have a pretty good separation of concerns. It's not Mesh because it's not serverless with MS running the cluster for you, but you can do almost all the same stuff.

Re: the Windows build, yeah what Mikkel said. Slow and steady.
It can and has been done multiple times in the past - AsyncDisplayKit -> Texture is the one that immediately comes to mind as it happened after open-sourcing.
I've seen you rebut Ian's remarks a number of times. I'm not sufficiently knowledgeable about GCs, but I would really like to hear some of his responses to your criticisms. I think I (and probably lots of others) would learn a lot from the debate.
If you don't mind, what kind of evidence is there?
I wonder if the real estate issue was the thing.

The DZ locations, at least where I lived, were in prime spots, and it was a time when they couldn't build strip malls fast enough to keep up with demand.

Now you've got an oversupply of dead big box stores and not enough ideas of what to do with them.
So-so. I watched it. Enjoyed parts. Mostly cringed through it.

But just like the Danish/Swedish Netflix series "The Rain" in a similar genre the writing was painfully bad at times - I think this is what stopped it from being popular.
I’m not sure optionality is the problem so much as they didn’t NEED to combine three things into one.

If USB-C has video and USB it would be pretty great. Video could be optional but that’s easy enough.

But Thunderbolt is a HUGE complication. It should have used some other connector and then this stuff would be easy enough to figure out but you’d still get plenty of benefit.

Of course TB already used the Mini-DP connector, so that would have made video out a mess. And it was too late to fix that.

And leaving all three separate is it’s own mess.

I’m not sure there was a good solution at this point. Which seems like a lack of planning.
The parent comment is wrong for the reasons you're pointing out, but both of you are missing two things:

Firstly that in a country where immigration laws are or will soon be mostly dictated by corporate lobbyists, any immigration restrictions will also be used to manipulate labor costs in favor of capital (see for example how tech companies use the H1B program). Secondly that historically in periods in which the US lacked a de-jure subaltern class of underpaid laborers, it created de-facto subaltern classes it could exploit for underpaid labor, because it's way easier to drum up racism or gut worker protections than to get rid of the demand for that labor. Any solution to fixing labor prices that just restricts workers' movements instead of placing restrictions on capital does nothing to address either of those issues. The sane way forward should not be immigration restriction, but restrictions on capital flight combined with the establishment of international labor standards, strengthening the foundations of the wage floor in a way that helps workers in both countries instead of destroying peoples' lives just for being rational actors in a broken system.
We have local police perched around our neighborhood probably once or twice a week. In our little niche of the USA it's almost like nobody cares. Cops seem to just hand out some warnings or flash their lights. I've even called police about issues and they've told me over the phone, exactly this: "well, this IS North Idaho." It's incredibly irritating.
I agree the HOAs are often completely terrible. There are, however, some benefits.

For example, cities often require that HOAs for newly built subdivisions are responsible for certain types of utility and sidewalk maintenance because maze-like/fractal-like subdivisions mean maintenance of these things are incredibly expensive and cost more to maintain than what the city receives from that subdivision in terms of taxes.
The video in the article is a wealth of knowledge that the article itself doesnt scratch the surface of doing justice
The prospect of war weighs very little in Denmark, for the record. There was quite a shock in Denmark, when Sweden announced its 'war survival guide' a few days ago. There seems to be no indication that the Danish government is going to do the same, or anything similar. The argument being that Denmark is in NATO (Sweden is not).
Ask HN: Dashboards in AppleTVs?
We have several TVs with AppleTVs mounted around the office that allows us to easily cast during short meetings, standups, etc. While these TVs aren't actively used, we'd like to display company dashboards in them. These dashboards might include API/server health metrics, product SLAs, operational pipeline pressure, etc. Is there a way to display these graphs (think Datadog, Periscope, etc. dashboards) in AppleTVs?

Right now we're also adding RaspberryPIs to some TVs that boot up with Chromium in kiosk mode. Each RaspberryPI is configured to show a different dashboard but they've proven to be very unreliable and require manual intervention at least once a day.
> By that logic they should ban gift cards and in-game currency too.

When you buy a $10,000 TV on a credit card, and can't make your payments, you're an idiot. There are a lot of idiots, but very few of them will do impulse purchases like that - because they understand that next month, they'll have to pay for it.

When you invest $10,000 of money that you pulled from a credit card... People feel completely different about that. If you have confidence in your investment, why not borrow money to fund it? You'll make that money back, and pay the debt off! If you don't have confidence in your investment, you wouldn't be investing anyways, with your own dollars, or borrowed ones.

Investing self-selects people who are (unreasonably) confident in the return rate on their investments. This is why you can't buy stocks or bitcoin on a credit card, but you can buy Magic: The Gathering cards.
Yours for only $1: https://www.aliexpress.com/item/2016-Cute-Mini-mobile-phone-...
Actually, it makes perfect sense to rename it.
The Economic Limits of Bitcoin and the Blockchain [pdf]
I think there's an argument made that some packaging can be confusing. They might think the term 'beyond meat' is clear enough but not everyone will. Perhaps stores need to stock them in different locations - in fact, that's how I nearly always see it done. I think supermarkets have ample incentive to not deceive their customers.

At the same time, disallowing vegetarian companies from using the words 'milk' or 'meat' seems like complete overreach. Vegetarians / vegans think of these products in terms of what they are an imitation of, and they want to understand what the product is going for. It's incredibly useful to be able to use these terms. Not to mention they are already the way people colloquially refer to them. I don't think the 'real' versions should have a monopoly on those words at all.
True enough regarding monks. Peruse the Rule of Saint Benedict and there's plenty in there about tamping down status-seeking.

Example: http://www.osb.org/rb/text/rbefjo3.html#21
The bigger bees steer pretty well considering their size. They just don't react to moving obstacles as well as static ones.
I actually bought a couple of huge water bottles and a battery-driven tiny radio recently, so I guess I can confirm what you are describing here. The radio after there was a false alarm of the official emergency siren, followed by news articles that recommended that the best way to learn why the emergency siren is activated, is one of the public service radio channels.
I figured, better safe than sorry.
https://news.ycombinator.com/item?id=17286400
So put a USB-C hub (because that’s the connector, what else would you buy?) into your Mac. And you plug your display into that. And it has some USB-C and Thunderbolt stuff plugged in.

It used to all work, but now with the hub in-line your Thunderbolt drive doesn’t work and your display doesn’t get a signal.

The hub must be broken, right? So you buy a new one. Same problem.

How is any normal person supposed to figure this stuff out?

You’re right. It’s a total mess.
One of the biggest promises that I can see about the serverless movement is:

The ability to have the infrastructure isolated from the raw code being written. (Think more of a grid computing and automatic planning being included)

Unfortunately, I'm not seeing it. I'm seeing that it's heavy on the initial business idea: "Get people to pay more and utilize our servers better".
Inside memory management (2004)
Maybe there will be a nice docking station sometime, but for now, it's dongle city, and picking up the laptop a bit to connect/disconnect each one every time I transition between mobile and desktop-replacement.

That's not unique to USB-C. My MacBook has no USB-C ports, just the previous gen. But right now has power, external hard drive, headphones, HDMI and a mouse plugged into it. When I transition to mobile, I'll have to unplug all of those, too.

As you note, a docking station would be the best solution, but it's just another piece of gear I don't want on my desk.
Indeed it can be used to write kernels, but there is not much established examples to learn how to write kernels in Rust. Experienced devs can use Rust to write kernels but learners may want to learn it in C then try Rust.
ActualVim (a plugin for Sublime Text 3) implemented support for the Nvim 0.3 "buffer updates" feature in less than 24 hours:

https://github.com/lunixbochs/ActualVim/commit/414e8d4c3feb4...

Oni[1] is also expected to use the feature soon.

Other features worth noting are

- <Cmd> key https://github.com/neovim/neovim/pull/4419

- stdpath() function https://github.com/neovim/neovim/pull/6272

https://github.com/neovim/neovim/pull/7679 and https://github.com/neovim/neovim/pull/8226 are small but nice quality-of-life improvements.

There's also many new API features and defaults tweaks listed in the release notes.

Oh, and a built-in AST-producing VimL expression parser:

https://github.com/neovim/neovim/pull/7234

That's a big one.

[1] https://github.com/onivim/oni
Sometimes. It just depends. Some possibilities:

1. The parent didn’t say if they compiled with optimizations. I bet they did, as the code would probably look even worse without, but who knows.

2. This isn’t apples to oranges, as you’re not doing formatting here, right?

3. The formatting code makes various trade offs; it’s not optimized for speed, more for size, in my understanding.

4. Codegen bugs do happen. Maybe this is a degenerate case.

In general, if the code is significantly worse, then it’s a bug.
I'm really surprised the Europe big car manufacturers spent so much effort on small Diesel engines instead of Turbo gasoline engines. My theory is the fact that having a majority of Diesel vehicles in Europe lowers their oil consumption vs Gasoline engines, hence, lowers their CO2 production but with the extremely negative fact of increased local smog.
81% of cyber security incidents in Nigeria are unresolved or unreported
Why not? Google renames every internal tool they release as well. E.g. Blaze -> Bazel and Rietveld -> Gerrit.
It's an indirect measure of where people are choosing to invest in their futures, but international student enrolment at US universities is dropping:

https://www.npr.org/2018/01/15/578098190/budgets-suffer-afte...
I don't think anything will come of this, Intel I think has a pretty good cover. Internally it's no secret that one of the big criteria were the results of your most recent performance evaluation. If you received a certain stock grant that highlighted you for reduction -- however the kicker is only people of a certain pay grade could receive that certain stock level. Most people who are in that grade are at least 30 years old.
Right, which is why you could argue that downtick was orchestrated. In that article you linked Pai cited research claiming investments went down, but Free Press found otherwise.
Would you really have a second USB-C port over just keeping the headphone jack?
Have you tried using those '2 ports' on a USB-C 'hub'?

The ones I've tested, the second one is only useful for power in. You can't actually chain devices off the hub to reduce the number of things you have to plug in.

When USB-C was introduced it was finally a connector that could do power and all your data. The culmination of the idea that started with the Mac monitors with the single cable with 2 tails. No more ritual to go to or leave your desk, wearing out the connectors on all your peripherals.

But we're not there yet. At all.

Even Anker has fucked this up. I can't plug a USB keyboard into their top of the line hub if I plug the power supply into it. Probably because of the overvoltage problem discussed here a few weeks ago.

Since I stopped plugging the power into it I've had no problems. But now I'm back to plugging in 3 cables every time I come back from a meeting.
well the problem there is that a moped is part bicycle.
>Germany’s automotive regulator KBA found five unapproved software functions in Daimler’s Euro 6 diesel engines, affecting as many as 1 million vehicles in Germany, Bild am Sonntag reported Sunday.

And then,

>“We don’t see any evidence that Daimler was designing software to deliberately cheat on emission testing,” said Arndt Ellinghorst, an analyst with Evercore ISI in London.

If it's not a defeat device like the VW scandal, then what specifically is the prohibited function causing the recall? The article doesn't really explain what the device or function in question is.
yeah, sorry, fixed.
There's a gap between "can" and "should"

As a targeted attack it makes sense. Still you would have to muffle the sound of the fan.
Women in tech: How DevOpsGuys is trying to close the gender gap
You asked what the stated obligations of the US towards refugees are, I told you. I don't really want to litigate the details of the issues with you given that you've just become aware the most basic aspects - that's a straight path to a pointless messegeboard poopfight. There's a lot of excellent material you can find online.
Here's a fun fact: I'm Swedish and have lived in Sweden my entire life, and I'm not entirely sure what my currency looks like. They changed almost all the coins and notes a few years back, after I had personally pretty much totally gone cash-less.

Without looking it up: I'm fairly certain the 1 kr coin is copper and looks sort-of like the half-krona coin used to. There's a new 2 kr coin, and they redesigned the 5 kr coin. At least one of them is, like, brass-looking, I think.

The twenty-kronor note is (I think) blue:ish and has Astrid Lindgren on it. I know Ingmar Bergman's on one one of the other notes, either the 100 kr one or the 200 kr one. I think the 200 kr one is, like, greenish. But I couldn't be sure. I don't know any of the other people on the notes, and am at best vague on what colors they are.

If you gave me a reasonably convincing fake 50 kr bank-note but with the wrong person on it, I would have no way of knowing.
Well, C isn’t how the hardware works either, but beyond that... you get that with Rust too. I’ve had people tell me that they didn’t really grok the stack vs heap when doing C, but learning Rust taught it to them.

As always, YMMV. I learned C 20 years before learning Rust myself.
I mean, they sue regardless of if they have contracts or not.

Comcast et al. sued Longmont, CO up the road from me when they first started their municipal internet, and tried to get the state senate to retroactively change the law in their favor. Luckily that didn't go anywhere.
A standard for JavaScript callbacks that enables observables and iterables
True, although that doesn't seem like a particularly safe attitude for journalists reporting on US/NK relations.
Or a ex-member of the military. This[1] episode of Omega Tau aboard a Royal Navy ship really made me realize how much they train for Shit Happening - I think they simulated a fire or man overboard every other day. We civilians should probably do more of that as well.

[1] http://omegataupodcast.net/277-life-and-work-on-hms-enterpri...
which one do you have? as reported in this discussion, it's not that uncommon to have problems.
> The ability to have the infrastructure isolated from the raw code being written. (Think more of a grid computing and automatic planning being included)

Can you elaborate? It sounds like you're saying that if you write code that's deployed to a serverless infra you end up with 'serverless code'. This hasn't been my (very limited) experience - where the serverless stuff is just a thin layer around your business logic.
Thanks for this, very helpful!
No true Scotsman. Classic troll comment.
Cows, Carbon Farming, and Climate Change
I have no idea in regards to lemonade stands. But I do think that rules and laws have made for a more civil society, it's just a matter of keeping up with change that's become a problem. More guns, more violence, more media, more tech, more vehicles, more densely populated areas, less law enforcement for the number of people, etc, and so on. We just can't keep up, and if we start dropping rules for the little stuff, that will begin to catch up with us too.

We had someone run a lemonade stand in the neighborhood for a couple weeks last year with a sign that said all proceeds were going to support a certain "charity". There was absolutely no oversight to see if that was happening or not, or if it was just a ruse. They sat on the busiest corner. Cars couldn't safely get through. Hearsay has it that they DID shut it down - I'm not sure if it was the HOA or police in this situation though.
If they are really filling the Dems' pockets, the money's not buying them much influence, is it?
In order to make almond milk, almonds are ball-milled until the particle size reaches an average diameter of about 30 micrometers, which is fine enough to prevent a "grainy" feeling on the human tongue. If these ultrafine almond particles were to be suspended in water at a high enough concentration to mimic the thickness of milk, the resulting almond flavor would be overwhelming. This is described in the following patent:

https://patents.google.com/patent/EP2476317A1/en

Instead, a small amount of ultrafine almond is suspended in water along with a tasteless long-chain polysaccharide, usually xanthan gum but occasionally other PS such as guar gum, psyllium mucilage or carob bean gum. Xanthan gum is the highest quality in any case.

Source: I once considered trying to start a business around a tabletop ball mill for producing homemade nut milk, and similar assorted accessories. However, after some consideration, this is probably not viable.

Fun fact: Hempseeds are extremely soft, and can be ground to an acceptable fineness by an ordinary blender. However, the resulting hemp milk has a strong flavor resembling undercooked eggplant. It may be suitable as a substitute for coconut in curries (not yet trialled).
Can you buy [bulk] gold with a credit card?