skysight-inc/HackerNews huggingface dataset:
"You can't really do much with code points -- they're useful when parsing things or when implementing unicode algorithms, and not much else."

That is exactly what "rune" is intended for, though. In the several years I've been using Go, I believe I've used it once, precisely in a parsing situation.

For the most part, Go's answer to Unicode is to just treat them as bytes, casually assume they're UTF-8 unless you really go out of your way to ensure they are something else, and to not try to do anything clever to them. As long as you avoid writing code that might accidentally cut things in half... and I mean that as a serious possible problem... it mostly just works.

To be honest, if you're trying to tear apart this example emoticon at all, you're almost certainly doing something wrong already. The vast bulk of day-to-day [1] code most people are going to write should take the Unicode characters in one side, and just spit them out somewhere else without trying to understand or mangle them. A significant amount of the code that is trying to understand them should still not be writing their own code but using something else that has already implemented things like word tokenization or something, or performing operations using Unicode-aware libraries (e.g., implementing a find-and-replace function can basically do a traditional bytestring-based replacement; code to replace "hello" with "goodbye" will work even if it has this emoticon in the target text if you do the naive thing). What's left is specialized enough to expect people to obtain extra knowledge and use specialized libraries if necessary.

A lot of what's going wrong here is putting all these things in front of everybody, which just confuses people and tempts then into doing inadvisable things that half work. In a lot of ways the best answer is to stop making this so available and lock it behind another library, and guide most programmers into an API that treats the strings more opaquely, and doesn't provide a lot of options that get you into trouble.

It isn't necessarily a perfect solution, but it's a 99% solution at worst. I write a lot of networking code that has to work in a Unicode environment, so it's not like I'm in a domain far from the problem when I say this. It's just, 99% of the time, the answer is, don't get clever. Leave it to the input and rendering algorithms.

[1]: I say this to contrast things like font rendering, parsing code, and other things that, while they are vitally important parts of the programming ecosystem and execute all the time, aren't written that often.
Shouldn't "Facebook" also turn up near the top, in that case?
Honestly, very true. After doing some brief work for a financial services company, the one thing they were consistently surprised at was how fast the application ran!

Yeah, duh. I render simple HTML templates on the server and serve them as browsers expect them; not with a thousand lines of JS for topping.
High Performance Storage Sets Sail
I think this is where paid support comes into picture. Volenteers can keep improving Python, business that cant/wont upgrade can pay someone to "handle it", and consultants can make money. Everyone is happy.
Ideally all the workers of a firm would be organized together

They are. That organisation is called a company and decides what they get paid, which varies by job and rank.

There's no such thing as a union in which every employee of a firm is represented - by the very nature of what unions do, they create a (largely imaginary) line between "labour" and "management" then pit the first against the second.
Apple could add in-screen fingerprint reader to 2020 iPhone
I'm partially convinced that the "we're google scale" is cargo-culting.
That seems overly abstract. Protesters formed into large mobs and repeatedly, even continually, challenged police. That police would eventually increase the pressure in response was pretty much inevitable and doesn't really have anything to do with these larger abstractions.

Seeing this as being about managing situations and violence also opens up potential alternatives. Being completely peaceful and not challenging police authority with mobs could potentially have a different result.
Almost every single Flow version upgrade is like this — every new version brings a slew of errors due to Flow’s continuous movement away from practicality towards “soundness”.
the "vast majority"? do you have evidence for that?
> If you want local admin as a developer, then we need to be able to trust that you aren't going to do something stupid.

Issues with trust imply greater problems in the workplace. Unless you're in a high-risk (of hacking) industry, like military, treating adults like children is a huge problem.

Granted, there are plenty of ways around these limitations. By now, all of my "I need admin rights" development is performed within a VM.
> "The reason" can also be lack of basic competence in previous workers.

That type of wording belies a destructive approach to the problem. What I'm told is "lack of competence" is often someone not being trained properly, or leadership that decided to make a deadline no matter what, or a junior dev that got called a senior dev to fill a seat at a cheaper rate, or someone who knew they didn't have the skills but didn't want to admit it and lose their job.

The other thing I often find is that regular complaining about other people's code is usually projection. The less forgiving someone is the more likely that their code and architectural decisions suck even more than the people they're complaining about.

There's a senior dev at my job who openly craps on other dev teams as incompetent - to the point that he literally says, "those guys are fucking stupid and their code sucks". This guy never documents his own work, makes inflexible architectural decisions that don't take anyone else into account, and generally causes hours worth of workaround code for me every month.
Mostly automatic DNS management and it being more easy to use more than one machine for things.
How to Use Ansible Galaxy
I am sorry but as Canadian, I don't see much point of development in Canada's North. That part of Country is simply unsustainable for human settlement and whatever is there currently is on back off massive amount of investment in infrastructure, logistic and construction. Even basics such as milk has to be imported from other parts of Canada 1000s of kilometers away.

Don't get me wrong - I applaud folks who have to live there but there simply is no point of encouraging people to stay living there or worse, to move there.

Coming back to the topic - Huawei aside, say Canadian Govt./some corporation decides to spend billion dollars to lay down required infrastructure to kick off high speed internet services in that part of Canada - do you even think they have the population to support their project financially? Sooner or later, tax payers will be on hook (that is how it works in Canada) to pay for some Yukon based teenager's right to surf youtube on high speed internet.
Related: https://imo-grand-challenge.github.io/
For those on mobile/small screens, a better formatted quote:

> The algorithm examines 42
different signals, they said, including an app’s relevance to a given search, its ratings, and its popularity based on downloads and user clicks. ...

> If you searched for “podcast” in May 2018, you would have had to scroll through as many as 14 Apple apps before finding one made by another publisher. ...

> “We make mistakes all the
time,” Mr. Cue said.

> “We’re happy to admit when we do,” Mr. Schiller said. “This wasn’t a mistake.”

For those on desktop, please stop formatting quotes like code. They’re just impossible to read on anything but a very wide screen.
There was definitely a time when that was an important question, because the answer could be "CVS", "nothing" or even "what is that?". Nowadays the answer is practically always "git".
Yes, but the article isn't objecting to Apple listing its own Podcasts app at the top of a search for "podcast". It's objecting to it then listing Compass, Find Friends, Tips, and 12 more Apple apps that aren't related to the search query before any non-Apple app is listed. (Which issue they have since fixed.)

The article is about "Apple made a mistake in its search algorithm", not about competition per-se.
The Mental Lives of Zombies
I don't have a significant amount of experience with TypeScript, but even from my limited experience I agree that it's a fantastic product. That said, at $JOB we (unfortunately) have a fair amount of production code written in TypeScript 0.9 which nobody has ever upgraded, and simply won't compile on a more recent version. It's been that way for years now, and every attempt to bring it up to date has been met with failure.

It may be an overly broad request, but I'd be very interested if anyone had any suggestions for how we might go about performing such an upgrade in an iterative manner. My understanding is that pre-1.0, TypeScript went through a number of breaking changes (as would be expected of any pre-release software), but I've never found a complete list of what those breaking changes were.
strategic questions: engaging people’s best thinking:
https://thesystemsthinker.com/strategic-questions-engaging-p...

Leverage Points: Places to Intervene in a System: http://donellameadows.org/archives/leverage-points-places-to...

Tools for Systems Thinkers: The 12 Recurring Systems Archetypes:
https://medium.com/disruptive-design/tools-for-systems-think...

Cynefin framework:
https://en.wikipedia.org/wiki/Cynefin_framework
> I don't think the GP intended to call engineers at those kinds of companies lesser.

Why not? That's a prevailing opinion.

SWE: Works for a startup.
HN: RESPECT!

SWE: Works for FAANG.
HN: Respect.

SWE: Works in an industry that's not related to the web.
HN: Wait, what? I don't understand.

SWE: Works anywhere else.
HN: Crickets.
How to Receive Data from Google Analytics Using R in Microsoft SQL Server
The same argument works in the other direction, except then it’s 9 to 1.

Don’t get me wrong: I’m a friend of the working person. I’m just aware that people are projecting their own values onto this situation in ways that are unfortunately not helpful to many workers who want long shifts. Whether or not they should be allowed to work as long as they want is a big, thorny question.
I could do that - but is it really that foreign to center a budgeting tool around it, so I don't have to go about creating accounts and transactions for every budget category?

In essence, it's just the "envelope" system with a rollover - i.e. if I don't spend all my grocery money this month, just add them to the next months envelope.
I always ask about staff turnover numbers, especially in ratio to new hires. If they're not prepared to discuss or don't know the answer then it's not important to them.
Valuable News on BSDs 2019/09/09 – 𝚟𝚎𝚛𝚖𝚊𝚍en
Minor point of order: ledger-cli has a lot of languages for one-off scripts but it's principally a C++ program.
Equalization payments:

"do not, technically, involve wealthy provinces making payments to poor provinces, although in practice this is what happens, via the federal treasury."

https://en.m.wikipedia.org/wiki/Equalization_payments
Three suicide prevention strategies show real promise
There is at lease one vulnerability in the demo: looks like dev or something is on in the framework. Sending bad input in at least one place exposes debug info with db/api credentials along with other sensitive info. Email in my profile if more detail needed.

https://postimg.cc/gallery/2chl5bji2/

Edit: sent email with details to listed address on landing page.
Easy: you have to get a written release from your employer before you start your new job. They simply withhold that release (HR gets really confused when hiring from foreign countries that have no such concept).
I'd love to have ML expressiveness. The only thing i'm a bit worried about is the I/O abstraction level.

I'm not really looking for a GUI abstraction layer, but i'd like to be able to write to a file, or perform a network request, in a platform-independant way. I'm afraid this requires a little bit more than just a javascript transpiler target.
When dealing with contractors, it's impossible not to maintain a LAMP stack. Often times I don't get to choose the technology I have to deploy, and it's not fun when I get to wrestle with PHP. Luckily the contractors' time spent fixing their deployment instructions is billable for me.
This is great. It would be almost perfect if it didn't rely on WinForms (1) and was built on .NET core from the ground up. Anyway, great project I will keep checking out.

(1) instead it could be a runtime that just gives you an interface to the frame buffer somehow and it's up to the integrator to use WinForms/WPF/Qt etc.
Panchatantra -- more than 1000yr old collection of fables from India. It's a kind of self help book that uses vivid storytelling with animal characters, to impart practical life lessons.
I wonder why ProtonMail is getting so much negative press. They are releasing articles like that to clarify "the truth" on a regular base. Even here on HackerNews, there are so many negative voices repeating the same things over and over again. Even and especially those that (seem to) have been rectified by ProtonMail. Usually, the people here seem to be neutral and fact-based, but as soon as ProtonMail is involved many are getting wild.

While I have an inactive account at PM, I'm not involved with them in any way. This is just an observation that I have made over the recent years.
You can't really know if you're underpaid for what you're doing if nobody else is paying more. You might be overpaid - who knows? If there's no market there's no price discovery.

If you can get better pay elsewhere and quit to get it, that's perfectly fair game, nobody minds that because it's (in a well run company) not disruptive to the customers.

All employees "quitting" (but not really) at once because they're unionised and are already getting top pay, but want even more, and disrupt vast amounts of travel and expense at huge cost to random customers who have no power or involvement is very different.
The psychiatrist helping mentally ill people who wander India's streets
Reliance Hunts for Startups to Boost Waste Management
A red flag implying what, exactly?
Letting adults do as they please is a common refrain, but when you're living in a country with subsidized healthcare, the government has an incentive (at the macro level) to not let you do stupid things that raise healthcare costs, which are then passed on to the population at large.

In America, you break it, you buy it. Everywhere else, I have no problem with a bit of governmental oversight to make sure people don't hurry themselves to a quicker and more expensive death.
I think I'd more or less agree with that.

For example, one of the questions I generally ask in a meeting room that's considering this topic, and has for example microservices in flight, is: "Are you willing to put in the work to make Service A support more than one version at a time in Service B?", and if not, then that's a very (very) strong indicator that the level of coupling and lack of organizational boundaries will result in pain from anything but a monorepo.

I prefer to split things up when possible. When it does fit, there's many benefits. There's also the concern that building too much culture and tooling that presumes a lack of splitting of repos can become its own form of trap which becomes increasingly hard to navigate out of, even if you later want to, as the situation self-iterates. But I agree that splitting things out needs justification, and the "default" stance should include that.
There is literally no information about how the app helps people. Only about her favorite apps and books?
Yes, I've been reporting most bugs as I encounter them.

(Just realized amix is Amir Salihefendić. I thought it was a Todoist employee, though rereading the OP it should have been obvious.)
Ok? I feel like Apple is free to promote whatever they damn please on their own platform. Are we seriously criticizing a company for promoting their products ahead of 3rd party products on their own platform? and I mean, how much money do you think Apple is making from someone having their compass app downloaded? Seems like an inflammatory and in-genuine story.
The point of coding apps isn’t to get kids proficient at coding.

“Does not work”- for what criteria of work? Because as a means to get kids exposed to ideas in programming and/or get familiar with how code looks and not be apprehensive of it, theyre great starters for many.
but but... we handle billions of CPU operations per day. that’s webscale right?
It's interesting seeing who the holdouts are, though. Less than a year ago, the CEO of Sentry (the crash reporter) locked a Github thread with essentially "we'll get there when we get there, sometime in or after 2020." But then, as late as 2016 their stance was pretty much that they would never migrate, so I suppose it's not surprising that they aren't super prepared for it:

https://github.com/getsentry/sentry/issues/8806#issuecomment...

https://github.com/getsentry/sentry/issues/1152#issuecomment...

I mean, even supervisord is migrated at this point, and it was a long-time laggard.
As a day-to-day C# developer, I'm curious about a few things:

- Do you ever find that the Garbage Collector causes noticeable pausing in the emulator?

- Did you do this with 100% managed memory, or do you need to use unsafe code / real pointers?

(Apologies that I didn't read the source code.)
In the last five years, I've not encountered a single valid use for character count.

1. If you're using character count to do memory related things, you're introducing bugs. Not every character takes up the same amount of space (see: emoji)

2. If you're using character count to affect layout, you're introducing bugs. Not all characters are the same width. Characters can increase or decrease in size (see: ligatures, Dia critics). Any proper UI library will give you a way to measure the size of text (see JS's measureText API)

3. Even static text changes. Unless you never plan to localize your application, pin it to use one specific font (that you're bundling in your app, because not all versions of the same font are made equal), and bringing your own text renderer (because not all rendering engines support all the same features), you're introducing bugs. The one exception is perhaps the terminal, but your support for unicode in the terminal is probably poor anyway.

Even operations like taking a substring are fraught for human-readable strings. Besides worrying about truncating text in the middle of words or in punctuation (which should be a giant code smell to begin with), slicing a string is not "safe" unless you're considering all of the grammars of all of the languages you'll ever possibly deal with. It's unlikely, even if your string library perfectly supported unicode, that you'd correctly take a substring of a human tradable string. It's better to design your application with this in mind.
While I agree with this, I think it's a ridiculously common thing to see among major software vendors. A lot of Apple's APIs are typedef'd pointers to various structs.
Some IDEs show type hints on hover, or if type mismatch is detected, they display inferred types inline in code. E.g Intellij Idea does that for Scala and it is really useful. I wish it did that in Java as well.
As other have stated - Roku content update cycles are much faster than TVs.

But for me (I use AppleTV vs. Roku), it's because TVs are SLOW (IME). Clicking on Netflix takes about 5 to 10 seconds to open. Clicking down on the remote takes 2 to 3 seconds. It's even worse now that Netflix does that live preview when the cursor sits for a spell on a title. And finally Netflix crashed on my TV 3 or 4 times during the week that I tried to use it.
Granted I don't work at Splunk anymore, but did recently. They were definitely working hard on migrating everything to python3, and if I remember, they had a planned roll out where python2/python3 would co-exist.

However, if you've been using the python SDK for Splunk - its been supporting python3 for a few years already (https://github.com/splunk/splunk-sdk-python/commit/4503db961...)

See this blog post: https://www.splunk.com/blog/2019/07/01/admins-and-developers...

And this helpful doc: https://docs.splunk.com/Documentation/Splunk/7.3.1/Python3Mi...
Also, Napoleon. Repetition is really effective.
When I was a child, I loved Jules Vernes' novels. My favorite were "L'île mystérieuse" et "Michel Strogoff". I've read them again after a few decades, and I enjoyed them both.

"L'île mystérieuse" is the survival adventure of a small and disparate group, but the main theme is how science can dominate nature. The mystery part is better enjoyed if the reader knows a bit of Jules Verne' other books.

"Michel Strogoff" is a pure and romantic adventure in Russia, at the time of the Tatar invasions. It was sometimes brutal for a child reader, but I could still remember many scenes thirty years later.

Other good novels are "Voyage au centre de la terre", "Vingt-mille lieues sous les mers", "Cinq semaines en ballon", "Le tour du monde en 80 jours", "Les indes noires". I've a few others which I enjoyed at a lesser point.
> nicotine-containing enzymes mostly present in the liver

Nicotine from
ingested smokee/vape/tobacco, or from other natural human physiology?
Exactly - they're even in the position to force this change, and then use it in their marketing since they're one of only a few companies with the economies of scale to support this (outside of those tailored to it like Fairphone).
I just feel that most interviewers when pressed on these are just going to lie unless the company truly does it, which will make it hard to tell whose telling the truth. I guess that's what the whole interview is, detect who is telling the truth about themselves. I think more detail on these questions, and to press on follow ups for specific examples.
It would depend on what "unknown" means. "Unknown" in the sense that they are not on official maps and that Ottawa is unaware? Probably. "Unknown" in the sense that their local neighboring communities are unaware? Unlikely.
Then you can freely make the choice to install one from your package manager. Don't force your cruft on my system though.
> The people at ProtonMail are clearly under the belief that they are only subject to Swiss law because they are located in Switzerland.

What led you to believe this is so clear?
The point is asking the user to prove this is basically asking the user to write proof assembly language, not that it is incorrect.
It's interesting to compare translation to localization here. They are two different processes. Translation might give you a set of words with roughly the same literal meaning, but localization tends to go much farther. For example, localization might change sprites to something more recognizable to the local audience, translate idioms into something meaningful, ensure that the game respects cultural norms/laww (e.g. No skeletons in China, no nazis in Germany), or even alter color palettes to make something more recognizable to a local audience. They'll also change the images with text in them, e.g. the title screen.

Localization is a ton of work, full of many judgement calls. I love seeing these types of translation efforts, but it's important to remember that it's an incomplete process.
but it isnt vendor neutral because you have to setup the k8s cluster differently in each cloud
> complaining that running a blog on Kubernetes is too complex

think you're really missing the point here. Why do you think this was included in the post? https://twitter.com/dexhorthy/status/856639005462417409