skysight-inc/HackerNews huggingface dataset:
If you have two accesses on different threads, at least one of which is a write, then you need a synchronization chain between them. Note that this is true even if the read occurs before the write. The most common synchronization chain is the first thread doing some kind of "release" action (releasing a mutex, or storing to an atomic variable using a release (or stronger) ordering type), followed by the second thread doing some kind of "acquire" action on the thing that was "release"d.

When you are missing the synchronization chain, the issue you can run into is that the value of other memory locations is undefined. The sequence of accesses to any given location does comprise a total order (due to cache coherence), but it is not generally the case that the ordering of accesses to different locations will be agreed on by different threads.
Exploits for Citrix ADC and Gateway flaw abound, attacks are ongoing
This was something I was curious about a few weeks ago, how many commercial jets are created each year, and it is in the low thousands. Its harder to get a good number on the smaller aircraft market, but I was astounded by how little production there actually was of large commercial jets.
Try ECS on AWS. Rock solid and reasonably simple and does everything you need.
Can second this. For most cases it's very low touch. When things break it has always been because I deployed bad code or configs. My weekends have freed up.
This is like a level 1 joke, there is an easy established pattern to it, kind of slap stick
I think there could be 'views' of data flow instead of a static data flow. I.e. You could somehow query the data flow for a specific output to see which behaviors had effect on it.
This is exactly my rule of thumb for this as well, and it's funny that that's exactly the feature that tells me to start using Python. Yes, there are arrays in Bash, but every time I start to look up how to write them (again), I think, "Ennnhhhhh...maybe not" and rewrite the darn thing in Python.
Avoiding Burnout as an Ambitious Developer
Thank you for the feedback, I restored the online example here: http://g14n.info/flow-view/examples/basic/

I am also working on an engine that is able to run javascript code: https://github.com/fibo/dflow

Currently I am working on a rewrite and I will use flow-view to create custom nodes, for example nodes that have a canvas or a graph inside (images a SinOsc node with a graphic preview). The engine is able to order nodes by level and run them usinng the graph order, it is not an event based engine but every graph compiles a JS function.
Interesting...I thought that Boulder City was supposed to be a temporary habitation for the workers neart the construction site; perhaps I was mistaken, perhaps that was only the overt intent.
How to learn soft skills (a practical guide)
Unclear how it is best, according to who/what? Nearly all good podcasts I know aren’t there at all.
I am working on a large project and I also realized this. I worked really hard to not repeat myself. I tried to reuse as much as possible as not to create extra code. Then, I quickly realized the things are NOT EXACTLY the same, and the methods to handle things were similar they were not the same. So, I had to refactor a lot of other helper methods.

I agree with the approach you are describing. It would be easier to refactor later, as one would probably have a better understanding of the application in the wild.
Seems like a strong argument against biking, not cars.
Those would be examples of static sites, which are "read only" to most users. Wix, Squarespace etc can handle form submissions and online payments of course. And with third party solutions like Intercom and Optimizely, things like customer support chat and A/B testing can be done with pretty much no code.
Thanks for explaining. I think it's a little arbitrary as a metaphor but an interesting idea (I don't necessarily think "movie" when I think "theater"). I think it would have been clearer if you'd stuck to a single use. First we're showing the movie, then we're watching the movie, then we're making the movie. As a cognitive linguistic matter I'd probably consider those three different metaphors.
Imagine if Einstein just predicted that the position of the stars would appear to be different during the eclipse, rather than displaced by an exact amount. The last 40 years has seen physics become more like the former (bad) than the latter (good).
It is also perfectly fine for the free market to decide this. This is society too and captures relative value far more effectively and adaptably than a fixed one-time vote.
Frankly, I would prefer the ability to install what I want. Just because what is on the phone boots what I bought doesn't mean I want it on there. I think the objective of Project Treble was also to allow that to be much easier as well.

Having a locked bootloader means I an unable to truly install what I want.
ReDoomEd: Mac/Linux/BSD port of id Software’s 1993 Doom map editor for NeXTSTEP
> it always surprises me that modern oil wells aren't actually _all_ that shallower

There is a theory that oil is actually generated as a by product of the mantle itself, not by buried prehistoric plants.

If that's the case, oil could truly be a limitless resource, which is bad news for the climate.
The initial comment (and the follow-up) are completely dismissive. The article is absolutely not a reinvention of the concept of monads, or of any commonly used monad (though what they are describing could probably be implemented as a monad).

If I'm missing something, could you point to some monad that can be used to `wait until an event named "good" is generated, and abort if an event named "bad" is generated`?
They make equally misinformed decisions about sex and driving.
In japanese garden design, often the shapes of the foreground (i.e. the garden itself) are chosen to mimic or extend the shapes in the background (the surrounding landscape). It might've been a similar principle applied here, deliberately.
Ten JavaScript Concepts You Need to Master React (+ Cheatsheet)
"We have excellent climate data for our planet for the past 30 to 50 years,"

Unless 'record' includes millions of years (or even thousands of years) of data, it's difficult for me to make a conclusion based on one warm year in only a couple of decades.

It could be a cycle that we only can see when you have a larger scale of data.
Your single VM is a single point of failure. You probably want to run this in 3 VMs, one in each data center. ECS gives this to you out of the box, rolling deployments and health checks included.
In this situation, do you think getting "flexed down" by your company is overall better or worse than companies just eliminating your position entirely?

Edit: Did someone read some snark in my question? It was an honest question.
Automation is going to hit the jobs market in many unexpected ways. Interestingly its going to take as big a bite out of white collar jobs as blue collar ones. The majority of trading, accounting, and other number related jobs could disappear along with the truckers, manufacturers and fast food jobs.

We really are entering a new era when it comes to employment and the definition of the 'means of production'. Software and robotics is reaching into uncharted territory.

Should be very interesting in the next decade or two to see if society reacts with the adage to just pull yourself up by your bootstraps or starts to seriously look at a UBI.
does it mean instead of spending time on defining functions, we need to spend time on defining modules? what's the difference between modules in this context and functions in the `traditional` context?
Modern techniques used to “reverse-age” actors in movies
But "companies" aren't a conscious being by itself, they are made up of or rather steered by high tier executives right?
Show HN: FilmScout, an app to keep track of your favorite filmmaker's projects
Another project that goes for a manycore designed, is by Princton and ETH Zürich. Their design targets a few less cores I think.

See: https://github.com/PrincetonUniversity/openpiton#support-for...
What makes it "not actually Lisp but some new language with a superficially Lisp-like syntax"? (Never mind that it's ostensibly a lot more than just a language but an entire OS with a Lisp-geared runtime -- I'm assuming you're just referring to the language).

https://github.com/vygr/ChrysaLisp/blob/1808d2db54cdda378aae... sure looks like plausibly a Lisp dialect to me.

Is your objection to the execution VM (all the files ending in .vp)?
docker compose and a jwilder proxy is all I need for most of my projects
Wow, people using Kubernetes must not have any idea what they’re doing! The absolute fools.
I agree, looked into swarm and routing was a mess, even discounting the bugs, lockups and moments of total disconnections, you had to rely on ugly dns hacks to know the live endpoints, making any kind of stateful service a nightmare to set up, while kubernet just give you an endpoint api, and even then, there were no guarantees for local services that swarm mesh would route the calls to the local instances, while in kubernet you can control precisely how services are resolved grouping them in pods, so that they don't needlessly clog the pipes.

I find very hard to find swarm use case that a wan, vpn, private segment or kubernet cluster can't handle better.
One day I want to write the a canonical introduction to electron flow models, provisionally titled "Lies you have been told about the electron".

Ha! I'm just starting to grasp that - been going through chapter 8 of Art of Electronics, 3rd Ed. Getting a hard and fast education on noise. Shot noise is fascinating. I still don't have a great mental model to compare it to. The closes I've come is dripping water vs a continuous stream of water.

I also plan to dig out my highest-rated HN comments and turn them into blog posts or even an ebook some day.

I had this same notion the other day. It's neat how an internet post can inspire such clarity of thought.
Has it occurred to you that you need a warm-up because you're in the office at 6am?
Personal opinion, but for something that small, I would probably not even use an orchestration tool at all, just some init scripts or unit files.
$2.3T year invested into higher ed, 79% of grads dont believe it works
Hi,

Ever wondered what your favorite filmmakers have been up to? Instead of googling every now and then to search for answers, I developed FilmScout.

With FilmScout, you can search for information on your favorite movies and TV shows, check the filmmakers, explore their works, and follow them to keep track of their upcoming projects.

You can also create custom lists of movies and TV series to share with others, and follow other people's lists.

As of now, you can track filmmakers in the roles of Director, Screenwriter/Writer, Composer, Cinematographer/Director of Photography, Editor and Story.

FilmScout is available for iOS and Android. It was built with React-native and Ruby on Rails. Any feedback is greatly appreciated!
You've listed a handful of funds that have good PR, which are the only ones software guys have heard of. They are a fraction of the total buy side. This would be like saying Yahoo, Uber, Google and Cisco represent the entire tech industry.

When the S&P500 is up 25+%, there is a staggeringly large amount of money paid out in bonuses.
Sure, but equally prospective authors spend a huge amount of work creating great plots, and a terrible plot can wreck an extremely well written story. They still can't copyright or otherwise protect them though, for good reasons.

Protecting plots would have terrible negative consequences for creative arts, just as protecting APIs would have terrible consequences for the software industry. It's not 100% directly comparable, APIs are often more explicitly stated than plots, but I think the analogy is close enough to be useful.
no fucking joke
> I can't help but notice

Then I'm sure you also noticed none of this makes my point* less valid. Despite the wave of downvotes (which are probably aimed at me explicitly mentioning the US) I can't see any rebuttal of something I actually said:

*Given the precedents (like the GM scandal), CEOs of big/powerful companies (Boeing) in the US (where Boeing "lives") will pretty much get away with anything, including knowingly allowing hundreds to die (which Boeing/CEO did).

Later edit:

> simply trying to lockup CEOs I don't think is the right way to go.

Indeed, it's just a good first step. The very same companies and CEOs will always fight any legal changes that would further a culture of safety first because that usually hurts the bottom line.
This has nothing to do with the author's work but what kind of world are we living in where we have a need for more and more polished date pickers?
Mirantis is just some cloud hosting provider and from what I can tell it has no connection to Docker. I'm generally interested in why all the FUD around Docker and Swarm. Can you support these FUD statements with some legit news stories or blog posts from the people involved at Docker?
DSL typically runs at 100/40 or 50/16 now. Some unlucky people are still stuck on ADSL2+ with 16/3 or so.
Devs working at the vast majority of shops:

Easily handle production load on 3-5 servers / VMs while reading all about how to script quickly spinning up 1,000 VMs if they really needed to.
No, it’s not, because PERC is a proposal and is not implemented in any browsers.
idk, there's some value in kubernet way beyond instancing vms, it provides a nice system that ties beautifully into configuration management in a way that just vm, dockerfiles or even good old puppet scripts can't
> However I think that this approach comes with some cost. For instance if (isMultipleOfThree(x) && endsWithDigitFive(x)) is very easy to understand, but isMultipleOfThree(x) and endsWithDigitFive(x) in different modules is a lot harder. Personally I see this more as a trade-off: trading control flow for extensibility.

I think this is a massive understatement. Imagine replacing most of the ifs in your program with new top-level constructs that run in parallel and exchange events. The maintenance overhead of this idea seems astronomical, for relatively little benefit. I would be terrified to add new modules to such a beast, knowing that they could affect the behavior of any other module, in complicated cascades.
It's an argument that cars and bicycles don't mix well.
Hardware Random Number Generator
Rent seeking is everywhere these days. Not just entertainment. Sure major studios have realized they can actually collect more revenue by sharing their entire libraries (opposed to selling single dvds) but so have developers who favor building and renting luxury apartments over single family starter homes. Or the monthly subscription box craze. Or Amazon scheduled deliveries.
Get the application working locally. You will likely find a lot of old half-written doc that doesn’t work anymore, and other developers have tricks and changes they made on their local machine to get things running. You should get it all running yourself and document what you did for the next developer.
I can teach IF, FOR, and the basics of python in a week. I can teach ruby in about the same. For what they are going to need for a low code solution, that's enough. You don't need to teach all of programming - only a subset that would be covered in a low/no code solution.

If you don't believe this, look at how many non-CS professionals have learned VBA as their excel-fu reached a limit. Even if it's not clean to start, the natural human curiosity starts to take over.

One of the better programmers I ever knew had a high school education and was working in an airplane maintenance facility when he was frustrated with the tools he had and just started learning VBA on his own.
I have an actual production setup using docker-compose. It took 5m to setup and any idiot can read the compose file and reason about what's going on.

But I would not go spreading blog posts about it until I will have been maintaining this thing for min 1 year.

Can I hot-deploy (without downtime)? can I rollback? does it autoscale? can I monitor this thing? where are my logs? how do I create cronjobs? does it autorestart (ok that's an easy one...) will I end up with some half-assed deployment one day? can I trivially maintain dev/stage/prod envs? and so on and so forth.

The thing about k8s is that though it's (very) complex, it also solves a really broad spectrum of deployment issues OOTB.
It depends on the use case. For processes that are stable and where most edge cases have been solved, no-code is ideal. Take Salesforce for example. You can build a number of mini-applications, like say a university application tracking system, simply by throwing together built-in components in SF.
> mutual fund managers who generally underperform their index for years operating a relatively high-fee fund (compared with ETFs)

There is a bit more nuance here. The fund manager oftentimes has an obligation to follow a given mandate, which may not seek to outperform a given index. For example, investors may want exposure to specific factors (value, growth, momentum, etc.) or asset class (municipal bonds, preferred stocks, etc.). Additionally, investors may seek funds with better risk adjusted returns as opposed to funds with greater absolute returns. In these cases, managers are compensated for delivering on their mandates. The ETF space has similar high fee products.
This is exactly what GP meant by "blinders" — people (including children, the elderly, the disabled) should be free to engage in healthy, enjoyable, green recreational activities without fear of death by two ton tank.
From context collapse to content collapse
Some technologies come and go. Williams-Kilburn tubes, for example, are now fully and finally obsolete. Ditto mercury delay line memories.

Other technologies merely expand and shrink. Big Data went from being a buzzword to a simple, established fact... albeit established in places you don't work. Does Google have Big Data? Does Amazon have Big Data? Do most of us work at either of those companies?

Big Data isn't obsolete in the same way dump trucks aren't obsolete.
Why not just use a wrapper function taking in an array that activates one-by-one in debug and as a group in release builds?
Shell scripts and simple Java applications. Not interested in navigating/learning a GUI which may or may not work for me.

Downloading everything locally isn't desirable for me.
The python ecosystem is really good here.

I do a lot of exploratory coding in ipython, though the threshold for "switch to a real editor and run git init and poetry new" is pretty low.

Want to munge CSV? stdlib, or pandas(https://pandas.pydata.org/pandas-docs/stable/)

Want to munge JSON? stdlib.

Want to munge a database? pandas, stdlib, anything that speaks sqlalchemy

Want to validate your json/sql/CSV/whatever and have it come in as a bunch of structured classes not std types? jsonschema https://pypi.org/project/jsonschema/, attrs+marshmallow, attrs+cattrs. http://www.attrs.org/en/stable/, https://desert.readthedocs.io/en/latest/ https://marshmallow.readthedocs.io/en/stable/ https://github.com/Tinche/cattrs

Want to transform csv into sqlite? https://github.com/simonw/csvs-to-sqlite

Want to serve sqlite as a REST api? https://datasette.readthedocs.io/en/stable/

Want to stuff simple things into a database really fast? https://dataset.readthedocs.io/en/latest/

Want to flip numerical data around? Numpy.https://docs.scipy.org/doc/numpy/reference/

Want to model it? Scipy https://www.scipy.org/docs.html, pandas

Want to plot it? seaborn https://seaborn.pydata.org/, plotnine https://plotnine.readthedocs.io/en/stable/

Want to futz around with structured data in a sensible way? glom https://glom.readthedocs.io/en/latest/, python-lenses https://github.com/ingolemo/python-lenses.

Want to spit out tabular data? Tabulate https://github.com/astanin/python-tabulate

Want to figure out where not to eat in chicago? built-ins: counter, defaultdict, comprehensions: https://www.youtube.com/watch?v=lyDLAutA88s

There's a LOT you can do pretty fast, and I can more or less hammer out a basic ETL cli script in my sleep at this point.
Pedantry mode: That hole is drilled, not dug.

The deepest hole we've dug is probably the Mir diamond mine in Siberia, at 525m [0]

(A quick internet search will probably say that the Bingham copper mine in the US is deeper, but that was dug at the bottom of an existing canyon, giving it a head start; the Mir mine started... Well, basically with a bunch of guys with shovels in the middle of the tundra.

[0] https://www.atlasobscura.com/places/mir-diamond-mine
Never bought into the VM fad myself. The physical hardware is chugging along quite nicely over here.
If you ask the Boeing CEO about it, safety was always the top priority.
I paid the NoScript guy $5 once with PayPal, many years ago. For some reason, that transaction caused my PP account to be frozen. I called PP and they told me "we can't tell you why your account was locked, because that would give people information to help avoid our fraud detection".

I had used this account to buy thousands of dollars worth of stuff on eBay, and they froze it for a $5 transaction.

The risk is real.
Nomad, even deployed in single-node mode, is much more pleasant than dealing with Swarm in my experience.
I agree with the criticism, and disagree with your counterpoint.

There is no evidentiary record of this being "successful for centuries." After all, there are no written records.

On the face of it, if you start a fire in a bushland which is 100s of kilometres in breadth, how are Aboriginal people going to communicate and control such a blaze? They don't have access to:

- water pumps
- hoses
- irrigation
- telecommunications
- horses

There's some mythmaking going on at the moment in Australia about this.

I find it hard to take the claims at face value.
Buying Bitcoin Is Your Best Chance to Reclaim Power as a Citizen
For Netflix shows, take a look here: http://languagelearningwithnetflix.com/catalogue.html
Just like NoSql, BigData, renewables, and the Fax machine.
Sadly, the teleportation prototype actually duplicated the user, forcing the originals to have to kill themselves every time the machine was used to avoid any confusion.
OP, this is a gorgeous date picker with some clever ideas. Great work! As others have noted, clever ideas do mean there’s a learning curve which is not ideal for something like a date picker. However, if this were in an app I use very regularly, I personally wouldn’t mind the initial learning curve for a more efficient input.

I see a lot of requests in this thread for just typing the date. I agree that natural language input like Fantastical is the best experience. I built an open-source NLP date parsing library[1] so I have a lot of interest in this, but even I’ll admit the reason it’s not more common is that internationalization is extremely difficult when dealing with user input. There are 100 ways an English speaker might enter a date, and 20000 ways an international user might. Depending on your user base, it’s often easier to just use a fixed input space.

1: https://github.com/neilgupta/Sherlock
The VigorNIC is really just a Vigor130 on a PCI card. It has it's own Linux-based modem/router firmware running on it and you configure it by accessing the usual web interface exposed on the virtual ethernet port.