skysight-inc/HackerNews huggingface dataset:
It's certainly possible! You just need to know which compiler to use. For example, I used musl-gcc to compile a static binary that can run on any 64-bit GNU/Linux type OS.

See my recent post https://scripter.co/nim-deploying-static-binaries/.

Download and run binary to try: https://github.com/kaushalmodi/hello_musl/releases (prints just "Hello, world!").

I plan to release similar binary for my ntodo[0] project, that will make API calls to fetch/set tasks in Todoist.

[0]: https://github.com/kaushalmodi/ntodo
A glass of pure caffeine would kill you. Probably any single compound naturally present in fruits and vegetables would kill you if you drank a concentrated, purified cup of it.
How to develop Go gRPC microservice with HTTP/REST endpoint, middleware
Could you elaborate on this more? All three of these points seem counterintuitive to me.

1. "profile-card" takes fewer bytes than "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light", so the space-savings of not defining profile-card within the CSS seems to be lost the more you reuse semantic styles within your HTML.

2. "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light" and "profile-card" should amount to the same CSS styling applied at the same level of specificity in an apples-to-apples comparison, so I'm unsure about side effects. Are you saying that using exclusively functional styling you can count on naming conventions to know if two styles would conflict?

3. "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light" looks a heck of a lot harder to maintain than "profile-card" once I have 50 profile cards in my application styling, spread out across multiple app development teams (and even development languages).

Are you saying it provides other maintainability benefits which are cross-cutting improvements that outlay the ability to think of your HTML as being made up of semantic components? Or are you saying that you are relying on component frameworks which make component definition in CSS a duplication?
I'm honestly not sure either.

I'm just noting the change in licensing. As I mentioned in the other fork of this thread we're going to move from Oracle 8 to OpenJDK 11 soon, and that's great. No problem at all.

Literally all I've tried to say is that there is a license change on the Oracle branded version, and you need to take note of it if you have been using the Oracle branded version and were going to continue. This is not really a complaint!

I'm not sure why this seems to be controversial.
You didn't read the article. The women are responding to an essay about why women don't want to code. As women who do want to code they're exactly the right people to ask.
Is Trump Fit to Be President?
"Millions" is still scraps to a company with the scale of Facebook
I think that's already taken by Uber's self-driving car division.
Logo sucked you in with the turtle graphics and making cool shapes. It is basically a computer etch-a-sketch, but it does get boring at some point. I am so grateful that I had a teacher that pointed out there was an amazing language just past cute turtles. Logo was a real change from programming in BASIC, FORTH, and 6502 assembler. It was one thing to read about all the cool languages in Byte Magazine, but it was quite another to actually get a shot at programming one of the cooler ones.
> You can personally decide not to use Facebook, which is good. But you can't convince everybody to do that. Pretty scary.

Which means Facebook has a shadow profile of you even if you don't use it at all: http://theconversation.com/shadow-profiles-facebook-knows-ab...
TarsGo: A high performance microservice framework in golang
As documented decades ago in "Man's Search for Meaning" by Frankl.
An Architecture for  Analysis [pdf]
My personal passion is the "desert blues" music that's mostly Tuareg. Start there with Tinariwen and Bombino. They're widely available in the West without much effort. They also tour heavily in the US, so keep your eye out for concerts!

From there, the Sahel Sounds label puts out a lot of obscure and interesting music on Bandcamp.

I can recommend two films as well. The first is "Akounak Tedalat Taha Tazoughai" (Rain the Color of Blue with a Little Red in It), which is a Tuareg remake of Purple Rain, the first fiction movie in the Tamashek language. The second is the documentary "They Will Have to Kill Us First", which is about Malian musicians living in refugee camps due to the civil war in northern Mali.

That documentary leads to the band Songhoy Blues, who are from the same area but Songhoy rather than Tuareg. They are young guys who met in a refugee camp, and managed to score a British record contract. Upon seeing them live, my spouse said it was like seeing a young Rolling Stones. Very accessible, compared to more raw music like Tinariwen.

There's a lot more, but this is a good start.
How on earth do you separate causation from correlation in such cases?

To actually know this you'd need a group of random patients to "give up the fight" and compare them to a control group. And you'd need the caregivers to not know which group is which.

A coach tells the team: "you lost because you gave up" -- to which they respond, "we gave up because we lost."
I think the manhole covers are round because they're really heavy and it'd probably be tedious to orient a square or any shape with multiple sides to match up perfectly every time you put them back on.
Happy Birthday indeed.

I think there is not enough appreciation how GNU and GPL improved technology in these last decades. Just imagine how many tools we get as open source today and expect to be open source - OS kernels, compilers, databases, desktop environments, browsers, libraries, toolkits, etc. They are not all GPL, but strongly believe that had GPL and Stallman not been there we wouldn't have had other open source licenses either and we would have had to pay for most of it.

At the same time I think we are losing a lot of that due to the trend of everything becoming a service. We losing tremendously in regards to privacy in general. The other story on the front page today is how Facebook is using 2FA phone numbers and selling them to advertisers. Yesterday we talked about Google moving to China where people can and will be imprisoned, tortured and killed as a result of a company like Google turning over users data. The irony there is that many of the tech giants that do those things have built their stack on GNU software (GCC, Linux), can imagine a bit how Stallman would feel about that.

EDIT: Found this recent 2018 interview with him regarding privacy and what the tech giants are doing these days : http://nymag.com/selectall/2018/04/richard-stallman-rms-on-p...
True, we might all be running BSD today instead. Thousands of kernel developers might have spent the past couple decades improving FreeBSD instead. Would that be worse? Why?

Do you think other free operating systems are full of "nice spoken liars"? It's not like Linux is the only game in town.
i don't see a big difference here to plain inline styles. seems to be very inconvenient
What apps do you use for security?
Not an answer, but this seems like it would be a fun, and fairly painless side-project. I've never tried writing something for streaming video over a network so it seems like it would be a good learning experience.
I always imagined they would probably end up doing this, and that's why I've never accepted 2FA anywhere a site has tried to push it on me. They can't spam me if they don't know my number...
I think both questions are relevant. So while I do agree that we should hear from women and men who considered and rejected pursuing computer science, I am also interested in hearing from women who did pursue computer science.
And then they stopped going to the moon for 45 years and counting.
because open source, that's why
You just insulted someone personally. Do you see that you did that?
So... not anytime soon? As long as FB has real and active users advertisers will advertise and throw money at them.
How can you tell the difference between products/services made by someone who makes said things out of the sheer love of making them vs. someone who only makes said things when compensated properly?

-- one word: QUALITY
This is particularly an issue when minors are present in the photo, videos, comments, etc... Dad/Mom/Uncle/Grandma shares a photo of a young family member, and without a doubt a new individual has been added to Facebook's records.

Will our kids resent our posts?
TBF that might ave been your browser doing the pre-filling.
- what does 0-3 years of experience mean to me?

I assume this is in the context of "0-3 years of experience is specified in the job description". Answer: nothing. There's very little in common between a new graduate with 0 experience and someone who's worked in the field for 3 years. To answer the implied question: 0-1 year of experience means that I will have to teach you how to code, write documentation, test, use Git (not in the narrow sense of git add / commit but managing branches, merging, creating PRs), follow a requirement document, work in a team, and generally not pee on the rug. At 2 years of experience or more, I expect the puppy training to be done.

- Am I hoping to retain them for a long time?

Ideally, yes. Since it'll take 6-12 months for them to learn their craft (which implies a fair bit of involvement from myself and the lead dev), I would be sorely annoyed if they quit right after the ramp-up period. But salary inflation being what it is, it's a very real possibility. I try to stave this off by giving more responsibility gradually and making sure there's always something new to learn (of course, this only reinforces their market value and hence the temptation to jump ship for a big raise). Realistically, I consider 2 years to be a minimum and 3 years to be a good tenure.

- Do I prefer exposure to certain technology?

Not necessarily looking for a given technology or language, but for a certain well-roundedness. I like seeing candidates who have worked with more than 1 language, ideally with different paradigms (imperative / functional, low-level / higher-level). Ideally some front and some back experience, even if it's only a portfolio webpage for the front and toying around with Twitter APIs or setting up a Django project for the back. This makes me more confident that the candidate will be able to pick up our particular stack, and can be trained to work on different components. Any knowledge of how things work under the hood (ie what does the compiler do, how does the request get from the client to the server, how do you host a service on AWS, why is it a good idea to use https and sanitize your inputs...) is a nice bonus.

- How do I measure "willingness to learn" during the hiring process?

I test what the candidate knows of their favorite programming language internals; what they know of the broader ecosystem (network, security, infrastructure, etc). This tells me if they're naturally curious about topics which should be of direct interest to them, or if they just copy/paste the first answer from SO. And obviously the basics: have they looked at our website, do they know the company, did they read up on the stack we use if they haven't used it before (this is literally in the job description), etc.
Yes, Nim has this. There is a caveat though, but AFAIK Go has the same problem.

Certain Nim modules/packages might wrap a C library. If you use those then your binary will typically depend on a DLL for that C library. With some effort you can statically link against those libraries, but I wouldn't call that easy. This is in particular a problem when you're using regex or SSL, the former depends on PCRE and the latter on OpenSSL/LibreSSl.

Go benefits from having native implementations of those written in Go. We also now have a regex engine[1] implemented in Nim but it hasn't made its way into the stdlib yet (that is planned though). But you can use it pretty easily as a package if you want to avoid the dependency on PCRE.

1 - https://github.com/nitely/nim-regex
I use my old iPhone as an international travel phone. I keep the Messages, Mail apps, but add things like WhatsApp, VPN, Skype, Google Translator, Measurement Converters, GoEuro for use when I travel overseas. Bonus points if you have to turn it on when you get back to the US and it doens't have many apps on it.
Wim Ouboter, the Man Behind the Scooter Revolution
Does anyone know any good learning resources for this language aside from the tutorial. Just tried jumping in and got weird compile errors when trying to work with lists.
The problem is that those things can be faked during an classic interview by a good actor (or "salesperson"). It's much harder to fake problem solving skills on a whiteboard.

The pair programming approach is not terrible, but might be problematic if skill fields (technologies, environment) of interviewer and candidate are not perfectly aligned. So either the candidate will have to work in the company's setup they're not familiar with, or the interviewer will try to follow something they don't easily understand.
Pretty much no one is actually sorry. They're just sorry the underestimated the negative response.
This reminds me of a short novel I had to read back in elementary school. I think it was called "Thunder Rolling in the Mountains" (yes). The Native Americans were fleeing the colonials all the way up to the Canadian boarder. Later on, during the treaty process, they are given a relatively small parcel of land to rebuild their home. The book ends with Chief Joseph of the Nez Perce dieing from a "broken heart". I thought that was bullshit and that the author was using a euphemism for a heart attack. ~20 years later I guess I am proven wrong.
I thought about using mine as a Fire TV remote because the one that comes with it is so bad, but the battery life just isn't good enough (and I don't want to have to always plug it in after use - I keep my remotes in a tray inside my coffee table).
Sahel Sounds has a really interesting anthology called "Music from African Cellphones", which is mostly very obscure local bands recorded live on cell phones, and shared around that way. I dig how drum machines are influencing the beats - it's a whole new sound.

And of course, there are lots of anthologies of older music from the 1960s and 1970s, all of Fela Kuti's output, etc...
I’ve seen this happen with YouTube, specifically this video: https://youtu.be/bKgf5PaBzyg

I had watched it many many years ago, and I suddenly remembered about it while at my friends apartment, (which is in the same building). Now I searched it up on my friends computer which was logged into his gmail account. We watched it and laughed. However, an hour later, I was on my iPhone at home when it appeared in my related videos.

http://i.imgur.com/u31ZuWM.jpg

I refreshed and it was gone...
Personally I am not a big fan of the word "passionate" as the number 1 attribute for employees. I think there are better words like competence, commitment, empathy, independence, maturity, etc.

There was a time some while ago (as I blow mental dust off my college literature studies) when "passion" was not a word that carried wholly positive connotations. It came with implications of things like irrationality, moodiness, strong emotions, even violence.

Passion can be an asset if a person must maintain momentum in the face of hardships and competition. It can be the base for tremendously hard work (which is one reason I think employers like it). But, it could potentially be a liability too, if it drives a person to create conflict or inhibits teamwork. Depends on the role and the team.
Ask HN: How do you make good use of old Android Phones?
>> Gave up the serious pain meds the next day since the side effects (zero attention span) were more annoying than the bit of pain.

Next time you can try Ibuprofen + Tylenol, to avoid mentioned side effects.

Ibuprofen Plus Acetaminophen Equals Opioid Plus Acetaminophen for Acute Severe Extremity Pain: https://www.aafp.org/afp/2018/0301/p348.html
Marxists by and large have not defended these systems, but attacked them. Leninists and proponents of derived systems like Stalinism and Maoism have defended them (I'm purposefully avoiding the term "Marxism-Leninism" as depending on who you ask to define this, it can refer to either Leninism or Stalinism; the term was introduced by Stalin and used to justify a lot of his own "innovations" like the thesis of Socialism in One Country, but in "modern" usage it often refers to something closer to Lenins actual ideology purged of the Stalinist elements; but in any case it is ambiguous). Under Marxist theory all of these systems are doomed to failure - Marx argued already in The German Ideology (1845) that he saw an advanced capitalist economy with sufficient wealth that redistribution would eliminated poverty, rather than just spread it around, to be an essential precondition for a socialist revolution to succeed without devolving into renewed class struggle.

It was Lenin that "circumvented" that requirement with his idea of a "revolutionary vanguard" to guide the country to socialism without waiting for capitalism to develop, and pushed the ideas you ascribe to Marxism. In fact this, along with Lenins idea of "democratic centralism" that allowed for tighter control of the party was what drove the split between the Mensheviks and Bolsheviks - the former with the Socialist Revolutionaries believed that socialism in Russia required allowing a capitalist economy to develop first, in line with Marxist theory. Many of them were murdered or arrested for their opposition to the Bolshevik coup.

Deng's reforms were not really anything particularly new: Lenin was forced to accept the same realisation that a return to at least a limited market economy was necessary with New Economic Policy in 1921, after the strict collectivisation during the Russian civil war had harmed the economy substantially. However Stalin reversed most of NEP in the year after gaining power, and this approach was then largely shelved until Deng. But in both cases is what a bandaid to counter damage done by their attempt to policies on underdeveloped economies that they did not have the resources to make work [that does not mean their policies necessarily would work under any circumstances; but the point is that to have a chance at all required a much more developed economy].
Yes, and as far as I'm concerned Nim has one of the best C++ interop capabilities out of any language bar C++ itself.
Glad to see this finally added to the cloud SQL offering, it's a been a huge outstanding limitation compared to RDS for a long time now.
The point is the team didn't lose until the game was over, but they stopped trying before the game was over, and perceived the outcome as inevitable.

The coach is trying to tell the team that giving up before the outcome is actually certain is what caused the loss, and the team is incorrect to claim that they had lost before they actually had.
Same thing we are currently doing about it. Keep talking.

FB and similar surveillance shops thrive because people let them. People let them, primarily, because humans instinctually follow a safety-in-numbers model - FB just couldn't be that bad, or someone would have done something about it. That is likely the most clever/evil hack - FB flips this instinct on its head.

So keep telling people the truth about FB. It is a tacky AOL 2.0 panopticon optimized to manipulate you in the name of your friends and family. The company routinely lies about their practices, the CEO gives all appearances of being an untrustworthy weasel, and they're more interested in growth than the damage (up to and including facilitating mob violence!) they're doing.

And: the net is a big place. FB is a big corner of it, but unless you'd also think living inside a Walmart is a great idea, there's a lot out there that you're missing.

It took years, but I've gotten some family members to stop using them.
Columnar databases have optimizations for columns, like RLE compression, Bloom filters, etc. that speed up filtering, lookups and aggregations. Row-stores don't typically implement these optimizations.

That said, some traditional row-store databases like SQL Server support columnar indices, which give row-oriented databases similar performance characteristics to columnar. The downside is lower write speed (the columnar indices have to be maintained, and the writes are still done row-wise).
I really hate this style.

I think the solution is using elements/components as the means of sharing styles. If you need a slightly different style you extend and modify an existing component. This can be achieved using libraries like `styled-jsx`, `styled-components`. Or hopefully as the shadow-dom spec progresses this will take care of this issue. I also think doing a way with the `scoped` attribute on the style tag was a dumb idea. As it made compartmentalization way easier.
Exactly. For someone to call themself a doctor, they had to at least go to medical school and pass the board exam. Even the worst lawyer passed the bar. Anyone who is a pilot has passed their FAA examination and check ride. Yet, anyone can call themself a “Software Engineer” with zero formal qualification and zero evidence of passing even a basic competence hurdle.
It seems pretty weird to have to argue the point that just like anything else in this life, doctors, lawyers, mechanics, cheese, wine, and toilet paper, there are good quality and bad quality... you get what you pay for, etc... why would this be any different?
Not a good comparison.

First, there's a difference between an assets trading value dropping, and it being physically destroyed. With the former you can continue to hold and hope that price recovers, with the latter there is no hope that the hotel will reconstruct itself without serious cash expenditure.

Second, a hotel chain is both property and the ability to generate cash flow. If that is destroyed, the company's ability to generate more revenue is eliminated. Financial assets used for speculation typically do not generate a large amount of cash flow while sitting idle. Instead there's the expectation that they can be sold later for a profit (ideally).

Finally, there is an important disconnect between a company's assets and its stock price, since the stock price represents an expectation of future profits. If traders think that BCash will rise in the near future, they might vote up Bitmain stock before the underlying assets move in the slightest.
It's worse than that. You can't even buy privacy-respecting Facebook service if you wanted to, even at the ARPU/LTV that Facebook would be happy to get, and network effects mean that you suffer when your friends and family choose to use Facebook but you opt out.
Thanks! The chrome extension will let you create new "mods" for specific pages. When making a mod, it listens for any edits you make: CSS, HTML, text, etc. When you publish, it takes before & after screenshots and puts everything on a page you can share with other people.
A ruptured appendix would not likely be resolved with antibiotics, I'd think. But catching appendicitis before it ruptures would be a less critical issue.
Coupled with the other commenter's suggestion is `outline.com`.

outline.com/<article_url>
What’s missing from the Express Edition that most “enterprise software” needs?
The point of this, imo, though, is instead of having a designer design a bunch of components, you have a designer design a bunch of functional styles that can compose components and still be on-brand. So say you have a component, and you want to add an on-brand/in-style shadow to it, you just add the small-shadow class, instead of digging through the css of other components and copy-pasting their lengthy shadow css. I would use this mainly for shadows, fonts, and margins.
Move fast and break stuff, like a bull in a china shop.
At some point you gave it to them. Could be Skype, office, Xbox or an old windows phone. You just forgot.
How the hell did we get here? Let's please try not to do this.