skysight-inc/HackerNews huggingface dataset:
If you need to optimize this, on modern CPUs, you'd probably want to always run all tests and have just one exit, instead of multiple possible paths. That's easier said than done, because "&&" typically does generate a branch.

In other words, doing significantly more computational work but less conditional branching can run significantly faster, because modern CPUs are built for this kind of code.

Once you achieve completely branchless collision test, you've completely eliminated branch misprediction penalties inside it.

I've sped up existing code too many times simply by removing if-statement checking if the work needs to be done... :-)

That said, I find it highly unlikely 2D collision testing optimization running on modern CPU yields any measurable performance improvement.
The fact that I can program in the highest level language and still have realistic, working tools to control machine code that is being generated or choose level or type of optimizations or lets me change all of that case by case and during lifetime of the application kind of blows my mind (FYI, I am using SBCL).
Why? FB valuation makes sense as long as the competition isn't any better.
Check out my reply to rubyn00bie.
Instagram was what, 12 employees when they got sold for a gazillion dollars? They all could fit into a van. Because they kept their system simple. It was (and still is) a monolith. Now imagine that they decided to go the microservices way. Multiply that team size by 10 at least.

Don't solve problems you don't have.
Go is actually a pretty complex language, more so than Java for example, in my opinion. It has all sorts of primitives that you need to get used to, special rules for how the built-in types work, there are all sorts of rules to see what creates a copy of a struct and what doesn't, pointers have at least three completely different use-cases (optionality, mutability, and avoiding copies), several rules for what can and can't be addressed etc. And this is all before looking at the standard library.
Care to elaborate what corresponds to the incidental/accidental complexity in CL? I tried to understand these concepts, but it feels very subjective. Whether or not something is accidental looks in the eye's the beholder.
Thanks. I'm trying to get a handle on the 'how many people need to be hospitalised' statistic because I don't think we've got any outside-of-China stats on that, and its one of the most worrying dimensions of the outbreak.
A lot of websites these days are "build to last", but that is almost always a sales argument with very weak evidence. It just sells well to the client because they think they buy something for the future. And every agency or freelancer sells the same lie.

We make websites according to the latest fad and all your work will be thrown out when the business decides to change agency, framework or rebuild everything in some marketing automation tool.
I've worked in an agency for almost 10 years and I have accepted that fact.

No matter how beautiful your code is, most web code is thrown away after a couple years anyway. It is just has to do what it is supposed to do, nobody cares about the code.

Agencies also deliver spaghetti code, what is the definition of that anyway? All code is spaghetti in some way. All real code is a mix of different styles and approaches. It will be a mix of OOP, Functional, declarative, imperative code. It is all custom build by different people with different backgrounds.

If you want to work on a more structured codebase then try applying to a company who have 1 product and 1 big codebase. You are likely to find much more structured code there because organising codebases take a lot of time and effort. For a larger codebase with more people working on it things like design patters, rules, best practices, linters and tests will become useful and teams will add then over time.

You will not easily find all of that in web development simply because there is no budget for it. There is only 1 goal in web development. Add as much business value in the least amount of hours.

You can be proud on what you delivered for the businesses you worked for. You solved their problems and you created value for them. No matter what the code looks like. As long as it was secure and it worked then it was perfect for what it was supposed to achieve. Don't be so hard on yourself.
I would recommend, by order of priority
- sleep enough and drink enough
- eat well and perform 30 minutes exercise a day
- invest in relation with your loved ones (parents, children, significant others). If you are in the phase in your life where you do not live with your family (young adult), have a few valued friends.

If you have all this, whatever happens at work will not kill you, and this is a good thing.
https://www.flickr.com/photos/150180606@N08/albums/721577133...
Ask HN: STEM toy for a 3 years old?
Hello! Can the HN community recommend me a STEM toy (or similar that would educate and entertain him) for my 3 yo boy? He's highly curious but I can't find many things to play with him :( The things that I like bore him and the things that he likes bore me (or are way too messy and dangerous to let him do them)...
This is a hard one to answer, and what works for someone might not for another.

The most useful advice for me has been to find a method, and stick with it. This is most important for organisation.

I prefer handwritten notes, and I only take notes on things I don't understand. I'm not writing a textbook - I don't need my notes to be a complete reference manual on the subject. Moreover, notest that explain how you went from 'eh?' to 'oh, yeah...' are so much more useful, and if you already understand something you don't have that moment to talk about. It's also a waste of time.

I use hardback notebooks. If I'm studying 3 things simultaneously, I have 3 notebooks running. When I finish one subject, I start the next a few pages later. I write the subjects on the spine (normally need a sticky label). The growth of my 'notebook library' has been quite satisfying!

My method of note-taking has varied a bit, I generally use the so-called 'Feynman technique'. I write the subject, leave a few blank lines, then go through the steps needed to understand the subject. I then write the 'summary' that I now understand in the blank space.

I might write a few exercises underneath, or reference a textbook, or something. Basically anything that will help me when I inevitably forget.

Often my notes are rewritten - my lecture notes are borderline unintelligable. After a while (at university) I gave up taking comprehensive notes, preferring to remain active in the class and then deliberately rewrite my notes using other sources later. This fuelled a powerful cycle - my other sources put me about half a lecture ahead, which helped me stay engaged in the lectures themselves, so I got more out of the lectures, and needed less study after. Lectures are like Shakespeare - knowing the plot enhances the experience.
I would really love to read their codebase.
Nvidia’s GPU Technology Conference will now be online only
Half of us don't acknowledge a problem.
I think Hubble doesn't have a nozzle to attach to it like they did with the Intelsat
How to make your own hand sanitizer
High Density Graphene Capacitor
So how are you, with your publically routed IP of (for example) 56.10.10.100 planning to connect to the GP, who has (for example) a public egress IP of 73.100.100.10, but is in fact using NAT, and his desktop's real IP is 192.168.1.20? I feel like you might be trying to point out that NAT devices can be configured to forward all traffic to some backend device - while true this is disingenous because they are basically always not configured like this.

I realise NAT is unpopular with networking purists, but trying to claim that it doesn't prevent inbound connections seems to be overstating your case quite severely. I'd also note that if your firewall is stateful or not is irrelevant for the point you were trying to make - oldfashioned stateless firewalls can also block inbound connections just fine.
How to use async functions with Array.forEach in JavaScript
The worst thing is idling browsing on the web. It really drains energy

Then, if you say you have free time, there is a high chance you did not look hard enough. Is there really no document you could read, noone you could talk to ? Very often, when I find myself idle, I realize there are things I could do.

If really you are idle, check how much you really need to stay at work. In some environments, you could very well take some time off, or spend less time at work, and nobody would care. 7

In some work, you need to do sometimes 14 hours working days for long period. It would be fair, and is sometimes accepted that in exchange you go back home at noon on some other days.
It will only be used in anti-US sentiments and never anti-SINO
He's telling the OP to _join a team who will support you_.
HackerOne | Senior & Staff Software Engineers | Groningen, The Netherlands | ONSITE | VISA | https://hackerone.com

Based in Groningen, HackerOne is the leader in hacker-powered security. We provide a bug-bounty platform (as well as several other auxiliary services) to help organizations find and fix critical vulnerabilities before they can be exploited.

We are located in the beautiful city of Groningen (just 2 hours away from Amsterdam). The engineering organisation is growing really fast this year and we have multiple openings:
- Senior Software Engineer
- Staff Software Engineer
- Engineering Manager

Ruby on Rails, GraphQL and React are some of the technologies we use. We are facing a lot of interesting challenges and this is an exciting opportunity to exert your influence as a senior or staff engineer in a relatively small but efficient engineering team.

We believe in integrity, transparency, trust, collaboration and community. We believe in the positive power of hackers and work tirelessly to promote the success of our community to the broader, mainstream audience. Read our company values here https://www.hackerone.com/blog/Together-We-Hit-Harder-Hacker...

Apply here: https://hackerone.com/careers, or email me at hardik [at] hackerone.com for more info!
Been eating all sorts of low quality raw meat my whole life with no problems. (usually buy organic etc)

I find all the science about it contrary to the actual personal experience.

As for the point that cooking helps digestion in another comment, again it makes absolutely no sense to me. After eating 200g of sliced raw beef my stomach feels amazing, way better for digestion.

The more I cook meat, the more bloated I feel etc

(I've also ate raw chicken every now and then for 15 years with no problems)
Artificial intelligence: Machines learning means you earning
What happens when a ccTLD is retired? Exploring the potential risks of .IO
Dr. Fauci's iceberg theory, that the cfr will decline as we identify more mild cases, is disputed by some in the WHO and some Chinese scientists, who argue the CFR is well supported from comprehensive testing of quarantined populations, which identify and account for mild and asymptomatic cases. One such study:

http://www.cidrap.umn.edu/news-perspective/2020/02/study-720...

While the specific r0 and cfr are still under debate, there's no doubt this has rapidly absorbed hospital resources in hotspots in ways other coronaviruses haven't.

I don't think panic is the right answer, but people should prepare for the possibility this impacts their lives, judging from regions with cases and the continued spread to new regions. Quarantines, social distancing, fewer public activities, and extended hospitalizations of some older family members are all realistic scenarios.
Interactive Topological Drawing
Code Blocks addong from G Suit Market (new doco -> addons -> Install -> Code Blocks)
And there a fundamental impedance mismatch between these tools and actual work rears its ugly head. Work is structured as a dependency graph - a DAG. To complete C, you need to do A and B, but a part of B depends on a part of A to be done, etc. Yet these tools insist on a list, or a very flat tree (a task and maybe a subtask, but no sub-subtasks).
/64 is just normal allocation that every home connection should get. (/48 in this notation is bigger)
Given these amounts of addresses subnetting philosophy is quite different from IPv4.
Not arguing that we should avoid clean energy, but if one person with so many resources can effect the coal industry, the least they can do is also help the people who would be affected by it through job retraining, etc.
I'm not sure how GDP growth is relevant here, especially when those higher growth rates are in countries with much lower base GDPs. GDP growth is not an eternal structural characteristic of an economy and there is no reason to believe that it will not slow down as GDP/capita converges.
Hackers filed a record number of bug reports to the Pentagon in 2019
Since PHP has become more decent with the last versions, if you are starting a new project that maybe actually not even be too terrible.
Only if you want to deliver indiscriminantly
This sounds like an interesting service, but I'm not sure I understand why is it so expensive. 8 EUR per month to send/receive texts sounds a bit much in my opinion. A more apropriate price for this would have been, I speculate, some 3 EUR.

But maybe I'm missing something essential here?
The solution is obviously to find a forger, put them on retainer, and swap out the indicators as needed so that you can keep a $15/hr warehouse job.

I have no idea how much such a service would cost (perhaps your life is much more exciting than mine), but I'd imagine skilled forgers don't come cheap, as they could easily find something more profitable to do than faking tilt indicators.
Maybe not the emperor but one of the kings said, after talking with the other kings, that self-driving will come very late if ever, and the things that will come are electric and digitization. I don't even think they have a clear idea of what digitization would actually mean.
Leverage your experience and knowledge. Dont start from scratch.

Do some node-backend projects and working your way into a decent full time position.

OR try full stack development of react + java backend.

Jhipster sets u up with a full SAAS demo-type app with java-spring-boot, SQL, and react. You need to learn about hosting, DB, config, network issues, etc.
Just getting a full app hosted and working on a free heroku server will give some starter backend experience.

If you are willing to put in the time, u can do a first backend gig by combining this with some minimal front end react work.

Where r u located?

p.s. it also sounds like you have some burn out and life issues - which may or may not be solved by better work
Setup OpenFaaS Cloud for Development
Lawmakers Push Again for Info on Google's 'Project Nightingale'
Rust Dependencies Scare
EXITED

2015
Why would you think it would be non-correlated? I'd expect its value to rise and fall quite tightly with the tech economy.
"We're already ahead, we don't need to run any faster, we'll use our energy to do pointless things like spy on everyone instead".

Don't let me stop you thinking that but I'll keep running faster, thanks.
This has nothing to do with copyright.
Is that true? I've always thought that the right was mildly more hierarchial (which i would describe as "organized") and the left a little bit more grass roots. That said i have no sources and another ancedote doesn't mean much.
Free Facebook ad data spy tool––Adlibrary Helper
Great job, really...

In the meantime, and even with the help of vue.js, front dev. remains such a mess :(

(But what you did is just pretty cool)
Or just put a glass of water in the box. If the box is wet upon arrival (or looks as if it has been wet), don't accept it.

This is better because with the tilt detection system you will not measure large vertical accelerations, which I suppose in most cases will also spoil the shipped product.
As a self-taught developer (although I don’t think self-taught has anything to do with it) I strongly relate to you!
I’m currently a full-stack and working hard to transition away from webdev.
The first (and probably hardest) thing for me was to decide what to transition towards, and that’s a question that only you can answer.
If you are self-taught I’m gonna take a guess that you once had this huge curiosity and strong motivation to learn coding! You probably skipped sleep from time to time because it was such a rush learning all those cool things! One clue to decide what to transition towards could be finding again that same motivation that made you learn by yourself in the first place.
As an example, I’m currently learning x86 architecture, assembly, C, kernel development, etc... because (after a few years exploring) I finally decided that I want to transition towards low level hardware programming.

Another idea about transitioning could be taking a break from development. Maybe there are other technical skills that you have or can learn (i.e. video editing, 3D design, penetration testing, etc...) that might spark that original flame or leaning and enjoying what you do.

One last thing is, take a look at the flow state. I remember reading the book “Deep Work” in a time that I was in a job that I hated and about to throw the towel and the ideas in the book completely changed my experience at work. It was still the same job but my attitude was drastically different and I started enjoying immensely what I was doing! (Still quit and got a better job... bad organizational culture is quite hard to fix)

Anyways, wish you the best in your search!!
A lozenge? A nose spray?
Nobody wants the labour not to occur. But some of us want the fruits of that labour to be more evenly distributed. That could be as simple as keeping a corporate structure, but taxing it more aggressively and/or raising minimum wages.
He did it because Hugo boss is suing tons of small business with a name including "BOSS" in order to hurt them financially.
> "guilty until proven innocent"

I think that's still a good approach. You want Wikipedia to be a trustworthy source, not one where everyone can add their half-knowledge without any checks.

Maybe making the discussion pages more "interactive" might help a bit. People could share their ideas, interesting sources or other inputs in a casual way and someone more skilled in writing and researching could use that to write the proper article.
this reminds me of an interview i saw on the news with an elderly british voter who was adamant that she will vote Tory as they are bound to win. it's almost like she saw her vote as a bet and she wanted to get it right.

this interview moved me significantly towards being sceptical of current democracies
How to hire software engineers, a personal experience
I think there's a good chance a text analysis would determine this page is porn devoted to anal sex. I just mean it is a bit much how often it is described, broaden your range of metaphors please.
I would like to bring everyone's attention on his top notch new signature
Very true.

Gates made his money using very shady tactics at the cost of the consumer. Now he uses that money to buy himself a favorable place in the history books by doing things that don't help but look good.
Again not to undermine the efforts by Japan, but the way they handled the Diamond Princess was not up to the mark.

Because of their mis-management a lot of people contracted the Virus.

It should be noted that all schools in Singapore are open along with all work places
Sounds like coal is competing against his other investments. Pretty smart way to dress up your self-interest as a virtue.
Just handwriting by itself will force you to rephrase the topic at hand because you will be to slow to write everything down verbatim. This will improve your memory and understanding of the matter at hand.

Andrew Ng touched on this topic in his recent interview on the Articifial Intelligence Podcast https://lexfridman.com/andrew-ng/ (starting at around 53:00)
A lot of people (even in first-world countries) have zero chance of becoming a multi-millionaire, and even struggle to make ends meet, pay their rent, etc. That is the problem, not highly compensated workers.

And it is an economic system which awards a vastly disproportionate share of resources to people like Musk and Gates that deprives others of those same resources.
I think GP means that it's a (probably registered) trademark, which is distinct from 'copyright'.
I'm just trying to work this out

Someone from Kansas rings someone in Russia. Rostelecom claim this breaks Russian law (say Rostelecom claims they discussed a gay pride event or whatever). Sprint and Rostelecom have a contract which means that Sprint have to pay $1 million because Rostelecom claim something bad has happened. Sprint cut off the PITA customer in the states as it's cheaper that way.

Why would Sprint sign that contract?
Nah. Rides covered most of it. We walked 10 to 17 miles a day and rides could cover a lot more than that in very little time.

I was evicted December 31st. Merry Christmas and Happy New Year to me.

It was a three day weekend and I slept in a tent and I wasn't initially planning on quitting my job. After three days in a tent, I felt better than I had in years and decided I wasn't going back to my job to re-expose myself to more Sick Building Syndrome stuff, so I emailed my "I quit" notice to my boss and me and my sons left town on foot.

We arrived in Port Aransas, Texas about January 15th because someone had picked us up in Florida who had a flexible schedule. She said she would drive us an hour, but she really enjoyed talking with me and said something like "I'd drive you farther if I could afford the gas" and I said I would pay for a tank of gas.

So she made a couple of phone calls to clear her schedule for the next day and drove us to Houston, Texas. The next day, some very, very sincerely Christian lady stopped to pick us up and I explained we were heading to Port Aransas and she too just dropped everything and drove us to Port Aransas.

We stayed in Port Aransas for a month. The goal was to not freeze to death or lose toes to frostbite while crossing the Rockies in the dead of winter.

We left Port Aransas February 15th and arrived in downtown San Diego about six weeks later in late March. Actual travel time was about 7.5 or 8 weeks total. Even with a month in Port Aransas, we were in San Diego in under three months.

To be fair, we did not start at the coast in Georgia. We started on the other Georgia border, up against Alabama.
Down at 6:52 ET
Please separate the issues. 2 different problems, need 2 different solutions for each.

Similar problems is with state workers in bureaucracies. In my country, citizens spend hours in queues, filling forms etc. when it could all be done online and have simpler laws.

If the purpose is for the state worker to have a job, let her stay at home and get paid, rather than causing more harm just to have a job.
All about Dog Care
The document which resulted in the formation of Autodesk
Agreed, the first bit of the article isn't about simplicity as much as it is about visibility and the ability to directly control each aspect. This is very much in line with how modern SCADA systems are designed (and indeed the ship example is one of these). Each component can run automatically based on sensors and the state of its peers, or it can be directly controlled by the operator if required.

The latter part of the article talks about simplicity but doesn't seem tightly tied to the earlier part.
> Now he uses that money to buy himself a favorable place in the history

I agree

>doing things that don't help but look good

I disagree, they seem to do a lot for vaccinations
> Spirit of God was hovering over the waters

Looks pretty clear to me?
Haha Boulet is great, I forgot about this particular comic, thanks! Exact explanation of what I mean
Interesting tech stack.

Erlang + Ruby?

https://i.imgur.com/BZWiC0p.png

I wonder how accurate this Wappalyzer [1] is?

[1] https://www.wappalyzer.com/
LOC is proportional to the number of engineers on a project. All engineers have to justify their existence, so, they will write code.