skysight-inc/HackerNews huggingface dataset:
The political discussions that make their way into HN are very US-centric and that excludes me and countless others who actively participate here. A lot of such discussions are not real enough to me - they are problems of a much more privileged world. If we were to have truly political discussions, we'll need to include all the other countries of the world, which none of us would want. There are other places where political conversations are dime a dozen, but no other place like HN for technology, and things that "gratify one's intellectual curiosity".
I really like the way this looks! There is a lot of movement when the page first loads, but the template has everything a portfolio needs (Descriptions, galleries, links off, realizable, etc)

Nice job
Facebook’s Ad Network Keeps Crashing, and Clients Are Fuming
> It's all our own fault if we ever expected expert political philosophy or scientific debate from a group of people who mostly just program websites and phone apps.

To be fair, we can expect some diversity among several millions of readers from many different countries, points of view and experience in different fields.
I have developed c++ with vim and visual studio for a couple decades. I recently made the switch to vscode from vim and i like it even better than studio. Its snappier and it integrates with my vim workflow well so i dont have to do either or.
Have you tried ShareLaTeX/Overleaf? I have had better luck maintaining header compatibility with it.

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

https://www.overleaf.com
Yes, we have had cold summer in Eastern part of Europe and heatwaves in Western Europe. Both are indirect result of climate change.

Indirect because this summer had been result of jetstream change - the same circulation that had been sucking hot air to Western Europe had been also blowing cooled air into Eastern Europe.

Actually it was fascinating to watch circulation daily...

Try https://earth.nullschool.net/#current/wind/isobaric/500hPa/o...

Unfortunately jetstream is still poorly understood and scientists debate results of changes in jetstream. There was a popular and well explained article in Financial Times.

As it is behind paywall...

> The impact of the jet stream on climate change, and whether it will shift in the future, is hotly debated by scientists. It is seen as one of the central issues that will determine how weather patterns across western Europe, in particular, will shift as the planet heats up.
> “This is a critically important part of climate science, and one of the least well understood,” says Prof Williams. “We know the climate is getting warmer, and this is settled by now, but it is the consequences of that warming — like the jet stream — that we are just starting to explore.”

> “We think the rapidly warming Arctic is making these wavy patterns happen more often, and as a result we are seeing weather patterns themselves become much more persistent,” she [ Jennifer Francis, senior scientist at Woods Hole Research Centre] adds, meaning that weather such as heat or storms can be trapped in place for longer.

> Other scientists predict the opposite could happen: climate change could cause the jet stream to get stronger and move toward the poles. Atmospheric models — the complex simulations that run on supercomputers and forecast long-term weather and climate — tend to support this view.

https://www.ft.com/content/591395fe-b761-11e9-96bd-8e884d3ea...
I was interviewing at a place for a DBA position, where the co-founder (CTO) of this company which had raised 100 million plus and about 150 people, was still updating prod on the fly. I told him straight up in the interview, that the first day am hired I would revoke his permission, he said I could not do that. The guy was too cocky, I did not get the job, they burnt through all the cash in a year, and out of business right after!
You see the writing on the wall sometimes in the few hours you spend at the place.
Interview with Alabama Teenager Who Just Won the PowerPoint World Championship
Solid work - hats off!
Gotta love Big Corp poetry with their "some", "a few", "a small number" verses.
This is exactly what the Canadian system is: https://en.wikipedia.org/wiki/Carbon_fee_and_dividend

It's almost certain to be repealed when the current government loses power in this fall's election. :(

But the larger point is that when you pay back all the revenues as dividends, then you only get the reduction incentives. Where does the extra cash come from to actually pay for sequestration?
The role the article describes is usually called a VP of Engineering. The distinction between them is that VP Eng is an operational role - you're responsible for managing a team of developers; instituting the appropriate process to keep productivity high and bug count low; dealing with technical debt; identifying portions of the codebase that won't scale and replacing them with solutions that will; and all of the nitty-gritty organizational tasks needed to ensure that the engineering organization doesn't grind to a halt.

The CTO role is a visionary one. You're responsible for looking outside the organization at new technological developments and deciding how they may impact the organization's strategy; identifying new technical areas that warrant some exploratory investment; prototyping new systems, sometimes with the help of a small team of engineers who enjoy that stuff; and advocating for innovation within the organization.

Think of the role of Larry & Sergey (technically Presidents of Product/Technology, respectively) vs. Urs Hoelzle (VP Eng) at early Google. Larry & Sergey were responsible for making sure that things like GMail, Google Maps, 20% time, Chrome, etc. got funded and Keyhole, Android, Blogger, Writely, etc. got bought. Urs instituted the engineering culture, made sure the right engineers got into the right roles and were able to be productive, technical debt got paid down (slowly), new systems were written as necessary to scale, etc.

The CTO role, properly defined, is the perfect place to kick a technical founder upstairs and yet still retain their expertise in innovation. The problem is that many CEOs conflate the two roles, assign VP responsibilities to a CTO with a personality type more suited for the CTO role, never hire a real VP, and then wonder why the organization devolves into chaos. If you're doing it right the bulk of the engineering organization should report up through the VP of Engineering and the CTO should have only a small number of special-projects reports.
Are you sick of seeing content you don't want to?
genuine question: does that imply that no recent month set a hottest record, or we'd have seen that in the news?
React (and other SPAs) may be fashionable, but I generally contend that--when written well or even passably, which obviously requires an asterisk lest the Scotsmen come by but I don't think is a very high bar--if nothing else it requires developers to treat a web application as a client of an API rather than tightly integrating it. It enforces a level of separation of concerns that, IME, tends to encourage loose coupling and better design.

Forget everything about responsiveness or whatever (which I find way more valuable than the tradeoffs one makes)--the lack of tight coupling is the real win of React and similar. I mean, if you'd like you can pretty easily build a server-side React app with NextJS and still get a lot of these benefits while using React purely as a pretty-dang-good templating language.
Who Has the Best Image Recognition Engine?
Having a hospital is one thing, staffing it and getting it equipped quite another.
Mission-Driven Careers with Amanda Silver -Careers Behind the Code
I'm actually glad I read that.

I recommend HtDP and Racket semi-regularly because 1) the incidental complexity of getting started with DrRacket is so low and 2) I don't have a better recommendation for a book that covers the same fundamentals.

Do you have suggestions to recommend instead?
Common make fail #0

Not starting by reading the manual, and then writing an idiomatic make file.

Once you understand how to use auto generated .d files, you’ll never have a multimillion line make file.

Once you understand the built in lex and yacc rules, you can generalize them to whatever code generator you are using.

The remaining thing (not spelled out in the manual) is to avoid recursive sub make, and to use the include directive instead. “Recursive submake considered harmful” is a helpful paper, but it should have had the subtitle “a practical alternative”, because people cite the title without reading the whole paper.
The Founding CEO’s Dilemma: Stay or Go?
Kuberentes open sourced their security audit. What can we learn?
Yes, but do both of them. Eat less meat, minimize flying, get the electric car, get the panels. Just know it's not enough and push for coordinated response.
This is such an exclusively American problem.
The only thing JavaScript was ever even barely good for was that which it was designed to do, be the programmable interface for a browser. Why anyone would want to do anything else with it simply boggles my mind.

It's like if someone took the BASIC my calculator offered back in the day and turned it into a general purpose programming language.
*..."In Wildfire-Prone California"

The study says it could apply to other semi-arid environments as well. Interesting study but the qualifier is definitely necessary.
The point was that there aren't going to be any 'sales' on this for at least a few months...
Here you go: https://fsharp.org/use/linux/

Or if you just want to learn it, you can run it in your browser here: https://try.fsharp.org/
It seemed Uber's long term strategy was to rely on self-driving cars to reduce their margins. Now that we know that's a long way off I'm really not sure what they do.

Maybe split their focus in two: one on luxury (Uber Black already exists, after all) and on shared rides at the other end. I think Via has an interesting model here, using minivans to transport many more riders at once. Of course, the more passengers the longer your ride, but with enough demand and intelligent routing it could be worthwhile.
SAP is a steaming pile of garbage and needs to die. Any company that has SAP and isn't in the midst of getting off of it needs to fire their CTO.
Not only that but the Ryzen 3 3300U and friends are Zen+ and not Zen 2. It won't be until next year when the IT department even can buy a Zen 2 U laptop.

The signs are there, Lenovo has called them T480 and A480 last year, T490 and T495 this year, indicating these are very close.
that would be https://pypy.org/ I guess
"I'm kicking myself so hard for getting rid of my cards. I played from 93-97 and looking at current prices, the stuff I had in high school would be worth $30k+ now. I walked into a local shop and a guy came in who'd be playing forever, brought in all of his cards to sell because he's about to have his first child...and the cards are worth enough to significantly help. It's a cool aspect to the game that's taken for granted."

Back when Magic first came out, or at least the first time I looked at it, I said, "But this is a pay-to-win game." Now that it seems to have shown up on the radar again, I have a question: Is it possible to be at least reasonably competitive with whatever is the "basic" set? If not, how much would it cost to buy the necessary booster packs or individual cards?
Why do you think this is? I fully invite speculation. It's... interesting. If paying tech professionals more is the way to win, then it's surprising the market doesn't eventually move in this direction.

I can think of a few possibilities. One is that tech in the UK is dissimilar to Silicon Valley. Perhaps tech in UK industry is much more of a supporting role, valuable and important to do well, but not a differentiator that separates market winners from losers (unlike Silicon Valley, where you have existential wars going on between massive multi billion dollar corporations where hiring engineers can determine the winner who takes all). I'm kind of begging the question here, though (it isn't cause it isn't).

Another possibility is flat out collusion. This clearly happened in Silicon Valley, with the no poach wage collusion. Once that cartel broke up (partly due to external pressures from participants who refused to join the cartel, and partly from a large anti-trust action), tech salaries did skyrocket.

Pure, flat out cultural resistance can also play a big role (going back to my first point). Maybe class-based behavior patterns are just too ingrained. I think market oriented people often underestimate just how stubborn deeply ingrained structural behavior patterns can be. There's something to the claim that there are people who would rather rule in hell than serve in heaven, so to speak, and I suppose there could be a class of people who would rather ensure that the UK never develop a competitive tech industry than drop a rung in the job hierarchy (or even just share a spot on the perch). In this sense, tech in there UK can develop only as far as possible within the boundaries of certain tech workers never being paid more a designated set of other classes of workers.
Let's use natural disasters. While reacting to natural disasters response teams must be able to communicate with each other, however communication is typically spotty during natural disasters. Your knowledge of software engineering will allow you to think of a solution to this problem and implement it.

Here's the process I follow, it's simple, but it takes time.

Get involved in an activity -> Become proficient in the activity -> Notice the places software would be beneficial -> Implement -> Product.
Debug 4 MVC net core
It’s not just Google and Twitter, Azure is in as well: https://azure.microsoft.com/en-us/blog/announcing-new-amd-ep...
I think it is worth considering whether you may have the arrow of causality backwards. For tech specifically; your second paragraph is right on point. The folks I know who've got a fundamental grounding in the stuff you listed (and I count myself among them) all seemed to have an understanding of What Makes Systems Good before doing so. In many ways it becomes the naming of parts along with elaboration upon fairly basic ideas.

I do not believe in the idea of a bimodal distribution of software development (not just programming) aptitude, but I sometimes wonder.

(Regardless, I don't call myself an engineer. Engineers get sued if their stuff doesn't work. I'm a software developer, no matter how good and careful I might be.)
You're right - there are far more people that don't care at all than the number of those of us that do. Which is why we have to fight.
I thought Google is developing Fuschia because.

A) Linus won't stablize kernel ABI

B) Device manufacturers won't release driver code to allow recompilation of an updated kernel.

So this means an upgraded kernel needs upgraded drivers from manufacturers that match the kernel version, but manufacturers don't want to do this.

Not sure where I heard it but I thought that was one of things about Fuschia is the device ABI is a separate, stable layer.
I don't have exact performance numbers handy and haven't measured it personally but... from what I understand:

* With heavy avx instructions churning, AVX should still be a net positive performance-wise even when clocking down.

* It's when you're running AVX mixed with non-vector code that you can see the performance effects of clocking down, since you can drop way down from Turbo on non-vector instructions. Here are the different ranges [1]

[1] - Pages 14-21 https://www.intel.com/content/dam/www/public/us/en/documents...
> when you embrace a brand of anti-intellectualism which believes that all data is fake/flawed and reality is subjective.

That's not wrong though. Reality is a social construct.
C++. I know it, I use it, I don't usually like it. A lot of the language just feels like a hack. I usually much prefer to write performance critical code in C but sometimes the utility of C++ or of certain C++ libraries outweighs that desire.

Also while I don't really see C++ going anywhere anytime soon, I don't really see it expanding too much either.

Both of these facts make me a lot less interested in really diving into advanced features or low level details of the language.
Users of peanut butter shouldn't have to think about whether it contains glass and razors.
You seem to misunderstand the situation. This is the - very realistic - "collapse of civilization as we understand it" outcome by 2050. Collapse of global ecosystems and modern life as we know it.
This is a great resource. Thank you for taking the time to write this and making it available to us!
What did they use before?
Clojure's reduced churn is a consequence of sitting at a local maxima in programming language design. If it were not a local maxima, there would be churn as we search for it.

UI has no such minority consensus for local maxima and is very much not solved, which is why React-Preact-Vue-Angular is churning while the humanity hivemind iterates towards a solution.

Here is the relevant Rich Hickey quote: http://www.dustingetz.com/:rich-hickey-web-frameworks/
I would like to point out that, despite this arguably catastrophic situation, it's not much of an issue in practice.

Stealing credentials through third party code is a relatively expensive attack. It has to be engineered for a specific site and then it needs to pass the auditing of the vector (i.e. the ad network, or the developers).

Once the attacker has achieved that, what do they get? The credentials for most sites are worthless. Of course some users might use the same password on multiple sites, but they had it coming.

Those sites that do have valuable credentials also have heightened security measures. If your bank is serving you ads on the login screen, perhaps you should use another bank.
They pay a cost for it in sense of having to clock lower if they run a lot of AVX code, but they advertise their AVX2 clock as their base clock, and more importantly, they can change clock at a much finer granularity and only have to change after a latency period.

The problem with the AVX2/AVX512 clocks with Intel is not the fact that they must clock lower to use them (for pure AVX code, running wider but at the lower clock speed is still worth it!), it's that they need to clock lower pre-emptively for any such instructions, and must remain at this lower clock for a while. This means that code that executes a few AVX instructions every now and then mixed in with a lot of integer code needs to run the whole program at a lower clocks.

In contrast, AMD runs their chip power supply from a huge mimcap built in the chip, meaning that they have margin so they can start executing exceptionally power-hungry instructions, and only clock down reactively if it's actually needed. And also do the clocking down and up with a much finer granularity, clocking up immediately after the need to clock down passes.
You might like:

https://github.com/mtrencseni/rxe

So you can write:

username = rxe.one_or_more(rxe.set([rxe.alphanumeric(), '.', '%', '+', '-']))
domain = rxe.one_or_more(rxe.set([rxe.alphanumeric(), '.', '-']))
tld = rxe.at_least_at_most(2, 6, rxe.set([rxe.range('a', 'z'), rxe.range('A', 'Z')]))
email = (rxe
.exactly(username)
.literal('@')
.exactly(domain)
.literal('.')
.exactly(tld)
)
The problem with that is that you're pushing the resource management problem onto the administrator (who now has to statically partition their system's resources) and the database (which has to reimplement a lot of the resource management that the OS would do, like I/O management and I/O caching).

There are many reasons why this is not a good trade-off for the vast majority of use cases. Unless you are running something like a traditional Oracle deployment where you're just giving over the entire host to the database anyway and the database is enough of a cash cow that they can afford to re-implement much of the functionality of an operating system.

It generally makes a lot more sense to let the OS manage the buffer pool using the available free memory on the system (this is what Postgres does, for example).

It also makes more sense for the vast majority of deployments to allow process memory consumption to be dynamic and deploy the appropriate limits and monitoring to keep things healthy - e.g. by terminating malfunctioning processes and reconfiguring and migrating applications as needed.

This doesn't meet some traditional ideals about how programs should be written, but actually seems to result in better systems in practice.
Isn't this what gpl advocates want? Or did they expect every tech company to open source their entire stack?
Show HN: Open-Source Hacker News Reader Built Using ClojureScript and Re-Frame
Try kayaking. I've been doing it for 15 years, you get all the joy of being on the water, and can go more remote places than the bigger boats can.
It's not nitpicking. If the word "analyze" was chosen because the word "eavesdrop" would result in users leaving the platform, and eavesdropping is what they're actually doing, then they're obscuring their actions with a euphemism.
The elephant in the room: How many binary blobs are in use for the system firmware?

Still interesting work though
I think this is extremely fair. It's really hard to understand why anyone might want metaprogramming until you've tried programming without it (on something larger than the average intro-to-CS assignment). Having more libraries and resources is extremely useful from teaching to working in the real world.

Most of the points in the article are valid, and I especially agree that Racket or another Scheme should be taught at some point later on. Maybe even implementing a Scheme as a final course project or something like that (although that might not make sense outside a compilers class...)
>That's probably not completely incorrect

Far from it:

From https://revenuesandprofits.com/how-google-makes-money/ :

>68.3% of the total, from the advertising over the Google websites

>21.2% of the total, from advertising over the Google Network Member’ websites

I couldn't find a more up-to-date source, but judging from these numbers website creators are responsible for only around a fifth of google's revenue.
I would argue putting ads that pops up next to your emails is evil
It's actually a lot simpler, stealing gold works.

It's old fashioned but they extracted $45 trillion from India alone, think about how much was taken from Africa and China....also at it's peak opium deals in China accounted for 35% of the UK's GDP (expect similar numbers in the US)...

Explanations of western growth that exclude economic history seem suspicious to me, a lot of the true story & criminality is hidden in the numbers.

Of the few ways to avoid the Malthusian trap, the West did it by robbing people at gun point.
>AMD is using a kind of modular processor architecture which, as I understand it, makes the chips easier / less expensive to fab than an Intel design of comparable size

You pretty much got it. It all basically comes down to the yield you get on waffer. The larger the die, the less you can fit on a waffer, the more chance there is a defect in the die. Using a few smaller dies is a smart way to get high yields out of your waffers.
Futures are difficult to use, because if you allocate or you call any of the "forbidden" primitives the thread will block and resume automatically when it is safe to do the operation. They are good for numerical work, but you have to pay a lot of attention writing code with futures.

It's more easy to use places, you can run whatever you want in places, but the communication between places is restricted and they have a big startup time (something like a quarter of a second) so if you create one, ensure that you are going to use it for a long time.
Winston Churchill (a lieutenant at the time) participated in the last calvary charge by the British Army at Battle of Omdurman.

https://collection.nam.ac.uk/detail.php?acc=1957-04-4-1

It's amazing to realize that Churchill's army commission was granted by Queen Victoria and the last government he was in was under Queen Elizabeth II.