skysight-inc/HackerNews huggingface dataset:
> That's why people use their ad-hoc systems. Because many many many people don't know IPA.

I was disagreeing with parent's claim that ad-hockery was better than IPA. Nothing more, nothing less.

However if ad-hockery is the best someone can do (I say this without snark), then fine. Certainly better than nothing.

> It's so far removed from English and uses so many letters that don't occur in English that it's close to being a completely different language.

English is far removed from my native language, so either way I have to learn a pronunciation system (and the English one is... special).

While we're at it, do we use pseudo-American or pseudo-British pronunciation in our ad-hockery? Pseudo-US-East-coast or pseudo-Southern-US?

I think ad-hockery provides a trap in that it gives a false sense of security. You think you know to pronounce something, but if you actually try, chances are your native speaker conversation partner will go ¿que?

> The word "ɪn·tərˈnæʃ·ə·nəl" may make complete sense to someone who knows IPA but to to the many people who don't, it's complete gibberish.

I agree that it looks like gibberish to those who don't know IPA. But I'm honestly not sure "intaneshenel" (or "intönäschänäl", or whatever) is better. For me at least, it's equally confusing.

As an aside: making up pronounciation if it's of little relevance to what you're writing is one thing. What really grinds my gears is language books (or, say, the language section of guide books) that make up their funny ways of writing pronunciation. They might use that same amount of effort to teach the basics of IPA, which is about the same amount of effort, and provides the reader with something lastingly useful.

They even write multi-page explanations, complete with examples, on how to interpret funny charecters in their script. I remember the absurd contortions the Lonely Planet Germany guide went through to explain umlaut sounds to people in terms of English words, and then coming up with ways that weren't the IPA to type those sounds.
In my experience, by the time I start getting performance improvements with Cython (typing everything, removing Python function calls, etc.), I seem to end up with code that's bigger and messier than if I had just written a C extension or used f2py.
Comparing cities to countries doesn't make sense.

Amsterdam has a murder rate commonly as high as the whole of the US. That isn't a rational comparison and isn't indicative of the murder rate of the Netherlands.
Yes he also dislikes appeal to emotion, or emotive talking, as it can be abused or be misleading.
These instructors are making it big with Udemy
I understood the point that the service was excellent. All I am saying is that bringing a new set of silverware is very common.
I would agree. I think the real rule #4 is "Take greater care when presenting detailed or complex information. The presentation will often speak louder than the information."
Use RUST!

The reason that C++ sucks is that it is a FAUX object-oriented language. Many things that you CAN do with an object-oriented language are impossible with C++ (unless you like hackery... no, I don't like hackery).

The reason is purely about runtime speed. At the time that C++ was designed, processors were horribly slow (compared to today's). OOP runtimes were dreadful. So all of the work was put in at compile-time in order to speed up run-time.

Except for one thing. It meant that it was no longer OOP but pseudo-OOP. It kinda-quacked like a duck, kinda-looked like a duck, but really wasn't a duck at all.

For example, one aspect that was ripped from the hands of the developer was the ability to store the address to a function in a variable. Pretty damn useful. You can't do that in C++. There are HACKS to do it, but natively, the language can't.

It is this "can't" that makes the language so bad. Sure, you might think "I don't need to store an address to a function in a variable" but try to build GUI API's without that - it's a PITA. So much so, that Qt uses a preprocessor to handle things that C++ can't do.

Wow. Now we're having to write preprocessors to get over stuff the language is incapable of handling.

I've written a lot of C++ code. There are parts of C++ I like. But for the most part, it is a broken language from the start. It is highly flawed. No one spent ANY time thinking through the problems with ctors or dtors (yeah, they said they did, but they didn't).

It's a bad, broken, language
Great, another great demonstration of the fundamental principles of digital computing - representation and interpretation of data. It's been my experience teaching CS courses that many students, despite being taught bits and bytes and binary and ASCII and so forth, don't really "get it" until they see things like this.

This particular one only looks like a giraffe when it's interpreted as a 1bpp big-endian bitmap, but you could probably do the same with a colour (24bpp, in whatever order you wish) photo.

Here's another fun idea: write a short program that checks if a file is a prime number. Now you can get into the principles of CRCs, RS, and other error-correction codes...
It's been my experience that trans/genderqueer people indicate what their preferred pronouns are when goy meet them. The annoyance comes if someone repeatedly misgenders them afterwards. It seems to be me to be on par with calling them the wrong name a few times. It's not an especially huge transgression, but it's a bit oblivious. Not saying anything about Shapiro-caliber deliberate provocation here.
True. Though I would argue immigration was his spearhead, especially with his lack of political correctness on the matter. Banning various trade agreements to further arouse his voters was important but the repeated message on immigration probably dominated his position.

Disclaimer: seen from a foreign standpoint. This is what reached us oversees. For every other article on non-immigration there were 10 on his immigration rants.
>Trying minors for "more serious offences" is a thing just about everywhere.

And not locking them up, i.e. "letting them go" is a thing in just about every civilized country.

>Would you feel the same way if he'd actually followed through on his rape threats?

I'm sorry, but this is ridiculous. There isn't a single mention of "rape" in TFA, you're discussing a 15 year old kid possibly threatening someone on a different continent.
Meet CMU's Red Whittaker: the Godfather of autonomous cars
This man is my hero.
Or even, using another cute toy from the article:

const tee = arg => console.log(arg), arg;
Probably good to document those use cases, collect sample clips and contribute back back to the project as test cases.

Help improve the project for everyone.
The GP did not mention that they picked up the fork. They just simply brought a new set. Silver plate / cushion - perhaps this was a fine dining restaurant.

There are of course times when a waiter is busy and they don't see/hear you drop something. In that case, if you simply ask, they'll bring you a new set of silverware.
The only outlet I trust is the Economist, even though I don’t always 100% agree with their editorial stance, for the simple reason that when they report on things I know about they DO get it right, but simplified in a reasonable way. I think the weekly format helps too.
I trained myself to stop doing that (casting struct pointers over network data) after porting C code to an Alpha and getting bus errors from the unaligned accesses. And now I have to untrain myself?
Which car to buy?

There's too many. Unless you can list a couple of requirements and where you come from (e.g. programming languages you already know, what the company already uses in-house) it will just be guessing.

From your earlier question (https://news.ycombinator.com/item?id=16193739, user re-registered) "Ask HN: Why use Flask instead of Django?" "I have no programming skill."

First three duckduckgo results for "flask django":

https://gearheart.io/blog/flask-vs-django-which-is-better-fo...

"Django vs Flask vs Pyramid: Choosing a Python Web Framework" https://www.airpair.com/python/posts/django-flask-pyramid

https://www.quora.com/Should-I-learn-Flask-or-Django-Im-a-be... - 48 answers
I cook and run trails
You can't have a group that is inclusive of X and also of people who believe that X are subhuman, e.g. to be inclusive towards Jews you have to exclude antisemites. Or generally: to be inclusive of marginalized people you have to exclude the intolerant.

If you don't push away the intolerant then those who are discriminated against figure out they're not welcome in the group and so they leave. Those who remain are the intolerant and those indifferent to intolerance. That results in very bad communities.
5 in the US, in my home country Norway it is 0.5 elsewhere in Europe it is around 1 I think.
Imagine what the MPAA will do if they find this as another means of disincenting piracy.
Ask HN: Is it feasible to have just a REST API as a back end for web app?
Read about this approach at a few places: Have only a REST API as a backend and do everything else in the frontend JS framework.

I don't know enough about web architectures to evaluate this approach. Is it possible to develop a site/app with this approach regardless of complexity of the app, or is this only suitable for certain scenarios?

Any help would be greatly appreciated.
Space mining is going to seriously disrupt Earth's economy
You can build a website with any language… I mean, sometimes it’s nice to go back to the basics, but aren’t there better packages and frameworks written in C++ to handle the job?
Has anyone seen similar projects using TensorFlow Lite?
Can't comment on the gateway, gRPC for Python is definitely half-baked though. gRPC is great; the tooling is not. Google seems to only be updating whatever parts of gRPC they use internally. Everything else is practically unusable. While that is fair from Google's standpoint, it really hurts adoption.
> The market is becoming saturated, competition increased and cheaper alternatives have been popping up.

And Nick Woodman 'a sleep at the switch'. I remember what I thought when I saw he was a guest judge on Shark Tank investing in (trying to) and giving advice to young entrepreneurs going for the brass ring.
The ideal is probably no padding --- on x86, unaligned accesses basically need no extra cycles[1] and if it means structures shrink and reduce cache misses, could actually be better.

[1] Unless you happen to access a field spanning two cache lines and miss, in which case the padded version would require accessing that second cacheilne anyway.
Word Count: How Many Words in a Novel?
tl;dr: CGI.
Maybe not an option for you, but I don't leave it running on my desktop and instead rely on the mobile app for notifications and then pop into the desktop app if I need to engage extensively.
A lot of the simple advice needs further unpacking, too. I've seen founders interpret "Make something people want" in all sorts of ways, as belied by their behavior:

- "Make something nobody wants, then keep adding features until something magical happens."

- "Copy another app that people already use, but add 'better' or 'faster' or 'easier' or 'prettier' in my marketing copy."

- "Survey my users and build whatever they tell me, no questions asked."

- "Build features that align with my own personal vision of what the product should look like, then hope that other people want it."

- "Create 1/5th of an ambitious product that people want."

- "Do an excellent job solving a trivial pain point that nobody cares about solving."

- "Make something completely new and unique that the world has never seen before, regardless of whether or not anybody wants it."
It is like that in almost all countries though. Most countries have towns or cities with much higher than average rate. That is natural. Except e.g. the most violent city in Sweden has the same rate as the average in the US
First of all, don't you know you should not otherize people? You better check your privilige!

Sarcasm aside... they aren't getting more respect. You can't force people to respect anything.

Here's what actually happens: People control their speech (but not their thoughts) around those "other" people for fear of social reprisal. They'll simply avoid socializing with those people for the rest of their lives.

Will they hire a gay/trans/black/muslim person? What a minefield! Better find something in their CV that makes them "less qualified"...

Few people will say these things openly, just like how fewer people would admit to voting for Trump. In the real world, Trump is still president.
This may explain why there are so many sociopaths in tech and VC. I wonder what Travis Kalanick did for laughs when he was in school.
I agree. But the SJ4000 is $99 and the SJ5000 is $125 on Amazon, and that's a pretty big step for $25.
You can't efficiently get back into it, though, which can be a problem for a game's event loop. If you wrap it in a function, you can return from that function anywhere inside the loop, and let its caller handle whatever state change incurred the exit and then restart the loop, if it wants, by calling the function again.

On the other hand, if the event loop's job also includes rendering the game's UI, then leaving it by any means will freeze the display until it's restarted. That's probably bad too, although I suppose in theory it could be turned into a game mechanic. Absent that, this technique might make more sense in a case where you're running the exitable loop in question on a secondary thread (i.e. a worker), and doing things with it which can be safely interrupted - maybe changing levels or something, where the player isn't expecting to do anything during a UI transition, and you need to await the arrival of some resources over the network and then set up the game state before restarting the event loop to resume normal play? I don't know, that's a bit contrived and probably flawed in a critical way, but I think it makes the same basic sense as offloading heavy and necessarily synchronous work to a worker thread does in general.
It's hard to imagine a solution to these problems because we are so far away from highly functional examples of this tech in action in the "real" world.

That said, engineers live to solve problems in better, smarter ways.

I personally believe it is naive to bet against innovation in this sphere, but we both shall see if we are so fortunate.
Actually, this new hip function-as-a-service thing feels a lot like CGI/inetd…

well, at least in terms of not keeping the server process up all the time, only when it's used.

To combine "only running when necessary" and "not restarting for every request when there's a lot of requests", I made a thing: https://github.com/myfreeweb/soad — little wrapper listens on a socket, spawns your server with the socket passed in, terminates the server when there were no new connections in a while, rinse, repeat.
IMHO, this is a broken promise about how the Web was supposed to be platform-independent. I get the feeling the general attitude on this thread is that such platforms are unimportant, but that doesn't mean it's not a broken promise.

I'm pretty sure many other fundamental protocols of the Web don't work so well on a non-2's-complement, non-8-bit-byte machine either.
The root password has to do with installing apps. These apps go through a process designed to allow non-root users to install privileged apps - the privilege escalation is there, it’s simply allowed by design. And that’s Wrong. It’s almost as wrong as the standard Windows mode of running as a local administrator.

I’m not sure what the solution is, but it’s fallacious to say mobile security is so much better than desktops, because it’s not. Desktops can be secured by an “adult” sysadmin, in the mobile world this role is left entirely to Apple and Google - and as it has been proven over and over again, they fail at it, probably because they are too big. A local admin has to review a handful of apps, Google and Apple have to do it with bazillions apps and they will inevitably slip.
I wrote a c++/Qt web framework as a hobby.

https://github.com/shi-yan/Swiftly
Not a lot, but all signals point to them switching to gRPC over time, even for internal projects. It's not going to happen overnight, though.
You won't be able to type `pipe` with Flow/Typescript. But they can (and had) added support for the |> operator.
In our company that is what we do. We have a REST API in Flask and two frontends. One is an end user client Electron application and the other is a web portal. Both the application and the portal are React applications.

My question would be only REST as opposed to what? For example our client application also have native plugins to connect with hardware and also does lot of processing locally.
I would really liked to know why is this downvoted. Do people think insurance dont make those decisions? Or that those decisions being made implies I think socialized medicine is bad?

Or they all know everything about that particular bacteria and assume everyone should?
Intel Has a Big Problem
You don't need root privileges to install an application on a general-purpose operating system (or to install plugins and extensions to applications). Root credentials are a red herring --- except, ironically, on iOS.
>Not transcripts, not articles, not a canon of closely aligned materials by his grad students. The power to convey these truths evidently resides in Peterson and Peterson alone.

I don't think that's entirely true. The Peterson fan-groups on Reddit often have group readings of books that haven't been written by Peterson but have been recommended (Dostoevsky, Nietzsche, Solzhenitsyn).

I do agree that there's something of a cult of personality surrounding Peterson, and for that reason I try to keep that in mind and keep him at arm's length despite agreeing with a lot of what he says. But I do think that such behaviors are common and inevitable. Consider the "I f*cking love science" crowd and their focus on clips from Neil deGrasse Tyson or Carl Sagan (their written material is a distant second in popularity to their broadcast presentation) or the trend a few years ago of receiving news through a Stewart/Colbert-style format of ideology + humor. There's something almost inescapable about the human desire to associate with a group/club/tribe, to find a leader to rally around, and to indulge the urge to worship.
Slippery slope: I can trust the court if I don't have to trust the data. I can't trust the court if I have to subjectively prove my arguments.
> if those are the two choices

I would be shocked if any company in the world gives you this choice.
I forgot to mention - he was also a teacher of his craft and that counts too.
yes, please read

https://kripken.github.io/emscripten-site/docs/porting/conne...

also debug this project and see how it controls html via c++

https://github.com/mbasso/asm-dom
no brain matter, to my knowledge. not a senile death either
The only way to solve this issue is to decentralize violence / punishment. Still, it will take a lot of time to get there _after_ we have decentralized currency. For now this is what we have with all the good and the bad parts.
> people who can see themselves wanting it if someone else pays (i.e. future them could pay)

Great way to make this point! So when you ask someone "would you pay for it?" you are really asking "would you use it if someone else paid for it?" Which, really, doesn't tell you very much at all.
> Might want to integrate an existing C++ code base into a server without developing an API or IPC in between the two.

Or perhaps you might want to use a belt sander to refinish your table without removing the tablecloth from the table first. Not all the things one “might want to do” are good ideas, even if there’s a wikihow on best ways to do them.

C++ is a great language but it’s a very hard language to wield correctly. The odds there is an exploitable buffer overflow or injection attack buried deep in some part of the code are simply too high compared to memory managed languages with standard libraries designed from the ground up for web-facing applications.
Are you asking "is it okay to not use a html templating engine in the back end"?
He bombarded Mr Johnson and his wife with calls,
asking her: “Am I scaring you?” and left
messages threatening to “bang his daughter”,
the court heard.

Unless you want me to believe he was threatening to "bang" Mr. Johnson's daughter consensually, it's a rape threat.
I made a similar thing (c++ opengl gui) and ported it to webassembly

http://shi-yan.github.io/AssortedWidgets/
RIO-LAEMBADGINI ANIMATED
Particularly when you use terms like "grok" that 99.9% of the population don't understand. You need to build products for the general population, not your tech friends.
With most SPAs actually, as a user, I get less responsiveness due to overcomplicated UIs and memory leaks and, for instance while browsing in train, bad handling of poor connections.

Facebook is a great example. It's almost impossible to have it opened for a long time in a few tabs simultaneously on a PC with 8 GB RAM. I often end up switching to m.facebook.com full page load version, cause it just works and it works fast.
I agree and I'm still hopeless my mental illness will ever heal. Talking about it helps, but it won't go away any time soon.

Only if we really understand how the brain works and how to modify and alter it, we will be able to heal mental illnesses.
Precisely the reason I don't like to focus interviews on language gotchas and semantics.

The only exception I made was a quick pre-screen (to be completed in their own time with no pressure) in which candidates received 3 or 4 code snippets, and were asked a couple of questions about them which they wrote answers out in plain English explaining their thought process, in however much detail they wanted. (Thinks like a piece of code where "this" would break because of context, or a cross domain request that would fail and some ways to approach solving).

Even then, that was used as a ways to say "ok, this candidate clearly has good understanding, we'll not hang about too long during the interview process on that topic".

If they didn't mention what we thought the answer was, it didn't count against them at all, it just gave us an area to explore in the interview. (Because who's to say our pre-screen question wasn't the problem?)
Why would you assume that D or Rust would be make developers more productive? If the developer already knows C++, then switching to D or Rust would make the developer significantly less productive over six months to a year, after which, the developer would likely be just as productive as he/she was when writing C++.

Languages are not panaceas. Rust and D are both hard languages, as is C++. Selecting one of these only makes sense if the application warrants it. Each have advantages and disadvantages. I don't really think any of them are suited to web development, but claiming that D or Rust would be a more productive web development language than C++ seems equally silly to seriously considering C++ as a web development language.
Interesting that Ca and Tx data nearly mirrors this simple analysis of racial makeup vs racial statistics on homocide.

per_capita_data = {'white': 3, 'asian': 1, 'black': 21, 'hispanic': 6}

cali_cencus = {'white': 37.7, 'asian': 14.8, 'black': 6.5, 'hispanic': 37.7}
texas_cencus = {'white': 42.4, 'asian': 4.8, 'black': 12.6, 'hispanic': 39.1}

def calculate(per_capita, state_stats):
rate = 0
for race in per_capita:
rate += per_capita[race] * (state_stats[race] / 100)
return rate

print calculate(per_capita_data, texas_cencus)
print calculate(per_capita_data, cali_percentages)
Attention grabbing fool
We have already had proofs of the LEAs inability to keep TS information safe, expect a worse level of protection for routinely intercepted phone calls, emails, ...

It's very very difficult (some people say impossible) to assure 100 percent that people's data have been safely stored and transmitted for their whole retention lifetime.