skysight-inc/HackerNews huggingface dataset:
The C specification does not say that undefined behaviour must give a deterministic result on a given platform. All you can say is "this one time I compiled and then ran this code, it gave 0". There is no requirement that the code compiles at all, nor that the same compiler on the same platform produces the same binary on every run, nor that the resulting binary produces the same result on every run, nor that the binary produces any result, nor that it doesn't sometimes produce a result and sometimes not, nor that the compiler doesn't sometimes produces a binary and sometimes not ... undefined behaviour is exactly that: undefined behaviour.
ExpressVPN are on a podcast advertising spree, so I thought I’d give them a look. I tried to pay using Bitcoin and got a generic “There was an error” error.

And when I say generic, I mean ‘I recognise the Semantic UI React default error block’ generic.

I used their live chat support. “Is this normal,” I asked. “No,” I was told.

I tried again a day later. Same.

I tried them on Twitter. Nothing.

So, it seems that ExpressVPN have a good marketing budget and little else. I shan’t be bothering to try again.
Although possible, they don't have to given how many bugs Linux developers already put in on a regular basis:

https://events.linuxfoundation.org/wp-content/uploads/2017/1...
After something bigger, you'll be one the lookout for unreinforced masonry, and crossing the street to avoid it. For example: http://www.stuff.co.nz/the-press/news/christchurch-earthquak...
I imagine there must be some middle ground. Yes, don't let your 3 year old wander around the street on their own, but also don't make them completely reliant on your attention - just let then play on their own. If they get bored then they get bored, it's not your problem(until you make it yours of course).
Have you? Can you share some stories about this?
Not a sufficient amount of profit to be made. Could be lack of sufficient number of customers to offset cost of developing a store (most likely), or zoning and permitting issues making it difficult to obtain the legal rights to open one.

Many people prefer only going to the big stores, such as Target and Costco and other large regional or nationwide companies, so not much room left for independent owners unless they’re in a very dense area where there’s enough people wanting to go to their smaller stores.
The video also points out that Vice was the only media there. I kind curious about how many people Huawei had chance to "took seriously".

Also, "amateurish and unprofessional" is kind weird word choice. What "professional" thing the reporter should do? Grow a beard? Wear a suit at all time?

Relax, a clever report won't waste their time there, because they knew what exactly Huawei was going to put out that day.
It is curious because, in each of the questions I encountered problems with the own questionnaire and I tended to answer in the way the writer thought.

And then you find "it's a trap".

I think the questionnaire is not honest enought, a better answer for D should have been: "we need more information" or "there are programming inconsistences"...

I thought that when selecting "I don't know" I was telling "I don't know what's happening with the code and the inner datails".
> there's not much anyone could really do to stop them

I would suggest that significant % of the remaining 28 members of NATO (including the nuclear armed Belgium, Germany, Italy, Netherlands, and Turkey) would come up with a few ideas.
I think a lot of people are just sick and tired of American hypocrisy. The country that gave us the oppressive 5-eyes regime has not in any way gained moral authority to declare other nations' intelligence agencies involvement in industry to be immoral, or a 'security risk'. Until the NSA is disbanded, there is no security on the Internet.

To explain the perspective and avoid the inevitable "you must be a shill for the CCP if you're so anti-America" accusations, I don't live in China, and choose not to, because I am very much against the actions of the CCP.

But I do live under the imperial shadow of America's decisions to usurp sovereignty and privacy around the world - I did not choose to be subject to this oppression.

I, like so many enlightened individuals who make up this community, am extremely opposed to America's usurpation of the technologies that held so much promise for peace. American hegemony over the tools of peace in order that it can maintain its power is one of the worst circumstances of the modern world.

I'd like to see ALL telecom companies swept clean of ALL repressive spooks who once served their nations intelligence agencies and can therefore never be trusted with the open communication lines of the world.
Heat Wave Nudged the Planet to Its Hottest June, European Forecasters Say
I wonder if theres a difference between straight 'studying' and practice that involves mechanical movement. What I mean is reading a book on a subject vs. doing gesture drawing or piano playing etc.

I can definitely believe theres rapid diminishing returns after an hour when practicing things that require physical activity.
So, executives doing something other than their job and messing it up. Classic.
Fan Jaatni Ka – Binder Danoda, Sonika Singh and Neenu
I'm Australian and khaki for me is the same as the picture centre left in the article's top picture (it looks like some kind of voluminous skirt, the model is wearing red socks).

Definitely not military green (which I would call olive drab, but that may be from building too many Airfix models as a child).

Khaki is also not the fine selection of beige as seen in the chinos picture in the article.

Edit: This colour is what I could call khaki: https://www.betabrand.com/media/catalog/product/b/r/british_...
Haha I do agree, but honestly, good devs aren't really hard to pick out. Out of uni good devs are the ones who have the most potential to grow imo. I may be wrong but it's my experience with my peer group.
They really need to work on a better explanation of what exactly this is! Something like "It's similar to BitTorrent except..."
I think the point of this calculator is to show people that there's time to take those breaks. I filled it in and over-estimated a bunch of areas and it still said I have 11 hours of free time each week. That's a whole lot of books and wine that I can enjoy and still meet all of my existing priorities including spending time with my kid.

That's freeing in a way, it tells me that when I feel pressed for time it's really all in my head and taking an hour to read a book shouldn't be a problem if I just take a few minutes and prioritize my time.

Also it's probably useful for some people to see how much time is spent on work and commuting relative to other parts of their life. If they truly have no time to read a book but work+commute is eating up more than 50% of their days, maybe it's time to do something about that and fix one or both parts of that equation (move closer to work or change jobs to get closer to home, and work fewer hours)?
I suspect if they'd chosen a regular DisplayPort or HDMI alt-mode they wouldn't have had to shoulder the burden of claims they deviated from the spec. Granted, engineering constraints may have made that impossible but it's clear that people are seeing a "USB Type-C" port on the Switch and making the assumption that it should work with HDMI or DisplayPort alt modes. Just as people see the "USB Type-C" port on the Pi and make the assumption that any USB Type-C power supply will work. I guess the sooner people unlearn that a USB Type-C port indicates any sort of compatibility with a corresponding USB Type-C connector the better.

MyDP appears to be woefully obscure to the point that this misinformation might just as well be the truth for all the difference it makes.

Dell and Lenovo, and probably some other manufacturers besides, are already playing this confusion to their advantage by releasing first-party docks that are guaranteed to work with their laptops.
As someone who's using guile every day, I am very happy about my language of choice. The problem is that I program for fun and rarely have a deadline to meet. Guix is amazing, and I will try to run it on my next laptop
Because when you work on a team, not everyone is a C Gandalf, probably not even yourself a couple of months later when fixing a bug with everyone screaming that the system is down.

Exaggerating here, but rule of thumb is that it takes twice to debug as it takes to write it, so how long do you want to take to do maintenance fixes?
Here's an example: https://github.com/Tarsnap/libcperciva/blob/master/datastruc...

As long as you invoke use it properly, e.g.

ELASTICARRAY_DECL(PTRLIST, ptrlist, void *);

there's no way it will create non-compliant code.
Is it illegal or against terms?
In my opinion this is the only solution that will lead to success of the human race. For me that is not destroying our planet, evolving in the "right" direction (more education, more science and especially more ethics).

At the moment we kind of burn our resources without need and our nations compete which creates more unnecessary costs and suffering than good outcomes.

We live in a world where you wonder every day why things are solved in that particular stupid way instead of doing things the smartest possible way to really serve humanity as a whole.
The fact that it's more important than anything else to "grow" money out of nothing speaks for itself.

What is the situation like, right now? Several countries with atom bombs "go rogue". They do what they want and behave like little children who's toys have been stolen (USA, Russia, Iran, North Korea, Great Britain...).

They screw their own people and take away the wealth and stability they enjoyed for some time now, they increase surveillance and take away the (human) rights the people have fought for many decades and they engage in wars and battles that serve no one on this planet but companies who produce weapons and political agendas of maniacs who shouldn't do this job in the first place.

Of course the danger that this one govt could do something bad is also present but at least we'd have a single point of failure that we could get rid of in case of emergency. Now your only chance is to migrate to some other country in the hope that you'll be given a chance to start a new life there and that no one does something that will force you to leave, again.

Wars, Nationalism, tax escaping, finance, poverty .... nearly everything could be solved in a better way when there'd be no seperate govt's who all believed they were the godsend rulers of earth.

I hope some force some day is just strong enough to force everyone into such a system as I don't think nations will be willing to give up their sovereignty that easily. Let it be some aliens - as long as they are intelligent and act rationally it's far better for us than the current unbearable state we have to endure.

Without that there will never be peace on earth. Plurality and ideas come from people and not from states. You can see that today e.g. in countries who are more open minded and welcome people with different believes.
No USB3. I don't think it's any good as a thin client any more, it's only good as a low power server. Before the Pi4 it was much more attractive, especially because of GigE and because the Atom chip in it is pretty good compared to the ARM in the Pi3. But after reading the replies here I'm thinking it's not as good a choice as it once was.
Is still a little early, but as someone who works at the bare metal level, Rust shows early promise.

The features required are still unstable (as in not in the stable version of the compiler), but it’s getting there, and doing it fast.

In any case, firmware behaves a lot like banking software, language change will take time
Energy storage cost is dropping rapidly and given enough storage, you have constant availability. Unlike what you claim, there's a lot of innovation on this front and solar/wind bids usually include it these days. These combined bids routinely underbid nuclear/coal/gas: it's already cheaper now; even when you don't consider subsidies.

So, you bring up an interesting point with cost per mwh. Nuclear is not nearly cheap enough to be competitive right now and would have to come down by magnitudes to out-compete solar/wind + storage in a few decades. I'd say a good price to shoot for with new nuclear designs that might still be too high would be around 0.1-0.5 cents per kwh in a few decades. That's only 10x less than current bids; you'd probably want to stay below that even. But anything over that would be dead on arrival in terms of profitability.
It's important to know where one's information is coming from, even if that information is "technically" accurate. Mere facts can be misleading through context, and it's important to know where biases are.
rule of thumb is that it takes twice to debug as it takes to write it

Ok, so... macros which let me write code faster should help with debugging time as well? ;-)
If you're going to write that, then also post https://en.m.wikipedia.org/wiki/Conscription_in_China because most Chinese people don't seem to serve in the military. It's not like South Korea where young men famously dread the time they have to go to the military.
If you have good statistics on real-life failure rates between Macs and ThinkPads/EliteBooks that contradict me (hopefully going past 2015, when Mac build quality really went down), by all means share them. I don't work in IT support and never claimed that I did.
The Wests' military-industrial-pharmaceutical complex has weaponised groupthink to such an extent that the ease by which incitement of mass hysteria at scale can be manifested is a non-issue for these players.

Too many times, the western collective is convinced of its own righteousness in regards to issues which factually were counter to its own survival.

The point is, even if the NSA did have key Linux devs on its roster, we don't have the tools - as the unwashed masses - to counter it. Besides which, the Linux kernel is hardly the right target - compilers, however, are...
You can still give it up for adoption right after birth,no?
Thanks AstralStorm!
What if the "We" is 95% of the world that is not the USA?

It's cute that US citizens have some spying issues and some targeted election interference issues but the sympathy is very limited because in many parts of the world they were dealing with this since ever and the USA was the culprit.

I think we are approaching a time in history where we are going to actually choose if we are human resources that are to be spied on and controlled by the political class or are we individuals.

Choosing the government or agency you are being spied on is a false choice because it assumes that you made the choice to be a human resource and you are to be exploited but you can pick your masters by fighting against your master's competitors.

The moral argument is unconvincing given what's happening in the USA with all those immigrant camps and political agenda.
What's not fair? That the range isn't that of it's EV peers and so instead of address this with longer range batteries BMW made a cognizant decision to give buyers the option of a hybrid? Think about your statement: "In the year I have been driving the i3 I have used less then a gallon of gas." That would terrify me more than dealing with electric range for extended trips from time to time. Why? Because gasoline has a shelf life and all IC components are generally built and expected to run on a frequent basis. If that engine truly didn't run for almost a year, and let's say that is normal for i3 owners, then BMW is going to have a large number of those "range extender" customers needing repair for failed injectors and/or fuel pumps. I don't know enough about the i3 but I'm guessing it runs by force over the year, even if not required, to overcome this? Even then you have the issue of stale, non-stabilized gas.
You would think that the government gains “leverage” by being the only payer. In practice in the US, this is not what happens. Rampant lobbying (i.e. legal bribery) by interested parties causes spending to spiral out of control, since the benefits are focused and the costs are diffuse.

Arguably the NHS model is the only way to get government healthcare to work at all in the US. You would need to gut both private insurance and private hospitals, whose continued political clout would naturally drive up costs if they were allowed to continue existing in their current form.

(In fact, there is already an “NHS-like” example in the US: VA Hospitals for veterans. I’m not sure what we can learn from them, however, as lessons from treating the veteran population may not be able to be extrapolated to the other 300+ million of us.)
Ask HN: Ageism in Tech and Career Moves
I'm pushing 50 (although I don't look or act like it) and I am trying to get out of the consulting/sales rat race and back into actual engineering after a long stint working with enterprise IT customers and trying to get them to move to modern devops/SRE/data services in the cloud -- it was gratifying in many regards, but intensely frustrating from a management/ownership standpoint, since you're often thrice removed from the actual decision making and technology choices.

I considered going solo or starting a small company with a couple of friends, but I need a very steady pay check (even if smaller) and contract work is belittled in my neck of the woods (Southern Europe), so I'm currently running what passes for the tech interview gauntlet these days, with uneven results--I am either passed over solely due to perception (age, current role, etc.) or go through the entire pipeline.

Explaining that I'm not afraid of (re-)learning anything (and even with a portfolio of stuff and good references) and having a decades-old MSc seems to be looked down upon by fresh PhDs, and expectations towards specific areas of expertise seem to be unrealistically high sometimes, but I usually get through those and am eventually excused away because I'm too senior (often more senior than the interviewers or future managers, which I'm OK with but clearly raises a few eyebrows and I suspect is the main reason I'm turned away, followed by the "sales" thing).

I know there are a lot of folk like me around--how did you succeed in getting rid of the "customer facing" taint and doing a career move _back_ to Engineering?
I have been running Resilio Sync [1] (formerly BitTorrent Sync) for a while now, it also supports an 'encrypted peer' and has support for all the major platforms.

[1] https://www.resilio.com
It's not illegal, it's against their TOS, bug difference. In any case, if there's money to be made, you'll find even more reputable entities will operate at the margins of ethics and legality. In any case, probably more cost effective to come up with a technical solution rather than suing every pop up scraper of Amazon. Or just sue the VPN provider itself?
I just tried boxcryptor in my Ubuntu Workstation. It was burning through 40%+ CPU on all 4 cores while it is not being actively used! Don't know if it is a simple bug or just designed without an eye for resource usage.

On the other hand, I ended up learning about scrypt(written by Collin Percival, who works on FreeBSD a lot and runs Tarsnap), and restic which in layman's view appears to be a better borg.
The launcher it was to use was hilariously dangerous. (Saturn V is but in a different way.) The thing would be killed before it even a achieved space. At least they managed to salvage the excellent engines out of the project.
OpenFaaS Cloud Community Cluster – Free TLS Endpoints and CI/CD
> Greenland is a poor country. Perhaps Denmark simply wants to help out the many Inuit & Danes & descendants of both. This is ethically reprehensible. Greenland is poor, but compared to many African countries it is fabulously wealthy regardless of whether you take the $20k per capita at face value or discount subsidies etc to get a smaller number like $10k per capita

I strongly disagree with this line of reasoning. One's ability to have impact through altruism is closely linked to one's knowledge of where they're intervening. Denmark could easily have more impact in helping Greenland because they know more about what things need to be done in Greenland and can more easily get feedback on whether they've improved things. If you send money to a country that you have no connection to, how do you know that the money is being used effectively? How do you know that you're solving the right problem? How do you make improvements to your spending unless you're getting continual feedback?

There are limits to this of course and I think it can be okay to donate to international charity, but I think the impact of a well-targeted and knowledgable charity is much more certain.
I wouldn't trust a closed-source tool like Boxcryptor for encryption of sensitive data. Cryptomator looks interesting, though it's still a relatively new tool, and I'd be hesitant to rely on it.

For my personal backups I use a combination of tar, pixz, and GnuPG. There's no fancy deduplication, and it's definitely not efficient, but it's relatively simple and I can restore individual files with ease.

I run a variation of the following command occasionally:

tar -C / \
--exclude='dev/*' \
--exclude='home/*/.cache' \
--exclude='lost+found' \
--exclude='mnt/*' \
--exclude='proc/*' \
--exclude='run/*' \
--exclude='sys/*' \
--exclude='tmp/*' \
--exclude='var/cache/*' \
--exclude='var/lib/docker*' \
-cvf - . | pixz | gpg2 -e -r $PGPID \
| ssh host 'cat > /backup/root.tpxz.gpg'

Then I generate an encrypted index file for quick lookups, create checksum and PAR2 repair files, and upload all of it to Wasabi, while keeping a local copy.

Wasabi may not be the cheapest storage solution, but they have no egress charges, which makes recovery a non-issue. Good speeds and S3 compatibility are also great. Don't want to run an ad for them, just a happy customer.
Same here.

C++ only when Java or .NET need it's assistance, or integration with OS APIs that require C++ (NDK, WinUI, DX).

Then C only when there is no alternative (customer wants it, we only do C here, required lib is C only e.g. SDL, ...).

It is an herculean project, but maybe some day LLVM could be rewritten into something else. After all it isn't the first compiler stack, just the one that got most famous.
I don't think the encrypt-then-dedup is a safe way to protect data privacy. In this case, identical blocks need to produce same cipher text, this will actually leak your data pattern even though it is encrypted. A better way I think is using randomly-seeded derived keys to encrypt each block, thus the identical blocks' cipher text will always be different.
The "trick" is that word vectors are just projections of sparse tensor.

For example the word "queen" can be represented by its attributes.
Representing in triplet form from wikidata Q16511993
(queen, subclass ,monarch),(queen, subclass, female),...
A king would be
(king, subclass ,monarch),(king, subclass, male),

Transitioning from queen to king is just changing an attribute in this triplet space, i.e removing a triplet and adding another. All those operations are linear. And then you take the projections.

This is kind of similar to the kernel trick of SVMs. You do the calculations in a lower dimensional space (word vectors) but implicitly you are doing them in the higher dimensional space (graphs of relations, aka triplets lists).
How to grow your own medicine cabinet
Poppy Northcutt the First Engineer to Work in Mission Control at NASA_Johnson
Tons of resources here: https://github.com/trimstray/the-book-of-secret-knowledge

Best courses froms Sans here: https://www.sans.org/

Old doesn't mean outdated, old is usually foundation. Do you want to learn or next-next-hack?
The issue will absolutely show up. Just download pingplotter and set the interval to 0.3 seconds. The latest firmware simply mitigates the problem a bit, all Puma 6 chips are affected.

It's most noticeable in online games, for regular usage, you probably won't see much of a problem.
I think the benefits of active versus passive leisure time is an interesting area to explore.