skysight-inc/HackerNews huggingface dataset:
From the article:

> For YI's first attempt at a Micro Four Thirds mirrorless camera they got a lot of things right, but there's still room for improvement.

Let me draw your attention to... "First attempt." It will get better and most likely less expensive.
Welp that's really fair. Thanks for the quote.
TechCrunch should be ashamed of themselves for reporting such puffery.
Previous discussion:
https://news.ycombinator.com/item?id=13613826
ZeroTier: it connects my laptop, my VDS, and my behind-two-NATs home machine pretty efficiently. That is, e.g., when my laptop is connected to the home wi-fi, the zerotier interface seems to exchange packets directly with the home machine.

Presence of an Android client is important for me. Auto-reconfiguation in a new network (laptop on a public wi-fi, phone on mobile networks) is nice.

"Peer-to-peer discovery" is not important for me, that is, I'm OK with my nodes discovering the network via a control center. (You can self-host the control center.)
Facebook is the latest tech company to build extremely quiet anechoic chambers
> The entire Chongryon-hosted enterprise thus seems almost completely devoid of informational and propaganda value today, if it ever had any; it is a classic example of “propaganda without readers.” [...] we can try to make sense of KCNA stories [...] simply as the nearly automatic manifestation of the North Korean state’s own commitments to itself

North Korean propaganda is so obvious and so stupid by our standards that it seems ridiculous anyone would listen to it, like the article points.

But there is something there for us to learn as well about our propaganda. which is less obvious. By now I think nobody can pretend that mass media is unbiased. I think before elections, for some channels one could squint and give them a benefit of the doubt at least.

The media served as this persuasion machine for many years (unlike the North Korean site mentioned here). It was never unbiased, but we one could almost pretend it was. However then something interesting happened when the curtain was lifted too much. It simply became too obvious and impossible to ignore. They went and started unilaterally backing only one candidate in the elections, hired operatives from their party, anchors donated large sums of money to that candidate, passed debate notes back and forth, etc. As a result even traditional large media empires found themselves regarded pretty much as the North Korean propaganda by the majority of the population.

You'd think they realize and stop. But they didn't and I claim they won't. That is what is fascinating, they keep marching on further and further. In a sense just like this site, the people writing there keep pumping those headlines even though the world is laughing at them. You'd think for example Chris Cuomo from CNN would sort of have this apology and say the whole "documents are illegal for you to read, but is different for the media, come to use for interpretation" was a dumb thing to say and how it made the whole channel look silly and so on. But he didn't and never will. And it makes more sense in the light of this article, this kind of propaganda is largely literature aimed not at persuasion but at reassurance of those who already believe and mostly also as literature and signaling among the media creators themselves. What the outside world thinks, doesn't matter anymore.
They've been around for 5 years and good quality brands support them. Maybe they won't last, but it's a better gamble than a pack of cd-r discs from walmart!
I know HN frowns on this kind of comment, but: suuuuuuure.
My point is that by leaving a behavior to be defined by the implementation you're not making it any easier to write portable code, but you may be making some optimizations impossible.
AI, probably. Bitcoin, probably not.
Sorry, "the places where optimizations do something". Didn't notice until after the edit window was long passed. I blame autocorrect :-)
> "Should I learn saws or screwdrivers?"

The answer to this question is unequivocally "screwdrivers". The answer to the original question (if you find yourself asking it), is "Python."

The analogy is perfect for this situation, but the answer provided here is wrong.

The original question [1] is unqualified, so I will take a liberty or two here and assume that they're new to programming and want to learn more. And since there's no real dichotomy here, I'll infer they're really asking "should I learn C++ or Python [first]?"

Well, C++ is indeed a saw and while they're incredibly capable, injuries are included for free. Python, like a screwdriver offers maximum utility. Learn Python first.

> Do you think someone could be a top-flight carpenter knowing only one?

Who cares about being a top-flight carpenter? Just figure out how to open up the battery pack for your kids' toys and you will be a hero. Whether you're starting a career in CS or you just want to cleanup the data in the office's mega-spreadsheet-that-has-all-our-critical-info, start with Python. Get that productivity that enables a positive feedback loop of design/test.

I started with C/C++ before Python existed and it was just so easy to get stuck on several classes of failures that were difficult to understand without outside help. Python has some of those but IMO far fewer.

[1] https://www.quora.com/Should-I-learn-C++-or-Python
Even if they go bust, there is a hope they will get back to their roots and end up remaking their classic lenses like Voigtlander or Meyer Optik Goerlitz.

Nikon (and Canon I think) problem these days is a body is a body. Their bodies aren't dramatically different to those of other manufacturers, yet they still demand a premium price. Fujifilm and Pentax for example offer good enough or better alternatives at reasonable price points and are doing just fine.

I want Nikon to do well but they need to try harder.
Yeah, I agree. I used to write C full time, but haven't in around 6 years, and I only flubbed #11 & #12 (I knew there was undefined behavior but couldn't remember why; after reading the answers I was like "duh", esp for #12 after having read #11).

I've never actually run into #2 in practice, though: even at -O3 the dereference in line 1 has always crashed for me, though I guess probably because I've never written code for an OS where an address of 0 is valid and doesn't cause a SIGSEGV or similar.

What's the best way to "fix" strict aliasing without disabling the undefined behavior around it? Using a union?
What's involved in getting this type of insurance? Do you just fork over some cash to the insurer or is there a vetting process?
If you are going to do theorem proving, you should try to only prove true theorems.
I pick 1960 San Francisco, when it was the home of emerging 1960s culture and twenty year olds with unskilled 3/4 time jobs could buy a house and start a family. (That's the exact same house you need to make $550k to buy today)

I pick 1950s Bengala-Desh because you didn't have to risk your kids lives from flooding because of overpopulation and DDT was just ending the malaria problem (some came back after the ban).

Lots of 1950s third world countries are first world today, like Mexico or Korea. In that case, I'd pick today over 1950s.

There are lots of benefits to growth in per capita income. There are no benefits to growth in GDP from population increase while GDP per capita stagnates.
A craftsmen is never disserviced from having multiple tools in their toolbox and mastery of them all. With experience comes the wisdom and intuition of knowing which tool is appropriate for the problem at hand. Whether it matters how quickly you need to deliver or what level of performance is needed. Inevitably in any engineering problem, there are always multiple solutions, but having appropriate information to make a qualified judgement to provide a sufficient solution as cheaply as possible (often, in software, this may be qualified in terms of time to market) that meets stated requirements (functional requirements, performance - i.e. load, latency & minimal hardware requirements).
A Gnome Developer's Arguments on Vala Being a “Dead” Language
It's pretty amazing how Apple can singlehandedly hold back the mass development of a useful technology. That's not to say there was any nefarious intention in doing so. Jony Ive will probably serenade us with a good reason in short order. I'm just glad that the network effect problem of wireless charging tech adoption will end. You'll know it's the future when you can put your laptop, phone, headphones, and AR glasses on a table and have them all automagically charge.

There are so many implications of this development. Smart devices will proliferate more rapidly, since the cost of having to charge yet another "dumb smart device" will become negligible. People will hang around public spaces longer. In addition, mobile device and laptop use time per person will get a decent bump.
I don't think most C programmers share your depth of the language. I tried hard to explain strict aliasing once, and utterly failed. The dev was convinced that he knew the exact behavior of the platform, and that it was fine. Yet people constantly find examples where we "know" what the compiler will do, and it does something completely different.
You should learn to program and then get experiance using C++ and Python.

The language is fluff around the concepts. Get the concepts and you can go to any languages.
Hopefully not together in the same investment!
Babies with diarrheal infection have shorter telomeres as adults
C/C++ Development Environment for Emacs
That's just some bottom feeder buying up claims at a discount. There's a small industry which does that.[1] Sometimes the goal is to buy the business at a big discount and do something with the assets.

[1] https://www.law360.com/articles/498711/understanding-the-rea...
Nutrition-diet-obesity-weight
Corporations aren't people, and boycotts are an entirely cromulent exercise of the rights to free speech and free association.
I've been having more than 100 gms of butter every day for the last 4 years. I'm on a ketogenic diet. I have to do it. Helps a lots with my sub-optimal health. Questions welcome.
Why not Java? I tend to find that anything larger than parsing and data collection Python/Nodejs becomes a bit of a maintainable mess for me.

Java/C# are boring, but once that little script grows into a massive beast you will be glad you can rely on the compiler doing a basic unit test of your program.

This is even considering that even though you have a huge amount of advantage with a dynamic type system most people don't end up using it. (http://neverworkintheory.org/2016/06/13/polymorphism-in-pyth...)
New Macbook Pro power efficiency and time remaining
Self-employment 'reduces tax take' as firms avoid responsibilities
There is very little objective news left, and very few unbiased umpires remaining to judge it.

I think part of this comes from the idea that there ever was objective news, which is a myth. Not in the sense that it's all biased editorial pieces, but that there is going to be bias in every story, just from the fact that it's written by a human. What people should keep in mind is how hard the journalist is working against that bias to be objective.

Once people are poisoned with the idea that any bias is bad, coupled with their own biases as readers, varying levels of critical reading skills, and partisans charging the atmosphere, people can be too quick to dismiss everything, rather than being encouraged to read critically and get what they can from news sources.

Similarly, the idea of unbiased umpires. Again, everyone's going to have biases, including those held up as umpires. Those same umpires are likely to hold political opinions as well. Is it even fair to think they don't or shouldn't? What's important is to see how their political beliefs influence their work.

Perhaps I'm too naïve, but I still believe people can do good, unslanted work while holding political beliefs. I'd like to think I can, and I extend that benefit of the doubt to others until they prove to me that it's undeserved. Similar to news sources, I think people have been encouraged to think that this is separation of work product from personal politics is impossible in others.

I think both of these are very real problems, and I'm personally trying to work to improve this as much as I can.
Be honest about your abilities and experience level. Companies worth working for have learned to mistrust overconfident developers from one or more previous bad hires.
Individual preferences are at the heart of the matter: machinery inside the human body is creepy. But, I concede wholeheartedly that benefit exists. For example, using robotics to replace a severely damaged limb. It shouldn't be hard to think up more examples.

Directly integrating with the human brain is another matter. I can see some possibility of a chip helping people with dementia or stimulating nerves to get paralyzed limbs working again. EM sounds like he wants it to go far past that. Aside from the medical experiments gone wrong in order to learn enough to make integration possible, there are the real possibilities of a computer overriding a human's own thoughts or a bug causing great neural damage. And for what gain?

We need to accept, as technologists, that the human race's biggest problems are not going to be solved by technology. Education, cultural exchanges, politics, and time will ultimately bring us to a better point than today. We can assist by providing better tools, but we aren't going to be the heroes coming through with the miracle fix at the eleventh hour.
Parent might be a tiny minority, but if so I'm right there with him.
Honestly, Optimizing compilers will kill C.

It killed the one thing C was good at - simplicity (you know exactly what happens where, note I'm not saying speed, as C++ can be quite a bit faster than C).

Now, due to language lawyering, you can't just know C and your CPU, you have to know your compiler (and every iteration of it!). And if you slip somewhere, your security checks blow up (http://blog.regehr.org/archives/970 https://bugs.chromium.org/p/nativeclient/issues/detail?id=24...) .
The title is bit of a clickbait. It should be noted that the 59% comes from the benchmark which is the last three months or so of historical data. As mentioned in the other discussion, it is more than likely that a real deployment of this bot would fare much worse than 59%.
At this point, we don't have any way of knowing for sure. But given the results in the year since we left the store, it appears that most people got to us, and then went to the Mac App Store to purchase. It would seem very few people found us directly via the Mac App Store, given the way sales shifted to direct when we were no longer there.
Repost...
Now I'm tempted!
Well, They teach ocaml as part of masters functional programming in uiuc.
You don't even need CSS, this blog loads fine even using GPRS : http://danluu.com/
The insurance company usually looks at the contract to decide. They don't care that much though. It's really a question about how much coverage you need in terms of price. And it's not that expensive. A few hundred bucks will buy you multi-million dollar protection.
In hindsight, the term Fake News wasn't a good one. "Organized [foreign] disinformation" is both more descriptive and would have been less easily appropriated and diluted.
Combine this with CramerBot and you could be a billionaire.
I agree, type inference, sane object and classes, modules and ADTs and MirageOS. Looking back i wish F# or OCaml was my first language
> You want to impose liability on Google and Bing because they index the whole internet and the internet has bad stuff on it?

Yes. If you found some, i don't know, child pornography, say, lying in the street, then went around showing it to people saying, "hey, look what I found", that would be considered illegal/repugnant/stupid, right? Why should that same action analogized to the digital domain be any less illegal/repugnant/stupid? I don't think it is.
This is why I mention Kagi. When you go all-in on a third party service it might tank and then where are you?
More of what they post is clickbait garbage than isn't recently.
We started small and with no obvious path for going from the app we'd made, to running a company. Nevertheless, we were able to figure it out back in 2002, and it's gotten easier since.

It's slightly more work to sell outside the App Store, yes, but it's really just not that difficult. If a developer plans to make a living, or even just side income, from app sales, it's work that's worth doing.
You don't want to do this, as it's a privacy violation. It will let attackers know all the names of all the other websites you are serving, just by looking at one of those website.

Do you want people to know that your server for www.donaldtrumpisgreat.com/www.hillaryclintonisgreat.com is also serving your company's homepage?
A quantitative framework for comparing global problems
Well, I’m old as well. I was working at that company in 2004-2005.
Very likely, that Valve leak was the very reason for their paranoia.
Sell the rights to the story to a movie studio, and use the funds to get the dog out.
Duff's Device in Common Lisp
That's not entirely true. Regarding portability, the layout of structs for example is implementation-defined to allow faster (by virtue of alignment) accesses or more compact storage depending on the system, but it's perfectly possible to write portable code that works with the layout using offsetof and sizeof (edit: and, of course, regular member access :) ).

That said, I would agree that, on the whole, C leans too heavily on under-specified behavior of every variety. It's just not an absolute.
If you want to phrase it like that, a compiler tries to prove conjectures and performs actions (usually code and data elimination) based on whether it can prove them or their negatives. Sometimes it can't do either.

I don't see where you're going, though.
Even if it isn't true, it's not an unreasonable theory.

From what I could find, it looks like they're still under 300 employees, and not everyone "would have to be in on it." Only the search team.

I know CDN services are meant to be fast and they try to minimize any type of slowdown, but many still keep logs and preform analytics. Also, employees often sign NDAs.

I don't know how CloudFlare SSL termination works, but I remember Akamai had SSL off-loading and they could, in theory, control payloads.

This author needs to provide direct evidence for some of the testable claims. Here are the cookie names, here is some of the Javascript and you can find the stuff here in the source code. Without that it's just conjecture, but it's still not outside of their capabilities.
Still, begs the question: what value do they get from their "Free" customers? Is it simply a freemium model based on getting conversions OR do they extract value from front-ending those smaller sites? Seems like the latter for sure... but that doesn't make it a honeypot.
C programmers expect dead code removal. Especially when the compiler also inlines functions (and, of course, inlining makes the biggest impact on short functions; and one way to get short functions is to have aggressive dead code removal). And macros can expand into very weird, but valid, code; so the statement that "nobody would ever write code like that" isn't relevant. The compiler may well have to handle unnatural looking code.

As others have stated, compilers generally don't actually have special case code to create unintuitive behavior if it looks like the programmer goofed.

It's possible and desirable for a compiler to remove branches of "if" statements that it knows at compile time won't ever be true. And, of course, one special case of statically known "if" statements are checks for NULL or not-NULL pointers in cases where the compiler knows that a pointer will never be NULL (e.g., it points to the stack) or will always be NULL (e.g., it was initialized to NULL and passed to a function or macro).

So the standard allows the compiler to say "this pointer cannot be NULL at this point because it was already dereferenced." Either the compiler is right because the pointer couldn't be NULL, or dereferencing the pointer already triggered undefined behavior, in which case unexpected behavior is perfectly acceptable. Some programmers will complain because the compiler won't act sensibly in this case, but C doesn't have any sensible option for what the compiler should do when you dereference a NULL pointer (yes, your operating system may give you a SEGFAULT, but the rules are written by a committee that can't guarantee that there will be an operating system).
How else would a person learn or hear about the Self? It is not a solid thing that can be perceived by the senses. Neither is it as abstract as nothingness. It is one's real nature and the source of the notion "I am". Further, it is that which makes it possible for the mind and senses to function.

You may argue that all this information can be gleaned by reading a book. At best, this will remain in the realm of theoretical knowledge. Only a person who has treaded along this path can offer some insights into what the Self is and how it may be realized. If you don't like to label this person as a teacher/preceptor, feel free to give him any other name you like.

To tell a person that he's the body and mind requires no knowledge. Further, such ignorance is well established in every individual. The knowledge of the Self is something a person has to discover after being introduced to it via some medium.
XMPP and Jappix Mini, for example.
I think the catch with #2 is that we probably run into it more in the opposite way - a unnecessary NULL check put in from, say, inlining a function or expanding a macro is removed. On that note though, even in OS code address 0 is usually setup to cause some type of fault to catch errors. I think the issue happens when the compiler removes or moves the deference somewhere else - though obviously the cases where this is legal are limited. But in the posted code, for example, the `y` variable is unused and thus could be removed entirely, which would also remove the NULL dereference (but still remove the NULL check).

> What's the best way to "fix" strict aliasing without disabling the undefined behavior around it? Using a union?

I was just talking about `-fno-strict-aliasing`, which is a flag for `gcc` (And `clang` I assume), but it does remove all UB like you're saying by simply allowing all pointers to alias.

The other options are unions like you're thinking (Though that's also technically UB, since writing to one union member and reading from another is undefined, though most compilers allow it without incident), or extensions like `gcc`s `may_alias` attribute. The `may_alias` is really the cleanest way to do it, but for something like OS code the aliasing happens in such strange places that just disabling strict-aliasing completely tends to be the way to go.
Could anyone elaborate on more examples of the indemnification clause in use? The IP example was useful, but I'm still not sure if I understand it generally.
Thanks, I'd like the people working on nginx integration for certbot to see this!
I think what's novel/different here is the examples you all cited are examples of market reaction to government action, compared to, let's call it "executive sentiment". The distinction here is people are anticipating future actions based a politician expressing feelings rather than taking action.
The land was illegally annexed by the government. The Sioux signed a treaty that was broken by the US, were offered money in compensation for the land, which they refused.
That land abuts the reservation's surface water sources. Without it they have no water security, an asset they consider priceless.

The ownership remains contentious.
4. Minor but: if you have more than one machine, the app installs across machines for you.