skysight-inc/HackerNews huggingface dataset:
> When is concurrency in Java ever hard?

Potentially-racey stuff:

* Synchronized primitives don't compose. You can safely `synchronized get(...)` and safely `synchronized put(...)`. But their composition put(get(...)+1) isn't synchronized. And it's hard to mentally revisit it at the end of the day: if you have a class with some methods marked synchronized, nothing will tell whether you've synchronized the right methods. You just have to think it through again and hope you reach the same conclusions as before.

Other (non-racey) stuff:

* Threads are heavy, CompletableFutures are light. But CFs lack the functionality of Threads. A CF can't decide to sleep for a while, nor can it be cancelled. (As an aside, BEAM threads are super light).
I really like that XKCD strip. A problem that was once hard now can be solved by a teenager with Tensorflow and a bunch of pictures.
What is interference? A bit of history. Several years ago, as part of an internal project, we tried to create a data analysis service that meets the following minimum requirements: - as simple as possible integration with an existing java application
- support for persistent data storage

- indices support

- support for a distributed database and distributed operations, such as the ability to insert or modify data in a database from any of the available nodes

- the easiest cluster deployment

- transaction support

- basic SQL support with complex event processing and stream SQL support

One of the outcomes of this development was an open source product branch called interference. What can this service do?

Easy integration with java application. You include the library and then simply manage all the interference functions from within the java application using session methods, JPA annotations, queries and direct access to table objects. Interference is a distributed service. This means that this service can be used within a distributed cluster, or you can build a distributed event-driven application based solely on this service, without any additional services like coordinators and so on.

Now, we suggest you use interference as a distributed platform when developing data analysis applications.

Interference is not an RDBMS in the usual sense. You do not use JDBC or anything like that to access the data. Instead, direct object-relational mapping is used that works directly with persistent storage and remote event transport mechanisms.

Minimal common insert performance on standard i7/4core workstation is up to 10000recs/sec on indexed table with UC constraint check and up to 50000recs/sec on plain table w/o any checks.

In the next time, we plan to publish an article with a detailed review of the service architecture and performance metrics.

Now, read the documentation for a detailed understanding. We are always happy to answer your questions.
So I'm going to join the naysayers here and say while the graphics look absolutely phenomenal the game itself looks the the same game I've been playing for 20-25 years.

A 3rd person character who walks through caves, canyons, ruins, slides through tight places where the camera moves in close, can only climb on areas painted with the "you can climb here color" and then pushes or pulls a few knobs for "puzzles"

It could be the original Tomb Raider (1996) or God of War (2005) or any Uncharted or all the other similar games in between. I'm sure others can name the same game that's been skinned over and over and over.

I love pretty graphics but I'd really like to see the tech used to give me a new game, not just an old game with prettier images.
Part of the reason may be that the visible light spectrum only covers one "octave".
They're going down the Safari line of limiting the number of rules an extension can use, significantly reducing the efficiency of adblockers.

If it goes as planned, you won't see ads on YouTube for sure, but there likely won't be enough space to add rules for less mainstream ad networks and some of the specific sites you visit.
You know it. 9 cells tables, slicing your pixel-perfect corners in Paint Shop Pro or Photoshop, exporting as a gif with transparent color.

That also reminds of the transparent 1px gif "hack".

I'm not that nostalgic about that. Once in a while all that knowledge comes in handy for troubleshooting an email template...
In general, anything you connect to the Internet (or perhaps even a network used by Internet-connected users) needs to be updated regularly.

That a HTTP server from 2003 continues to work today is happy coincidence, but it also means that there's probably a working 0day for that server software, so that, if you can't update it, you would have to mitigate it another way.
> I mean, unlike in typical hard FP languages like Haskell or Elm

What is a "typical" FP language? Are Scheme, Common Lisp, OCaml, SML, atypical?

> mutable state is rampant in your average Elixir app

I don't think this is generally true, or at least not on my experience, but I guess it may depend on what would one consider rampant.
This is amusing to read because they largely/all seem to be AT&T mobile IPs, which get allocated from an absurdly sized pool with barely working geoip.
Ransomware Shuts Down Large Law Firm, Hackers Grab 756Gb of Star Info
> isolation layer: the piece that limits privileges and resource usage. (On linux, this is usually handled by cgroups and the kernel

Clarification: cgroups only control access to compute resources, like CPU time and memory. To control privileges, e.g. access to the filesystem or network, you need namespaces, which are a completely separate kernel feature.
Mind you, I said "camera drone as a service", which is not the same idea as a camera-drone IoT device product with cloud-subscription features. (Instead, it's stupider!)

You know how a politician might hire a PR firm to produce a "day in the life of" documentary about them? Part of the PR firm's job would be to handle any negotiation of the local legal terrain required to get filming rights for locations, and likeness rights for other people appearing in the film. If they couldn't get such rights, it would also be part of their job to inform the customer of what things they now can't film, so that the customer could either make the choice to just leave some parts of their day un-filmed; or to re-arrange their schedule so that only legally-filmable events are on the roster for that day.

A hypothetical "camera drone as a service", in my mind, would be that, but handled mostly by an AI, maybe with OnStar-like interactive support if you get into an edge-case. (Again, it's a stupid idea! It's a thought-experiment, not a viable startup. :)

There are many services where part of the service you're paying for, is the service provider's expertise in navigating the local legal landscape in their own regulatory domain of expertise. In fact, that's entirely the point of some services: anyone can do their own accounting in a technical sense, but you pay an accountant because they know how to do your accounting in a way that complies with all your local regulations.

So, again: if one of the legal requirements of the CDaaS service is to automatically avoid (or at least not-surveil) any private property—then what would the rule for that look like?
Leaked Database May Be Key to China's Coronavirus Numbers
Is it comparing to a list of common bigrams? It seems to come up with those a lot.
The top and bottom halves of the CGA X character was not symmetric. It's so ugly I can picture it in my head.
No new ideas in the last 15 years? Have you played Return of the Obra Dinn? Or Overcooked? Or Spiderman for PS4? Idk, I think these are bringing whole new levels of gameplay to the table just in the past year.
I had to take that program in Switzerland, designed in the USA, which was telling me how I can date my coworkers even outside the company.

It may be OK in the US, but what it was asking from me was unconstitutional in Switzerland.

Of course I didn't say anyting, as I liked the job. A coworker of mine just clicked through the training without reading any of it.

Also diversity became the main topic (without being on the official agenda) of big cross-team meetings, so I learned not to go there, which meant that I didn't know after some time what other teams are doing.
Mars Documentary 2020
Disagree that G's motivation here is to reduce permission footprint, because:

- if G has the ability to automatically audit necessary permissions, they'd do it when you upload to the plugin store

- if they're doing this manually for popular plugins, then (1) they'd publicly certify safe plugins and (2) the interaction would be way more high touch

Plugins are inherently unsafe + require trusting the developer.

Could be malicious, or G may not even have a reason for this (it may be some forgotten dinosaur instinct to knock over other people's stuff when it gets too big).
Are you sure? I have never had problems and use it in multiple profiles - one paid. https://www.lastpass.com/pricing
Can't tell if you're serious or sarcastic. Delightful.
I got whitepaper
The white birth rate must go lower, every white baby is a victory for white supremacy, do your duty as an anti-racist and have sex with a black person.
In that case, something like electronic ID or webauthn might solve the problem?
Much is built in to the language spec, which then becomes a definition debate about what constitutes a standard library, not a useful debate in this context.

There are many popular "standard" libraries that people use like BLAS and LAPACK and domain specific code for say, mesh generation.

Also, most Fortran code is used for numerical calculation, most of what you need for that is already there.

As for compilers, there are still regularly released Fortran standards. The first proposal for what became Fortran was in 1953! The first compilers came a few years later. This was still on punch cards, and details of the syntax still remain from that era. Most of the standards are real standards and come with a date, Fortran 66, Fortran 90, etc. There have also been many branded releases tied to compilers. There are definitely differences in compilers on the edges, and the results you get can differ from one to another. But mostly they are the same with some compilers adding features specific to themselves.

Is there a need for this? Well there is some very commonly done linear algebra which you either have to write yourself or pick out a library, so it does make some sense to have these things standardized and included which would ease some burden.

Here's a reference to built in functions for a specific compiler:

http://docs.nscl.msu.edu/ifc/intelfor_lib.pdf
Add to the list of reasons I wish I could change my HN name
Traveling with lots of heavy, expensive equipment, setting up, tearing down, then all the unpredictability of outdoor anything (weather, etc).

Also one amazing thing was the guy talking about "shooting a 10-hour dawn" – I can imagine a lot of time is wasted trying to recreate a certain time of day. With this, you don't waste that time. You can do as many takes as you need. The sun stays right where it is.

Absolutely mind-boggling.
Sorry, but this is completely wrong. Analog systems, such as human ears, can be band-limited but do not have a sample rate. In fact, any digital recording system requires analog lowpass-filtering to avoid aliasing. Otherwise, the original (analog) signal cannot be accurately reproduced from the samples.

Of course you are free to use a different definition of "dimension" than the rest of the world. But this won't help making discussions any easier.
And instead many people will just do a Google search for "Chrome [insert error here]" and run the first command they find, while people like me will say "okay I'll just Firefox where I can click past this warning".
I would truly hate to play this thing in Scrabble.
Chrome on Android already doesn't have extensions. That made me switch to Firefox on Android and within a week my laptop was also on Firefox because it's nice to have tab syncing etc between devices.

If enough users do this I think Google will review their policy on extensions and specifically adblockers. Can't browse without one anymore after having used it for a while.
polystain
Woah! The AI and physics in Far Cry 2 is an order of magnitude better. It makes me wonder how the games regressed to be so bad (maybe devs just don't care as much anymore?), given that Dunia Engine is used by both games.
'the game's director, Clint Hocking, noted that internally, much of the design of Far Cry 2 was haphazard'
Kahatung is a word in at least one filipino dialect, if I recall right.
"Employees have little bargaining power here."

They hold all the power, actually, unless you are one who does not believe in the power of self-agency because perhaps you've already relinquished yours?

"While quitting is hypothetically an option (albeit realistically not necessarily), so is shaming. And I see nothing wrong with shaming companies for their stupid, dehumanizing initiatives."

Hey, me either, what kind of management culture even does this!?
Yeah, I actually think these sorts of strategies are clever. They're a way to protect normal users without outright barring power users from doing as they wish.

macOS operates in a similar way. I really like how the difficulty increases depending on the task:

• Want to allow one app through Gatekeeper? Instead of double-clicking the app icon directly, right click it and select "open".

• Want to turn off Gatekeeper for all apps? You need to open the Terminal and execute a command.

• Want to turn off System Integrity Protection? You need to reboot your computer into recovery mode and execute a Terminal command there.
The advantage to a Pizza Hut driver is they can pick up several deliveries at the same time without waiting. Any app allowing multiple restaurants from a wide area inherently increases delivery costs. There are edge cases where that’s ok, but it’s not a multi billion dollar company at that point.
There's an interesting aspect of colour that this article doesn't cover, which is the psychological primaries (https://en.wikipedia.org/wiki/Primary_color#Psychological_pr...).

The eye gets colour information from the three types of cone, but it then processes this information into three new dimensions. Black against white, red against green, yellow against blue. So from a psychological point of view there are four primary colours: RYGB.

These are arranged like the points on a compassb so it's impossible to experience a mix of red and green or yellow and blue, just like it's impossible to be both north and south.

I think this is why these colours tend to be used more often in logos and board game pieces. The brain views them as more simple, and the psychological secodary colours (orange, chartreuse, turquoise and purple) as more complex.
For what it's worth I've always been able to click straight through a self-signed cert on Chrome - in fact I just did it right now to log in to something internal. I am a nearly 50-50 split Firefox/Chrome user.

Are you sure you aren't sending HSTS headers that demand the site be TLS in some way?

Also, have you considered the slightly-saner way of doing it, which is making an internal self-signed CA, trusting that internal CA, and then having it sign the rest of your "self dev stuff" certs?
java.lang.invoke.MutableCallSite supports linking one particular MethodHandle at a time which the VM will optimize for. Then you can use MutableCallSite::setTarget with another MethodHandle which will cause recompilation of affected paths.
> I don't think vice understands what accelerationist means in the context it was used.

Can you clarify? The article only uses that term once, here:

> including in neo-Nazi Discord servers and accelerationist Telegram channels

It seems like accelerationism is a concept used some of the most extreme white supremacist circles:

https://www.vox.com/the-highlight/2019/11/11/20882005/accele...:

> It’s called “accelerationism,” and it rests on the idea that Western governments are irreparably corrupt. As a result, the best thing white supremacists can do is accelerate their demise by sowing chaos and creating political tension. Accelerationist ideas have been cited in mass shooters’ manifestos — explicitly, in the case of the New Zealand killer — and are frequently referenced in white supremacist web forums and chat rooms.
> carnarium

> carnar·ium

> the central part of the human body, covering the anus and genitals, between the head and the chin

> "the ribs and ribs of the carnarium"

Absolutely amazing.
How many people are writing new Fortran code? I know it has its niches, and is used in some popular numerical Python packages, but what about outside that? I've seen it mentioned in a few job postings for government contractors or "scientific programmer" (more of a PhD scientist who happens to program) roles, but typically listed in a way that makes it look like an HR person took a list of the tech a company used in the last few decades and make them all listed as requirements.
Shoot, that's what Amazon does. They got Prime to burn less money by calculating which shipper is the cheapest to get to the destination on time, and ~~proceed to ship it via LaserShip anyway~~ later started using first-party delivery when that became cheaper than dealing with a carrier (although they still ship via UPS in rare cases here).
Decently built servers don't fail that often. If you're going to run a couple thousand servers, you'll want them to be bare metal, because VM overhead is real.

If your system is designed properly, it's not unreasonable to have a node out of service for a couple hours while it's repaired. Nodes which don't have database state can often wait until business hours to be repaired, if there are enough nodes that you can have a few down.
I might sound bitter but after about 3.5 years with Elixir my answer is very simple and boils down to:

Habit, confirmation bias, sunk cost fallacy.

Namely: people have gotten a lot of battle scars by working with what pays their bills -- PHP, Ruby, Python, C#, Java -- and they refuse to look at an alternative because that would render their huge time and energy investment moot (in their eyes at least; I don't see why this has to be the case but plenty of people have been adamant about this without giving an explanation).

I've only become a better programmer since I adopted Elixir but I never stopped using other languages.

All of that plus what PG calls "the middlebrow dismissal" are the main reasons IMO. People are just too set in their ways.
Headless CMS work this way. It's not an uncommon architecture. Separate your CMS from how it's presented on the web. You could take the same article and display it in a rich UI like this one, syndicate it to another news source, or easily throw it into an email and send it to subscribers.
Indeed, that part is accurate. It would be technically interesting if the tech demo was a part of UE5 source release. I'm not familiar if they've done that in the past.
And the old trick of a 2x2 pixel gif with one colour transparent, and the other a non-transparent colour which, when set as a background to the table cell, provided an illusion of colour transparency with the main background behind the table.
On the other hand, I think this probably is the least-scary answer to the mystery of the great filter.
My phone's camera doesn't have an infrared filter either... can I get the app separately?
100% of the profits are remitted to the Federal Government: https://www.nytimes.com/2018/01/10/business/fed-profits-trea...
>These are like school children that carve swastikas on their desk just because they know they shouldn't.

This analogy works well for young people posting on 4chan, but if that same person creates a web platform to organize people to put swastikas on buildings, that person is almost certainly not doing this just because they know they shouldn't.
Lane Motor Museum explains their 1967 Gyro-X [video]
Or maybe it takes thoughtfulness to read that comment for what it is: an opinion about priorities of game studios.

And it resonates with me. I like eye candy like almost everyone and can appreciate technological marvels in CGI (and currently working with UE4 after hours, creating my own assets, I can appreciate how much work goes into modern game graphics). At the same time, I do feel many games these days try to use high-resolution textures and pretty shaders to paper over incoherent storylines and lack of gameplay depth. I think it's an entirely valid point to make.
Gitlab requires you to sign up using your real name, Github doesn't. I would use gitlab if it was not for that.
I don't understand what should be done then. If the government isn't capable of providing that kind of help, then surely it isn't capable of eliminating all billionaires?
Error messages in Haiku?
I know everyone wants to talk about all these fancy economic theories about, market capture, VC funding, exponential growth etc around startups, especially SV and tech startups.

I don't buy it, I see everything happening as the classic example of a bubble. Some people made a ton of money in tech through a combination of hard work, having a really great idea, and luck, Google, Facebook, Amazon, etc. Other people saw how much money they made and the market and other piled in to try and get rich, some of them had good ideas, some of them had ideas that sounded good. This was the rising of the bubble, VCs want to get in on this, dreams of exorbitant wealth played before their eyes, they started funding tech ideas even if they didn't think they were good or there was clearly no way for the idea to actually be that profitable. But it didn't matter, this is when we started spouting things like "don't invest in a product, invest in a star team", "pivoting" began to become big, questions about actual revenue were hand waved with words like "market capture" and "penetration".

Then we hit the height of the bubble, the second stage hadn't actually really produced any wildly profitable companies but other big tech companies bought them, for their engineers or platform, or data or something, at obscene valuations and so the VCs and founders still made a killing. The dream for founders and engineers went from "have a good idea that you can build something on" to "how can I get myself bought by Google", VCs meanwhile went from "will my capital work out here" to "I need to get in fast on the first rounds and some other sucker will be willing to buy it for more on the next round of funding." This is when the idea no longer mattered, what you did, how you were going to do it, none of those things mattered anymore. Move as fast as you can the faster you move the more likely you were to hit the "next big thing", in reality you were just playing the lottery, but instead of VCs buying $5 lottery tickets they were buying $5 million dollars stake in companies. Engineers rather than paying with their hard earned cash for the scratch-n-win were suckered into paying with hours of their lives in hopes of scoring big on the "being bought out jackpot". Things seemed to peak with the WeWork fiasco, ideas that were stupidly blindingly obvious, and already being done were suddenly transformed into these hot new golden geese because they used tech jargon to cover up the fact the emperor was wearing no clothes.

We are now in the bubble popping for tech, corona probably wasn't the way anyone saw the bubble popping but now the contraction in capital, and the easy money drying up will show which companies had a solid good business model, which ones were iffy, and which ones were completely ludicrous.

This ended up being a lot longer than intended but really sometimes you don't need fancy explanations or complex financial analysis to figure out things, sometimes plain old common sense can help you better see the forest for the trees.
I don't understand your first sentence. You were told you were allowed to date coworkers? Not allowed? You were told the manner in which you could date them?
Amazing! I found https://www.thiswaifudoesnotexist.net/ there a while back