skysight-inc/HackerNews huggingface dataset:
I ran into the same problem with the using the libraries for the C based ffmpeg (libavcodec, etc). Even worst is trying to search for information only to wind up with hundreds of entries on how to use ffmpeg with the CLI with maybe 1-2 entries related to binding to the libraries grammatically.

Even ffmpeg's own documentation outside of what they generate for their API is rather sparse if you wish to do more than use it on the command line.
nice, but don’t see pricing
https://www.linkedin.com/in/mahern
4K is for Data Scientists
To be fair your username might be part of the issue. It makes it a bit hard to take claims of innocent-peace-and justice-no-anti-semetic-intent-intended and somewhat implies time spent watching "Evil Joos controlz the banking system and the Facebook!" videos.

Charitably, myself, I assume this isn't actually the case, but it could create that impression. FWIW.
The Deep Space of Digital Reading (2016)
Redescovering the beauty of C seems quite similar to city-dwellers redescovering the beauty of nature: everything is rainbows and butterflies, while in reality - if you are away from the safety net of civilisation - there are hundreds of ways nature will crush you if you make even a small mistake.
Yes. I mean, for those reasons, PG&E is already a highly-regulated natural monopoly; they just happen to bundle in the more normal generation market with the naturally-monopolist grid market. (Which is part of what makes their lobbying work so problematic, since they're so regulated that they're almost a government branch themselves.)

Splitting the company into a 1) a government or quasi-government enterprise to handle the parts not suitable to the market, and 2) a much-less-regulated company handling the more market-amenable activities, could give the system as a whole a lot more of the efficiencies of a market system.
Floral Tiered Chiffon Dress
NASA CubeSats steer toward Mars
The amount of protests in China has been exploding over the past decade(s). I didn't even know until someone mentioned it on here a few months back, but iirc its gone from maybe a few thousand per year in the 90s to well over 100,000 in recent years.

The Chinese rich I've interacted with are also (in my experience, at least - I don't have stats to support this) really ignorant of how bad a lot of their countrymen have it. A friend of mine's father is some sort of government official in a tier 1 or 2 city, and he's told me that the rich and poor are segregated enough that he himself didn't even realize his family was anything other than middle class until he came to Canada and saw it wasn't exactly normal to have parents who can afford 100k+ annual tuition, luxury cars and apartments, etc.
I wanted to comment but couldn’t find the right words. You said exactly what I was thinking. It is hard to reconcile this endless growth model when a company like Apple has billions upon billions in cash. It really makes me realize that the world is just an insatiable monster that will never have enough of anything.
Run for office, and failing that, get involved with your representatives and vote for those that support strengthening labor’s position.
This idea is neat, and the article does a good job of highlighting some of the potential evil and potential good of eval. However, as many other commenters have pointed out, it's far from a complete or trustable solution--and even if it's good enough for now, it may not be good enough for the JS of tomorrow (this language iterates bloody fast).

Far better would be a capability-based sandbox API in the browser (like the Node.JS one: https://nodejs.org/api/vm.html#vm_vm_createcontext_sandbox_o...) that also supports filters like "stack depth" to limit infinite recursion, and/or some sort of opcount to limit other nonterminating functions. Combine those two things, and you have at least a way to secure arbitrary code you want to eval.

I think that most people with a real/non-insane need for such a service would be willing to pay a fair amount of performance (e.g. introducing an Erlang-esque reduction count idea to code inside the sandbox) to get it working safely.

Mind you, even if that existed it'd be hard to use correctly; people would try to safe-eval code, fail, and open up over-promiscuous capabilities (just like redis: http://antirez.com/news/118), putting us back at square one. For many purposes, though, it would be a very interesting and powerful tool when wielded carefully.
China must be split up. It's a huge population and it's not working.
As someone that had mostly worked in Eclipse with a smattering of CodeWarrior/NetBeans/IntelliJ/Visual Studio, having to work on an iOS project using Swift in XCode was a big surprise to me.

Just a terrible, terrible IDE. Even the default font felt wrong (presumably I could change that). I grew used to it crashing constantly, locking up, going off into the weeds when it felt like it.

I feel like Microsoft made a huge mistake in gating their IDE behind a big $$ cost back in the day (in so far as getting fresh new developers on board), I feel like Apple might be making the same mistake with XCode and their lack of attention to it.
I think they meant if they have to be stored under special conditions like an dry, cool and low-oxygen environment.
Sort of like hn moderating against a diverse POV?
I like this blogpost. But as stated in it, “my project”. Writing C project, alone is pretty different than writing C with 1 or more persons.

In highschool we had group project. Writing simple tcp/ip protocol in C. Holy shit did I see some awfull things... maybe writing C is not the bad thing about it. But maintaining could be.

Simple example, you can read string from simple data file on 6,7 different ways. Yet their effects and behaviors differ severely. Not everyone knows difference in parameters and returns in scanf, fgets and gets...
This is disgusting. If you're so modern, respect a people's right to self-determination. Respect their freedom from oppression. Respect their freedom of religion. Respect the many rights of peaceful muslims in China, rather than make a ridiculous statement about global peace and islamic fundamentalism to become an apologist for China's consistent human rights violations on this matter. For someone who wants to espouse modernity you seem awfully uncritical of a totalitarian state.

As for your view on Islam, it's narrow. What you'll find is that literacy rates and living standards indeed have risen quite a lot, look at the data. Further, you'll often find many of the views people hold aren't necessarily religious views, but regional cultural ones. Rape, domestic violence, abortion of girls, dowry, child marriages are all prevalent threats to women in India among its 85% non-muslim population, just like it is in its muslim population, or that of say neighbouring India. Islam isn't the source of a patriarchal system as often as it's claimed, cultural practices that preceded Islam often are, nor is it as often the source of conflicts, the underlying geopolitical situation usually is. What I would say is that Islam can retard modernisation because it makes some conversations (that Muslims have every day in their own societies) much more difficult to have. But none of that has anything to do with the Chinese situation.

Stop saying that Islam is the problem. It's a facet, it ought to be considered, but it oughtn't be oppressed or seen as the sole or even primary reason different groups take political actions. It'd be as if I went around claiming the Troubles was a religious conflict or that Christianity was at the source of the violence despite it being a part of the story.
I wonder how "out of control" you would be if you fell victim to settler colonialism. We can objectively say it's colonialism rather than occupation since it's permanent.

What would you do if an IDF Caterpillar D9 armored bulldozer shows up in your neighborhood accompanied by the military and starts demolishing houses to make room for settlers, leaving a bunch of people homeless in the process?

https://en.wikipedia.org/wiki/IDF_Caterpillar_D9

That's why people are a little bit upset over there. Among other things.
Have you ever been to a farm? Are you vegetarian? What he describes sounds pretty normal to me, from the perspective of growing up in a cattle-growing country.
I am affiliated to a trade union in Spain and I find it mostly positive. Most trade unions seem lazy, like just structures of bureaucrats, but this one runs very well.

I pay a monthly fee of 15€/month, have access to a labor lawyer and a "resistance box" in case I have to go on strike or something, they match a % of your salary (not remember how much, but in my case it was like 80% of it). They also have a sensible approach on collective agreements.

I also have access to more stuff I can't remember now.

Sadly this trade union is small, and sectorial, but it very refreshing seen this, because most trade unions in Spain have bad rep.
"1410 and 900 BP" means "540 and 1050 AD".

I'm not sure about the precision of the years. Why "1410" and not "1400"? Are those "10" years easy to measure or relevant?
The Life-Changing Magic of Deleting Apps
Honestly over 40 hours should be OT. I feel like a lot of tech workers feel like they have cush jobs which will become less liberal if they start drawing lines in the sand.

Our labor is early in its commodification though. As we become less unique we will be easier to exploit. Organizing now isn't a bad idea.
Can you imagine the queue forming in the morning at the coffee place, where someone is trying to pay them with a bank transfer... ? Just typing in the IBAN Takes ages..
Card/Phone Contactless payments are super fast and efficient.
It depends. Some seeds last 32,000 years, apparently[0].

[0] https://news.nationalgeographic.com/news/2012/02/120221-olde...
Riding a bike in the US (cities) is a good way to die. It's silly dangerous.
> As a C++ programmer I developed my own pet-coding-patterns and bad behaviours (e.g. make methods or destructors virtual even if not needed, create objects on the heap and manage them through smart pointers even if not needed, add a full set of constructors or copy-operators, even when objects weren’t copied anywhere, and so on)

Yikes.
Maybe the author of this could provide a web page that allows anybody to enter "safe" JavaScript.

Provide a $10 prize for setting a cookie to value xyz, or for calling function zyx().

Repeat until safe.. (Makes me think how bug bounties really are useful but not that useful for security).
Are you seriously suggesting that Nationalism itself can't be a violent religion?
We'd rather that companies were honest, and yes the law should be enforced fairly and as on the books to keep the playing field for corporations level. But no, wage theft isn't a bigger problem than other theft.

Yes, wage theft is bigger numerically. But a reduction in wage theft is going to be mirrored by a drop in the amount of wealth available. By definition, the same or less work is being done for a higher cost; so by examining the net situation, someone is going to have less actual stuff (and I can say with confidence, it is not going to be the rich who do without). Increasing the cost of labour will put people out of work.

Wage theft is one of those victimless crimes where both parties have agreed that a situation is the best alternative and the government is declaring that they are wrong. It is a lot more delicate than, say, gay marriage, because all workers would prefer to have more money, and by far most workers would be happier if they didn't have to work. But, end of the day, just because the government says a worker is entitled doesn't mean the worker is truly unhappy with what they get. In an extreme case, I've worked in situations where I have been subject to wage theft (~10% lower compensation than I should have legally been getting), and I tried to keep that off anyone's radar because I wouldn't have had a job otherwise and I was being paid plenty.

Workers take the best option they have; possibly making that option uneconomic is not a good idea. This is not how, eg, China, is lifting people out of poverty.
There are ways to strengthen labor outside of running of office. If you work in a corporation you can begin to organize your co workers.

If you can't do that, you can get involved with local organizations and help others organize their workplaces. It takes a lot of effort to organize and there's a lot of room for volunteers.
I came up with this name when I was bored and surfing random articles on Wikipedia.
I've used C and Go quite a bit, and I find it a horror to write.

I end up duplicating tons of code - the exact same code copied hundreds of times across the codebase, with every time slightly different changes made to it.

How do you do custom data structures that need to parametrize over multiple types without duplication in C or Go? How do you do sane error handling without 90% of your code being if (...) { // handle error } or if err != nil { return err } ?

I mean, just read https://git.kuschku.de/justJanne/statsbot-frontend/blob/mast... as example. (It's a quickly hacked-together project I wrote in about 10h)
Please don't use HN for ideological battle or religious flamewar.

https://news.ycombinator.com/newsguidelines.html
Seems to me that Christian fundamentalism is a far greater threat to world peace. Muslim extremists sometimes blow stuff up, Christian extremists invade and wreck entire countries.

I mean, Muslim extremists would do the same if they could, but they can’t. I’m more worried about those who can.
That’s a big downside and something I don’t like. But if we get actual universal bytecode out of it, it will have been worth it. Every platform out there, with the same bytecode and with a myriad of OSS languages out there able to target everything under the sun. It would take us out of the dark ages of having everything in C cause lowest common denominator...
Found the Microsoft stock-holder... ;-)
> You can absolutely learn the syntax of C in an afternoon, or a few days at worst

That depends on what you mean by "learn".

Learn it well enough to make something that works for you, on your architecture, with your toolchain? Sure.

Learn it well enough to know which combinations of the syntax you (thought you fully) learned trigger undefined and wildly variable behavior in the wild or when run with other libraries/build environments? Hell no. And bugs caused by that stuff are distressingly common.

That's not a "system specific gotcha". It's a huge area of skill-requiring behavior that arises directly within the core syntax of the language.

Saying "you can learn C in a weekend" is like saying "you can learn to drive a car in a weekend" in reference to learning how to maneuver a car alone in a big empty parking lot. Technically true, but it'll leave you woefully unprepared for operating that car the way almost everyone wants to: around other cars, in more complicated contexts, subject to many more unpredictable factors (other people).
This is a movement I can get behind. Income taxes were unconstitutional for a reason.
If technology is able to repress resistance in more powerful ways than was previously possible then things like Northern Ireland won't be possible.
>The only way for totalitarianism to “work” is if the rulers are both much smarter than the population as a whole and also benevolent.

I dont think thats realistic anymore. Once they are able to hit first and hit hard when opposition forms, they are pretty much untouchable.

The whole argument, of autocratic regimes having a higher chance of collapsing the longer the reign looks like a naive outdated approach to me.
It bets on a critical mass of opposition forming. With total surveillance this wont happen.

A successful mass protest has to start somewhere. If you arrest those first people willing to risk everything you quell the entire thing. Its the basic concept of 1984. The only thing holding back this dystopia was the lack of a big brother state with sufficient insight.
There are a few glaring flaws in this:

The section on 2FA goes on about SMS, which has a very increasing history of being easily bypassed and is utterly terrible advice. You’re designating a helpdesk operator on minimum wage at T-mobile as your root of trust, to defend against number porting.

Also, if you’re this ultra paranoid you may want to reconsider using Firefox -the last of all the major browsers to get a sandbox by a margin of years- to defend you.

I like the idea of this article and think privacy & security are worthy endeavors, but if you’re putting this much effort in, maybe it’s worth taking a serious look at what precise threats you believe you have, then coming up with the best solutions to those, rather than enabling a ton of stuff and praying it all works.
Especially with split screen modes making landscape more powerful I have to wonder if they’ll change their tune and go for a landscape-first approach in the next redesign. Ditching the home button in favor of FaceID seems like it would be the right moment to move the camera and other sensors to the long edge opposite the keyboard connection.
The reason it is taxed is because they can get away with it.
What are the pros and cons of using Amazon Redshift?
Few tricks to deal with those "if you have nothing to hide you shouldn't be concerned about surveillance" folks:

1. Tell them its not about hiding something, but its all about that you don't have anything to share with them. If they argue against (why?), ask them their favorite color and counter-argue trying to convince them to start liking some other color instead. Hopefully eventually they see stupidity of such discussion.

2. If 1 doesn't work, then hand them over a piece of paper and pencil and tell them to write their Gmail password. If they decline telling you "Well, I don't want you to read my emails", quickly answer "wow, now I truly wonder what you have to hide?!? What kind of emails are you sending and tho whom? I mean if you have nothing to hide then you should be okay with me reading your emails, no?".

3. Finally, if 1 and 2 doesn't work, try a bathroom trick. Invite them over for some cookout at your house with beer or wine. Keep pouring drink as much as you can and keep them at least for an hour (watch movie, play some boardgame, etc). Eventually they will have to use bathroom. Follow them on their way and once they close the door, open them immediately before they have a chance to lock it and tell them: "no, no, no, no! I don't close or lock doors in my house! Look, I know you just going to pee, but still if you have nothing to hide, you shouldn't be closing and locking doors after yourself, don't you think so? Unless you know... you plan to build a bomb or answer some jihadist emails in my bathroom, but you are not, right? So keep them wide open please".

That's all I got. If someone has better ideas, please share!
Interestingly, Robert Noyce thought this article was a bit of a tall tale by Tom Wolfe. Here's a quote by him from 1984:

> It's interesting to me to see what an enormous amount of publicity the microchip has gotten recently including that article of Tom Wolfe's. Incidentally, on that article of Tom Wolfe's, I do want to point out that Tom Wolfe is first of all a novelist. And only secondarily is he a historian but everything that appears in print of course is true as you've all learned. Particularly if you ever read something that you know something about.

Source: https://youtu.be/AfxUq_QrpyY?t=2m20s
This crosses into religious flamewar. That invariably leads to shitty threads that destroy what's good about HN, and so is off topic here, therefore please don't.

https://news.ycombinator.com/newsguidelines.html
Location tracking on phones is not nearly as a clean data source as it may seem. For example when you use GPS in a large city tour location can get confused . So your tracking data is rather rough.
>They died mostly because phpBB was an absolute mess

They died mostly because Reddit and Facebook made them obsolete.

They won't come back at least until people stop losing their heads over GDPR compliance, although maybe self-hosted forums will come back with a general push towards strong anonymity.
I take his comment to mean that Chorleywood bread is common in the UK and not very pleasant.
Older unions in the US has a bad rap as well, but I think a lot of that is corporate propaganda to be honest. Like, the idea of having a labor lawyer at your disposal is an incredible benefit to you. I am sure wage theft is a little harder when your employees are armed with legal aid.
I should add: 2FA is indeed one of the best forward movements security has had in the last decade, it just SMS who’s time is limited: FIDO seems to be our next best bet.
افزونه چند زبانه کردن سایت –  WPML Multilingual CMS – افزونه Wpml فارسی
"Here's the 'display' property. It controls how the element is treated for flow. Or it decides how to change how the children are centered, when it's 'flex'. BTW, display:flex is totally unrelated to all other forms of flow control. We have multiple ways to center content, and vertical centering vs horizontal centering are not the same."

It's not impossibly complex, or even highly complex, but compared to any non-CSS layout, it's not simple. Only if you compare it to previous CSS layouts is it "simple".
Choosing Between Amazon Data Pipeline, Glue, and Other ETL Tools
Why don't children know why they do things?
Just like any other legal system, Islamic Legal system is also incredibly complex and nuanced. I suggest reading this article on the issue of apostasy in Islam [0].

In a legal matter, what general Muslims think about it (like a pew poll) does not matter because most of them, just like any other population are not experts in judiciary.

Regarding your points about Muslims having more kids, there is nothing preventing these kids from turning away from the religion, just like the kids of old devout Christians today no longer identify as at least practicing Christians.

0. https://yaqeeninstitute.org/en/jonathan-brown/the-issue-of-a...
> What a fucking stupid thing to say.

Would you please stop going on tilt like this on HN? You know we ban people for commenting this way.

https://news.ycombinator.com/newsguidelines.html
I think if the state enlists and coopts a sufficient percentage of the local population, then it can work indefinitely, if the gov't provides enough in terms of basic needs. The idea of local administrative committees and youth organizations as an arm to make others toe the line is not a foreign concept to the CCP.
Is Christianity responsible, or did it just happen to be the dominant religion in the time and place where other factors lined up to make this happen?
Do not pass -std, just select the language from the combobox at the top right side of the source window. Your code doesn't compile (__cplusplus is undefined) if you select C.

(btw i was talking about Clang, not GCC above)
I also doubt it is sustainable.

China has a social credit system that is locked in with this totalitarian system. Based on how irrational humans are I fully expect a huge spike in suicides. Once people get into so much social debt that people stop associating with them and they are locked out of work and simple things such as garbage collection they will start to end their lives.

I want to be wrong about suicide and right about social credit systems though....
RFC Draft: Messaging Layer Security Architecture
I saw Cary Fowler speak last week. He's the guy that organized the Svalbard vault. He said that the seeds are regularly tested. They are rotated when their germination rate goes below 85%.
I also work in tech, I just don’t discuss anything remotely controversial IRL because it will end up offending someone. Recently, I made the mistake to actually speak what was really on my mind (when I was drunk) and I ended up getting physically assaulted which led to a concussion. Suffice it to say I will never talk about politics publicly ever again.
Facebook moving away from React Native?
Irony: Oxford Union won't release video of whistleblowing panel