skysight-inc/HackerNews huggingface dataset:
In a company I worked for, systems were brought to their knees because of a while loop that went infinite under poorly tested conditions. There was a meeting and the head of the dev team came down to tell us that, in the meeting, it was decided that we should not use iteration any more because it runs the risk of going infinite. Instead, we should use recursion for all our looping needs.

That was in a C# shop so of course the "decision" was never implemented. My guess is that this was a completely mad decision taken by non-technical managers in a moment of panic, who had pressed our tech lead a bit too much on why software breaks and what can be done to avoid it breaking- and then latched on to some off-hand comment about recursion being an alternative to iteration, and ran with it.
If it satisfies the inclusivity charade.
I've been using Microsoft stacks since 1991. I am at home with Python, an editor and a terminal at this point.

F5 to run is terribly inefficient in the long run (wait until you get a 2MLOC recompile and then secondary compile when your project is starting in IIS)
This doesn't address the issue of mainstream technology, versus bleeding-edge, obscure, niche technology such as Elm.

Kotlin in the backend isn't a mainstream technology choice either.
Freedom of expression has a much stronger protection status in the US than in the UK. That is one example.
> Should you now remove Safari because it allows you to access data that would potentially help with criminal intent?

Worked for gab.
Privacy and personal freedom go hand in hand.
You're right, I haven't expressed myself in the best terms.
Why? Did you also think it was good when the Great Firewall started blocking Hacker News? Is it okay for you to access whatever you want, but it's good when those other people are prevented from accessing what they want?
Is that relevant with gzip enabled for transport? I'm assuming (possibly wrongly!) that such hacks do little in terms of parsing speed/AST complexity.

I suppose it's possible the js runtime might also benefit for some of these modifications?
It's not just the grounds that they're on a system where that's all they have. The command line tools are largely written in pure C. They are blazingly fast if used correctly, and robust to all sorts of failures you didn't even think of, they are ready to go and they are QUICK to both use and develop for.

Here's an example:

I was working at a consultancy one day as a data engineer, and across the desk was a junior data scientist. We were preparing for a meetup and the manager said "this website has a bunch of email addresses on it I'd love to have them in a CSV" (they were in a format where it wasn't easy to copy + paste them)

The junior data scientist said "I can do that" and the manager said "only if it takes less than 2 minutes", the junior, thinking he'd have to:
setup a python environment,
find a parsing lib,
write code to pull the page,
parse the dom,
search for the email addresses,
write them to a file,

said it could be done in an hour or two.

I viewed the code on the page, and saw the html wasn't minified, and the "a" tags were 1 per line, so I :

use wget to pull the webpage
cat webpage.html | grep 'mailto:' | cut -d '"' -f 5 | cut -d '"' -f 1 > emails.txt

^ unix wizards will tell me a better way of doing this, but it took me literally 60 seconds to go from "I wonder if" by the manager to "here's your CSV"

THATS WHY WE USE COMMAND LINE TOOLS, they are a swiss army knife
That reminds me of a small project where the British Army gave a budget to some soldiers to add "accessories" to a main battle tank - one of the things they did was add sideways looking cameras at the end of the main gun so they could use it to see round corners.
It's not about breaking laws but about not having to break laws by not operating in regimes like China.
What would be even better would be if power-producers and distributors (or, more likely, aggregating intermediaries) made available some APIs that provide real-time data on pricing, sources of power and a degree of "peek a little way into the future" prediction. Then we could build/install devices that take advantage of that data. e.g. A fridge could heuristically trade off power price, next-hour likely pricing, source (maybe I prefer green energy or energy generated 'close by', and am willing to pay some premium; maybe I don't care and just want cheap), internal temperature and local time-of-day usage patterns affecting temperature management. (I chose 'fridge' as the example because its energy consumption can be time-shifted, but only to some degree. Eventually it is going to want to switch on regardless of energy supply conditions.)

On the flipside, appliances (water heating, fridges, cold-rooms, space-heaters,e tc.) should be encouraged to talk back to the suppliers APIs to indicate likely near-future demand, current constraints and demands and so on, so informing the 'grid' with demand data at micro-scale.

I guess this is something like what people might mean when they speak of making the grid 'more intelligent'...
"Why didn't we just use their FSS/UTF? As I remember, it was because in that first phone call I sang out a list of desiderata for any such encoding, and FSS/UTF was lacking at least one - the ability to synchronize a byte stream picked up mid-run, with less that one character being consumed before synchronization."

I'm of two minds about this. On the one hand, such an ability is pretty useless in modern systems filled with checksums at every stage, and reduces the bit efficiency of UTF-8. On the other hand, this was the only valid-y reason at the time to rewrite a UTF implementation from scratch.

If not for that requirement, we would have just had UTF-8 implemented as regular VLQs.

Edit: Actually, now that I think about it, VLQ already does satisfy the synchronization requirement. Just scan for the next cleared high bit. At most 1 character consumed, and far less bit wastage.
£30.000 is already too high considering that the taxpayer has earned every penny and doesn't owe anything to anyone
> At Google you are the product.

Nothing prevent Microsoft to sells Windows Home/Pro as beta version of Enterprise and gets money & free QA.

If you pays money nothing guarantee your personal data will be used too.
Audi A8 has it: https://youtu.be/TchqhDUbP8w?t=342

It's gonna be a long time before mainstream car adopt this though.
Okay, I'd make that more obvious, that's super non-standard.
Any small old bump might knock a wire loose.

You'd have to have a pretty large jolt to knock a mirror off its housing or mount.
How to remove a video background on Windows 10
There's something oddly delightful about the contrast between "freemasons are a secret shadowy club wanting to take over the world" and "we're always looking for members, just drop us an email".

What do Freemasons actually do? Why would one join?
False dichotomy - autonomous cars need cameras too, some of them with the same point of view of existing mirrors.
Are you kidding? Pick me, pick me.

Elm is by far the best experience that I've had with any language.
That is a very one-sided summary. For example you omitted the important fact that Taiwan's government very early made it clear that they did not want the extradition law. You omitted any mention of police violence. You omitted how China pressured Cathay Pacific to identify and punish its staff involved in (peaceful, legal) protests. You decline to explain why the HK government refused to officially withdraw the extradition law for months after declaring it "dead". Etc.
I believe, in theory at least, they are obligated to return the device when their investigations are complete.
I'm getting juicero flashbacks
The treaties changed between the votes though. So a more sympathetic reading would be, the treaties were voted down so had to be changed - then the new treaties were acceptable and voted for.

(I don't even necessarily think a second vote on an unchanged treaty would be unacceptable, if there was reason to believe people had changed their minds).
SCADA control systems anyone?
Floppy disk history: The evolution of personal computing
I lived for four years in the IoM, had an amazing time (until Bushy's closed anyway). But in the process, I opened an IoM bank account to pay my salary into. I carried on using this account for years afterwards (it was with the IoM branch of a UK bank).
I benefited from not paying any tax on the interest on my savings account, because tax haven. Not a huge perk, but a nice one anyway.

And then, in the wake of the tax haven scandals around 2005/6, the HMRC wrote me a nice letter explaining that, while I had obeyed all the rules at the time, they were retroactively changing the rules and I needed to declare all the interest I had earned on my offshore account over the last 8 years. The final bill came to about fifty quid, so no major damage done. But the lesson has stuck with me.

HMRC can and will change the rules at any time, and apply them retroactively. Getting super smart about taxes, especially by using loopholes and tax havens, can be counter-productive. Unexpected tax demands are not fun.
Rwanda just released the first smartphone made entirely in Africa
> "command line tools on the grounds that someday they may be in an environment where that’s all they have. I think of this as a sort of computational survivalism."

I don't think this is a helpful characterization, because this invokes post-apocalyptic associations of a world where there are somehow only text terminals left. In the article itself, the author goes on to describe a scenario where he used generic text/command line tools to achieve functionality that had not been explicitly granted to him by a restrictive software policy at work.

As opposed to survivalism, I think it's more fitting to describe it as user empowerment. I'd argue that the premier usage scenario for these tools is not as a fallback in hard times, instead it's an important type of toolset integral to the craft.
> France did exactly that and did it successfully. They're paying half the cost of electricity as Germany while emitting less than half as much carbon.

Successfully.. Maybe! The cost of electricity we pay include the planned cost for the end of life (dismantling the plants, etc), are the planned costs realistic?

That's a BIG assumption, I think that the new nuclear plant (EPR) is 4 times over budget and 8-year late and we have never dismantled a real big nuclear plant..
Immigrants from China, what was a piece of media you didn't know was censored?
Too little info to tell for the specific case, but I heard many such stories, not just from east Asia.

In general, gifts are complex. In some cultures you must refuse it some specific number of times, not to look greedy. But then you have to accept it, because getting help/gift is a bit submissive and results in gratefulness, and however little, the feeling of owing them back, which can create social ties.
The tagline tells you what it's about. The project name doesn't tell you anything at all.
The whole premise of this post is incorrect.

The EUCJ did not rule that national courts can order Facebook to take down content globally. It simply ruled that EU law did not say anything about this one way or the other when asked if it did.

Let's take a deep breath, and calm down.
Do physicists really consider the editor saying "change the title" a rejection? If the only request I got from an editor was "change the title" I would be popping the champagne.
Apple don't run the apparatus in China, they refused to do so. iCloud services in China are run by a Chinese company.

We can't outsource our responsibility as citizens of democracies to a corporation. Apple has done a heck of a lot more than most of us on HN in this fight, by standing up to unreasonable law enforcement requests for access to iPhone data, when the other phone companies rolled over. How much have you done on that front recently? A heck of a lot less than Apple, I'm willing to wager.
And if you care about NOx and other pollutants diesel is more than that, which is what the article is about.
Somebody got very salty at the brogrammers over here...
I do! But it would take a few days to prepare it to make it a usable github repo. I'll try to get it sometime. It's written in C++.
You: Pay 40%-50% of your hard earned salary, get nothing in return, for people you don't know, and you know they hate you and are completely ungrateful.

They: "Jesus Christ, pay some taxes"
Maybe the first step before doing image classification or object detection images is to do a image rotation detector ;)
How bullying may shape adolescent brains
> It's still, at least on paper...

depends on the paper.
A small caveat. /s
> With the extremely stringent regulations which place PG&E at risk for massive fines/penalty for wildfires even if they take all possible precautions, this is the logical outcome of a company trying to stay afloat.

No, as noted in April by the judge overseeing PG&E’s criminal probation for it's culpability in causing the 2010 San Bruno gas explosion (probation of which it's role on the 2018 fires was ruled to be a violation), it's a result of the company knowingly maintaining an inadequate tree trimming budget while pumping out $4.5 billion to shareholders in dividends.
Apple banned an app - 13 times that gives you a notification whenever there is publicly available news about a [drone strike](https://www.vice.com/en_us/article/538kan/apple-just-banned-...).

The chances that they keep up an app that people use to gain unwanted transparency into any state is exactly 0%
As human beings' lifespans grow longer and anti-aging therapies become available, there will no doubt be less concern with chronological age.
Very true. I think many that are not in the scientific community do not understand that almost all papers in top journals are given "revise and resubmit" status, so people can fix small to large issues before being reviewed again. This process makes the paper more understandable, not just to the reviewers, but to the community at large. It is not a perfect process, but definitely one that has improved writings as a whole.
For a site like Gab, I always wondered if having a massive amount of users posting messages making fun of the alt right movement, painting neo nazies like the idiots they are and criticizing the site user base wouldn't have been a better way than outright censorship.

It would have really tested the supposedly pro free speech stance of that site.

I mean I'm being a bit tongue in cheek there but I'm really not sure if censorship doesn't further radicalize those people by letting them rally around a "Us against Them" mentality. Wouldn't interacting with those people be better?
> If not for that requirement, we would have just had UTF-8 implemented as regular VLQs.

While not technically equivalent, synchronized byte stream allows a backward scanning that is beneficial for many Unicode-related algorithms. In fact synchronization is the simplest way to do that.
That is like understanding programming jobs as embedded Erlang. The thing is, that journalists really like to write about quantum gravity, but almost all theoretical physicist work on something else. (Roughly in the same sense that most lawyers don't work at the White House.)
"Nobel Prize-winning physicist offered opportunity to re-word awkward title" doesn't get clicks though.
Oh dear. That must be my next car.

Unfortunately, it just cannot be...

Glad it is at least being researched. Thanks for the (very precise) link!
These days, if you're a regular citizen, even a large group of regular citizens, trying to start a violence escalation game with your government is going to get you killed, and fast

The most powerful militaries in the world are regularly confounded by widely dispersed rural insurgents with little more than ancient rifles. What do you think is different about China? Do you think the PLA would have fared any better in Iraq or Afghanistan?

“These days” escalating violence against a government has proved to be very viable.
In the past decade, only three people died.
South Korean minister dismisses 5G health, environment concerns
> ... chances are very high that this one planet is all we're ever going to get.

That seems defeatist, but you're welcome to your opinion. ;)
> As someone who has worked in the arts for over a decade, I see no path forward besides worker ownership of these platforms. Every other arrangement leads to race-to-the-bottom for the labor on these platforms.

Sure, less popular creators can get some monetary support from a more progressive society arrangement. But they won't get more popularity, unless you can explain how your society arrangement leads to equitable redistribution of popularity. In other words, the median book author might get a nice basic income, but their book will still get crickets.
I'm finding it difficult to parse what you mean here.

In that case Apple successfully fought the FBI demand, within the law. Had the law required them to render assistance I'm sure they would have done so, otherwise they would have been requiring their employees to break the law.

Under what circumstances do you think it is acceptable for a company to require it's employees to incriminate themselves?
> mostly Open Source code, both OS and applications.

It's not true. Without closed kernel drivers and closed-source Play Store/Youtube/Pay apps any Android is just piece of plastic.
Talend | Senior Developer Java/Eclipse RCP | Nantes, France | ONSITE

Talend is a leader in cloud data integration and data integrity. We are looking for a Senior Developer for our ESB - Data Services Cloud team.

Work on the design and implementation of new functionalities, with a focus on tools for developers (based on Eclipse RCP).
Tech stack: Java, Eclipse RCP, AWS, Azure, K8s, Microservices, SpringBoot, Docker, ECS, Karaf etc.

Further details and applications:https://jobs.lever.co/talend/8f017bbe-0c48-4a6c-86c9-9e9d594...
For straight theft, usually not, but in my experience losing a phone is a more common scenario, and quite often when tracking one (as I often end up doing for friends, since findmyiphone somehow counts as "hacking" to them) you'll see it taken all across town, the finder trying to figure out how to get it operational, then eventually giving up and settling on your offer of a finder's fee.

So the not-exactly-honest but also not actively a thief regular member of the public likely to find your phone is almost always swayed, I find.
It's well established, just google it. For example:

> Compared with many European countries, for example, few Americans end up with an income or educational level that is substantially different than their parents.

> Now, new research suggests that social mobility in America may be even more limited than researchers have realized.

https://www.washingtonpost.com/news/wonk/wp/2016/10/06/strik...

> US social mobility gap continues to widen

https://www.ft.com/content/7de9165e-c3d2-11e6-9bca-2b93a6856... (Paywall!)

EDIT to add:

> You're twice as likely to live the American Dream in Canada

https://www.businessinsider.com/the-american-dream-of-social...
Sure so Japan is basically nothing special unless you talk about Kanto or Kansai.
This seems to ignore the (to me) most significant reason to forbid age changing -- many laws involve age.

If I change my age to 12, do airlines have to sell my half price seats, but it becomes illegal for me to buy alcohol and drive? Would it become child pornogrograhy to distribute naked photos of me? Do older photos become retroactively illegal?

If I become legally older, can I start withdrawing a pension?

Maybe we should disconnect age from the legal system, and say no company can ask. But if we did that then there wouldn't be any need to adjust your legal age anyway.
Obligatory Computerphile link: https://www.youtube.com/watch?v=MijmeoH9LT4
Do you not buy any goods made in China?
The Librem 5 seems like it'll be a better choice:

https://puri.sm/products/librem-5/
So refusing to run it then franchising it out to a less respectable organisation under the same brand is an approach that is morally acceptable?

Let's skip the whataboutism in these threads. That solves nothing. Incidentally I do a lot more than most people do on this matter.
At a more basic level, apple doesnt see people as customers. They have already maxed out thier target market. Expansion now turns on access to new markets: the will of governments. Governments are now the customer. Any app that angers them is for the block.
You can easily argue that Apple unlike those others hasn't shown signs in the direction of selling your personal data (directly or indirectly).

Google is an advertisement platform so they are the most experienced in using and selling your data (indirectly).

Microsoft is moving heavily in the SaaS direction with an insane amount of telemetry going out towards their servers from Windows 10. (If you have any concern for your privacy you will have to either disable that via powershell or 3rd party scripts/applications and verify that after every update it is still disabled.)

Facebook is infamous for their facebook pixel, they're looked upon as invading the privacy of everyone in multiple ways. So they're rightfully looked upon as an evil. They've sold and continu to sell private data directly and indirectly, including people who are not on their platform.

Finally Apple doesn't make their money using your private data (at least not on the same scale as those other companies mentioned). So you can view them as the least evil, at least when it comes to private data.
Start Using Tmux
There is something very wrong with the school (system) if you actually got expelled for that. If that is the whole story, they should have explained why it was wrong and tried to encourage you to learn more, responsibly, by actually asking you to help them with securing their system. That is roughly what my headmaster in Russia did in similar circumstances. The thought of expelling a kid over something silly like this wouldn't even cross anyone's mind.
The USA has higher crime rates (particularly homicide), despite much higher incarceration rates, than most of Europe.
It's not possible to boycott China so no.
A list of companies offering swag for Hacktoberfest
If a prospective employee is allowed to state a different age then their biological age, employers won't know how many years are left until retirement age. Regardless of how fair or unfair this is, it is relevant information to an employer. This gimmick will only work if the actual retirement age of the person shifts along with the stated younger age. That's quite a commitment!

Aside from employment, the stated age on an ID is rarely a limiting factor once the lower limits of driving, drinking, consent, and voting are passed. On the contrary, past 65 people are eligible for lots of discounts.
Us designers actually do use a system like that to get UX feedback. But for the most part, we pay users to do it over a platform usertesting.com. There are a few reasons we pay participants:

* We want to recruit certain demographics, which most would not overlap with people hanging out i developer channels online.

* Recruiting participants and filtering them is very time consuming - we can run way more tests by just paying participants

* We don't always work on 'cool' systems - not many people are interested in testing a checkout flow or employee intranet.

* Testing flows and providing feedback can be time consuming and tedious, which leads to dropouts. Paying users generally ensures they actually try to finish the tasks and provide feedback.

Live video (generally moderated testing, with follow up questions from the interviewer) is done sometimes, but logistically it's quite hard and often more expensive. Generally speaking it's easier to set up unmoderated tests, that are kind of like an interactive survey overlaid on the application being tested. With this method you can still do screen capture and an an audio/visual track of the participant giving their thoughts.