skysight-inc/HackerNews huggingface dataset:
The syntax is slightly cumbersome. For example, the function header of the mandelbrot snippet at https://wenyan-snippets.netlify.com/ reads:

吾有一術。名之曰「曼德博」。欲行是術。必先得二數。曰「寬」。曰「高」。乃行是術曰。

Decomposed:

吾有一術。I have a function.

名之曰「曼德博」。 Named "mandelbrot".

欲行是術。必先得 Who wants to run this function, must first get

二數。two numbers.

曰「寬」。Called "width".

曰「高」。Called "height"

乃行是術曰。 Then run this function as follows:

Essentially, what gets expressed using punctuation in mainstream programming languages is instead described by a short sentence. This would be terribly verbose in English, but it's kind of bearable in Classical Chinese, because each word is only a single character.
Promoting experimentation and rapid deployment.
That progression mirrors many others - but more recently, it makes me think of 3D printing and related making technologies like laser cutters and CNC mills.

Good 3D printers can now be had for under 1k USD – and if you can tolerate some tinkering and modifications $300-$500 can get you decent results as well.
NSA is 99% white people.
Same here. I get a month of prime when I know it’s worth it in terms of volume - moving, Christmas, etc.

I recently cancelled and got not only a further 3 months free, but also another month free, then an offer for another month for $0.99.

They are working hard to keep people from cancelling.
It depends on the seller. Aliexpress will do something if you can't find an agreement with the seller after many days. Some sellers are just stupid.
At the top of the page it will say "manipulation of scores is not allowed".
The main thing I'm getting from this is that Twitter is terrible. Why do likes have to be public? Why can't you choose to make some tweets followers-only? Those two things would cripple this kind of background check.

(Mastodon has both of those, but a social network is only as good as its userbase, and Mastodon's is small and niche.)
Pricing and pricing infrastructure has been redone. Thanks everyone!

https://fastcomments.com/traffic-pricing
Hehe, you are correct. I wondered if you would come back to that point when I posted the Quicksy link ;-)

Actually, I don't know why the ChatSecure guys don't get their software to work reliably. It got a lot better over the past two years, but sometimes I still wonder why a ChatSecure user doesn't read my message. In addition, it is not as easy to use as Quicksy/Whatsapp.

One of my friends uses Monal, but in essence, it is the same story as ChatSecure: It kinda works most of the time and got better over the past two years, but I am still not confident it works reliably.

So for iOS, I have no solution and neither do I know of any _high quality_ XMPP client that supports video calls. But in fact, those issues don't stop me from using it :-)
Taking the initiative in doing the right thing. For example, when I worked at Data I/O, their LogicPak communicated via a serial line. This required a terminal emulator on the IBM PC side, and there were various ones of erratic quality available for the customers.

I just decided to write a simple VT-100 terminal emulator for the PC in assembler as a rogue project. It worked out so well Data I/O included it with every LogicPak for many years, as then the customer had everything they needed in the box, and Data I/O didn't have to support emulators they had no control over.
It seems to be a Ruby equivalent to sysexits.h.[1] I don't know how widely used the codes are, but the idea is neat.

[1] https://manpage.me/index.cgi?apropos=0&q=sysexits&sektion=0&...
Redid whole page, thanks.
> Pretty much everyone says the pricing model sucks. I agree. Will rework.

Why would you ever listen to people who are not your customers (pulled out a credit card, agreed to be charged) about what you should be doing?

Starbucks coffee is $2.45 + taxes. 100/mo is less than a cup of coffee a day.
Germany has the same
I bought my wife a simple gold band. We were students. I told her how Americans spend so much money on diamonds and she was like, "that's stupid, you could go on such a good vacation and have nice food."
Presumably companies are a lot faster after one competitor is actually shipping a connector with dual orientation. What's the hurry if everyone has to wait for consensus?

I think it's a reasonable possibility that we would all still be waiting for dual orientation if this mandate had been in place back then.
Show HN: A 2D game engine in under 1000 lines of C
I've moved from aliases to scripts as I can't seem to have found the (if any exists...) way to ensure aliases can be used from within vim's ":!..." or ":'<,'>!...", and as I often find myself wanting to either execute something while I'm amending code, or wanting to filter text with a purpose-built command, I end up writing (sometimes very short!) shell scripts.
Can someone help me understand why a domain name still costs $10-$13 a year to own? Even with so many tlds (presumably competition) it’s still expensive. Why?
In your example, the docker image makes a certain presumption - the presumption is that the OS that the host is going to run is Ubuntu-ish and 18.x generation-ish and probably runs on a 64bit amd_64. So unless your code is very complicated, then probably by pulling Ubuntu 18.04 libraries and setting some linker rules things are going to work on most systems.
Foundational seems like a strong word here - this is a thin wrapper on top of two popular components from ROS (Navigation and MoveIt), and bringup for a specific robot (LoCoBot).

I appreciate the effort here though - ROS feels like it's become harder to use due to stale documentation, and there's value in providing a simple python API that abstracts the underlying bringup.

However looking through the wrapper and its documentation, it doesn't feel like it's making it much simpler by hiding away standard ROS tools.
This article made me remember that I had to reboot my 386 as a kid when I wanted to plug in my new gaming joystick. Those little things make you appreciate how much more user friendly the machines are today.
Please read my comment again. One like from your personal Twitter account on a nazi post or conspiracy theory meme means nothing. 90% likes on such content categories from your personal account? That means a lot about you.
The Democratic Party is driving a wedge between itself, FWIW. The talking points around political correctness could not be better designed to alienate working and middle class white people.
That's weird and simply shouldn't happen. What's your username?
I did do a deployment earlier, and since I don't have a queue in front of the this (and nginx isn't setup to replay POST requests yet) it is possible that is why.
So if the encryption moved into the mobile is layer instead. Lets say for images and blogs of text...

Note: I don't think technology can actually beat a government that doesn't feel bound by the constitution or above the law.
I agree! Done: https://fastcomments.com/traffic-pricing
Has anyone used these to successfully learn absolute pitch themselves?
Oil Shell's Parser Doesn't Worry About Aliases and Prompts
I'm a n00b when it comes to these sort of things, how would one upload a texture to a GPU, for example, using this? Open the "GPU driver file", seek to some specific location and write the texture bytes?
Tons of folks build apps in plain PHP, more so than use frameworks
Wasn’t it Fred Brooks who said, “Plan to write it twice, you will anyway”?

I fell into the trap of premature abstraction yesterday: I spent an hour breaking down functionality to make it “easier” to implement different backends, only to realise that the “abstraction” was strongly coupled to the structure of the single backend I’d written.

Young me would have forged on regardless because “abstractions”. Old me threw it away.
> The types of jokes a person shares and enjoys outside of the office by and large are not a reflection of character, even when they are racist, sexist, or some other -ist.

If most of your social media posts are you liking racist, sexist or some other ist content, I will avoid you. Who wouldn't?
I have watched a ridiculous number of combat footage videos from recent conflicts. I agree with your take on the helmet-cam perspective.

There are times where you can clearly see everybody and they're well lit, not moving chaotically. That's when you watch a team operating anti-tank guided missiles against tanks or other targets. There's a lot of distance separating the attackers from their targets. You hear the missile launch and watch it close the distance to the target over a period of several seconds. The targets might start to scatter a couple of seconds before the missile arrives if they can hear it, or remain completely unawares until the explosion. It's very easy to see what is happening but it also looks very "unheroic."
I think I get OK reviews (it’s pretty opaque at my company).

My lower IQ makes me concerned about weathering a downturn or making more money though. The only better offer I got was at a Hedge fund and that was a severe lowball (likely due to interview performance).
I don't think it matters that much. My only online presence under my real name is a locked-down Facebook account and an inactive LinkedIn profile with no profile pic, and I get recruitment emails from big tech companies pretty often.
Write a code that endures business endless requirements:On Code Quality Metrics
I recommend adding a small lithium coin cell battery to your order to activate ORMD ground shipping. This will usually get the hdd packed in a semi sensible way. Otherwise, you'll often have it tossed in a box or even a bubble envelope.
related: http://redsymbol.net/articles/unofficial-bash-strict-mode
(psst, think you forgot the link.)
> Known Limitations

> Currently, attachments are not supported.

That's kind of a biggie. What happens when someone sends an attachment? Does it bounce? Are they warned? Do I get a notification? Is it silently dropped?

From reading the code it seems like it just doesn't include the attachment and then deletes it from S3?
Ask HN: What is your repository directory structure?
Hi fellow HN-ers!

I'm rethinking my repo directory structure and naming conventions for the directories, as well as for the repositories themselves, and would appreciate if you could share how you do it.
"Price of shipping" doesn't automatically include a generous return policy, or fast shipping. I am a Prime Member, but I buy elsewhere frequently. But it still save me money overall, and Amazon Prime has mostly every movie I would ever want to see.
Sure, here you [go](https://www.dropbox.com/s/8d3ei2bojkvg69l/book%20%20The%20Pr...)
Exactly. I tend to browse Twitter on my phone. Judging by the number of times I've accidentally clicked on a tweet while scrolling, I'm sure I've accidentally "liked" more than a few tweets that I find abhorrent.

I'd hate to think that such mis-touches would harm me personally or professionally.
Great article that exposes many college-educated blind spots, in particular that education is not a panacea for inequality. But the proposed solution of more democratic workplaces — somehow convincing capital-holders that investing in human labor rather than automation is in their own self-interest — feels like swimming against the tide of history.

Meritocracy is a dangerous ideal for humanity to continue to hold so dearly. IQ is partially genetic, and with a low ceiling — sooner than we’re ready to accept, nobody’s brain will hold a candle to AI. Equating our economic value with moral worth will only lead to further cultural division, despair, and anarcho-primitivism. Instead, let’s try to build a culture, society, and government that takes the intrinsic value of human life as an axiom, before it’s too late.
I agree. This strikes me as a Motte-and-bailey attitude towards LGBT acceptance in society.
Don't know about generic Android, but this works pretty well on Pixel. Automatic "call screen" has eliminated my spam calls to almost zero.
Are we at that point yet? The other thing about power distribution, wall sockets and fire safety is that they hardly ever change. If this had been in place 10 years ago, we could be stuck with micro USB.
> Unless you physically own a server you have to put your data somewhere, whether that somewhere is Digital Ocean, some shared hosting provider, AWS, or whatever else. You're still more in control of your data than you would be using a closed third-party product.

The claim was not "you are more in control than with a closed third-party product". The claim was "No [...] having to trust a third-party company with your data.". When you have to use AWS, then you evidently have to trust a third-party company with your data, unless you happen to be AWS. And not only do you have to trust a third party, you even have to trust one particular third party with no alternative if they misbehave somehow. That's pretty close to using a closed third-party product, if you ask me. I mean, really, you are using a closed third-party product--it just happens to be the infrastructure that you build on.

> Sure it would be nice to have other options in addition to AWS, but I don't think those two statements are contradictory.

So, AWS is either not a third party or could not access your data, no matter how much they wanted to? Or what other alternative do you see to make those statements not contradictory?

> Also, I don't know if it is, but the data stored on AWS could be encrypted by the app, in which case you're really not trusting AWS.

Wut? Am I just completely misunderstanding what this does? This uses SES, a service by AWS that handles your emails, right? As in: That speaks SMTP for you, and thus sees the plain text of the emails, right? And then, somewhere there is code that handles those emails that runs on machines that AWS has physical access to, right? As in: Code that AWS can trace and modify however they like, right? As in: Code where AWS trivially could extract any possible encryption keys from, right?

Unless I am completely misunderstanding this ... what would possibly stop AWS from reading all your emails if they wanted to?
Aw darn it, wish someone had picked this up by now :'(
Please, do ask them. Also remind them that giving this much freedom to the market inevitably leads to attempted vendor lock-in.

Standardise as much as possible.
> Your post is a perfect example of a dangerous overreaction. Suddenly liking the wrong post makes me an "incel" and keeps me from contributing to society. Isn't that a little crazy?

Please read comments before responding to them. I specifically wrote that "liking the wrong post" means nothing. You know what does mean something? You liking only wrong posts.

That said, if most of your social media presence is you abusing others, trolling companies, liking revisionist graphs or retweeting pepe-the-frog memes about how Seth Rich was murdered by Hillary Clinton or how the world is run by Jews... well that brands you in a way that most sane people will avoid you.
I’ve done like ~250 leetcode problems since undergrad (including redos) and I still fare poorly to get into FB/G. I’ve probably done 3-4 at the FANGs by now outside of my current one but failed all of them, so I’m definitely below the average.
Exposed key events happening in the product as an anonymized feed in a dedicated Slack channel, where each event links back to the CRM, a support profile, and a log of the session. (Only those with appropriate access can actually use the links.)

Strung together Segment, Zapier, customer.io to make it possible.

It’s ridiculously useful, and also gave others ideas for other types of feeds we can have for smaller teams.
Prime music streaming offers about 2 million tracks, vs Unlimited offering “tens of millions” of songs—and costs extra. So it's not apples-to-apples unless you pay extra on top or your Prime subscription for music unlimited.
Your description reminds me of Cobol.
Ask HN: Private Cloud for a Small Business?
I'm looking for advice. I work for a small business, currently operating a SaaS on a handful of medium EC2 instances. The app is connected to a database in a different country, and to minimize latency, we're contemplating leaving AWS, and getting hosting next to it.

Unfortunately major cloud providers are nowhere near the area, so programmatic infra goes out the window. However, high availability is still expected, and the bosses are very cost-sensitive. Talk about requirements!

For these reasons, we thought of renting 3 entry level physical servers, deploying a virtualization platform (oVirt), and wiring them up for replication, load balancing and automatic failover. This private cloud should vastly exceed the capacity currently bought from Amazon, and should also tolerate one of the machines breaking down (with KVM's live migration).

However, my team has a software development background, so we're not completely sure what we're getting ourselves into in terms of networking setup, hardware health monitoring and virtualization wizardry.

Under what conditions do you think all this is worth learning more about? What are the alternatives apart from getting a bunch of VPSes and dealing with failover on a per instance basis? How would we prepare a sandbox in the office before just doing it live? Am I completely mad even to entertain the idea of a private cloud for a small company?

Thanks!
It's not done by giving money to politicians or their campaigns. This is extremely regulated and the dollar amounts permitted are trivial.

It's done by independently advocating for the candidate. And it's pretty hard to tell people they can't do that. Should you need to fill out a financial disclosure form to be allowed to write a positive comment about Bernie Sanders on Reddit?
I'm not sure what you mean by generics. There are a lot of white label products on Amazon that use the same stock pictures as the manufacturers do on AliExpress. It's often just cheaper to order it from the manufacturer instead of through a middleman.

Branded products, that aren't just white label products, I try to buy directly from the manufacturer. For example, I buy my Apple replacement chargers directly from Apple.
Ahhh good to know!

I think part of my issue is just that I need to do some more reading around what IPs should be what. It's usually clear what's going on in WireGuard-land, but not clear how that interacts with the other interfaces or the networks on either side.
I didn't mean to convey that we should abandon generative self-supervised methods, but I can see how comparing them gives that impression.

Agree that using them in conjunction would make sense, since generative methods could capture some features better and vice versa.
In my time writing databases, I found that not only the mount-flags could result in data-loss despite fsync, given you use fsync as it is supposed to be used [0], but even enterprise-grade hardware would at times (at that scale [1]) drop and/or corrupt a few bits here and there.

That reminds me of the case where AWS famously revealed that a single NIC in their ginaromous S3 fleet flipped a single bit once in a while and that caused an outage because their gossip-daemon responsible for fleet health-checks failed spectacularly [2].

Bryan Cantrill's talk on the realted topic of hardware/firmware bugs is pretty good [3].

[0] https://danluu.com/fsyncgate/

[1] https://perspectives.mvdirona.com/2017/04/at-scale-rare-even...

[2] https://youtube.com/watch?v=swQbA4zub20&t=46m02s

[3] https://youtube.com/watch?v=fE2KDzZaxvE
> "PS: Sorry for the wall of text."

In the future, it'd be best to just drop a link with a short message as to why the link is relevant.
I'm super glad programming languages were invented in a country with an alphabet.

Imagine if the computing revolution were in China instead of USA... we might all be coding using Chinese characters instead of Latin characters right now.
I've yet to find a reliable, reputable retailer that comes close to price-matching Amazon. Much less beating them. Walmart and Best Buy come closest, and they're usually in the ballpark of 5% higher.

If you're bringing up the issue of counterfeits and knockoffs, yet also suggesting ALIEXPRESS (!) as an alternative, then I don't know what to respond with other than laughter.
cgroups and pid's, just like every other container tech
meowmeowmeow. My first comment included a picture (rabbit showing tongue) and I received a pair of emails for verifying my account & comment at 23:30:33 EET, according to server logs. I promptly verified both, but that comment never showed up.
Exactly How Dangerous Is Football?
Motorola Atlas 604 (Prep) and Windows NT 4.0 PowerPC – Paul's Old Crap
VSCode extension to host the chrome devtools inside of a webview
It is a lot like COBOL, but oddly with more punctuation (probably because of the lack of consistent use of whitespace in Chinese). I think it may be a fun way to practice my 漢字.
> I ask myself, would a FAANG company hire someone who doesn't actively tweet? Somehow, I doubt it.

Why do you doubt it? Super common.
Looks very interesting but I don’t understand chinse so I’d be curious what chinese programmers think about it. I think a scheme lisp in chinese would be quite efficient in terms of visually parsing the code.
What a fantastic article.
Innovative technologies in manufacturing: Commerce has stopped loan program
By your logic, those non-prime members are paying double for their shipping.
Interesting, but it's nothing compared to a rock'n'roll tour. I've no detailed knowledge of what it's like now, but even 35 years ago we had five 40-foot trailers filled with gear, including 21 cannons and a 3 ton bronze bell, for a tour that did a different venue most nights. Only about 30 people in the tour party, though
I remember reading somewhere that there is money to fight climate change. It is just that it is being spend on weapons, like this one. Efforts would be much better spent, trying to reduce the rate of destruction of ecological services. There are between 200 and 2,000 species extinctions occur every year. Could one be saved for a price of one rifle like this?
AngelList (https://angel.co) worked for me
You can't explain why until you have a really good description of the what.
This is definitely a big concern and I have thought a lot about it. Storing data like whitelists, whitelist requests, etc. on the device instead of server is probably going to be the best way to minimize potential issues around privacy. One way to do that is to locally store the whitelist and to route the call to the device and then have the device reject the call if not in the whitelist. But it’s slightly more complex than that, because PINs are an option here too. This is an area that I'm going to be working hard on exploring.

I intentionally haven’t added SMS filtering because of these privacy concerns.

I definitely want to focus on privacy because I am as privacy conscious as everyone else on here.
Add "Ask HN:" to the submission title to make clear that your submission is asking a question and is open for discussion instead of linking to an article that tries to answer it.
Exactly. If one "expert" is developing only for himself he can allow himself not to bother writing a script "clearly" (i.e. failing the programs that perform source checks).

But as soon as the script is something that should be potentially sooner or later maintained by anybody else than the original author (and in any successful project that's practically sure) the only right policy is to produce the source code that's obvious and passes the source checks.

An "expert" would have no problem to in no time adjust his three-line code to fulfill all the expectations of ShellCheck.

If it takes more than that, that only proves that the checks are actually beneficial and even more important than the "expert" tells to himself: it proves that writing that specific code "cleanly" is actually hard for everybody.