skysight-inc/HackerNews huggingface dataset:
If you travel a lot, ask immigration to put the stamp in a corner of your passport to save space.
Dont put food in your luggage, if you are extremely unlucky a customs dog will smell it.
Just walk through customs, no one cares about you.
The GFW will block most social media sites and all of Google.
The GFW detects the ssh protocol and slows it down/blocks it. ssh -D does work for like 30 seconds or so. Mosh works good.
If you really really want to use ssh -D and firefox, remember to do an about:config and change remote DNS to true. Do the same if you use shadowsocks.
Plain tor is mostly blocked.
If you want to use your own, private VPN connection, use IPSEC, not PPTP.
Overseas connection (Europe/USA) are extremely slow. Set up a private VPM in HK or Japan to enjoy faster speeds.
Change you apt location or equivalent to something like mirrors.aliyun.com or wait hours for any updates/ package installs.
It (rightfully) copped a lot of flack because it is a terrible idea: Reddit users don't want another user-driven/user focused Facebook clone, they want a community and topic driven platform.

I'm hoping that, like some of Reddit's other weird ideas, it kind of just gets abandoned and left to die.
Actually some well know researchers are quite known to be against UB, but C compiler writers don't seem to be willing to listen to them.

https://blog.regehr.org/archives/1054
Seems to me that if you travel internationally these days, your best bet is to leave electronics at home and instead buy "burner" devices at your destination.
This strikes me as a very hyped article. "It’s like Einstein’s theory of relativity, but for viruses" - seriously?! While the proposed explanation for differing rates of evolution is doubtlessly interesting from a scientific perspective, it is definitely not as big as this article makes it out to be.

Also the dig at the molecular clock is pointless - we have always known that there are many unknowns involved when using a "standard mutation rate" to calculate the time since the divergence between two species. That is nothing new, and the estimates we have are consequently constantly being revised. The time-dependent rate is a good addition to our methodologies, but it isn't the revolution advertised here.

(Oh and by the way, the original paper is from 2005.)
That's true, but the risks are correlated heavily with all the other real estate on earth.
Hooray! I'm gonna go ahead and claim credit for the festure request (though I never attempted to implement it :)

https://curl.haxx.se/mail/archive-2014-02/0032.html
Also the smaller local ones (for your Town/City/etc).
> react is literally the opposite of what the parent described. It's a huge convoluted ecosystem (...)

React is not an ecosystem. React is a library with an extremely simple API. Everyone acts like one must use a flux implementation, a complicated router and everything when you use React. It can't be farther from the truth. Out of the box, React also provides, more or less, whatever cell provides.
I'm afraid that this tool is in price limbo, much, much too expensive for a hobbyist (especially when you can etch or CNC your own) but of not good enough quality for a company that wants to prototype PCBs (at least that's what the boards look like to me).
I can't, but I also think your premise is not correct ("reading the code line by line" "without spending at least a week in that"). A lot of production C code is inscrutable without a good understanding of the language, and to understand many common constructs (e.g. overflow checks) you just have to know it. That trivial code is trivial to understand... well... that's true in most languages, no?
Sure, but the worst case is that you don't see books which are in your filesystem, and then all you need to do to fix that is click "Add books".
Most cryptocurrencies but the very largest seem to behave like penny stocks being manipulated with pump and dump schemes. There seem to be a lot of clear pump and dump talk about cryptocurrencies on sub-Reddits.

In some ways cryptocurrencies that are tied to specific companies/business endeavors become unregulated stocks in those companies. Thus it much of market the of cryptocurrencies is some sort of an unregulated stock market.
> If the code really does make no sense, then why not disallow it or capture it with a compiler warning?

You answered your own question:

> Isn't it possible that the programmer knows something that the optimizer is unaware of?

Here's a fun exercise. Find the best static analyzer you can. Run it on some substantial body of C code. Count all the false positives and false negatives (good luck).

Now you should have an idea as to why you can't simply require the compiler to reject the code and issue a diagnostic. But making code like this UB is about as close you can get to "disallowing it."

Alternatively you could try to eliminate the problem entirely by removing the whole concept of uninitialized memory and requiring that all variables are initialized to some value per default. Depending on which camp you're in, this is a step forward or a step back. Some people just see the words UB and think it is Satan, bad bad bad. For them this is a step forward.

But if all variables are supposed to have a definitive starting value, compilers & static analyzers suddenly can't warn you about the cases where it can tell you forgot to initialize something, because all of a sudden such code is totally legit. The analyzer can't tell whether you forgot to make an initialization or whether you're actually intentionally relying on the default value.

That's a big step back as far as I am concerned. You eliminate a problem because "UB is bad!" and create another problem we can't even issue warnings for, without potentially generating loads of false positives.

Now if one wanted to complain that his compiler detects an obvious case of UB and doesn't warn him about it, he should take it up with the compiler developers (or see if he can help himself by turning on the right flags). Alternatively one could invest in a good static analyzer. The standard committee can't really fix this problem without making substantial changes to the language. Instead I'm glad they allow relatively simplistic implementations that don't do deep advanced analysis.
Question: Is Caché SQL Essential to Caché Objects?
Except that a) the US weren't interested (ironically, they may be now) and b) he repeatedly refused to meet Swedish investigators at the embassy, where there was no chance of rendition whatsoever.

People were dropping out of Wikileaks 10 years ago because of Assange's behaviour. Seems like Poitras is just the latest in a long line of people who are attracted to the principles of Wikileaks, but turned off by the reality.
Very ELI5 question:

> When a company hits an extended rough patch and its stock price slides into a trough and stays there for a while, a special class of opportunistic investors—hedge funds and so-called activist investors like Jana Partners—stands ready to pounce. They buy up large chunks of the stock, enough to give them some bully power, and try to force the company to make changes that could increase the stock’s value, preferably quickly. That might mean selling the company, breaking it apart, forcing cost cuts, replacing leaders, or other often drastic measures. If the activists can rally other shareholders to join their cause, the company may have no choice but to acquiesce, at least to some degree.

Why does owning shares automatically mean having power over a company?

Is there no way to say "You buy shares, and the only right you acquire by it is participating in share price increases and an optional dividend we decide to pay or not"?
5 Must-Have Security Tools for Your Linux PC
UB is pretty damn fundamental to C. Not many people realize it though. It's the fundamental difference between C and C++ compared to Python or C# or Java or Rust or whatever.
Blockchain based trust and authentication for decentralized sensor networks
Creating Virtual Universes Using Generative Adversarial Networks
make the PDF look good

Yeah, as in forcing you to submit in an artificially crappy template with horrible double spacing (which is awful as a reviewer) to then apply their standard template and voilà! The paper looks good.

give it a thorough last read (finding for me several errors that peer review never found - missing or switched references, for example)

They do that (with varying quality) but it's quite aggravating that they charge thousands of dollars mostly for that, while peer review, which is much harder, is done for free.
Er... no they're not. Watch Bill Maher whinge about protests against him from other progressives sometimes. He'd love to live in a world where progressives behaved like that, he'd be a hero.
I think you can draw a line between this and Zappos. Before being acquired by Amazon, it had a crazy amazing working culture and customer service reputation, and it still does: in fact, that's why Amazon bought it. They wanted to learn from that culture and bring it to Amazon.

I doubt WF is going to find themselves watering things down - I think they are going to be spending their time learning something from Amazon about logistics and data-driven growth, but they're going to spend a lot of time teaching Amazon about how running a store that has fans as much as it does customers, about how to make that work.

That means they will have to stay true to their cause: Fair Trade and organic deals are part of WF's core brand, and if they remove them, they will lose their fans. What Amazon will want to figure out is how to make that more economic by scaling it. It might be the best thing to happen for animal welfare in the food chain this generation.

Store automation is an interesting one. What Amazon have been trying to figure out is how to take away the pain points of stores (queueing), but that does not mean all staff are removed. Stock needs checking, shelves need stacking, and in my local supermarkets the checkout is already semi-automated, but I still have to queue. Amazon's plan is just to take that further. Does it mean you could have fewer staff? Yes, of course, but you could also decide instead of growing profits, grow the brand: redeploy those staff into genuine customer service roles.

It's an interesting move, I think. I don't think you need to be alarmed if you're at WF, you need to be alarmed if you're at Walmart, Tesco or any other major food retailer anywhere on the globe though.
The TensorFlow tutorials are terrible for a library this popular. Two specific instances that bit me this week:

* The RNN tutorial is just a code dump, with barely any comments. And since it implements some state-of-the-art network, it has several optimizations that are guaranteed to drive a beginner crazy.

* Their seq2seq tutorial doesn't run anymore due to API changes. Their official reply (for months now) is "we are writing a new tutorial, so wait until we are done".

I fought (and lost) for switching libraries based on how bad the tutorials are, which is literally the opposite of what you'd want a tutorial to achieve. You can't get worse than that.
In the Botan example, masking the operands instead of branching causes GCC to emit no additional code.
A Russian Software Billionaire (1C) Takes on SAP and Oracle
It was also almost offhandedly announced (in session 707) that they are deprecating network kernel extensions, with no real replacement API in sight.

That's an existential crisis for 3rd party firewalls.
I found the most success with https://github.com/shadowsocks/shadowsocks/tree/master . It was a while back though.

With ssh, restarting the connection would help for whatever reason. So I had a little script rotating a set of connection behind haproxy.

EDIT: oh and Hong Kong. HK VPSes seemed to work the best.
So effectively a PalmPilot?

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

Note btw that it ran on 2xAAA...
It is disallowed by the standard.

It's not disallowed by compilers, because they're deficient. In this case I'd guess compiler front-end doesn't track which values in an array are initialized, and when optimizing back-end sees UB it's too late to emit an error.
Nice work!

I'd get rid of the "generic" screenshots on the home page and replace it with the latest games like on the archive page and links to the most common categories.

Personally I'd like to see "best of week/month/year/all-time" and tags instead of categories (so I can find co-op + platformer)

Best of month/year might be even etter for the start page so new visitors see the good stuff (and maybe one game they already know is good, but not only games everyone knows already, so here you have to pick thte time range wisely or mix it manually)

Oh and embed some youtube video containing gameplay. Doesn't have to be a good one, just so you can quickly judge how the game feels.
Phone metadata reveals where city migrants go and who they call
Germany opens its first liberal mosque in Berlin
"I don't fully understand why more effort is not put into a hardware solution, where roads are simply marked up for self-driving vehicles, e.g. magnets lining the lanes or something like that."

How would "magnets" be any improvement over visual markings? Is there some sensor that can track magnets at greater distance, or with greater reliability than visual markings?

Besides, how many millions of miles of road would need to be equipped with these magnets around the world? What would that cost? Would it be acceptable that autonomous cars could only drive on roads that have been properly equipped?

It's worth remembering that self-driving AI does not solely rely on lane markings to navigate. It also can see the road edge, follow other vehicles, and cross-reference with a (learned/crowd-sourced) navigation model of the laneway. Additional sensor types, like LIDAR and radar, are often used in addition to cameras.

You can see a lot of this at work, in a complex London traffic environment, in this demo:

https://www.youtube.com/watch?v=cfRqNAhAe6c
>what happens when there is no driver? well, my guess is that TSLA the manufacturer of the auto-driving software is going to be liable in place of the driver, and as such, they have every right to say, nope, no using our auto-pilot for commercial activity unless it is on our own network

Why does this argument hold true only for self-driving cars, and not current cars ? As such, self-driving cars are just a point in continuous evolution. Current cars are already quite different from what they were a few decades ago. Why is now a good time to draw a line ? Every change in this eveolution goes through government approval. If it is approved, it should be safe enough for everyone.
And also there are many, many Americans who support this direction so if some public funds will be used to help, given that money is fungible, GP can imagine their taxes go to something else.
That's an engineering problem, not an argument against colonizing Mars.
The compiler is not doing "whatever the hell it wants". It chooses an interpretation of the undefined behavior and then optimizes based on that. Of course, if the programmer had something else in mind, they will be surprised about the result; but it's their fault for not being precise enough.

So why make reads of uninitialized values undefined at all? Consider code like this:

uint64_t x; // Will be initialized later
/* ... */
if(check_some_condition(y, z)) x = (uint8_t) f(b,d);
/* ... */
if(check_some_other_condition(foo)) x = (uint8_t) bar;
/* ... */
x &= 0xf;
/* ... */
if(x & 0x800) do_stuff();

Now the compiler has no way of knowing whether x will be initialized or not. But if it has been initialized, then it's value must be in 0..255, so the & 0xf can be limited to the lowest byte. But this means that the test for x & 0x800 will always be false, and stuff will never be done, so the compiler can optimize it out, reducing code size and thus cache pressure.

If these assumptions don't hold, then some later code may get passed a value for x that has the bit in 0x800 set, and expect do_stuff() to have initialized some data structure, which didn't happen, and the code blows up. But the compiler was just working from what it knew, and under the assumption that the programmer wouldn't depend on completely arbitrary values that happened to be in memory, everything it did was perfectly sensible.
Startup school was awesome. The amount of dedication and commitment of our mentor, Daniel Kivatinos(founder drchrono) was beyond words. The Mattermost community helped us with ideas on growth hacking. The best thing about startup school was founders talking to founders. We got an opportunity to meet couple of YC alumni in Bangalore, India through offline(informal) startup school meetups. The talks at these offline meetups were very insightful and open.

We are from India, building Clorik for Indian market - 90% of the population prefers to converse in their native language. Clorik is a crowd-sourced discovery platform for content in Indian languages. Startup school helped us in being pitch ready, YCombinator style. Here is our presentation link - https://www.startupschool.org/presentations/354
It's not React specifically. It's just JS. Reddit already has the worst performing mobile site because it's full of JS.
Agreed, the AWS docs are terrible; they waffle on about inconsequential stuff, and insist on detailing every step and side tangent. Just tell me how to get postfix/php to use SES email without is failing silently!
The worst part is the banner advertises features that I absolutely do not want.
Sometimes I wonder whether some sites intentionally downgrade their mobile site to push people to download their app. Certainly seems that way with reddit. Anyway, at least i.reddit.com still exists, albeit in the background like some kind of insider rumor.
Same. I think it has a lot to do with the fact that in is lowercase and Pairs is capitalized and our mind tried to parse Pairs as a proper noun.
Perfecting the habitat is orthogonal to perfecting the means of intra-system travel. Musk is investing in the latter anyway.
Was just talking to a colleague about how the visual presentation of docs affects my view of projects, and I bet it has an impact on many others as well. Poor visual/ux on docs probably turns me off using a project even more than no docs.
It won't because 'isatty' returns false for a pipe. So that should not break anything unless you plan on sending binary output to your terminal which is a bad idea anyway, but they allow you to override the default as per TFA.
It's almost funny how much your comment is out of touch.
Whenever the topic of dangerous asteroids comes up, I remind myself how much money was raised to save civilization [1] from such a threat. If that were really a concern for Musk, he could pay for something like this many times over.

[1]. https://www.indiegogo.com/projects/help-defend-earth-against...
i.reddit.com is bare-bones and buggy, but it's fast.
Porsche in the Alps – Beautiful Sights Combined with Adrenaline
>your aperture on the world is quite narrow.

May be that is why they can filter out the bullshit....
Review: Innergie USB-C Charger
One day some joker with two pots of paint (one white, one gray) is going to have a field day causing cars to run off the road.
> He usually prefers the much more vague concept of end of our "technological civilization".

That's a reasonable view too, IMO. If our technological civilization suddenly collapses for any reason, most of us here, and double-digit percentage of world population, will die a painful death. The lives of whoever remains won't be pleasant, and the technological civilization probably won't arise again for tens of thousands of years (given how we've used up all easily accessible energy sources).

Life is very resilient. Humanity as we know it is not.
They tried the magnet thing but it isn't flexible enough. For instance during roadworks you can't easily move the lanes, it only works when everything is perfect. There was a test track in NL with this technology a few years ago.
Are you religious by any chance?
Or children of pioneers who came to America.
DHL shipping is another 20-25USD + VAT on import makes it closer to 50. But very cheap, anyway.

Drilling itself is not the problem- just buy a nice set of drills with larger diameter shank and a small vertical drilling machine (Proxxon makes solid tools for that).

The problem is connecting both sides of the hole together- you'll have to place vias where you can solder both sides, always think about which side do your connectors go and spend a lot of time soldering.

On the other hand, it makes you gravitate towards SMD parts more :)

Also, my first boards had a lot of fuckups unrelated to production (mostly, wrong connections, incorrect pinouts etc).

As I gained more experience, the boards started to work with less revisions (usually the minimum functionality works on the first try, with some more advanced aspects not working as good as required) . That way, I can work on multiple designs in parallel (e. g. laying out the next board or programming the previous one while waiting for next board to arrive).
There are lots of people talking about China, but not many talking about whether any of this works against well funded government actors.
Yeah I've thought about this too... like fighter jets being refueled by tanker jets mid-air. It should be safe for two vehicles to latch on to each other safely and for one to charge the other, then the 'tanker' vehicle goes back home to refuel itself or goes on to fuel another vehicle etc..

This seems like such an obvious step... i.e. if you're at 20% battery capacity and your car reckons it would need 40% to get to your destination, then it would send out a request to local tanker vehicles and the nearest one would come to you, connect and refuel without you having to stop or break speed.

People would probably pay a premium for that service.
> Despite the best efforts of developers of rival programming languages

This is a flippant statement. It could be argued C++ falls into this category, but others are so new that they just haven't had the time to grow into the communities that would benefit from them.

> C’s advantages have preserved it as an indispensable systems and applications programming language.

But what about the disadvantages? I love C, I will always have fond memories of using it to do mind-bending things, but given the choice of using safe languages vs. an unsafe one at this point in time is a mistake.

Where there is an option to use a safe language instead of C, that option should always be chosen. It could potentially save lives depending on where it's deployed; it will definitely save money in the long term with fewer bugs.

C is not the only low cost abstraction and peak performance language available out there anymore.
Maven.

They've clearly gone to quite some effort to document it thoroughly. Yet whenever I have to read any of it my brain rebels and my eyes just slide off.

I think it may be a case of just too much jargon.

It's probably also because Maven problems are not the fun kind of problems, but rather the irritating kind. Whenever I'm trying to figure out how to make it do something it's because Maven has gotten in the way of the thing I actually want to be doing.
Maybe the commitee tries to kill the language. Or maybe it tries to divert from the field the people who routinely abuses the language and tries to outsmart the compiler. Those people will now have to try harder, and maybe at some point this additional time lost on debugging and validation, will start showing up in teams' stats. I say -- good thing.
Check out the CCC talks for details on what the sibling comments talk about if you want. It's actually very interesting.
We will while preparing for making Moon or Mars work. Actually we already are, though there isn't much effort going into it as it is still driven by non-economic reasons.
The last thing you browsed on Amazon typically.