skysight-inc/HackerNews huggingface dataset:
Asset caching problems I worry about come from two sources: the browser itself, and 3rd-party content-delivery networks.

On the browser side, by serving a unique set of resources to each user, I can identify them in future visits. Roughly speaking, the attack works by inserting a combination of unique asset URLs and repeated asset URLs, and then logging on the server which of those URLS the browser tries to fetch. By responding to fetch requests with 404s or bad assets, the server can avoid having your browser overwrite the unique combination of URLS it has cached, which allows for more persistent tracking.

These caches also work across domains -- that means that if "foo" requests asset "googlepixel/my_id", and "bar" also requests asset "googlepixel/my_id", both will get served from the same cache. This means that caches can be used to track browsers across multiple websites.

On the content-delivery side, the cached images are likely unique to the website you're visiting, and by downloading them, you're letting the 3rd-party know that your IP address visited the page that they're associated with. In a centralized web this is a small concern, to the extent that it allows Cloudflare/Google to know a lot more about what pages your IP is visiting.

In a distributed web like IPFS this is a bigger problem, because now you're connecting to completely random people online to get your assets downloaded. Even worse, you're asking for those images/documents not by going to one specific server and saying, "hey, server X said you had asset Y", but by announcing to the entire network, "hey, I want asset Y, does anyone have it?"
Also for non-slavic speakers' interest: “ne” is No, and “dělat" is Work, so Sunday is literally the day of "Nowork".
Kaspersky is not affiliated with FSB.
Is there an agreement on whether it’s

<author name="pete" />

or

<author>
<name>pete</name>
</author>

yet?
> Native apps have pretty robust permissioning systems.

They really don't, though. No better than websites. I was astounded when I first used Little Snitch and saw how often random apps were making network requests. For example, Translate Tab (a simple language translation app) sends every translation to Google Analytics. And you need a relatively sophisticated tool / expertise just to see this.

It made me rethink the superiority of native apps since all this is so hidden. I prefer websites over native apps because I can run uBlock/uMatrix. Native apps can do whatever they want when it comes to tracking. People aren't even talking about it.

Not only do native apps get off scot free, HN glamorizes them as superior with no questions asked.
Dünya Pnömatik Kompresör
>Something I miss from reading those articles: what are you doing when the wind doesn't blow for a few days or even weeks? And in case of solar farms, the sun doesn't shine (like at night)? How do you store the energy efficiently?

As the renewable industry, you still have people depend on the conventional grid for the vast majority of power, while taking advantage of generous subsidies, tax breaks and other deals to convince people renewables are anywhere near a match for it at the moment...
Reminds of me the WoT Extension "Data breach":
https://www.makeuseof.com/tag/web-trust-data-breach-accident...
Vidalı Kompresöör
The short answer is that hedge funds etc hire teams of math PhDs, rent out supercomputers, acquire non-public information like satellite imagery, and do various other hard activities in order to accurately price securities. Unless you think you can beat these players at this game, there's no way to pick better-than-average stocks.

The longer explanation is that you can break down the price effect of various real-world events into two axes. There are things that transfer market value between companies, and things that change the value of the market as a whole. For example, people buying more Macs instead of PCs will transfer market value from Microsoft (among others) to Apple. On the other hand, a novel form of efficient energy production will do more to increase overall economic activity.

The maximally market-cap weighted portfolio has diversified away the first axis of risk. Suppose company A, worth $500M, loses $50M of market cap to company B, worth $100M. If you own $500 of company A and $100 of company B, the $50 loss from owning company A stock is completely offset by owning $10 of company B stock. You're purely exposed to changes in the value of the economy as a whole, and have eliminated diversifiable risk from your portfolio.

If you can't benefit from taking on diversifiable risk, you're better off getting the same return at a lower level of risk by simply removing it.
Maybe these people had to because they would be fined by the IRS for not having it, which when it expired they stopped paying? Hurray for Congress fixing anything with 3500 pages of political negotiated solutions...
"They may even be the worst way."

I'm interested in whether you think this could be the case even when compared with say a development team designing the architecture as they go.
Julia is suited for long running processes, be it a simulation/calculation that will run millions of times for hours or a long interactive session for example exploring multiple variants of an algorithm (such as using the REPL, Jupyter or a combination of REPL and text editor which is my favorite, thanks to tools like Revise.jl which will automatically compile code as soon as you save the file).

The start will be slow, since the compiler will be aggressively optimizing and compiling everything it can (not unlike if you had just the source code of a C++ program and wanted to run for the first time), but over time pretty much everything will be already compiled to high performance code so the program, if written adequately, will run at similar speed to C, but it can still be modified at runtime like any dynamic language (which it can then compile as well).
The Lost City of Heracleion
> Weight is a weaker condition, since you can construct a polynomial weight sequence that results in linear height.

I'd like to hear more. The varieties of weight-balanced trees I'm aware of all have logarithmic height.

> In general, height is the easiest thing to restrict, but doing so restricts dynamic performance optimizations - you can't use splay trees, for instance

Good point.

BTW, you might be interested in Bose et al.'s "De-amortizing Binary Search Trees" <https://arxiv.org/pdf/1111.1665.pdf>, shows how to keep height logarithmic with "essentially any Binary Search Tree" (their phrase).
Fusion Physics (2012) [pdf]
Like all “good” tech ideas this isn’t a terribly bad idea on its surface. It has no tech requirements. Running this just sounds like a nightmare. I really don’t want to be adminning griefing and trolling targeted at cancer patients.

Well run moderated communities for the dying are nothing new.
I pretty much agree with everything you're saying here.
Really curious why you'd want to study these unless you already had strong fundamentals in application architecture and are not afraid to expose yourself to antipatterns. GIMP/GTK in particular are a cornucopia of terrible ideas stemming from ignorance and prejudice.
I think there is some relation to caring about how things look and being a good coder.

I like a well designed resume and I like beautifully written and formatted code.

I've actually considered asking candidates to send me a screenshot of their IDE.

Obviously not at the top of the list of most important data points, but a data point nonetheless.
Or you just go semi anonymous trash posting on 4chan.
Oh most definitely, there is a bunch of ways to solve this concrete problem. But none of them addresses the conceptual issue of the specification authority.
I suspect this was shared because of the parallels to entrepreneurship. (Especially avoiding the sexy glamorous jobs)
There's a defunct auxlang project called Lingula that aimed to focus on comprehension between romance speakers.

https://www.reddit.com/r/Lingula/

I don't think an international auxiliary language besides english would ever be able to take hold, but I think something like Interlingua that just focused on romance languages and used a simplified romance grammar rather than simplifying it further would have been very interesting.

I think esperanto would have had a better shot had it adopted Zamenhof's early reform.

https://en.wikipedia.org/wiki/Reformed_Esperanto
The article is wrong. The UK manufactures more stuff than it ever has before. The Guardian reported this as a "decline" but is only a relative decline, and a decline in the numbers of people employed. Actual value of all stuff made added together has grown.
That's how most kids get into prestigious universities. Rarely, if ever, do kids just "stumble" into HYPS or Oxbridge, out of sheer intellectual power and luck.

If you want to get into those schools, you gotta know how to game works, and practice specifically for that match.

I went to a school like that, and the majority of my classmates were from upper-middle to upper class families that had poured money into their education since they were young, with the specific goal of getting them into top schools.

Yeah, that's unfortunately the thing, when you start throwing in a ton of different criteria / measurements. The people that know how the system works, will study to maximize those points.

My honest opinion is that you kinda of end up with smart people that are very good at test-taking, but may not be the best people when presented a set of problems with non-obvious solutions, or any guides or road maps on how to solve the problems.
Ah that sounds more serious than the "found numerous tiny plastic pieces in her intestines" which had me doubting that was the cause of death.
SGML also has tag omission to make this even less verbose if desired. Or short references, which basically let you define arbitrary tokens SGML recognizes and replaces into something else, depending on the element context. These techniques in combination can be used to parse s-expr, CSV, markdown, and even some JSON, for example. Though personally I agree with others here that SGML is first and foremost a markup rather than config language.
I took that as a poor attempt at humor. I don't think the author actually implied a connection.
The media regularly points out neoconservative flaws, but neoliberal flaws are either dismissed or attributed to Republicans.
i'm sorry but this is not how decorators are supposed to be used. I also doubt that click does decorators correctly too. I couldn't get them working on a instance method for example. Just stick to the standard library on this. A dependency is not worth it here.
If you have thousands of errors it is likely you simply misplaced a comma or semicolon. If you have just one error you are in deep trouble.
Not the OP, but I expect it's more CYA. Many employers will reject a candidate that puts their age in their cover letter or resume. Rejecting these isn't about fighting age discrimination, but having the policy means that the candidate can't later claim discrimination, because anyone who shares that detail regardless of age is out.
except there is no standardization at all.
This wasn't necessarily the most constructive thing to say, but it unintentionally invites a silver lining: studying failure is the most effective route to success. This is as true in software as it is in operations, economics, finance or pretty much any other discipline.
I wonder - did you not play other types of games before?

I tried getting into IF several times and never really managed to get very far - both the frustration of trying to get the parser to understand me & the "gameplay" (puzzles I guess) just not being very interesting.

Maybe it's one of those things where "you had to be there at the time".
I often think this will be known as "The Plastic Age" and we will be known by a layer of it in the sediment like the K-T boundary has iridium.
> like piping CLI commands together, in Julia's case you're looking at pathetic 3 execs per second.

If you want to build CLIs without the JIT overhead, you can compile your Julia code: https://github.com/JuliaLang/PackageCompiler.jl
I’m sure you’re right, but honestly they will always find a reason if they’re looking to find one.
If it ran the crypto miner while the battery > 5%, you'd be able to chat sooner. I'd call it a premium feature and (pun intended) charge for it.
I can’t exactly tell what you mean but I think you’re confusing two levels of abstraction here. C++ (or rust) and python already work in harmony to make training efficient.

1. In tensorflow and similar frameworks the Python runtime is used to compose highly optimized operations to create a trainable graph.
2. C++ is used to implement those highly optimized ops. If you have some novel feature engineering and you need better throughput performance than a pure python op can give you, you’d implement the most general viable c++ (or rust) op and then use that wrapped op in python.

This is how large companies scale machine learning in general, though this applies to all ops not just feature engineering specific ones.

There is no way that Instagram is using a pure python image processing lib to prep images for their porn detection models. That would cost too much money and take way too much time. Instead they almost certainly wrap some c++ in some python and move on to more important things.
I sort of wonder this too. The logic seems simple. Companies are attacked for being bad for the environment. In ways such as fossil fuel consumption it is impossible for them to change. However, in ways such as making packaging slightly lighter or of different materials it is easy to change. Companies support existing environmental groups fixated on fringe issues as a way of appearing progressive while the main issue (which would be costly) goes on touch.

As a resident of California who has seen plastic straws be banned (which are highly visible but small) while millions of other types of waste are allowed I suspect it is the case.
American Medical Association Leaves Coalition Fighting 'Medicare for All'
TOML is so much easier to read IMO
This was a sarcastic comment about the title of the submission, because gas is a fossil fuel…
Yes, this was my thought as well. I was in Rotterdam last summer which was mostly leveled by WWII bombing. It was very striking how much more modern the city was than cities like Amsterdam which came away with much less destruction. Obviously the destruction was horrible, but it was really interesting to me how it paved the way for redevelopment and vibrant newness. I guess this should be obvious. The chain of cause and effect is very straightforward and unsurprising in retrospect. But somehow at the same time it also seems counterintuitive how destruction can enable advancement.
Color template errors are the greatest leap in the history of computer science. No longer do I need to scan megabytes of output to find the unexpected |unsigned| in the fifth level of a template expansion.

https://clang.llvm.org/diagnostics.html
> My point is that if the time and effort that was spent on Protobuf and CapnProto and all the others had somehow been spent instead on perfecting ASN.1 then, uh, that would have been good...

I wrote proto2 in 20% time at Google and I developed Cap'n Proto entirely on my own time, unpaid. If you think ASN.1 could be perfected with a similar amount of work then why don't you do it?
google translate for website not working with firefox
This sounds more like a Python and pyyaml problem than a YAML or JSON problem. Someone could come along and totally refactor XSLT even if XML stayed the same, and then you would be in the same boat.
I strongly recommend doing away with config files completely for sake of ease of use, maintainability and security.

Instead just declare all config variables within code itself in a separate config class/module file, along with initialization to default values and provides dynamic getter/setter interface over a debug API (which can be enabled/disabled via a command line flag).

If you want, you can also provide a friendly cli tool to interact with the debug api. This tool could output help messages, show current config values - differentiate between default vs overwritten etc.

Of course, this can be written once as a utility library and cli and used consistently across all your programs.
One of the most memorable moments of my career was when I joined a project and, the very first day, had the equivalent of a “showrunner” sit me and another engineer down and pitch the project to us.

It was mostly the same pitch that the showrunner gave to get the green light for the project, and it was crackling with energy, excitement and potential. It was magical.

So many other times, I was kind of tossed into a team and had to piece together what we were making and even why and how. This time, though, I went from knowing almost nothing about this project to having a clear view of where we wanted to go and being thrilled to be on this journey.

Speaking of which, I can’t resist sharing a fantastic metaphor of a creative project as a journey from Pixar director Andrew Stanton (the following are all his words):

The hardest thing about directing an animated movie is keeping yourself excited about it. It's hard enough to make the crew excited about it, but keeping yourself excited about it -- trying to remind yourself why you wanted to do it. Because it's all about the details once you really start making the movie.

It's no different than building a house, or, building a really extravagant mansion. There's a million details that you have to spend more time with after the bigger ideas of where the rooms are going to go and how it's going to be structured, and it can get you kind of bogged down.

Joe Ranft used to have this great expression that there's always a point during the making of a movie where there's sort of the Columbus where-is-the-land moment, where everybody on the boat is going "You promised us the land. Where's the land? We're not seeing it!"
And people get bogged down in all the minor problems or the major problems that won't go away, and it's all justified -- it's all legitimate to have that response.

So, for me, to prevent that is to get really, really picky about what story you're going to tell up front. And this is my opinion, and it's not a rule. But if I have an idea that I kinda like, then I don't want to do it. If I have an idea that affects every fiber of my being, like "I want to see that movie made whether I make it or not" -- it's like that idea has to get on the screen -- that's a real good quality to start with. Because it's going to get attacked for the next four years. And there's going to be, sometimes, weeks or months where nothing seems to be going right.

[...]
It's like looking for oil or something -- it's like "where can I find something that has enough fuel that's going to keep me going for years?" Because there's going to large stretches of time where nothing is working, nobody's happy, everybody thinks that the sky is going to fall, and what's going to get me out of bed is just because that idea still has to be on the screen.

So I want that when I'm going to go into battle. Because it's going to be battle. So if I don't have that going in, then I won't go into it -- I won't make that movie.
It should turn the chat off while charging, of course.
It really comes handy IMHO when you have a lot of commands with nesting and context to share. I've used it on a CLI tool with many sub-commands implemented in imported modules and it made things really easy while I don't think argpase would have "scaled" without becoming a mess.

Plus it comes with some useful utilities you might need in a cli to show a progressbar, display color, open test in a pager/an editor etc.

The official doc is really nice and gives it more justice than this blog post: https://click.palletsprojects.com/en/7.x.
A chat app that only allows you to send a single message ever to any contact.
That also has issues breaking on VPNs
My parents share the same tales. They were fishermen off the west coast and even just 20-30 years ago there was an abundance of fish and made fishing a thriving industry.

Unfortunately, overfishing combined with pollution and climate change has severely depleted stocks. It's just another example of ruthless industrialization and commercialization resulted in pushing the environment past the brink. An industry unregulated will eventually eat itself out of existence with terrible side effects.
it's simple enough that it has probably been rediscovered independently many times throughout history.
I’m not keen on how so many tools and services opt for YAML by default, either. Both JSON and YAML are a nightmare to handle once you’ve got 3000 line files and several layers of nesting.

CI would be a lot nicer to use if it didn’t rely on a single YAML file to work. And if you want to switch, suddenly you had a build step to convert back to YAML.
It's not even the important half.

If I have data that I need to send somewhere, and I can create the format for it, that's really easy to do.

The problem, every time, is the reverse; receiving some piece of data and trying to figure out what parts of it I care about. Both XML and JSON allow for schema definitions, but in both cases it fundamentally requires me, as a consumer "grokking" what is being sent. And the verbosity of XML simply makes that harder. Working with either is not _that_ hard (though I have run into XML in the wild that is so large a payload, yet so poorly designed, that there is no good way to process it; I can stream with via SAX without writing my own state handling mechanism, and I can't just deserialize it into an object without massive memory issues at scale); the difficulty really is in containing it in my mind, and JSON simply facilitates that better due to it's simplicity and explicitness (yes, explicitness; in XML it's not clear if a child element should only exist once, or multiple. JSON it's obvious)

Per the OP; I cringe every time I see YAML. Pain to write, pain to read; have to have tooling every time or I get whitespace issues.
I can at least write comments in YAML.
Any time the semantics represented by the XML is non-trivial, the schema design is likely to be obtuse and/or broken, even when done by smart people. XML is just hard to get right, and hard to evolve gracefully.

When you add verbosity on top of that, working with XML over the long haul is an utter pain.
5 contacts should be enough for anybody
These are some strange complaints. As a C++ developer optimizing numerical code, I have never once worried about any of the things mentioned here. I care about instruction folding, vectorization, loop reordering, and efficient instruction emission. If your optimized program is worried about startup latency of 100s of ms, you are doing something very very wrong.

I guess negativity gets clicks.
> it means that Swift and Clojure are just as useless as Julia for numerous use cases where start-up times matter

This is not true for Julia, you can simply precompile the code: https://medium.com/@sdanisch/compiling-julia-binaries-ddd6d4...

Julia's default model is that script functions are only JIT compiled when run (just like the JVM, etc.), but you can just as easily force the compile and stick it in an image.
XML wasn't meant as replacement for JSON, but for HTML without vocabulary-specific parsing rules (eg. SGML DTDs).