skysight-inc/HackerNews huggingface dataset:
Here in Sweden, government policies have enabled the larger cities to be optical fiber-wired with common infrastructure so multiple companies don't have to roll out their own, not only that, the larger program is to enable a completely connected Sweden [0].

Government policies are enabling better efficiency of optical fiber infrastructure usage, without requiring multiple vendors to do the most expensive and least rewarding part of servicing internet: digging trenches for wires.

[0] https://www.government.se/496173/contentassets/afe9f1cfeaac4...
ML can't learn to understand the business needs of a company, that's something that even external human developers are always struggling with, and it can affect usefulness of application much more than occasional bugs. On the other hand non-developer employees might not be able to produce optimized code and they'll make rookie mistakes, but they know how their company works, they understand the business needs and processes.

IMHO the win-win approach would be to have apps designed by employees with drag&dropping UI and wizards for setting the logic rules, and then to let ML analyze it and generate the high quality code based on that.
oh I haven't noticed it had a router, thanks
I disagree with the author that it will be "no code." But I would also not dismiss how much more productive the cloud and better devtools has made developers. And as much as people, especially on HN, like to pick on bootcamp graduates, it's undeniable that you can get someone with no to little experience building complicated software in a matter of month.

What I think will happen to software engineering is that the middle will shrink. We'll see many more frontend and product engineers, and slightly more infra and systems programmer. I think the fullstack, middleware rails/django type engineering will all but disappear (most will move towards product).
It strongly depends on your definition of necessary, and your linking of tourism to the reduction of ignorance.

No individual died from lack of tourism. One neither eats nor breathes tourism.

Yes, it was a large part of the world economy, so it is, or was, necessary to the status quo, and the status quo maintains many a lifestyle rich and poor, so it's specifically necessary to maintain the direction of the world as it was in late 2019.

But necessary like food, water, shelter, and healthcare? No, tourism is not necessary. Tourism is inaccessible to a percentage of the world populace, therefore it's not necessary.

Will governments define "necessary" after this? What mesh of dependence upon keeping their citizens alive will be determined? Will it even be considered in the rush to re-open?
2013ish
I disagree with the other commenters: code and computers are a great analogy for biology. The first poor sod we'd call an "engineer" started writing the code of life four-ish billion years ago and a trillion trillion trillion engineers followed, giving new meaning to "reverting to the mean." Lacking any kind of version control or even a method of communication with adequate error correction, they kept copying the software over and over again, each one modifying a few bits at random, until their were trillions of tiny variations all competing for attention. The only commonality between all the engineers was nucleotides and amino acids - hardly a universal language capable of supporting comments - and a few billions years later, these nerds discovered sex and a new level of technical debt was born.

Here we are, a few mass extinction events and genetic bottlenecks later, trying to decrypt code with no history because it has a half life of a few hundred years.

Oh and the worst part? The computer architecture can only be programmed using a bootstrapped compiler - and we've lost billions of years of releases. That's why every program basically looks like a chicken before linking.
They were featured here 6 years ago: https://news.ycombinator.com/item?id=8568181
I definitely recommend you to finish the Scheme-based SICP. Plenty of stuff in the original SICP like metalinguistic abstraction is just awkward or impossible in Python.
The answer to "what do you want to do?" - Long-term I want to start a company. Financial constraints and the current situation are not well suited to make decisions in that direction. Short term I want to continue to grow in management roles and acquire the skills needed to get closer to my long term plan. The approach you mentioned definitely helps. Thank you so much
Sony Xperia 1 II Gets Release Date
Anybody else here remembers times when Google search supported blocking domains in personal setting? Along with so many advanced search operators? Oh, days of yore…

Anyway, you can still use prevailing `site:` operator with "minus" negation (e.g.[1]) , so you can have bookmarked search with your custom blocklist in query [2]

[1] no SO and no w3schools example, non-personalized ("verabatim"): https://www.google.com/search?q=how+to+merge+arrays+javascri...
[2] place `%s` into query and set bookmark keyword (Firefox) or chrome://settings/searchEngines - Add: https://www.google.com/search?q=%s+-site:stackoverflow.com+-...
> Netflix won’t share that data with anyone

They'll share their data with the NSA when they come knocking, just like all the other large corporations. In fact, they probably already _are_ sharing it.
Haskell's nice. Got some mature web stacks if you ever want to give those a try. https://github.com/Gabriel439/post-rfc/blob/master/sotu.md#s...
When someone posts about the inevitable commodification of software development, the response on HN is usually one of denial. I'm wondering if some of these responses are starting to sound a little angry too - maybe we're going through the five stages of grief as a community!

Lowering the bar to software development and opening up the employment market to a global one is going to have an undeniable impact. It certainly won't take away from the fact that problem solvers are needed to create solutions and it also doesn't mean that there won't be a place for the highly skilled people with specialist technical skills. But it will change the landscape significantly.

Software engineers will loose a lot of the influence and power they have enjoyed over the last decade. In my view, this is an important and necessary step. The ability to build software that solves meaningful problems shouldn't be concentrated in the hands of a few people (even a few hundred thousand) who have a narrow view of the kinds of problems software should be put to work to solving.

The article expresses concern that this displaced power could end up in the hands of big tech. I'm more of an optimist and believe that we could go in the other direction all together. The ability to create problem solving software can and will be democratized to a much broader degree than ever before and will lead to more meaningful problems being solved across the world. As a software engineer myself, that's the future I want to help build towards.
I wonder if they worry about other areas of China asking for or demanding the same freedoms and democracy as Hong Kong. "Because it used to be a British colony" doesn't feel like a good justification for massive variations in internal political systems for the people on the wrong side of the border.
> Slack the company really needs to embrace distributed work practices if they want to actually build a tool for distributed work practices.

> Slack has totally become a drag on productivity and a net negative. Channel and message overload is arguably not much better than the email system it is meant to replace.

> My prediction is that Slack will be replaced quite quickly by the first tool that really nails remote messaging and coordination. Slack is not it.

"Slack the company really needs to embrace distributed work practices if they want to actually build a tool for distributed work practices."

The question is, do they? In the companies I have been working in, slack has been a communication tool like email or sms. Doesnt really have stance on whether the work should be remote or not.
What does the Computer Vision see? Analyse a local image with JavaScript
AWS Series: SNS, SQS or Both?
I'm surprised you didn't pile on by making a printf which switches to the main stack, does the actual printf, and switches back.
I can see how the author thinks this is quirky but actually it’s just a mental obstacle that tripped me up while reading.
Funny enough, I'm currently living in downtown Nice and I would prefer to leave it.

The local population is (very) old, everything is overpriced, culturally its a place where you have to keep spending to do anything.

The beach is (not this year) always overcrowded with tourists and skiing is so many hours of painful driving away.

I don't feel its charm anymore.
Hong Kong resident here as well, I am in no way CY Leung nor Carrie Lam fan. I am pro peaceful demonstration and believe police brutality is real and support independent inquiry.

But this is not exactly his quote when you read further than the first paragraph:

"Asked if slogans like “end one-party rule” – which is often chanted at the June 4 vigil – would be allowed in future, Leung demurred, saying there’s no need to get into the nitty gritty of legal definitions at this point, as this could ‘affect public feelings’ about the coming legislation."

"He also said whether the vigil itself could fall foul of the law could depend on what participants do even after the gathering is over – saying that anything that involves activities that are ‘separatist in nature’ may well be banned even in other countries."

He evaded the question when asked about the "end one-party rule" slogans, and repeat the line "separatist" will be banned when ask about the vigil.

Do I believe "end one-party rule" slogan will cause problem? I think so, and I do not support arresting people for just yelling the "end one-party rule" slogan. But I would like to see the detail of the law before I draw any conclusion.
Resources for Beginner Data Analysts
We could draw parallels to warfare, the one industry that historically warps everything around itself. First we fought with spears, swords and shields, then with primitive musket guns. Suddenly tanks and planes and helicopters join the frey. Then carriers, submarines, missiles and targeting systems. Radars. Space satellites. I'd be surprised if there aren't secret projects that simulate the same potential conflict a million times to decide chance of success given new parameters.

And every time the new advancement in technology blows the previous ones out of the water, but it is open to its own exploitable faults. Tanks beat infantry in open field, but they're less suited for urban warfare if you don't want to leave the city in ruin.
I think there's a fourth problem that's even more dire: what do you do about blocking?

A blocking call stalls the whole system. It doesn't in a non-cooperative threading environment. Various languages have "solved" this by not allowing you to use blocking calls and sometimes add syntactic sugar like async/await, but this sucks. The point of having threads is to use them like threads. At least Go gets this right.
Regarding DDG, I have noticed that recently it has started to suggest a ton of porn, even for totally unrelated searches.

As an experiment I just typed in the first thing that came to my mind: "thorn in cat's paw". One of the results is "Cat porn videos", on the very first page! And this is far from the worst case I've encountered...
He or she must be saying something right, if all of these tech megacorps are starting to embrace remote work, potentially sparking a sea change that will sweep Silicon Valley.
Top AI-Based Startups in India
You can use xvfb And use your Xauth in the container (assuming your host is Linux)
The claim is probably that idiomatic code in one case is faster than idiomatic code in the other, not that you can't write C++ code that isn't equally fast.

For example, if you use `std::vector` or `std::unique_ptr` you would be deallocating memory when those go out of scope. The JVM might actually never do that, e.g., if the program terminates before sufficient memory pressure arises.

Writing Rust code that leaks a `std::vector` is trivial, but doing the same in C++ actually requires some skill.
The lead singer of Matchbox Twenty?
Tired of expensive aged care costs?
In HCOL locations, after 10-15 years of high pay work, you end up with a massive equity in your property (assuming you weren't renting), often enough to just retire in 99% of the places in the world. You don't get that in Oklahoma.
No, they were almost certainly talking about some part of their build process limited it to a few processes (like maybe a 'make -k 6' limitation), or something that could be easily parallelized.
Easy! If you live in The Bay Area it probably applies!

Many companies have a hiring restriction that requires candidates to live near their offices so that they can physically appear for work. This of course constrains the labor pool which artificially inflates salaries. This is of course exacerbated by the fact that in The Bay Area housing itself is also constrained, which multiplies the cost increase on local talent.
Building of Super Pi
I feel like I've been worrying about this for now than a decade and it still isn't true, and it's not going to be true in a decade.
Let's Play the Dark Eye: Memoria (Point and Click)
I suppose that would make sense if the government was solving a coordination problem?

E.g., no manufacturer will install Oliver's Optimizer, which promises a lifetime 10% savings in energy use, because it would force them to shut down operations for a month while the optimizer is installed, and put them at a disadvantage compared to other manufacturers.

By requiring the Optimizer (or equivalent) as a licensing requirement for factory operation, all manufacturers share the same burden, and thus suffer no relative disadvantage.

Is that the general idea? I'd be worried about regulatory capture in this case -- e.g., Oliver lobbying to force the market to install his Optimizer -- but that's an entirely different discussion. :)
I believe you can write a program to do so: http://man7.org/linux/man-pages/man2/sched_setaffinity.2.htm...

Just manually figure out all(or the chosen ones) thread ids spawned by the chrome process.
It's a bit difficult to get guard pages working together with 2MB pages, though.

And in todays age of swap-less systems, you typically don't want to pollute the TLB with loads of 4k pages.
I agree that it may not be suited for every situation, and I really, really wish there were more long-term studies, but at least the ones there are (that I'm aware of) do not suggest horrible results. Given that it produces great results for many people, I feel like we're missing a massive opportunity by focusing on "if you're not really ill, you don't need medication".
America still has lots of tech companies per capita compared to anyone else. It should do fine.
>there actually is a FT where a square wave is the basis function, but I can't seem to find it

Haar transform? Technically that's a wavelet transform, but that's a distinction without tremendous difference.
What are the advantages of using JSON instead of Blob in the DB and convert the blob in JSON in code?
I'm not sure if that answers your question, but building wider, faster roads doesn't reduce traffic. People just drive more.
Unfortunately, as often is with these things, the truth might be less exciting that the legend: http://www.todayifoundout.com/index.php/2016/10/pelorus-jack... :(

However, if you'd like to savor the magic, the truth and the legend can be one and the same: who knows what really happened in 1909, after all :)
That's a good example -- and another "coordination problem" at that, which is one of the types of problems where appropriate government action may be the most efficient solution.
I think it's strange you are saying this idea of remote work is a "single formula". If anything, refusing to do things differently is more like a "single formula" in my mind.

Maybe you think differently about this, but I can't fathom a real-world scenario where tapping into all qualified candidates in the entire world vs tapping into all qualified candidates within a 20-30 mile radius from my HQ could be even close in comparison.

Obviously we won't decide who is "right" here in a forum. But I will be interested to follow what happens to the companies who weren't prepared for this and companies who already were.

I anticipate some major reshuffling will be happening in the coming years. The companies who built their entire culture around on-site teams vs companies who built infrastructure and culture around acceptance of work from home. Companies with large balance sheets will be able to hide it for some time, but their unpreparedness will begin to show within 1-3 years I think.

This is all given the premise that things don't 100% go back to "normal".
Java mybatis safe SQL with Intellij MybatisCodeHelperPro plugin
Content is not enough. You need inbound links. Getting links was much easier before when people ran their own blogs - they would link to content they thought was good.
Camel Straights...
Two Humps!
The Architectural Implications of Facebook’s DNN Personalized Recommendation
Quite.

An example, is buying a house.. and rent pricing reflects purchase price.

If you buy and pay off a house, you have "spent" that salary in both locations. However, when you retire, you have property worth a LOT more in SV.

So while the "take home" pay, after expenses is the same with 150/400, the equity is massively different.
You will have lots of departments or entire universities dedicated to giving foreigners degrees for cash.
Just to clarify, you are not a drug lord, right?
I'd like for this to be the truth, but I fear with the power a company like Facebook has that they may start the trend and other companies will follow them soon.
It’s a good first step. The effect should be to make property tax for commercial/industrial property much fairer between entities who bought the properties decades ago vs. those who bought recently.

This can (a) raise a whole lot of revenue, relieving local/state budgets so they can hopefully stop needing as many stupid short-term workarounds which have proliferated the past few decades, and (b) allow future commercial property taxes for newly purchased commercial properties to be lower than they otherwise would be, encouraging more turnover, especially for underused properties.

The obvious follow-up would be to also change the law for residential properties owned by large-scale landowners (say, companies which own large apartment complexes or dozens of homes).
Show HN: Static blog gen on the pile of thousands
If I were to hazard a guess, it's people reading through HN, seeing "AWS Partitions", assuming it's a new AWS service announcement, and either voting for it without reading it or favorit-ing it for later. I only opened this assuming it was a new service being announced, since that headline is generally the format those are posted in.
https://www.axios.com/feeds/feed.rss
https://aeon.co/philosophy
http://www.jwz.org/blog/feed/
http://longreads.com/rss
https://a16z.com/feed/
https://balkaninsight.com/feed/
https://www.aljazeera.com/xml/rss/all.xml
https://www.straitstimes.com/news/asia/rss.xml
https://feeds.feedburner.com/TheParisReviewBlog
New IP and emerging communications technologies
>I have subscriptions to Netflix, Disney+, Amazon Prime, Criterion, Apple TV+ and PBS

WOW. I had netflix once for a few days, I paid for netflix just to watch House MD, a week into netflix, they removed House MD from my region, I cancelled subscription and moved to PT. Never came back to netflix, I just no longer trust them, too much effort and too much legal complications. I can imagine paying for one portal, but more than two? That's more expensive and less user friendly then cable TV.
Google is working on end-to-end encryption for RCS texts in Messages
Why not use Noto where there isn’t coverage for Verdana? Not only that, we see Noto everywhere and it becomes a cliche instead of a brand identity, and they are making this sacrifice to have a few extra scripts.
Before diving into something complex as e.g. FreeRTOS, can anyone recommend production ready code preferably in C that shows off preemptive task scheduling using an external timer including features like priorities and task delays?

The post is a good explanation regarding stack handling.
> The most salient part of this essay was the last section. Remote-first is forming in a way to break tech labor power. Employees will be less able to bond, and their personal conversations will be easier to spy upon.

Slightly tangential to this thread, but isn't this also tacit admission that employees will be collectively less creative when working remotely.
It seems like you start from solutions and hope that the problem will fit. Lambda seems to be your hammer and you write as if everything is a nail.

So lambda seems to be the solution and my “hammer” even though I mentioned both EC2 and ECS? Is there another method of running custom software on AWS that I’m not aware of besides those three - Docker (ECS/EKS), Lambda, and EC2?
I work in a fairly demanding work environment and have a big family and always thought this. But I found out I could do without caffeine. I replaced it with lifting weights four times a week and cardio 3 times a week. I sleep better, no longer drink alcohol.

It is nice to drink coffee of course. But I think it comes at a hidden cost. I feel much less stressed out now and I am more efficient at work too.

So perhaps you can try it out for just a month? Drinking no coffee and see how you feel?

I also went down the path for harder drugs, modafinil even speed for a while. But in the end it is not worth it.
It is not ironic, it is 100% intentional. The city does not want to buy into the "build more lanes" ponzi scheme because it cannibalizes the livability of the city, and communities near large highways shrivel up and die.

The city has a growth boundary and there are a ton of national parks and awesome nature. There is nowhere to expand to, so we have to use the land we have available to us.
I've been to DisneyWorld but I don't think that gives me much insight into the lives of ordinary Americans?

I've also lived in Spain and am constantly surprised how ignorant most people are about the country despite having been to far more 'tourist' hot-spots than I have?
I think the real change is the rising threshold between commodity software and specialised solutions. When I started my career more than a decade ago, I built handmade static websites and online shops for small and medium shops. Today these are commodity software, easily served by Squarespace/Wix/Shopify etc.

At the same time, when I started, Basecamp was amongst the top SaaS solutions on the planet. Today, its simple form based approach wouldn't cut mustard with consumers accustomed to instant feedback, realtime collaboration and behind the scenes saving.

This is especially apparent in the games industry. Early games like Doom or Wolfenstein were often developed by less than five people. Today's open world titles like AC Odyssey or Cyberpunk 2077 require 100 times as many people.
I understand the nuance of his answer, but in my view the acknowledgement that something like that could even be possible is a tacit admission that this is not intended as an emergency fallback to be used only when absolutely necessary.

The smart response to that question (not that he had the best political instinct to begin with, but...) would've been the same kind of non-answer Carrie Lam gives: we cherish Hong Kong's freedom of speech, et cetera.

But he didn't say that, and even he has to know that answering the way he did will ring alarm bells. Talking up the need for legislation to address homemade bombs and property destruction is one thing; curtailing political speech in the name of security is quite another.
This isn’t about some guy getting a new car, right. At least it’s about tech related to a person important in tech.
In Malaysia links in the wiki.