skysight-inc/HackerNews huggingface dataset:
I don’t think I agree, but ultimately only feel comfortable speaking for myself.

I’m fairly new to programming so would be interested in hearing if someone else does this too...

On a walk this afternoon (for some reason), I realized I had a visual shape in my head for most design patterns. Some of them look a lot like a knot-tying diagram, for example. I’m not sure I had realized that before.

I also realized the shape representations are about as close to implementation as I would prefer to store design patterns in my mind. Beyond that, they might be limiting or, at worst, strenuous to use as guidelines. They’re surely more useful (to me) than UML or even code.

But the best part is I can tell they’ve been there all along. I wasn’t trying to make them up. I was just mapping out a project while on a walk. I was pretty relaxed at the time and maybe that’s why this came up.

For what they are, I was a little disappointed how long it took to parse the Elements of Reuseable OO Software book when I was just learning to code. And then when I had used the patterns and knew them, I found it a bit sad they were communicated through such rigid forms.

Art actually contends with the same sort of conceptual divisions. There’s the medium which is rigid and cumbersome, the form which is more pure, critical in the abstract but medium-agnostic, and the application, being the interface or the thing out in the world.

So I do agree the ability to transpose these concepts between form and implementation is what matters, but it’s the back and forth that matters, not where one begins.
SQLite's typing is rather weak, is it not? That might be a tad scary for someone used who relies on that part of PostgreSQL.
Ya for sure. They picked the stadium for their test because they can demonstrate the system for a lot of randos who come to ballgames. It’s not solving any problem, besides getting a few folks home faster.
"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

https://news.ycombinator.com/newsguidelines.html

The i-could-do-this-in-a-weekend trope is the mother of shallow dismissals. Please don't post like that here.
How much does is cost the Boring Company to dig a one mile tunnel?

I think they need to get it down to 10M to be viable worldwide
Wow, there might be able to be a proper ncurses port now!
Flying cars could wait, the future is deep underground
Man, it really seems like amazon is just going to be everything at some point. In, say, 20 years will some meaningful percentage of all the money I spend somehow funnel through amazon? Kind of seems that way.
Please don't cross into personal attack regardless of how wrong you think another comment is. That only makes this place worse.

https://news.ycombinator.com/newsguidelines.html
Is this meant to be talking about who to hire, or some other scenario where you are assessing stem competency?
Also, they are assuming they’ll be able to use the digging experience to lower the cost of digging.
Utf-16 is always 16 bit, utf-8 is variable, can go from 8 to 32 as needed...

This does make coding for utf-8 harder, but when it works is really wonderful stuff.
Ask HN: Any good places to look submit jobs for freelance work?
I am looking for a freelancer in the bay area to help with troubleshooting systems installed in buildings. Any recommendations, on where to post this listing?
http://archive.is/yoK65
No, smaller tunnels are objectively cheaper.
> It will not affect Google's offerings outside of China. But while inside their walls, you got to follow their rules.

No. Having operations in China gives the Chinese government leverage over you, which they're starting to use to pressure companies to toe their line even outside of the PRC. For examples, see the recent articles regarding airline's treatment of Taiwan on their websites [1]. See also how Mercedes-Benz was forced to apologize for posting a Dalai Lama quote on Instagram [2], and how a Marriott employee was fired after he "liked" a post about Tibetan independence [3]. The latter two happened despite both websites being blocked in China. Years ago, Yahoo also handed the Chinese government information revealing the identities of two Chinese pro-democracy activists, which resulted in their imprisonment [4].

Maybe you were too small for them to bother with, but I'm not sure the PRC could resist the temptation of using the leverage they'd have over a Google with significant Chinese operations. After all, Google is the gatekeeper of information in the West (Google Search), and one of the main ways Westerners and dissidents communicate (Gmail).

[1] https://www.reuters.com/article/us-usa-airlines-china/u-s-ai...

[2] https://www.dw.com/en/mercedes-bows-to-chinese-pressure-afte...

[3] https://www.wsj.com/articles/marriott-employee-roy-jones-hit...

[4] https://abcnews.go.com/Technology/story?id=3862513&page=1
You would trust the OMS to do what exactly? Opine on computer science theory? Perhaps. Do solid work for you? That's a much closer call, in my opinion.
Soon it will be:

...
webassembly vm
(insert variable height custom stack)
application
...

Sad times.
Where's the Korma?
Like a tiny subway in a smaller tube.
Yes, this is something I forgot to mention. It's one of the absolute worst parts of Blind that needs to be fixed: any amount of users can simply flag posts and users to delete their posts from the community, and in your case, get banned.
Trains are pretty efficient. I wouldn’t bet against them.
So would this Master's degree be a better alternative in an employer's eye or show that someone is a good fit? That's the important question. Otherwise why not get the certifications instead?
I'm also a celiac. I'm surprised there's nothing about gluten free products on the FAQ page.

I'm also sensitive. This kind of product would be excellent for me if I knew it wasn't poisoning me.

This is a big issue for celiacs. We get treated like trash (not as bad as a decade ago) and have been burned countless times with so called "gluten free" food. One example, there was a local chief telling people that he was a celiac and then cooked "gluten free" noodles in the water with gluten noodles. We later found out he didn't have celiac, it was only a marketing ploy.

We've learned just not to trust people unless they are serious and "get it", show genuine understanding of our concerns and the serious consequences of cross contamination.

Best of luck, I hope this prospers.
Performance Metrics Evaluation and Optimization #100DaysOfML
Have subways been successful in moving all transportation underground? No. Because they are too expensive, too slow to build, and therefore have extremely limited points of entry/exit. This (specifically a car that can ride on an electric skate) has the potential to combine the best of both worlds.
I've been running Cyanogenmod/LineageOS for so long, which has this exact thing, that I didn't even realize regular Android doesn't have it.
http://archive.is/I8iQZ
So this is best understood as a breadboard for some later, Tesla Semi-derived system? Interesting take.
why anyone need to hunt animals again? killing animals for fun seem like odd hobby in country so focused on no harm done during shooting movie or other times to any animals, seem animals there get better treatment than many citizens with exception of hunting
If it was my only alternative to baidu, maybe.
What was the excuse in the US for not doing high-speed transit projects in the 50 years before Musk came on the scene?
> besides getting a few folks home faster.

How is that not solving a problem? Isn't this the purpose of undergrounds/metros?
>all reports about "Google returning to China" are based solely on the "Intercept report"[1] as source

False. There has been a lot of independent reporting on this (even if credits Intercept for getting it first, and yes I work there).

NYT confirmed based on "two people with knowledge of the plans." https://www.nytimes.com/2018/08/01/technology/china-google-c...

WSJ confirmed based on "a person familiar with the matter." https://www.wsj.com/articles/google-considering-censored-sea...

Reuters confirmed with "two sources said." https://www.reuters.com/article/us-china-google/google-plans...

VICE confirmed with "a source inside the company." https://news.vice.com/en_us/article/9kmdm8/google-china-cens...
The fact that it shares a platform with three Tesla X, implies that The Boring Company add Tesla can pass along overhead and licensing fees between them... That could prove helpful if only one of them is public. Smells like a smart move.
If more things looked like a 1998 Delphi project, desktop UIs would be much nicer to deal with.
Exactly, I understand there are different underlying concepts and systems to the front end and what it interacts with. It just seem incredible that windows is basically stuck with a windows 95 interface for a shell.
Study finds DMT mimics near-death experience in the brain
They aren't exactly the University of Phoenix, either.

Compared to the average cost for an online degree from a decent university, I can see a lot of people compromising over only 10K - even if some parts of the program aren't perfect.
Is there anywhere I can read about Bing in China? My attempts to Google this before seeing your coent led to contradictory claims, like Bing being blocked.
I suspect that will be stigmatic, or is already.

The FAQ on EdX says the certificate is identical to the on-campus one, it doesn’t mention “online”.

In the UK we have had “distance learning” for a long time (Open University) and there is no stigma attached, OU is probably actually more prestigious than most ex-polys.
Right. A war over something as meaningless as this.
I think you have a reasonable interpretation, though I disagree that the endpoint is increased radicalization. Certainly it’s far easier to find people that are on your side, but that doesn’t mean that the number of people that believe what you believe goes up naturally. I think everyone is jockeying around in a new space and trying to figure out what “community” means as conversations move online. There definitely is a radicalizinf element in an echo chamber, but there’s also a lot of wonderful communities being built that could not have. When things start to translate into the public sphere is where it is messiest right now.
Not really comparable given the delayed effects of black lung as opposed to a burn from a coal dust fire.
yeah, the images were loading for me when i almost scrolled then out of screen on mobile, never experienced such late loading with other pages
Officials Warn That Cryptocurrency Trading Is Illegal in Saudi Arabia
Add an issue: https://github.com/microsoft/console/issues
Some of my favorite theaters are landmark and I would be very disappointed if they get bought out by a FAANG type.

I think we need a Paramount decree for studios/streaming.
Interesting thanks for sharing. Looking forward for when it pops up on AOSP.
Try https://cn.bing.com/
But why? The smaller tunnels are the same diameter as the London Underground deep tube tunnels. Which run standard, if smaller, electric trains that can carry in two trains as many people as this will carry per day.
I was gonna write a snarky comment about using a <button formmethod="DELETE"> but apparently, the only methods allowed on a <form>s and <button>s are GET and POST.

I wonder why these limitations. Especially since you can get past this with an:

button.addEventHandler('click', () => {
fetch('/path/to/resource', { method: 'DELETE' })
});

which seems way less accessible then to have the method there right there as an attribute.
> This means Googlers should all quit - but trust me, most people won't, even though they cheer others to stand up

The American way is just to start doing a half ass job!

That way you keep getting paid lots but aren’t contributing to evil.
That shows "referrals" of teenagers. Doesn't really mean anything about what actually happens. All teenagers are weird for a little while. It's great if you stay weird, but most don't.
I've considered before that you could allow each end of a pipe to set name/value attributes, which can be read by the other end.
Seems like failures could be quite common

How did you come to this conclusion?
Reminds me of all the bugs in the java compiler I used to find when I first started learning the language and writing Hello World apps.
well, it's good to know the same two people are verified again and again. I do really appreciate those links.

Are there any further development besides the initial "Intercept report" details?

My best guess is that Google China somehow partnered with a major Android ROM developer in China to provide a search component in Android system, some kind of integration with "Custom Search API".

It's nothing like the full search experience is returning to China, but technically it's based on the same google search infrastructure.
Coding competition – Lost in Space
China’s brutal crackdown on the Uighur Muslim minority, explained
>people who can't think for themselves.

If this is really your mental model of people who join, I suggest you do some deeper research; or, you know, talk to them.

As a general rule of thumb, if your view of a group of millions of people with all education levels is that they can't think for themselves, it's wrong. It's a silly simplification that gains you nothing but bitterness and makes you look ignorant to people actually in the service.
Digital transformation is a very vague term & means different things to different people. For the sake of clarity - I work with companies in Mobile enabling their business for cases below:

a. enabling employee experiences on Mobile (typically intranet apps)
b. enabling Customer experiences (apps that enable customers for customer experience - eg. Mobile banking, flight booking, etc)
c. partner ecosystem apps

one of my customer had 50+ employee apps & has over 160K employees. Apps were built on IBM's platform and were managed by airwatch agent. This strategy of the mobility program had multiple issues arising mostly from end user perspective.

1. App discovery was a challenge (high pain, low or unknown gain - for users to discover any app at all)
2. installation fatigue (imagine downloading multiple company apps)
3. erratic app lifecycle management led to higher upgrades
4. airwatch agent sucks battery
5. Intrusive nature of airwatch agent on personal devices

Our approach to solve this challenge:

1. Provided a microapp architecture based one app container (a sandboxed cordova + enterprise plugins baked in the container for hosting multiple microapps. monolith was leading to development of multiple binaries otherwise).
2. added a universal inbox with actionable links (this created a way of soft discovery of new microapps)
3. SSO enabled all microapps
4. cloud based console for managing the micro app lifecycle was provisioned. This gave a mechanism to hot load web assets and retire them.
5. Enterprise grade security was added on the container & this led the customer make provisioning of app with airwatch optional.
6 making web apps of office productivity apps available to be in line with the info sec guidelines.

Observation post roll out (we are now ~30 months into the program): Adoption - over 100K users enabled. Over 50k+ monthly active users

a. making airwatch optional - led to reduced user resistance for adopting the app
b. Simpler life cycle management of just the microapps - made it less cumbersome for the users
c. cutting down of time to build & manage subsequent apps

Full Disclosure: I am part of the founding team of DronaHQ - a containerised low code platform, which has been implemented at customer end.
> You enter someone's country and you ought to obey the local laws there.

China doesn’t have rule of law, they never had a law about censorship, at least not back when google left. It was basically the party telling Google that they had to police themselves and not to talk about what they told them in public, because transparency is a horrible thing in China.

It’s like a top secret law that no one is allowed to know about but everyone must follow.

Google leaving China the first place was about bad governance and corruption, not censorship.
Banning people like Alex Jones won't unharass those parents either. People around the country still think that those parents lied about the death of their children in order to score financial or political gain.

And what exactly is Alex Jones' brand of conservatism? Does it involve a narrative of white extinction and false black victimhood? Climate change as a conspiracy? Obama is a Muslim who isn't even a US citizen? What makes Alex Jones conservative?
It's not anywhere close to self-funding a real public transport system.

How do they expect to make money as a private enterprise if these are the numbers they propose?

Public transportation is supposed to lose money, not make it, hence the "public" part. It's paid for by tax dollars, because it is impossible for private companies to make money from it.

Even the private rail systems around the world are largely subsidized pubicly during construction, with only operations being privatized.
Maps does not work in China. Source: in China
Generally the public aren't involved in these decisions.
> I started two of the most popular threads on Blind and was banned for life

Knowing what gets popular on Blind, I have a feeling that these topics were intentionally inflammatory and probably deserved a ban. Feel free to prove me wrong.
That's Powershell.
React Suite v3.2.6 Release Overview
Races occur due to internal program behavior that is different with exactly the same external inputs.

In your packets example, if we were to feed the external inputs through a record/replay mechanism we could debug the multi-threaded program reliably and deterministically.
Taiwan coffee chain 85°C kowtows to China after Chinese netzens threaten boycott
Why? In Portugal we finish our 5 year engineering university degrees at the age of 23.
While this is true, it's whataboutism. You can be fixing a fuckup resulting from your government's previous actions, but it's still fixing it.
That's one explanation.
^ yea I'm also not seeing anywhere that this is true. I'd love to hear that it is.
A PhD is about doing novel work and pushing the state-of-the-art, you can't get a coursework based PhD.
Even USA bing shouldn’t be blocked. You could always try to Bing bing rather than Google bing.
They also discussed ways to monetize selling the earth they excavate. Construction lego-like blocks was the concept they floated.
Ask HN: Open source food?
I'm planning to start a snack food company and would like to make everything transparent and opensource (formulations, manufacturing processes etc)

Would like any advice or feedback from those who are involved in the opensource.

Are there any concepts or methods that could translate from software?
They are already getting into Too Big to Boycott territory. If you factor in the indirect support we all give by interacting with paying users of AWS, that day may already be here.
> I've been under the guise for most of my career that doubling a digit leads to huge benefits that I'm too comp-sci ignorant to understand.

I was confused about this for years, too. But it turns out it's just a problem of bad naming. Happens more in this industry than we'd like to admit.

As other explained, it boils down to UTF-16 being 16-bit, and UTF-8 being anything from 8- to 32-bit. It should have been named UTF-V (from "variable") or something, but here we are.
Thanks for the hint. The thought that the health effects of a waste product from the most profitable of industries may have gone under-reported is indeed preposterous.

Here's a study showing reduced cognitive performance at various CO2 levels in the ranges we're talking about.

https://ehp.niehs.nih.gov/1104789/
UCS-2 is always 2 octets, UTF-16 allows for so-called surrogate pairs which expands the bits available making it variable size.
Without fsync, the dirty page can sit in RAM and not even be sent to the disk, so a battery backup for the disk wouldn't solve data loss.
To be fair, it seems like the transportation supply constrained - 20,000 people coming/leaving a stadium and only 2800 will have access to a 4 min shuttle ride away from a densely trafficked area.

It sounds like a great situation to prove a lot of things, including market demand, and also to improve logistics in many areas like queues, scaling demand, emergency procedures, etc.
Based on the section mentioning the timing, it indeed sounds like it's intended to be one-way, switching direction after the event starts.
This is less about cost of bandwidth and more costs of having edge POPs around the world.

With cloudfront (or any other edge cache system), you get TCP termination closer to end-users so the site loads faster, particularly if you have users around the world. Dropbox case study: https://blogs.dropbox.com/tech/2017/06/evolution-of-dropboxs...

Edge cache bandwidth costs quite a bit more than the not quite bottom of barrel IP transit that HE.net is selling.
Because of time bombs like "It works well enough because nobody really lives at the poles--"

That's exactly the sort of thing that works well until one day it just breaks your code because you forgot to make sure never to to do a computation on a thing that includes on of the poles. And it won't happen because someone starts living there rather it will happen because of a complicated logical chain of reasons that make perfect sense, but only in hindsight.
You wake up in the morning. "Alexa, make me a coffee." As you settle into your Amazon Auto - self-driving, of course - with a warm cup of Prime Espresso, your car's HUD lights up with a reminder. "Don't forget, your monthly electricity bill is due in 3 days! Thank you for being a customer! Echo Energy". Agh, more bills to pay. Luckily, you've been able to refinance your loans through your local BoA (Bank of Amazon) branch so you have more than enough to cover your living costs.

To be honest though, I personally wouldn't mind Amazon controlling more aspects of my life for now at least, however threatening to various liberties that might be. My overall experiences with their customer service have been stellar, which is much more than I can say for some of the other monopolistic companies I have to deal with.
Moreover, there IS a huge conflict of interest on Google's part as far as its users' privacy goes.

Suppose China becomes a significant part of Google's business in a number of years. Does anyone familiar with China doubt that its government would be willing to exercise that leverage over Google to extract private user information ... even about it's non-Chinese userbase?

How would future Google respond? Would there not be a gigantic financial incentive for Google to hand it over? Would it be willing to leave the Chinese market to withhold its user's personal data?

None of this is certain, but the risk is real enough imo that it makes me uncomfortable as a US-based Google user.

Sure, you can argue "well the US has done this in the past" but A) it's much more possible for Google to say "no" in the US, and B) the US government's interest in such data has historically been limited to (admittedly arguably overzealous) national security concerns, whereas the CCP's interest in such data seems to be for "whatever we can get out of it."
Important factors that helped to buy cryptocurrency exchange script
There's the cave submarine incident from a month ago:

https://www.nytimes.com/2018/07/18/business/elon-musk-vern-u...
Yes, this article was 100% focused on the substrate bias generator, since I wanted to start with a self-contained piece. I realize it's a bit of a strange focus, but hopefully it was interesting.

As far as the microcode, I'm not sure I understand your question. The microcode is fixed firmware, stepping the 8087 through the procedure for complex operations such as logarithm. Essentially, the microcode has mini-programs that the 8087 runs to perform its functions. I'm still researching how the microcode is actually implemented.
It would be more credible if the authors were able to distinguish between exploit and vulnerability.