skysight-inc/HackerNews huggingface dataset:
Yes, modern computers are fast. How fast?

The speed of light is about 300,000 km/s. That translates to roughly 1 ns per foot (yeah, I mix up my units... I'm Canadian...)

THUS, a computer with a clock speed of 2 GHz will be able to execute, on a single core/thread, about 4 (four !) single-clock instructions between the moment photons leave your screen, and the moment they arrive into your eye 2 feet (roughly) later.

_That_ should give you an idea of how fast modern computers really are.

And I _still_ wait quite a bit when starting up Microsoft Word.
It was not possible to explain my spouse that I can't be interrupted when I work from home.

What has worked was showing her the bill for a monthly office lease. I said I cannot do this any longer so I rented my own office outside of home. First she was very angry that I spent money like that "because you can work from home!", but I said that I can't because she doesn't respect I can't be interrupted. She promised that she will try not to do that if I cancel it. I did cancel (although I lost the deposit), but she stopped doing this. We agreed that I cannot be interrupted between 9 to 5 except lunch time.

Classic example when money talks :)
To everyone new to haskell and confused: Don't judge haskell based on these definitions. They appear strange and crazy, but when you actually do stuff most of them turn out to be quite intuitive.

My advice is to ignore these things. Don't read a million monad tutorials. Just play around and code something, you don't have to understand the monad-definition before you can use the do-notation. Try to ignore them. After a while you get an intuition and then the definitions will make sense.
You grossly over-estimate the time it takes to read a resume. It's way below 30 seconds per resume. Probably on average closer to 10.

Try it for yourself: set up a timer, open your resume. How quickly can you figure out how much experience you have, do the job titles match more or less the position, any description that lists similar stacks to the one your group uses? 10 seconds.
It sounds a bit like one, but I think the point is that while the web can be used for everything, that doesn't mean it should. Like if we built XML into filesystems directly, instead of doing it just in the layers above.
Polyglot programming isn't "a fad" - it's something that microservices enable. That does not mean that developers make technical decisions in isolation.

If I were to introduce Haskell to my company there would have to be at least one other person interested in it and at least a few people who would be interested in learning it. I would never commit code using a new technology without discussing that with my manager.
> While most in the upper class seem to be adamant that people in, say, manufacturing must compete with low cost foreign workers (free trade is good, protectionism is bad), they are more than happy to continue the protectionism that more educated workers (people like them) enjoy.

Everyone wants regulation for "others", free market for themselves.
Thanks for the advice brudgers, I agree with everything you said. The tricky thing regarding the last point is that this is not a co-founder and I haven't heard the topic of equity shares among non-co-founders or even non-employees discussed much before. But you are right to just do what is right by people, and the rest will work itself out.
It is the duty of the Home Secretary (and the UK's various nosey institutions - e.g. intelligence agencies, police, etc) to continuously badger us for this information - unfortunately, it's pretty much part of the job description.

It is our duty, as the public, to continuously say "no".

Disregarding any negative consequences, their motivations are pretty transparent - there's little doubt that being able to read everyone's private messages will enable the intelligence services to better do their jobs. However, as Edward Snowden and others have already shown to us many times over the last few years, the UK government can't be trusted with this responsibility - and that this is probably the thin end of the wedge. Britain is already the closest thing that Europe has to a surveillance state, and the number of people killed in the UK by terrorism is vanishingly small - we are hundreds of times more likely to die in a car accident. Is it really worth giving up the last vestiges of our privacy for a little bit more security?
Don't some of these examples run in O(1) time because the value in the loop isn't used? E.g in the first example 0 is returned instead of the sum.

Obviously we are talking about real world c compilers with real world optimizations so presumably we'd have to also consider whether the loop is executed at all?
Google beat the competition not so much that it has a better search engine but in that it has a much better ad platform and brings in much more revenue per search than Yahoo, Bing, etc.

I would address the money issue first before thinking about how to make a better search for some market.
I think some of the phrasing is mimicking Old English pronunciation. Combined with his natural 'posh' accent and the poor quality of the recording it does make it a little hard to make some of it out.
And you can always get another job during the time you are on leave.
I'm sure it happens - my point is that it isn't relevant to microservices. Microservices allow multiple technology stacks, if dont properly, but it doesn't force it on anyone. If your developers are pushing code using a different programming language with no oversight there's an organizational issue.

That said, it's awesome that microservices let you use different tech stacks to solve different problems.
Almost every programmer will have learned what a boolean condition is. Hence me bringing it up as a default explanation for something that's true or false.

"It's a conditional like what you evaluate in an If-Then statement."

"Oh yeah, I see what you're saying."
Thank you for this. My thoughts exactly
The construction, components, mechanics, etc. are much more important than Euclidean distance of specs off a data sheet.
I thank you for educating me about Euclidean distance as a measure of similarity, but it is not of much use here.
You'd have to buy their stuff using their currency, which you could only get by engaging in unfamiliar activities they called 'work', which you probabably wouldn't understand and wouldn't be very good at. In fact the only work you would be able to get would be making said 'aasics', the pay for which wouldn't be enough for you to buy a pair. How ironic! Etc. Etc...
The thing is that while CPUs are fast, RAM, never mind a HDD, are not.
Sentiment on hackernews is more pro-H1B than not. Of course, there are a few anti-H1B people here, just like there are a few Trump supporters, but they are by no means a majority.
مباراة المانيا واذربيجان بث مباشر
If the alternative to microservices is a monolith, and you can run the monolith locally, then logically microservices can also be run locally. If it's difficult to run all the microservices locally then that's just a sign of weak tooling.
This is exactly my main complaint about this.

Still, it was an intriguing idea, even if a lot of the answers were based on things not described. I did learn a few things... I don't do much parsing so I didn't realize how slow JSON was compared to other packaged formats.
Developer tools like Visual Studio are somewhat ironic in that the developers who create inefficient software are essentially seeing this reflected indirectly in their tools also becoming inefficient. A perverse version of "do unto others as you would have them do unto you"?
No listing for the peachy printer? It's the first ever printer to 3D print a house...

Source: https://www.productchart.com/3d_printers/similar_find?f=peac...
Has any company ever tried being non-irrational?

I highly recommend Misbehaving by Richard Thaler, particularly the chapter of the American football draft in this instance.
The Two ID Problem
So is there any way to stop this treadmill, short of overthrowing capitalism itself?

Edit: If that seems like a non-sequitur, I said it because the parent comment started by saying that the market is wasteful.
No common element in US attacks? I think in the majority of cases that's just not true. People weren't killed, but the PizzaGate shooter was motivated by what can only be described as a large cult of a particular persuasion, Planned Parenthood shooter certainly had his political motives, Charleston shooter had motives that have existed in the US almost continuously, Oregon standoff were all anti-government types, I could go on and on. I would say the main difference is we are not actively at war with people that share their faith or look like them overseas. As far as I'm aware the Boston bombers and Orlando shooter were only inspired by, but received no support from groups such as ISIS. In that way they were just as self-radicalized as Dylan Roof the Charleston shooter.

Obviously it's all more complicated than I could quickly write, but to me there's a big difference between the self-radicalized generally disconnected persons in the US or U.K. versus those on the ground overseas.
Let me change it slightly so you can see how some might see it if no background in recursion:

"a type of function's whose definition is it calls itself in its own definition."

Most people's problem is they don't understand the concept. Such a definition just confuses them more as they try to wrap their head around what they visualize a circular or looping logic. It's the kind of thing best to define with examples. Even those usually don't teach why people would go through the trouble. The Thinking in Scheme people went further to write a whole book to teach the subject.
One thing which I find very frustrating is that I don't remember some concepts which I have studied and understood in the past. So, in my case, that matrix should have to be filled with dates, not only with ticks.
I need to put in a warning about nuklear. As far as I can tell it has no documentation an is very difficult to get to work well in anything but the most trivial case. I put some work into it and came away very disappointed.

Two options that weren't mentioned were Nana and NanoGUI, which are both modern and under active development.
Why isn't the first Python loop (that does nothing but pass) optimised away completely?
I don't have much ideology behind going with microservices vs. monolith, but what we've done on some recent projects is organize our code into modules that only communicate with each other through a narrow and well defined boundary layer. If we need to split a module out into a separate service, then it isn't nearly as much work to split it out later.

One of the practical issues we've had with microservices that need to interact with each other in real time is ensuring a consistent state across systems. For example, let's say I need to change the status of an object and afterwards, call a separate service to change state there as well. What happens if the call fails in some way? You can't just run all of this inside a single database transaction anymore. Now you have to design your code to deal with several potential failure points and edge cases, which adds complexity. The other consideration is all calls to a service should be idempotent if possible. It makes coding from the client side a lot easier if you can just fire off a call multiple times (in case of local or remote failure) and not have to worry about state.

Just some of my thoughts, since this stuff has been on my plate recently.
Press Ctl-T and start typing an address. Whoops! We only saw you type the last half of that address.... I hate this so much.

Same goes for the file menu in Windows Explorer.
They also over estimate how much non housing expenses are in places like SF. Food is often cheaper in those cities, not more expensive, and most non service items cost almost the same.

It's a wash.
Come on. If this was really ISIS, then we plainly have nothing to fear.

My bet is that he's just a random crazy, but of course these days it suits the political narrative to brand such people 'terrorists' to stoke public fear
We detached this subthread from https://news.ycombinator.com/item?id=13959382 and marked it off-topic.
they aren't "many times more expensive"

compare BT[1] (£44.99 for 12 months, then £53.99) with AAISP[2] (£45)

once you add on "a couple of quid VPS a month", you could even go for the AAISP 1TB package at £60/month

[1]: https://www.productsandservices.bt.com/products/broadband-pa...

[2]: http://www.aaisp.net.uk/broadband-home1.html
yeah, high acidity - low pH
"So the really cool thing about monads is that you can add new behavior to functions without implementation details leaking during composition!

The cool thing about lenses is that they enable getters/setters for things like entries in a hashmap or all string fields in a struct at once."

Good reply. Yeah, I definitely see these as beneficial.
Ah come on, someone misclicked and published this one week too early, no?
https://www.amazon.com/gp/help/customer/display.html?nodeId=...
Given how they described their org, it seems like a valid scenario. Extreme examples are tools for illustrating a point.

Micro services from day one is a premature optimization. Just saying that doesn't necessarily paint a picture of why it might be.
Haskell literally has the same deployment benefits as go. They both deliver single static binaries with just a few dynamic dependencies (for haskell libc, libgmp)...

Honestly, the authors seem to have no clue what they're talking about and were looking for a good excuse to build something cool :). Which is fine!
Google has a big office in India.

https://qz.com/403654/google-is-doubling-its-headcount-in-hy...
Bookmarklets Made My Life Easier
I'm actually old enough to have witnessed the killing of a pig on a farm when I was around 10. It wasn't done "with no problems".

For one, it was horrible. The pig, which is quite big an animal, had to be caught in its den by three people. Then it was attached to a wooden ladder with rope, all the while shouting and crying, very much like a person.

And then its throat was cut open with a big knife and it was let to bleed in a big steel bucket, still crying and shouting.

I wasn't allowed to watch but managed to hide and do it anyway (and even if I hadn't been close I would have heard the noise from afar).

People were sad and hated doing it; they actually postponed the deed every day for a week because they liked the pig in question.

Today we see nothing and so it's much easier for us to completely forget about it; farm people were much more involved and cared a lot more.
Full Page NYTimes Ad Calls Out the Senate on #BroadbandPrivacy
fltk is orders of magnitude less bloated than either of those.
I used to think that of the java world. It wasn't above some critical mass / threshold of simplicity, and everybody that liked java lacked that simplicity, and every solutions they tried to add to java just added more cruft (xml, j2ee beans, IDEs)
do you have any reading material/links/software regarding petri-net simulations?
Have you considered what will happen when you're application has reached a muti-gig deployment? Where you have static resources commingled with business logic? Where you have rendering blended with DB access?

Modular systems are theoretically as good as SOA or microservices, but in practice they are not.

Failure can not be isolataed as easily, when there is a problem in the system, the entire thing crashes.

Also to your point; is that a single repo, or multi-repo source control system? In a single repo system your build and testing cycle becomes longer and longer for the entire service, regardless he size of changes, you have to deploy the entire thing. Every successful business with a monolithic deployment, regardless of repo structure, ends up in the same place (based on my experience): a large unwieldy beast, maintained by dozens or hundreds, or thousands of engineers, who each have limited knowledge of the runtime. It becomes slow, hard to deploy, hard to test, hard to make changes.

Microservices/SOA does not alleviate the need to good design, but it doesn't allow for the above to be true on a perservice basis, shortening turnaround for response to issues and deploying new features, it is better.
Yes, the tooling is weak. Now, let's convince the engineering managers to spend a bunch of time building tooling to start everything together and fix service discovery on localhost. Turns out, they'd rather build features.

I'm with you 100%. It drives me crazy, but right now you cannot run multiple services locally without a bunch of fiddling.
>An eye-opening experience is running an IDE like Visual Studio 6 or a really old version of Photoshop on a modern machine. It starts instantly, compile times are a fraction of what we're used to. The interface is totally responsive.

If you gave that to a Product Manager candidate (as part of an interview) and pretended it's your current product (assume they didn't know it already), asked them to play around with it for ten minutes and as their task come up with some thoughts regarding what they would add or improve, their eyes would pop open and they would say, "WOWWW!! THIS LOOKS LIKE IT ISN'T DOING ANYTHING -- THERE IS A LOT OF ROOM FOR IMPROVEMENT HERE."

And in just fifteen minutes, they would gleefully tell you exactly how they would break it. (By adding crap to make it slow.)

(Note: this could be run as a real experiment, but the results above are my personal prediction - maybe it wouldn't happen as I predict.)

I really do think product managers are the people to blame here. To them, fast = broken or not doing anything. It's not done (to them) until it's (to us) broken.
Odd choice to push JSON serialization onto the DB while touting horizontal scaling. Still pretty cool that this much is possible with Postgres and a minimal frontend.
> I'm not sure why both spur an immediate sense of revulsion in me

I get the same sense of revulsion, but I know exactly why. Because almost everything in that matrix can be learned within a day or two. Take any experienced programmer and pick out one of those concepts in the matrix that he/she hasn't used before. It would take very little time to grasp the concept. This isn't like teaching yourself homotopy type theory with only a calculus background.

VP trees — have you ever heard of them? Neither had I until I needed to quickly search and partition a set of 3D points with periodic boundary conditions. It took about a day to become an "expert" on these trees and implement my own library. Isn't that a much more valuable skill than pushing yet another kind of data structure and its properties onto an "interview-ready" list of useless facts?
This matrix is an interesting way to show many of the area's that are important to becoming a well balanced software developer.

That said I don't agree with many of the criteria for the levels. And in general its a bit too theoretical rather then practical.

The next thing that is important is how do these criteria map to your organizations needs?

I do notice as someone who has built tools for just about everything imaginable I lack of awareness of UX and its subtleties. Also optimization, GPU, graphics in general. He has obviously never worked as a game developer.
The "systems programming" section should be a section in and of itself. Having "code organization" a sibling of system programming is a joke. But its a start.
This matrix uses period-sensitive knowledge as milestones and is esentially focused on knowledge (how much one knows) as opposed to proficiency in the programming activities.

I found it more useful to evaluate competency based on activities instead of particular data structures / algorithms / languages: http://science.raphael.poss.name/programming-levels.html
along the same lines https://github.com/confluentinc/bottledwater-pg
Really, you'll contest that the majority of people killed and ate animals themselves

Well, yes and no. People have always eaten meat of course, but the amount of meat per person exploded after WWII. Meat used to be a treat ("kill the fatted calf") that one indulged in maybe twice a week if you were well off.

Now we eat meat or other animal products twice a day, every single day of our lives (which is bad for us btw). It's a scam perpetrated by the meat industry.
I've used nanovg and I'm not sure what the author is talking about. The text looks great and I've never seen it use a noticeable amount of CPU. Maybe he was doing UIs that were much more complicated, but the drawing is still being done by openGL, only the vector to triangle conversion is being done on the CPU as far as I know.
Sorry about the title. Thank you mods for fixing it.
Not true; depends on whether or not you use comingled inventory. It's easy to make it not comingled. That's what we do.
Beginning in 2003, and until the height of the SOA craze around 2010, the Service Component Architecture (SCA) was seen as the holy grail of service integration. It encompassed both local/in-process (or in-JVM) as well as networked services (SOAP and REST), was polyglot in that it defined API bindings for native, Java, and even PHP and Cobol, could access external services, and was still quite practical. For those needing it, it also supported authorization and transaction policies and protocols.

When commercial interest in SOA middleware products dropped sharply, further standardization of version 1.1 slowed down, and Oracle, sitting on the SCA board, voted down all specs that had been worked on without further explanation.

To this day I still haven't understood what makes microservices different from SOA in a technical sense. I can get that the term SOA was probably burnt at some point, but if there's a real lesson to be learned from SOA failures, I'd really like to know. Maybe SOA was seen as too complex because it addressed some of the harder problems such as transaction and authorization protocols/boundaries, BPM, etc. upfront?
Stop tossing out mental health as a reason. There's nothing to say he had mental illness, and you cause harm to people with mental illness when you incorrectly link violence to mental illness.
This is going to sound flippant, but I mean it very seriously. This is a much better way to spend money than spending billions to make the world hate you.
They do. One of the justifications for the H-1B and similar programs is that it benefits the US economy by having work that could have been performed overseas, done domestically, and moves the associated smart, high taxpaying people inside the country.
Not correct. They do however make you pay for a tier above their "small and light" for handling.
It's not though... its not CPU architecture independent, source code is, or can be.
The concept of systemic discrimination means the system makes taking discriminatory actions reasonable - even necessary - for people who wouldn't otherwise discriminate of their own accord.

Which is why it's often considered even more problematic than individual discrimination, but also often easily dismissed, since the actors don't consider themselves as biased, they're just doing what's "reasonable".
Minor nit: you have to be careful with the term "modern humans"; the islanders in question are also modern humans.
Drop of infant mortality (particularly, through having enough food) is what the advent of agriculture achieved, so this is like saying "people died younger, except those who didn't".
Modularity is a fast horse. The current state of external GPUs is like phone blocks, and I'm waiting for the iPhone. A gpu enclosure with power costs about $300 USD. An Nvidia 1060 6gb gpu also costs about $300 USD. From my perspective I don't understand why I wouldn't just cough up a bit more money and build an entire pc. An Ncase M1 pc case is practically just as portable as any of these gpu enclosures.