skysight-inc/HackerNews huggingface dataset:
Unless I'm mistaken, If I were to build out a simple event log represented by a relational DB, I have bottle necks when writing to it, and have lag in terms of processing the events, and if I were also pushing those events to a queue to hydrate aggregate snapshots I would have to have client logic to deal with duplicate events or not acking processed events etc?

Intuitively, I guess kafka is "more realtime" and "more available" when compared to the home-brew event log?

EDIT: obviously those constraints in my home-brew event log are relaxed when my problem domain is amenable to things like associative operators, idempotency, inverses etc.
You can't replace Hollywood with AI because the whole point of entertainment is that it is about humans. You have to have humans making entertainment or it is not entertaining.

I'll give you an example: people still watch bicycle racing. We all know a motorcycle is more advanced technology that could easily beat any human on a bike. So what did we do? We invented rules out of thin air that exclude motorcycles, just so that we can keep watching humans agonizingly grind their way up a mountain on a bike. Because we find that entertaining.

There's motorcycle racing too of course but again--who's on the back of the motorcycle?

A long-held concern is that we'll get rid of all the old jobs, but no new jobs will be created. My point is that even in an economy in which all physical needs are provided for free, there will still be plenty of reasons to create new jobs.
I'm not a fan of how Python 3 stores Unicode strings internally. In my opinion they should have went with UTF-8. The extra scanning and conversion puts more preassure on the processor and caches under load.

I agree that Python 2's Unicode handling is broken. That's why I just stored UTF-8 in a normal string and avoided the whole mess. The only thing I have to do is validate any input from the outside world is really UTF-8.
Yes, as I said, we're using ISA-L. This is Intel's library with thin wrappers around hand-tuned assembly routines for crypto.

The traffic is mostly long-ish lived connections. Eg, the duration of a TV show or movie. So there is some churn, but not a lot.

This is all TCP. By "UDP TLS", I assume you mean Quic?
This is a great study on California politics in a nutshell.
How about recruiters that recruit for a role at Facebook of all things just learn what the hell they are recruiting for instead?

I don't think the onus is on developers here to explain why Unix and Posix are interchangable.

It's like the carpenter telling the recruiter that yes, his skills in building a chair transfer to building a table.
Generative Marilyn Monroe T-Shirt
You are talking average selling prices going down.

We are asking about examples of actual prices of homes going down. They are not the same thing.

The price of homes can actual stay flat or even go up while the average sold price goes down.
And Google should spend their time and money improving Java, owned by a company that massively sued them?
Honestly, while I would not stake a hiring decision on the distinction, I see quite a difference in the two. Comparing a coders chosen habits to racism is a huge stretch.
https://github.com/DemocracyEarth/sovereign - all are welcome!
> From what I understand, calling WebAssembly functions from JavaScript (and vice-versa) incur a runtime penalty that's way worse than calling JavaScript functions from JavaScript.

Can you provide a source for this? I've never heard it and, though it may be correct, this would make wasm much less useful to me.

I have heard that accessing the DOM from wasm will be quite expensive, but that's different from just calling a function.
The story of my first Burn (part 1)
This makes it sound like Go is even more confused. If strings in Go are not necessarily UTF-8, why does the strings package assume UTF-8, `for range` assumes UTF-8, etc?
> What are your weaknesses?

I don't play well with idiots, or nonsensical bullshit.
Japanese/English impedance mismatch?
I met Inigo at an internship when I was just starting out my CS career and he was kind and patient enough to mentor me on all sorts of cool computer graphics. A quote from "The Prestige" comes to mind:

Oh, no, sir. This wasn't built by a magician. This was built by a wizard. A man who can actually do what magicians pretend to do.

He does things that I wouldn't have dreamed possible with fragment shaders and implicit geometry. https://www.youtube.com/watch?v=yMpG6qEb8js

IQ is a wizard and really inspired my interest in programming and math.
When I reached my early 30's I felt I was getting old.

Looking back I believe this is because I was indeed just past the age of physical prime and could feel the slight slowdown.

When I reached my early 40's all that went away and I kept forgetting I wasn't in my 20's. (although I certainly am not). I didn't feel "old" anymore, but did start to realize life was short and think more about the future.

I don't know if starting to feel "old" in early 30's is common or not. But 30's is a great decade. You certainly aren't "old" at that time relatively, no matter how much you suspect it. I didn't care so much for the 20's. You are still a kid in many ways with kid habits and not as much control over yourself as you learn later, but you don't know it. Or at least I didn't.
Yes, other than C++.
I'm beginning to find that small companies have more arrogance than larger. Just, confirmation bias seems to get people to remember the ones with the skills to back it up. Most companies fail without you ever hearing of them.
A moral relativist may have values, but moral relativism does not. It claims all values are subjective, as OP did.
Awareness of them alone indicates a greater interest in the field imo. It obviously wouldn't be a critical factor, but it's easy to tell how enthusiastic someone is about computers in general based on whether their familiarity with them ends at the outlines of their personal experience or domain.

There's tons of ways to assess this -- interest in upcoming technologies, familiarity with linux/unix history, awareness of other tools, regardless of whether they use them, etc

To me this seems like the OPPOSITE of trivia/whiteboard interviewing. The goal is to probe someone, not mark them down for every random thing they don't know about. Software absolutely seems like one such field where it's both easy and important to find people whose enthusiasm goes home with them.
New Feudalism: Why the 'Internet of Things' Marks a Return to the Middle Ages
Smart Contracts for Trusted Benevolence
Given the exchange is now on imgur, I don’t think the lesson was learned.
Or you can get another job.
On the Front Lines of South Africa's Baboon Wars
I had totally different experience with Facebook recruiter, honestly they are great and really want you to succeed. You could have just updated resume as UNIX/LINUX ...rest of the technical jargon should be explained to technical person in the interview. Why argue with recruiters? Get in the door as soon as possible and deal with someone who can understand the terms.
HoI4 is a good starting point I'd say, it's prettier and the UI is much more manageable which makes the whole game feel a lot easier to learn even though it's not hugely less complicated than HoI3.

EU is a different beast though, and I know exactly what you mean about the UI. EU4 has made some improvements but once you add in even just a few of the bigger expansions/DLC then it can really get a bit overwhelming.
All of professional sports and social media make money by eliciting emotions from people. And the only way to do that is with other people.
It's a four hour drive to Miami from here.
I think the problem with that idea is that there's no guarantee that the input to the compiler is going to be ideal. It might be that the programmer write something in a suboptimal or naive way (possibly expecting the compiler to take care of it) or the source was mechanically generated or expanded via a preprocessor. Working strictly backwards from the source seems like it wouldn't be enough.

So a production optimizing compiler is going to need all those cleanup passes one way or another. Why not assume they're there and lean on them rather than duplicating that work?
Can a Tesla Become the Ultimate Adventure Vehicle?
If Olin's small numbers are skewed by a few founder types moreso than the large numbers of Stanford, and you wanted to be a founder type, wouldn't you stand a chance of learning more from your peers by going to Olin?

I don't see why people are arguing that selectivity and small size invalidate the better quality of Olin's education. I learned as much from my peers as from my teachers, not to mention the motivation of peer competition.
Coinbase has 10 million users, most of whom are there for bitcoin.
It's missing variable fonts with animated font-variation-settings

...I'll see myself to the door :)
This was an issue in earlier versions of Galileo Offline Maps.

http://idea.galileo-app.com/?ia=20787
> If strings in Go are not necessarily UTF-8, why does the strings package assume UTF-8, `for range` assumes UTF-8, etc?

The blog post I linked to explains this in more detail, but in short: the `strings` package provides essentially the same functions as the `bytes` package does, except applied to work on UTF-8 strings. There are other packages for dealing with other text encodings.

The `for range` syntax is the one "special case", and it was done because the alternative (having it range over bytes instead of codepoints) is almost never desirable in practice[0], and it's easier to manually iterate the few times you do need it than it it would be to import a UTF-8 package just to iterate over a string 99.9% of the time.

[0] iterating over bytes is done all the time, of course, but usually at that point you're dealing with an actual slice of bytes already that you want to iterate over, not a string.
> Well, how many years ahead are you willing to worry? 10? 100?

Let me reverse the question : how many years ahead is enough for you not to worry? A million years? Fifty billions? Do you worry about the ultimate fate of the universe[1]?

It's pretty clear to me that, all other things being equal, events tend to matter less and less as they are occurring further and further into the future. That's why, for instance, most young people don't worry much about death, unless they're told it will happen soon.

I don't have an accurate way to measure it, but to me, once you start talking about thousands of years, it's such a far future that I don't worry about it.

> but what makes you sure that this is true of "most people",

People are anxious or obsessed about many things, but I very rarely hear anyone whining about the future of the World in geological time scales. There is of course the famous exception of the young Woody Halen in Annie Hall[2], but it's a comical scene precisely for this reason : most people don't worry about these stuff.

1. https://en.wikipedia.org/wiki/Ultimate_fate_of_the_universe

2. https://www.youtube.com/watch?v=3Pa34orcwwA
Which incidentally is why so many actually technical people are tired of all these resumes that say an applicant has a skill they don't actually have.
https://serprex.github.io/Befunge hit Run in Chrome & you can see the 500 instruction compilationg of Mandelbrot-in-Befunge to WASM
I agree with the sentiment. Don’t refactor unless it’s failing you. Just be mindful you might refactor someday and backup your data.
Those aren't toggles. They are just the elements that get animated during the demo. Each one is a demo of the CSS to the right of them. The ones that are colors are just that way because the demo won't work well with empty shapes.

I made the same mistake.
This is certainly interesting. Could the same principle be applied to gold which has been fairly stable?

I don't think gold is the right medium for the singularity because it is not easy to obtain and subdivide. It needs to be in the the vicinity of choosing the inflated coin on one hand, and the more valuable coin on the right.

Perhaps it's this trait that will keep Bitcoin volatile? Because it's easy to go in and out of it, volatility will remain high?
Please sir, we are trying to hire an expert here!
Program dependency graphs 'work backwards' in that you have a node that performs a computation, and then you have a graph of edges backwards to information and effects in other nodes it needs in order to run. The 'first node' in a program dependency graph is the result that you want to achieve.

This doesn't really solve the problem that you are describing though. I think that's more to-do with the register allocator - there's where the moves come from.

Something interesting to note is that I think register to register moves are extremely cheap, because the processor is renaming all registers anyway. I think except for taking up instruction cache and a little work for decode and dispatch, these moves don't actually consume any execution slots so they're not a problem.

We are also finding in practice that simpler register allocation algorithms, such as linear scan, don't really seem much worse in practice very complicated algorithms that try to eliminate these moves. So that's more evidence that maybe they're not the problem you think they are.

When you read assembly it's frustrating to see redundant moves, but I'm not sure they actually cause as much slowdown as you think.

I'm not an expert in architecture though.
I use the Pomodoro Technique.

https://en.wikipedia.org/wiki/Pomodoro_Technique

https://www.psychologytoday.com/blog/intrinsic-motivation-an...
Would you accept one drawn on a sphere?
And rich countries are ahead of the curve in data science, AI and DL.
Needs an option to enable only when the Konami Code is entered.
It's true that we ought to be comfortable experimenting without fear of embarrassment, as well as to learn to tolerate more serious failure on occasion, and certainly unexpected failures can serve to draw attention to symptoms of deeper issues worthy of rectifying before they cause you even greater trouble down the road.

However, I will point to Richard Hamming's advice to learn from our successes rather than our failures.

"There are so many ways of being wrong and so few ways of being right that it is much more economical to study successes."

And:

"Study successes. If you study successes, when your time comes, you'll know how to succeed. If you study failures, then you'll know how to fail. So study success very closely: not only yours, but other people's. Why did Galileo do what he did? How did Newton do it? Try as best you can to study other people: how they succeed, and what the elements of their success are, which elements of that can you adapt to your personality. You can't be everybody, but you have to find your own method. Studying success is a very good way of informing your own style."

(The latter quote is from 25:30 of
https://youtu.be/a1zDuOPkMSw)
Remind HN: Seattle HN Meetup Tomorrow
There's no reason not to make good use of Kafka or similar solutions. The issue is that people use it without understanding it. In this article, they say that Kafka is their system of record and their primary long-term storage. That's very silly.
U.S. House approves proposal to speed the deployment of self-driving cars
I don't know about this. Is HN, and much of the internet, not full of people who spend all their time absorbing information? TV is far more homogenous due to the high barrier to entry and pressure for it to appeal to the least common denominator 100% of the time.
> I think UTF-8 is generally the wrong way to expose Unicode to a programmer, since it lets them think they can keep that cherished "one byte == one character" assumption right up until something breaks at 2AM on a weekend.

The solution to that is simple, don't let the programmer access individual bytes in a Unicode string.

Get rid of indexing into them and replace it with iterators. Make string handling functions work on code points at the very least but better yet on grapheme clusters. There's a little more to it than that but it's a good start.

Yes, people are still stuck in the ASCII mindset and can't seem to get away from thinking in bytes. But I belive it's the ability to index into strings is what's to blame and not the encoding used.
I didn't bring it up because I suspect that we'll eventually find a scaling solution, whether it be sidechains, tree chains, riding on Moore's law, multiple cryptocurrencies connected through an interleger.

It's a more long term view of the impact of cryptocurrencies concerning government issued currencies.
Mac OS X is UNIX and people use it well after the 1970s, so he's just wrong.
For a great example of this look at the border between Hong Kong and Shenzhen on plain google maps ... turn on the street map layer, then the satellite layer - they match on the HKG side of the border, but not to the north in China
That's not a valid test, since you can't switch bodies with Jeff Bezos. I'd also disagree with your premise, because presumably the unskilled immigrant desired to immigrate to capitalist America in this thought experiment.

I think it went away. Capitalism doesn't force anyone to work, you may choose not to participate in the labour market and be homeless.
> switching over to Linux (mostly because it was free/cheap) only in 99/2000

Your school was trail blazing! At my uni, UVic, it was still all Sun and IBM Unix labs (with plaques) when I graduated in 2000.
My hypothesis is that all this caused by data science, machine learning, and deep learning. R is quite cryptic and hard to learn. Almost all new libraries for DS are written in Python.

Also, in favor of this hypothesis is that rich countries are ahead of the curve in DS adoption. It's much harder to find a DS job in a developing or not so wealthy developed country than in US.
I can sneeze almost on demand by thinking of specific things. But I agree, even with my 'ability' it is unsuited for communication. Even a grunt would be easier and more nuanced.

Edit: made myself sneeze, took about 7 seconds.
Yeah this is fucking nutty to me. It's not like you can watch TV at work.
There are two propositions you can entertain here.

1. All cultures are equal in the sense that they are equally as good.
2. There is no way to compare the merits of any two cultures.

(1) is a claim that attributes equal merit to each culture. It is then necessary to establish what exactly these merits are.

(2) is a claim that does not per se exclude the possibility of there being a matter of fact about which culture is superior in which ways w.r.t. other cultures. It denies the possibility of establishing what the fact of the matter is.

(1) admits only two possible presuppositions. Either (a) all cultures are equal because the good they impart onto individuals and societies is ultimately the same and thus differences are merely cosmetic, or (b) cultures are not a good (that is, neutral or inert w.r.t. the good).

(2) admits two possibilities as well. Either (a) our ability to know is limited or impaired or (b) we cannot know because there is nothing to know, i.e., (1b).

I think focusing on (1) in this context is a waste of time because clearly no one in this context actually believes it. Protests have a motive and motives only make sense w.r.t. to some end. As you point out, what's the impetus when change produces no change in the good? Protesters and revolutionaries may hold incoherent and confused beliefs, they may have ulterior motives, they may be wrong, but ultimately there is a belief that what is now is evil and what they aim at is better.

Ultimately, to be able to judge the merits of any culture requires (at least) a sound philosophical anthropology. You need to understand the nature of man to know what he requires to flourish. Only then can you judge whether, in what ways and to what degree a culture enables that flourishing.
Unless you have competent recruiters. Are you saying that incompetent recruiters are the norm?
The likelihood of either of those scenarios is pretty tiny. The value of DNA sequencing and virtual assistants is real and substantial.

I don't like the better-safe-than-sorry argument when it comes to security. I think it leads to bad policy and bad decisions. I've been thinking about this after I read a story[1] about a family that has been told that they cannot let their young kids ride a city bus by themselves. It's a similar argument - the value of kids gaining independence is big and the risk of something atrocious happening is tiny.

[1]:https://www.thestar.com/news/canada/2017/09/06/a-dad-in-bc-l...
I agree. How is this different from all the other failures caused by false assumptions about map datums? (And why aren't those just another case of bad metadata, comparable to character encoding issues?)

Edit, read the rest of the article to put the linked section into context. The commies are trying to obfuscate a map grid? That's just nutty. Are they really going to arrest everyone who is found in possession of a magnetised needle?
I thought WebAssembly didn't have a garbage collector yet.
I don't believe you.
Critical rants that don't suggest a better alternative, or describe what a better alternative might look like even in outline, are rarely informative or persuasive.
Looking at RBS spreads here: http://www.bankofcanada.ca/rates/interest-rates/lookup-bond-...

…looks like the market expects 1.57% inflation over the next 10 years, so these bonds are expected to beat inflation handily.
Unfortunately, as long as you believe that you can index into a Unicode string, your code is going to break. The only question is how soon.

Depends on what you want to index into it for. I'll admit that once upon a time I opposed adding a "truncate at N characters" template helper to Django since there was a real risk it would cut in the middle of a grapheme cluster, and I don't particularly care for the compromise that ended up getting it added (it normalizes the string-to-truncate to a composed form first to try to minimize the chance of slicing at a bad spot).

But when you get right down to it, what I do for a living is write web applications, and sometimes I have to write validation that cares about length, or about finding specific things in specific positions, and so indexing into a string is something I have do to from time to time, and I'd rather have it behave as a sequence of code points than have it behave as a sequence of bytes in a variable-width encoding.

As to whether UTF-8 forces people to deal with Unicode up-front, I very strongly disagree; UTF-8 literally has as a design goal that it puts off your need to think about anything that isn't ASCII.
Nah, less than 30% of their electricity is carbon based today. They won't have any problem decarbonizing entirely over the next 15 years. They actually just shuttered their last coal plant in 2016, so I'm curious what last year's generation numbers looked like.

http://www.gov.scot/Topics/Statistics/Browse/Business/TrendE...

https://www.google.com/amp/s/amp.theguardian.com/environment...
Show HN: git praise, a nicer git blame
Just because you're right, doesn't mean you've won. The recruiter is a gatekeeper, just say the thing you need to say to get past them... move on to the next level. The recruiter asks for Unix/Linux and yours says Unix-Like, get over yourself and change your resume. They are literally telling you the password.
Some languages use multiple marks on a single base character. The combining character system is more flexible, uses fewer code points, and doesn't require lookup tables to search or sort by base character.
How will it mess up sorting? So long as each release has a number greater than the last, they can be sorted properly. Don't ASCII sort.

https://blog.codinghorror.com/sorting-for-humans-natural-sor...
Ah. Where is "here"? Miami is not the only major airport in Florida. Orlando->Atlanta and Tampa->JFK are both available for $114.