skysight-inc/HackerNews huggingface dataset:
In Table 2, we observe that TransCoder significantly outperforms both baselines in terms of computational accuracy, with 74.8% and 68.7% in the C++ → Java and Java → Python directions, compared to 61% and 38.3%

It beats existing commercial products that try to do the same, so to me it seems it has some value right now.
An Advertisement for Representation Theory
There seems to be a bug where the chip will effectively change the master password for your encrypted disk to something random and leave you unable to access any data. I'm not sure on the details, but I've seen that happen. You might still be able to recover the data if you have iCloud reset enabled for firevault, but that obviously comes with its own risks.

Basically just never go more than 24 hours without backing up, one is none, keep multiple offsite backups, etc.
I tried this but didn't work:

~ :) gudo () { su -c "$@"; }
~ :) gudo echo foo bar
su: user foo does not exist
Excess money does not go "into" markets, it flows through markets and into private-sector balances. And excess money is not what you think it is anyway: when bond-market returns are low due to tight monetary policy in the past, the demand for cash and cash-like instruments is sky-high and the monetary authorities need to create even more excess money to satisfy it. This is pretty much non-negotiable: if you want to avoid this kind of conundrum, you should avoid tight policy in the first place. (High asset prices are simply the flip side of low returns for bond-like instruments.)
I get (I think) how this is different from a Linux desktop, being developed in entirety as a single project, instead of being split into a kernel, and user-space distro, and fragmented apps on top of that, but ... is there a tl;dr on how this compares to (say) FreeBSD, which is another "kernel + user-space in one package" thing?
I have found most Idea performance issues are either, configured Java heap space, or indexing of project files that could be ignored.
The default memory settings are generally pretty conservative, some larger projects run into issues immediately.
If your system has plenty of ram to spare, I would recommend just giving it a few gig and seeing if things improve.
Because its cheaper? Britain is building one new nuclear power plant (Hinkley Point C) which is delayed by many years but has guranteed energy prices of 10 ct per kWh. That's about double what energy costs are usually in europe at this point.
Vilnius Shows How the Pandemic Is Already Remaking Cities
Interactive interpreters and notebook interfaces.

ipython for Python, then later Jupyter notebooks.

Firebug for JavaScript, which then got built into every browser as the dev toolbar.

These days https://observablehq.com/ for JavaScript too.
Any ideas why they changed?
> Are wind and solar just vanity projects?

Solar is great for lots of non-grid applications, such as places without a grid connection or satellites. The entire technology isn’t vanity.
Four Americans Robbed the Bank of England
His book is from 2016, which I assume was referencing the 2014 high.

https://whyy.org/articles/complaints-excessive-police-force-...

> With about a month left in 2017, 15 complaints are on the books, roughly half of last year’s total.

> In 2014, the total was 65 – the highest in a state that has its share of crime-ridden cities.

https://www.bloomberg.com/news/articles/2020-06-04/how-camde...

> By the department’s account, reports of excessive force complaints in Camden have dropped 95% since 2014.

I can't find many sources about the number of excessive force complaints in Camden after 2014.

Assuming the numbers are accurate, I'd say the lesson is that it isn't a magic bullet. You might end up hiring a bunch of sadistic assholes again anyway. But without a union obstructing everything you do, it does give you a lot of power over regulating conduct and implementing guidelines for how officers apply (or don't apply) force, how they handle potentially dangerous situations, how they handle people in general, whether they prefer de-escalation over seeing citizens purely as dangers to be dealt with. There's actually a chance at accountability without a union obstructing every attempt to improve behaviour. If you have somebody in charge who cares about improving the policing environment (and the appropriate political, judicial and public oversight), these seem to be very good things to me.

edit:

It deleted my last edit. Balls.

https://www.nj.com/camden/2017/08/how_njs_most_dangerous_cit...
Machine learning helps archaeologists identify the source of ancient poop
I'm very glad to see work being done on db bindings, but until migrations reach the level of django/active record, I won't be using postgres + node.js seriously (again).
What drives the revenue in ecommerce?
>But does it?

It uses land that otherwise would be used for something else, like food, or natural habitat. Biofuels are a disaster because we are not just dealing with climate change, but environmental collapse.

If only there was an power source that was energy-dense, carbon-free with minimal land-use ... If only there was such a thing....
They are likely just burning biomass (trees) instead. Is it really a win if we go from burning coal to burning trees?
IBM's Global Cloud is down
Just works on my Thinkpad x220. You should, however, look for a dmesg output referencing your system and see if anyone has reported bugs. Power management is universally evil ;-)
Here's my question: should we just give up on using Unix permissions (or ACLs) for access control, and just containerize everything to limit access? That seems to be where things are headed.
The issue is that something is broken with handling of the display at driver level, and even if you use low-level APIs the native resolution simply does not show. AFAIK even SwitchResX (though I haven't tested specifically it, I tested other tools) won't be able to set the correct resolution.
Bat sounds handy. I’ll have to give that a go tomorrow.
This is a rude comment. The paper has no grander claim of AGI or 'fundamental' understanding. It's a novel algorithm that outperforms existing solutions. Not everything needs to be part of work towards 'understanding.'
Who do we have to thank for not encrypting this data?

PS: Aren't these images available on the web anyway?

Well, if not, perhaps this project could change that.
They insist on spinning the YouTube takedown issue as 'blatant censorship', but in fact the YouTube video received a copyright takedown notice from a photographer whose content the film uses, not from some green energy lobby. That alone seems like enough to bring the filmmakers' credibility into serious doubt.

It doesn't seem crystal clear at a glance whether the copyright complaint is well founded, or if it's fair-use, but I don't see that it matters much either way. Spinning it as 'blatant censorship' seems pretty silly.

Even discounting this, and the Guardian article, Wikipedia lists a number of serious issues with the film.
I really believe that the lack of x86 is going to be a big buying problem for a lot of people who need to run software on Windows. Without Boot Camp or x86 virtual machines its going to be a problem to justify the machine with a large group of people.
I don't feel competent to do this...
While its not that high (about 5%), Germany also has biogas which is also a baseload capable energy source that is renewable and can use most of the existing gas infrastructure
The previous code of conduct was not popular; it says so in TFA.

I have been one of those people disaffected by the previous code of conduct, the "virtual hugs" and "no commenting on lifestyle choices such as eating habits" rubbed me very much the wrong way.

The new one is much more prescriptive on behaviours that are encouraged, much like the hackernews guidelines.
Sure. Vanity as grid-scale power source. If you want to charge your phone battery while camping, solar is great.
I would argue that it is not possible to slowly built that ecosystem. Samsung apps are crap and popular apps that people want create no motivation from developers to support yet another platform.

That's why the Windows Phone failed -- even though Microsoft offered shops with reasonably popular apps both money and placement to make them available in their store at the end the cost of supporting another platform was too high.
Consumer devices still have other DRM technologies like PAVP/HDCP. SGX is simply unnecessary for consumer-hostile DRM.

I don't think SGX + PAVP ever made it past the prototype stage, and the SDK is proprietary. My company actually wanted to use it for a trusted computing application (think "secure transaction approval") and Intel told us it was deprecated and unsupported.
How do you integrate it into your workflow? Is your program scattered across blocks in a notebook or is it easy to pull everything together once it works the way you want?

Also, thoughts on jupyter vs co ok colaboratory?
Solar panel manufacturers and wind turbine manufacturers lobby governments to exist. It is a combination of a jobs program and virtue signaling for politicians.
Spotify web player is down
Not a million miles from Flemish, either, which is very similar to Dutch, but with softer 'g's.
Sensible Expectations
Ask HN: As a SaaS on the AWS Marketplace, do you use subscriptions or contracts?
In the AWS Marketplace you can sell SaaS solutions either as subscriptions (basically metering) or contracts ($X/month for Y service).

Which do you use an why?
Continuous Integration tools.

I started with Jenkins and hated it, because it really encouraged configuration through an awful web interface. CI configs should live in version control!

(I know you can do that with Jenkins these days but I still haven't figured out how myself).

Then I got going with Travis CI and loved it - then Circle CI, then GitLab CI and today I'm mostly using GitHub Actions.

Every single personal project I build uses CI now. My tests, packaging and deploys are all automated from day one. It's an enormous productivity boost and lets me manage way more projects without worrying that I'll forget how to test them / package them / deploy them.
A better analogy would be photocopying all the contents of one of the books and putting it back on the shelf
Your preferred language's debugger. It really does show in coding interviews who has control over their environment and can debug rapidly. It doesn't matter if it's rudimentary pdb (basic python debugger) or LLdb, understanding how to structure code such that it's easily testable -and- debuggable is a hallmark of a senior developer.
Upfront cost of hydro is pretty environmentally controversial. It takes transforming a landscape/ecosystem. (https://en.wikipedia.org/wiki/Hydroelectricity#Disadvantages)

Nuclear is also controversial, as is well known.
I really have to do some research on this. I haven't because I have not really been planning on purchasing a MAC. Here's some questions I would want to have answers to.

- Does the T2 have a private uncontrolled connection to system RAM? I know it has some connection to the onboard SSD, other IO and serves as an enclave for platform keys.

- Does the T2 have a private bus/connection to any onboard Ethernet adapter or Wifi like ME does?

- Does the T2 serve as the foundation of remote management features (that are present in all CPUs even if not vPro enabled) like ME does? This is important because it means that it's supposed to be accessed remotely by design.

- Does the T2 serve as the foundation of anti-theft features like ME does? This facility also has remote-access-by-design components.

- Does the T2 serve as the foundation of Protected Video or Audio path type features?

- What can the T2 make the CPU do? Can the T2 freeze the CPU, redirect the CPU to other code, then restore CPU state (I'm fairly sure the ME can do this)

- Intel CPU's have a built-in display adapter and you can't really disable or sidestep it. Hence, there is no separation between what is on the screen and the CPU, and by proxy the ME. To what extent can the T2 modify video RAM without the CPU knowing?
The most annoying thing, to me, is that Kubernetes doesn't even move fast enough!

The old presentations? Ones that remember K8s 1.0? There's one major change (move from Replication Controller to Deployment+ReplicaSet) that doesn't invalidate ~90% of the material, because the core stuff is about how controllers work!

Yet it seems more and more common to me that people don't learn the core mechanism of kubernetes unless per chance they got there writing CRDs :|
I tried this when it first came out but it didn't seem much better than PyCharm's usual suggestions (which are admittedly excellent among its IDE peers). I rarely to (maybe never?) saw it do any multi-line suggestions, let alone accurate ones. It was also very slow to suggest anything in the first place (I believe the network calls were slow iirc, at least compared to local/native autocomplete)

Maybe its progressed and I should try it again today.
This must surely have been the best way to utterly destroy the book for all Brazilians.

I don't dread reading, but I am realizing I have to re-read all of my Russian poetry, because so little of it I could truly relate to at the age we were forced to read it.
Install the Latest Flash Player on Your PC Now
“The first survey, conducted in 2018, told us that [...]. These results indicated that there was sufficient dissatisfaction with the current code of conduct to warrant investigation.”

Not sure what exactly the dissatisfaction was about but I’m really glad they went about it with a good level headed process and came out with a solution that satisfies a good majority.
The stack exchange post is asking specifically for Desktop users.

But for shared linux servers, sudo is very useful. It allows controlling which users are allowed to administer the system. (Generally, people who aren't sudoers can only view log files or do other readonly things). It's much better than letting people login as root directly since it keeps an audit trail of who is actually administering the device (they will show up using the `users` command, for example).

I rarely use sudo to do any fine-grained access control - it's almost always an all-or-nothing configuration - specific users are granted full access (with passwords), and everybody else gets none. I suppose this means that I use only 5% of it's functionality, but this 5% is quite useful.
A podcast I listen to with 4-5 people talking in a room does that with its audio. It sounds like a good idea, but in practice, it drives me nuts and makes me feel like I have plugged ears. I always enable mono audio when I listen to it.

I think if it was dynamic, where turning my head towards the person speaking balanced the audio (like in real life), I would not have a problem with it. A super simple form of virtual reality that would only require a simple head-mounted gyroscope or motion sensor.

Another podcast I listen to has two people with very similar voices, and I sometimes have a hard time figuring out who's speaking, so I welcome any advancements in this space.
probably some last attempts at keeping this once great os alive. will fail soon if this is what they focus on instead of how to make it useful and useable.
Britain's energy mix for 2019 had more wind than nuclear+hydro

56 TWh nuclear, 6 hydro, 132 gas, 64 wind, 12 solar, 36 bio

https://assets.publishing.service.gov.uk/government/uploads/...
This post itself is sass with no substance, but the 'follow-up' (if you can call it that) is not bad, though it's also mostly a lead-in to her eventual advice (which hasn't been written yet): https://medium.com/@aubynbethcasady/product-marketing-the-be...
I remember bullying when I was a kid. It can be intoxicating. Seems like many or most American police forces are just “being a bully as a profession.”
That is almost right. Society has decided that, on average [or median if you prefer], every job is worthless. Income inequality is skyrocketing between automation, globalization and capital gains. The only jobs that are not worthless are top 10% jobs that increase the inequality gradient, mainly finance or automation.
Fluxbox has the ability to add windows to each other like tabs as is shown there.
I'm curious how many people still use the web player. I myself rather liked having spotify's cpu usage confined to a web app, as well as having more disk storage free (Spotify had a huge cache on my machine last time it was downloaded.
But that is one reason I do use sudo.

I have some extra user accounts that I can sudo into to run scripts, plugins etc from e.g., github that I trust somewhat but not 100 percent. In case they do start mining bitcoins or sending spam mail I will find out and stop it.
I always wonder - why no one from open source community has created better stats module? Is there something in the license that prohibits creation of modules that overlap with Nginx Plus?
> Desktop environment that matches or surpasses Mac OS in quality, performance and UX design.

I've got Plasma setup to take advantage of a decade of Mac muscle memory, and think it does "macOS" better than macOS itself.

> Apps are sandboxed, similarly to Android or iOS

Install firejail, and its wrapper scripts. The wrapper will automatically wrap common commands and apps in a sandbox, and you can use the firejail CLI to launch apps that it doesn't wrap.

I agree with your other points, however I lament that BSD-style licensing will prevent a lot of cool things from having their sources see the light of day or be upstreamed.
Leeches.

Headache to much blood, leeches.

Stomach ache, too much blood to the stomach, leeches.
Internally. Not on any released products.
Hearing that from somebody gives me hope. A trend I had been seeing over the past few years was the introduction of codes of conduct to communities that were basically peaceable, each just as often followed by a torrent of petty tyranny as by a continued peace.
A type system is complete when every error-free program is well-typed. This is, afaik, seldom the case.

I was using the term more informally. In fact it is the operational semantics of your hypothetical language that is not complete in the sense that you will have a hard time putting it into a form that allows you to do anything meaningful (e.g. proof absence of certain errors) with it.

Interestingly, you can define such a language with side effects (think ML), by actually pulling the state monad into your meta-level (for instance by turning your reduction relation into an instance of a state monad).
Leslie Lamport thinks the same:

https://dl.acm.org/doi/fullHtml/10.1145/2736348

Even a rough sketch is good enough a lot of the time:

https://m.youtube.com/watch?v=-4Yp3j_jk8Q
I was going to say the same thing - the question seems to have a New York City bias to it. A lot of NYC buildings were built during a period where Art Deco was popular, and some newer buildings have been built to "fit in" to their environment, which has meant adopting the Art Deco style.

But is it true that, say, architects in Chinese cities always return to Art Deco? After glancing at photos in image search, it doesn't look like it - Chinese cities are largely modern glass skyscrapers.
Not if you compare on same hardware but the amount of memory itself that you can end up saving you can re-invest it into compute. I've seen massive perf/$ gains for log-parsing and memory-mapped data profiling use cases.
Did their survey indicate how many people were opposed to this nonsense, and thought it was a complete waste of time?
For a senior in college this is incredibly impressive!
Yes. We know coal and natural gas are cheap energy sources, but we don't want them because they emit CO2. Biomass is a disaster for land-use (so is solar for that matter). It's almost like the process of elimination takes us to hydro and nuclear as the only viable power sources (that are proven to work) that don't actually need some other base load provider.

I guess we'll have to waste a few more decades before we realize that solar and wind are a dead-end as replacements for fossil fuels.
Not sure what you're getting defensive about - the Oracle JDK licensing change was a recent thing than JDK 7 or 8 release dates. And the per core licensing isn't cheap. So that gets companies to seek cheaper alternatives. What is there to argue about?

It's a fact that Oracle changed licensing on JDK 7 and 8 they admit that themselves.
This seems to be a post about this person launching a blog. It does not feel like the type of substantive post we need
Seems this one is less obscure and exclusive than their previous one though, maybe will lead to less petty tyranny rather than more; though I understand the trauma that can lend to a knee-jerk reaction to things titled this way.
I tried Zoom's breakout rooms (~8 people per) for a virtual birthday party and it didn't work well. The audio delay made it really hard to have a free-flowing conversation which then made others feel bad when trying to step in. IMO large video calls only work then there's a specific agenda and one person doing most of the talking.
doesnt matter this is more important than making the os work on modern hardware
Except if it used Atomics in a slightly wrong way and it just happened to work on x86 but now will lead to all kind of unexpected failures ARM which has a weaker default memory guarantees.

If you run into this it can:

1. take a while until you aware there is a bug (as it likely only happens spurious potentially with different effects every time)

2. take quite longer to somewhat pin down

3. And if you have not atomic experience and the bug is in a library might be outside of your skill/payment level to fix requiring major rewrites. And all of this parallel to all the other work you have to do.

=> While this should be rather easy for many app for some it might be a nightmare which is combined with the regularly planed work might very well take many month, after customers start using it and run into the bug.
I've not tried code for .NET yet. I generally like the normal-IDE-ness of Studio
Ask HN: Calculating the Operating Liquidity for Lotteries
Hi there,

Does anyone know how lottery, gambling, or games of chance businesses calculate the operating liquidity they need to keep reserved on a daily basis in order to pay out winning games?

I'm leading a team doing academic research on the Hot Hand Fallacy (HHF) prevalent in number selection for games of chance. We are specifically looking at lottery games, and in some of the real world data we're working with, HHF can considerably skew number selection towards "streaking" numbers (when the same number repeatedly wins across drawings). In unique circumstances, HHF can cause a significant spike in player selection of these numbers, causing a highly disproportionate liability to the lottery operator.

While research on HHF and other types of phenomenon are still being studied, it seems likely that the businesses operating these games necessarily account for events like these in keeping cash reserves to cover returns-to-player.

Does anyone know how these businesses calculate their operating liquidity needs, and if so, do they account for events like this which skew the probability of the games they are offering?
> Not too long ago it seemed like doxing was considered taboo

The same thing could be said of "wardriving", a way of traveling around and associating AP names with locations. Now it is a practiced by apple, google and others to enhance their location services among other things.

Doxing is similar. For example google attempts to match online and offline activity with an actual person.

So... last year's taboo is this year's business model.
Thanks, it does!