jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Ahem.

> There exist a variety of methods for a client to submit a job to a printing system and print driverlessly-:

Use a cloud service such as Google Cloud Print (GCP).
> Read, understand, and be glad that the interpreter isn't trying to "help" any more!

As someone who thinks the Python 3 behaviour is largely the right behaviour (I'm unconvinced the solution used for filenames on POSIX is the right one, nor that assuming stdin/out isn't arbitrary bytes is the right choice), I still have a lot of issue with the Python 2 -> 3 migration. (Note I haven't read the article because it won't load here, nor on archive.is.)

As someone who has dealt with a fair number of codebases migrating over the past decade, I would like to have seen a clearer migration path. The route taken basically asked developers to go from:

def foo(x):
return x == b"a"
print foo(u"a")

The fact this went from printing True (Python 2) to False (Python 3) without there ever being any way to know your codebase was doing this, unless you had tests for all such codepaths, meant it was hard to have confidence behaviour was maintained after porting (and I've worked with enough projects that have used Python for scripting without extensive testing of the scripts, often because they're largely doing I/O).

If Python 2.6/7 had a mode like -b (which warns when bytearray and unicode are compared) that warned when str/unicode are compared, that would already have been a big improvement for the migration path. As it is, people have written tools that do this (unicode-nazi), but then you quickly run into the fact that the Python 2 stdlib does this all the time, making it hard to just try and resolve such comparisons within a Python 2 codebase. (Note Python 3's -b does warn for bytes/str!)

Now, at the same time as the behaviour of u"a" == u"b" changed, Python also changed the return type of (e.g.) os.listdir(). This means if you want to compare a different list loaded from elsewhere, you need to have that list in different types depending on whether you're running on Python 2 or Python 3. In a dynamically typed language, it's hard to make all these changes with confidence that you're actually fixing everywhere.
>My boss on a project roped me into hobby chat as I was taking a five minute break to stretch my legs. He turned it into 40 (!) minutes of non-work chit chat.

I've had this happen in the past with managers doing reviews. While in these cases I've usually enjoyed the conversation and been at least as guilty as them as derailing the focus, it's still time where I could be doing work instead of discussing common interests/experiences with them. It's not like we're ever going to hang out outside of work so us discussing local shows we both were at two decades ago, or our morel hunting success this year, or what variety of potatoes we're planting, is just taking us both away from work (sure, sometime that is needed just to get in a different headspace, but the shareholders probably don't care about that).
At least for Germany it seems fairly straight forward. You simply need to qualify for a blue card. https://service.berlin.de/dienstleistung/324659/en/

The target salary you need to achieve is € 44k / year.

As described in other comments, once you have found a job your employer will be able to help you take care of the admin topics of getting a visa.

There is no need to speak German and many Berlin based tech companies have English as the official office language (at least in the engineering teams)
> You will then likely also have to renounce your old citizenship.

That's limited only to a few countries (both origin and destination). Most of them don't really care about dual citizenships. https://m.dw.com/en/dual-citizenship-in-europe-which-rules-a...
That seems a little unclear.
In the title it says "Eniac: The Triumphs and Tragedies of the World's First Computer"
In the outline: "Presents a history of the world's first programmable computer, ENIAC"
In the reviews once "Nobody doubts the pair designed and built ENIAC, the world's first fully electronic computer" and another time "This account of how an engineer barely out of college and a physicist with dreams of predicting the weather, conceived and built the world's first computer."
It’s pretty clear that the Polgár daughters had a very favorable genetic disposition on their side as well.
try jobs in netherlands/amsterdam. they don't require dutch, most people here (>90%?) speak very good english. just find a job that does visa sponsorship (a lot do).
good luck.
The Internet is just a network for connecting computers together. If somebody sees only stupid things on the Internet, maybe they should access different computers.
The SEGFAULT is even a bigger problem than the resizing.

Some COBOL dev came in and proclaimed they could do a websites just like anybody else. I asked what they did when input became too big. ”Oh well. The transaction will dump a bit, and then the duty operator will find some dev to look at it and increase the buffer” was the response.

The whole security aspect of the buffer overflow was completely alien to them. The idea that a random internetizen would try to attack the site was unthinkable, let alone they might come from another country. A botnet? of internet connected stuff? That happens only on TV. Besides, with 4 billion IP adresses, the chance an attacker found us was minuscule.

Lucky for me they tried to sell that theory to the infosec team, then got shouted at for half a hour.
I do not understand why we should create a C compiler ported to GCC.
There is no known mechanism by which DMT can connect people any differently than any other powerful experience that people have similarly had at some point.
Group A fails to address the fact that emotionally loaded speech severely dulls the rationality of most listeners.

Group B requires someone to take a stand on what the different types of speech are, how we recognize them, and how each should be handled, and also what the threshold of proof for untrue statements should be.

I think group A is ideal as long as the speech holds a certain level of rationality, but that limitation sort of moves it into group B since it's now subjective.

I think it boils down to: If we are unable to agree on even the simplest rules for our discourse there's no way to prevent the discourse from collapsing.
Well you get your money back.
It's far more likely that half the population has been duped into following someone because of clever conniving. Trump knew exactly what to do to build up that base and now that their head is gone, the chicken is running around in the yard with no direction wondering what the hell happened. Once the dust settles, I think a lot of those people will reintegrate into society, especially if they start to receive the benefits of good governance, such as healthcare, assistance due to COVID, robust anti-discrimination, job prospects, etc.
> I don't need it to be #1.

I don't either, but a chat app is useless if I can't use it to chat with people and almost nobody I know will consider Signal. It's either WhatsApp, Telegram, or SMS (horrible).
>If one side is siloed, by definition the other side must be in an opposite silo.

You're right. And no offense specifically to anyone here, but he's trying to make his point somewhere with a specifically curated silo.
This is the Night of The Long Knives 2.0.
“We just assume we’re right.”

That’s just it, though: we assume we’re wrong. We audit ourselves. Watch any of the press conferences where the Georgia election officials detailed the extra work they did.

It is that we assume we are wrong for the important things, and double check, triple check, that separates our viewpoints from those being deplatformed.
as someone who was born in USSR, it pains me so much to see freedom of speech eroding in USA. Please don’t! it’s a route to a bad place.
This is really a key point. If the same thing that happened on Wednesday happened in Belarus, I'm sure a lot more people would be sympathetic toward it. Sometimes, as a last resort, violence is necessary to depose evil rulers. So the most important question is how did we get to the point where a large portion of the country is living in an alternative factual reality, to the point where they think the U.S. is now like Belarus in this sense. Also, generally, how do we align better as society on what is true and not true. And I have to say that I personally think Twitter banning the other side is potentially going in the wrong direction as far as solving this problem.
I know we’re supposed to hate Oracle, but they’ve provided Java, MySQL, and several other things for free-ish for years. Yes, not as free as you could want, but they’re useful and available enough that you’ve heard of and probably used them.
Tried that, but my preferences have no "advanced" tab: http://dl.dropbox.com/u/404957/no_advanced.png

:(
I am surprised... OneNote is one of the best tools out there.
That would be the part where you turned mitigating the IT guy's screw-up into the victim's responsibility again.

But I'm not. No matter what you do to the IT person, how much you sue him or her for, how hard you torture them, how much you hang draw and quarter them or put their head on a spike, or whatever, however much you take out your frustration on them you will not change the fact that your ultra important files are now gone.

The only way to change that is to take a backup.

I'm not interested in blaming the "victim" (accidents don't have victims, crimes have victims) and I'm not interested in punishing the person who made a mistake, assuming it was a genuine mistake.

I'm interested in making it not happen again, mitigating the consequences (for both parties), and doing so without ruining everyone elses life because one person was dumb and another careless.

If you don't understand the system, how are you supposed to know that one click can do this? It's clear from the article that the victim in this case didn't understand that it was possible at all.

If you hit your head hard enough, your frontal lobes can tear on the sharp bits inside your skull. If you don't understand this you can still drive a car. You can still make and sell cars. You can still walk over a cracked pavement or ride a bicycle.

Ignorance is only a defense in the sense that it gets people to feel sorry for you, ignorance does not make the universe undo the damage or help you compensate for the damage. Ignorance may be a defence, but it's still a stupid policy.

I don't understand what this change may do to my phone so I will take a backup -> good.

I don't understand what this change may do to my phone but I trust the government will have prohibited the employer from allowing it do anything I would consider bad -> bad.

Seriously? You think that an employee was told, clearly and unambiguously, that by connecting their phone up to work e-mail they ran the risk of having their entire phone wiped including all of their non-work-related stuff at any time just because someone missed a single mouse click over in IT, and they forgot this?

No more than they would be told that a single misclick of the accountant's mouse might lead to them not being paid that month, or that a single misclick of the HR's mouse might lead to them being marked deceased, or a single click of the HR's mouse might select the wrong file to upload and leak their SSN to the world.

It is not reasonable to inform everyone of everything which might go wrong. There is too much which might go wrong.
I would say then use the same scenario with a bounty system. instead of paying with dollars, offer % of equity for reaching a goal on work done.

this solves the issue of people arguing about fairness of ownership. with a bounty for equity you agreed to your share for your work beforehand.
Dumb code can be written in any language.
Yeah. Probably 90% of the people who end up doing this competition would end up enjoying it anyway if there was no prize; the prize just provides the activation energy to actually sign up.
The UK Government (much though I dislike many of its policies) offers a superb example of how to do logos for "subprojects" - or, in this case, Government departments:

http://puffbox.com/2012/05/08/new-logos-for-all-government-d...

One logo. Clear typography. A distinct colour for each department. That's it. GNU would do well to follow this example.
I couldn't maintain or understand the low-level code Java depends on without great effort (I know I could if I devoted enough time, which I usually don't have). Same for low-level libraries for C or any other language.

I think the argument here is that -- given that there are no problems with the library; otherwise you're screwed in any language -- type information for Haskell libraries gives you more useful information than docs & tutorials for libraries in other languages.

The author repeatedly asserts that he is not scared of math, and would probably be able to understand the libraries he uses if he spent the time. It's just that he doesn't need to.
It's quite fitting that this sort of thing is dubbed "autopilot", because in all likelihood it will have the same problem as gradually more self-driving cars. There will be a level of automation where the computer still makes errors frequently enough, but the user is sufficiently disconnected from the action that they lose all attentiveness.
I don’t think they can do this - it feels like it would require a central contact database with an extra setting for that.

But who knows, the private contact discovery is quite magical so maybe there’s a way….

https://signal.org/blog/private-contact-discovery/
I wonder if he/she pulls in significant revenue. How else would they be motivated to create 47,000 apps? Perhaps there are lesser app juggernauts on the Google Play and App Store as well.
I don't take anything seriously that tells me to review the "geek feminism" wiki.

These "geek feminists" tell people they have to follow a moral code they make up on the spot then when someone says something they deem is "inappropriate" they bully them and accuse them of horrible things that aren't true. This actually happens and isn't debatable.

What I personally really don't like about these people is that they go after open source specifically, which leads me to believe many of them have never worked for a large company but only have experience in the open source sector, which by it's nature allows anyone to participate.

I mean, accusing open source of being intolerant or whatever is like an alien race accusing the human species of being intolerant because they observed that --yes-- when you allow people to live in a society freely some people make decisions others (gasp) disagree with.

These geek feminists should all go close their source and only allow people to work with them who they deems is tolerable. A Big corporation --no matter how progressive they may seem from the outside-- is always going to have someone working for them that says some stupid shit. Look at the racist emails in the wake of the sony leak from some of their top people.

I don't want a monoculture of people pretending to be nice. Blaming open source is just a way to push an agenda.

If this "geek feminist crowd" wants to fork off and do their own thing and base it around being nice to each other then it's just a matter of time until their top devs get exposed for being human and they look like idiots. The geek feminist community seems to contain more assholes than any open source community I've ever been a part of, in fact I've worked with a few feminists who have said some very nasty things about people of a certain color. Unfortunately, the JavaScript crowd seems to have a lot of feminsits and I had the displeasure of working with a JS developer who was a rich white straight male feminist asshole google employee. He would talk about how hard minorities have it on his personal blog and then get on github/irc and treat everyone like shit. Pretty typical geek feminist in my experience.
And then they will gaslight us by saying there is no bias against conservatives.
"Most applications will care about network timeouts and will either fail or reconnect, making it appear as a “random network glitch” and leaving no trace to debug behind."
Nobody is attempting to dismiss the idea that overflow is a problem. The fact that we have had innumerable discussions over this very topic should be indication that this is something that Rust cares about, and will be investigating further in the future as compiler support improves (it's not stated outright, but I suspect the fact that overflow yields an "undefined value" is to leave open the possibility of making overflow saturating-by-default sometime in the future without breaking backwards-compatibility, if the performance hit turns out to be acceptable).
It makes them economically dependent. Explicit rather than implicit client states of the US. Colonies in all but name.

When President Arnulfo Arias tried exercising his nation's right to issue sovereign currency, he was deposed in a US-backed coup on October 2, 1941.
Saturating overflow? Egads.

What's the problem with just trapping overflow by default again?

I'm willing to bet many would happily take the performance hit in favor of having a genuinely safe language.
Is it a live editor for PlantUML? http://plantuml.com The language and output looks similar.
some human rights groups had threatened to have him arrested

I wasn't aware that random groups had arrest powers in Switzerland.
People are saying it's like Facebook IRL, but it's not. Facebook used to let you post your private life online as much as possible and hide to you all the advertisement business.

This, in contrary, is very open about its business model and you are warned upfront. It also means everyone on internet can make sure the management of the hotel is done right.

You are guaranteed that the room has been cleaned and no one can steal your things.

This is an example of how recording everything can lead to reducing risks for both the host and the guests. (I'm not saying we should start recording everything everytime)
To play devil's advocate, aren't drugs just “patterns of molecules”? And can't patterns of bits be used for “mind-altering” purposes (broadly speaking, such as in this case)?
May be 50 years later. Why condemn them to life of misery today ?
I can remember OneCoin back in the day. And I also remember that when visiting their website, my first though was "this must be a gigantic scam!" It was kinda obvious.
Unbelievable that people fell for this. But like with all pyramid schemes or similar scams, they target a very specific sort of people.
Seems like it could be an improvement on https://swimlanes.io/ (the fact that you can choose the type of diagram).
HTTPS doesn't change the attack surface, it's just assumed to make it inaccessible. The exit node is still in the middle, and they absolutely can still listen.

TLS will probably defeat script kiddies that are just after the "thrill" of voyeurism, but more advanced operators will make use of the attack surface you're offering them, even if they aren't ever able to decrypt the payloads (not necessarily a guarantee). There's lots of room to analyze and manipulate encrypted HTTPS traffic in interesting ways (SNI, non-secure cookies probably good starting points).

TLS depends on correct configuration on both the client and server-side to be effective (and an interested proxy could try to modify the handshake to downgrade the connection's security). Whole versions of SSL/TLS have been deprecated after fundamental flaws were discovered; things like Heartbleed, POODLE, and Debian's low-entropy key debacle were all real things that made TLS much less secure than expected. An exit node operator that knew about these flaws prior to disclosure could've been having a heyday while users just said "Welp if I use HTTPS Everywhere it'll be fine".

Even without bugs, when TLS is ostensibly working completely properly, the trust model is frequently hijacked. See the CACert wiki [0] for a list of several dozen well-known attacks on CAs, many of which allowed imposters -- on multiple occasions state-level actors -- to issue fake certificates for specific domains, which a malicious exit node could inject.

The incontrovertible point is that using exit nodes exposes some prime attack surface to literally anyone, and yes, that's still attack surface, even if you're 1000% sure that your encryption is so super-duper strong that literally no one will ever be able to break it.

The exposure is real, the risk is real even if not necessarily always immediate, and it needs to be considered along with the other factors. Any risk analysis that involves accessing clearnet resources via Tor exit nodes should contemplate this.

[0] http://wiki.cacert.org/Risk/History
(Have not read the article) IMO age is not a factor on internet
Yep, that sounds about right. Between bitcoin, an anonymous brokerage such as silk road, and drone delivery, the dealers would be pretty hard to track down.
Given the large number of banks, it's definitely possible that some adopt the "white guy in China" mode of operating. However, having worked in the industry and living on Wall Street, I do have close friends at virtually every bulge bracket bank and management consulting firm, so I can attest that my experience is not unique (at least when it comes to bulge brackets and large boutiques).
Smugglers: hide your uranium in shipments of Brazil nuts.
Benford's Law is a special case of Zipf's Law (http://en.wikipedia.org/wiki/Zipfs_law) as they both originate from the same scale invariant functional relation from stat mech.
Thanks, this is exactly what I was looking for. I'm also glad, that I am not the only one confused about this type of trade.

What if the lender decided to sell the stocks that he had lent out? Would the trade need to be closed for the short seller, or would he have to repay immediately and short sell a new lenders stock?
Fair of failure - welcome to the club.

All the other alternatives you have covered. It even sounds like you're looking for confirmation, rather than an answer you don't know. I'm with you - I procrastinate, blame other stresses, take breaks, stop working in order to organise what I'm working on, etc. Every now and then, I manage to just shake it all off and do something useful, and then it's blindingly obvious what I've been doing and I swear I'll never do it again. It's about time I got a grip and practiced what I preach more often, but there you go.

Good luck, wish me the same!
I don't know what your level is, but I recently used this book to get started on the basics: Beginning Database Design: From Novice to Professional by Clare Churcher

http://www.amazon.com/Beginning-Database-Design-Novice-Profe...
Awesome idea. What's a good non-github way of rendering image diffs?
Yeah, that's completely fair. I generally work on projects with constantly evolving requirements, so I tend to roll my own framework(s) by gluing together existing libraries that each solve a specific problem very well. That approach works well for me because most of the time I simply don't know the long-term implications of using an existing framework for any given project, so it's easier for me to evolve my own as I go. But I think there are a lot of projects out there that benefit greatly from the ecosystem behind certain frameworks (Rails comes to mind) and don't run into many bottlenecks due to said frameworks. For them, assembling a foundation is totally unnecessary because there's an open source framework that provides exactly what they need.

I don't have enough experience in different types of environments to say which approach is most suitable in most cases, but I'll definitely say that using an existing framework is the safer path (you have a community to lean back on), and is also advantageous for hiring. So I think you're correct when you say that many developers are afraid of rolling their own frameworks, but I think there are good reasons for that, especially for quickly-growing startups.