skysight-inc/HackerNews huggingface dataset:
Thanks. Amazing overview.

abstract away what they
cannot know

Here I'm a bit surprised. For theoretical reasons (I've never gotten
my hands dirty with GPU implementations, I'm afraid to admit), I would
have expected that it is highly useful to have a language interface
that allows run-time (or at least compile-time) reflection on:

- Number of levels (e.g. how many layers of caches).

- Size of levels.

- Cost of memory access at each level.

- Cost of moving data from a level to the next level up/down.

The last 3 numbers don't have to be absolute, I imagine, but can be
relative, e.g.: size(Level3) = 32 * size(Level2). This data would be useful to
decide how to partition compute jobs as you describe, and do so in a
way that is (somewhat) portable.
There are all manner of subtle issues, e.g. what counts as cost of memory access and data movements (average, worst case, single byte, DMA ...), and what the compiler and/or runtime should do (if anything) if they are are violated. In abstract terms: what is the semantics of the language representation of the memory hierarchy.
Another subtle but important question is: what primitives should a language provide to access a memory level, and which ones to move between levels. An obvious choice is to treat each level as an array, and have DMA-like send/receives to move blocks of data between levels. Is that a good idea?

Equally subtle, and I already alluded to this above, is when to make this information available. Since the processor doesn't change during computing, I imagine that using a multi-stage meta-programming setup (see e.g. [1] for a rationale), might be the right framework: you have a meta-program, specialising the program doing the compute you are interested in. C++ use template for program specialisation, but
C++'s interface for meta-programming is not easy to use. It's possible to do much better.

As you wrote above, programming
"in those languages is hard and error prone", and the purpose of language primitives is to catch errors early.
What errors would a compiler / typing system for such a language catch, ideally without impeding performance?

[1] Z. DeVito, J. Hegarty, A. Aiken, P. Hanrahan, J. Vitek, Terra: A Multi-Stage Language for High-Performance Computing. https://cs.stanford.edu/~zdevito/pldi071-devito.pdf
Yes! Im with you on that. But it is not the tech or IT "Poeple" that we are talking about here. This Discussion is going on for many years now and there will be another 10 Years of "simple" solutions.
I will be honest here. As a Programmer and Application Supporter (for 17 Years now) i earn Money with that kind of Problems. I dont like MS and it would be a joy to switch to GNU/Linux. But i think i will see someone standing on Mars before MS Office will be replaced.
>The main counterpoint is that this stimulus would be needed to counter massive demand-side deflation.

The gp you're responding to sounds like he/she is talking about personal investment advice to protect an individual's purchasing power (i.e. micro economics).

However, your response is about a macro economic government policy.

Those are 2 different conversations.
Lead official who pressed for rigorous vetting of Coronavirus vaccine fired
Most people stick with Mac and Windows because of MS Office, not Adobe.
> How about we try the trickle up economy for once?

We are. The vast majority of the stimulus so far has gone to benefit the bottom 3/4 of the US economically.

Here is some of what's in the $2 trillion recent stimulus:

- $268b to extend & expand unemployment benefits.

- $293b one time check (which won't be one time)

- $377b small business loans & grants; this has been more than doubled since then

- $150b aid to state & local governments

- $153b boost health related spending

- $42b boost to smaller social safety net programs, such as SNAP

- $45b boost to disaster assistance

- $40b boost to education spending

People will attempt to retort that: well, but big corporations have improperly taken some of the small business loans; they'll try to use a rare edge case to attempt to nullify the overwhelming point that in fact most of the stimulus is going to the bottom 3/4, not the top 1%.

Further, we'll do more stimulus programs yet around sending direct checks to individuals, which will continue to tilt this scale in the favor of the bottom 3/4.

The small business loans, unemployment benefits boosters and individual checks also do not have to be paid back, unlike the big business bailouts (such as with the airlines).

Most likely direct checks alone will cost over a trillion dollars before this is over. There is very little capable resistance to doing more in that regard, it will happen.
Personally I've found the way to "win" at social media is to not engage.

I left Facebook over a decade ago - as it happens because of the people not the platform - and I find myself not using Twitter at all (I'll occasionally go read a linked tweet, but its not like I need an account to do that) for months now.
> it would be a mission impossible to change sockets

Why? I lived through one such change in last 30 years (switching from 2-pole europlugs to CEE 7/7). They are backward-compatible, but so would be the usb+power plugs.

We also switched from 60 Hz 240V to 50Hz 230V some time in 00s (don't remember exacty, it was a non-event).

As for incentives new electronic devices should simply be reqired to have these plugs and microcontrollers, like now we require them to have fuses and certain wire gauge, etc.

Why depend on a hack when you can do it right?
Interesting observation, although it should be noted that in the case of infrastructure, the future generations that are obligated to pay for its construction will also be in a position to reap its benefits.
> Rebooting 20,000 servers takes a very long time without risking extensive downtime.

With eBPF, hot-patching servers will take a very short time to start the extensive downtime, plus the consequent reboot of 20,000 servers.
Cheat Sheets for Visualization Techniques
>None of the agencies would be required to apply for warrants to access people’s internet connection data

This is misleading. All requests for any kind of Communications Data require authorisation [1] and need to outline necessity, proportionality and collateral intrusion, including details of less intrusive means already tried. This is a similar process to the warrant application process - the difference is that a Warrant is authorised by the Secretary of State (the Home Secretary) whereas the CD authorisation is granted by the Investigatory Powers commissioner - previously Sir Adrian Fulford and currently Lord Justice Levison.

To say that any agency can get without a warrant is misleading. Also, none of the agencies cited (Food Standards Agency, Gambling Commission and NHS Business Services Authority) will have the authority to request to ICRs [3].

[1] https://www.gov.uk/government/organisations/office-for-commu...

[2] https://en.wikipedia.org/wiki/Brian_Leveson

[3] https://www.legislation.gov.uk/ukpga/2016/25/section/62/enac...
the one where people somehow think, the status quo is god-given and that it's their godly duty to give alms. And no, Bill Gates is not an example for that - I think it's basically limited to the 3rd world, people in the US are still supposed to get their life together ;).
As a user I do not care about publisher's convenience. They should solve their own problems without making users the victims of said convenience. As for "safer" - I'll buy this argument when you get rid of slow startup, bloat and other problems associated with snap.
Bankruptcies are not "structural damage" they are economic progress that transfers assets to stronger or more nimble players. The bailouts are fighting creative destruction and this will reduce the dynamism and long term growth of the economy.
The markets now firmly believe that any real reductions in asset prices are impossible. The fed will always rescue them with bailouts. That’s Just incredibly dangerous and can only lead, in one or two more cycles, to the collapse of the US dollar. That sounds incredible but it we keep on this way I just don’t see any other way this could end.
> I was very happy to see that it claimed that my old pal

> fluxbox is highly active, but the last three news items on

> the fluxbox site are from 2015, 2008, and 2006,

> respectively.

Many of these projects are quite old, but still compile fine and are usable. WM2 for example still runs perfectly fine on top of X11.

> I've never had anything but a good and responsive system

> with that approach.

Fast and gives you an appreciation for what is needed for a functioning desktop.
I see, apologies.

However, I'm reasonably certain we'd see poor performance with that query on MySQL 5.7, but I don't think it's got as good an optimiser as Postgres for example.
Luckin is being sued by Chinese investors under brand new law
Japan is even more pronounced regarding this.

Interesting possibilities stem from it:

https://www.huffpost.com/entry/sovereign-debt-jubilee-japane...
KDE is also a lot less garish than it used to be. That was the one thing holding me back from using it.
yeah, I reckon that. But compared to the old caste systems the people on top tend to show even less regard for the ones down (because they are so great and all selfmade!)
Unless it's only given to the top 0.1%; then it'll make only stock prices higher and some studios in New York City.
What "gotchas" or caveats are you expecting from `is_uploaded_file` or `move_uploaded_file`?

Any use of `exec` should be considered dangerous, when there's native language/stdlib support for achieving the same thing.

Edit: corrected function name.
The Guardian (my employer) and the BBC ran sessions to exchange about how to make a news app.

It's on pause given the current situation, but it was very informative!
Flash on Call 2020
True, this should have a disclaimer: "* For a very flexible definition of a microkernel"
I use a 1440p display at 100% and a 4k display at 175% on Windows and it works fine. The only bug that I see is that if a window is spanned across two monitors, it picks the scaling based on which monitor contains more of the window. I'm not even sure that's a bug, it's just how it has to be done. (My first mixed DPI setup was actually on ChromeOS. That got around the issue by not letting a window span monitors. Actually a somewhat elegant workaround, since it didn't let you do that before HiDPI support ;)

Windows and the applications I use even handle the different refresh rates of my monitors pretty well. I have a 165Hz main monitor and a normal 60Hz monitor. Apps are aware of the framerate differences when I move them around.

It wasn't always good, but as time goes forward applications and Windows itself handles HiDPI better and better.

(FWIW, I haven't had any problems on Ubuntu... except that letting the monitors go into power saving mode resets the display scaling override. That was with 18.10, though. I use an Ubuntu VM under Hyper-V now... begrudgingly.)

Having said that, I am not a GUI power user by any means. On Linux, all I ever use are a browser, terminal, and Emacs. On Windows, I use CAD software and games (and a browser, terminal, and Emacs). It all works well enough for me.
Show HN: Sabre – Highly customizable and embeddable Lisp engine for Go (Golang)
Several years ago I hacked together a little tool for exploring integer sequences that can be generated via matrix-vector products:

http://dpw.me/clear-the-deck/

Sadly it's not as functional as it once was (sequences are supposed to continue generating as you scroll down the page). If anyone's interested in lending a hand to get it working properly again, I'd love to hear from you! My email is in my profile.
Money is just a number in some computer. The important thing is the real economy. Deficits, as any other spending, and depending of the circumstances, could be inflationary, but they don't have to be, it depends of the state of the economy in the moment of the spending.

The public debt is just a number, it's the accumulate of pass deficits and it's not inflationary in itself and it's not a problem.

A mental experiment (not so hypothetical): suppose that in order to fight an economic crisis the government decide to spend a big deficit and, in order to do it, they emit bonds. Suppose now, that the Federal Reserve buy all those bonds. Who is that money owned to? who receive the dividends of those bonds?

A second mental experiment: in order to not increasing the public debt and "save for our children" the government don't spend in infrastructure or investigation. In 50 years there is not infrastructure left or new technologies but the public debt is zero. Are the children rich or poor?
More people are getting the Limp Larynx feeling such as you do. I had the same thought, especially after snap, and all. So I agree.
BTW, here's a link to the blog I mentioned:

https://statmodeling.stat.columbia.edu/2020/04/19/fatal-flaw...
The link on that post talks about 2019, the recolection of the events was pasted this year but still...
Show HN: Support independent music artists on SoundRat
The Sandboxie Application
I've been in relationships with two artists who were both very opinionated on this topic and we had long (and pleasant) discussions. I am not sure they would agree with me but this is the take that I have:

Art "works" for you if it makes you feel something. That's all. It can be joy, melancholy, curiosity or it might even be repulsive to you.

Do you like The Big Lebowski? I remember seeing this question on Reddit: https://www.reddit.com/r/AskReddit/comments/f5hvt/what_do_so... -- the person wants to understand it. But to me like many, I am sure, it's clear that there is not really something deep to understand. Either you enjoy it as a funny movie, or it does nothing for you.

The type of art that most of us appreciate without trying to "understand" is music. It can evoke a spectrum of feelings and a lot of it just doesn't. Most people don't have issues with this the way they do with "modern art". So if you see an abstract painting and you feel nothing, probably just let it go. Don't try and decipher it.
But, you have the huge advantage that if they crash, they don't bring down your system.
Selling them to whoever is buying the debt.

The government gives you money(low taxes)/buys something, and does so by borrowing the money for a long time. Now future generations (their children) are on the hook for the payments, having to pay higher taxes in the future for benefits in the present.

This is fine if you are using that money to invest smartly, such as in needed infrastructure. This is not good if you are doing it to lower taxes to win elections.

This is how you can "sell you children", though I prefer the more correct language of saddling them with debts.
Architecture is a sub-culture just like anything else. There's plenty of software we love that is buried under a hideous UI, because we understand how the construction and operation of our beloved is unique in concept, function or influence.

Lots of aesthetics is to do with prediction and surprise, and if you don't have the 'perceptual training' you won't be able to make much sense of the art or architecture which defies your expectations.

IANAA but I imagine the "Technisches Rathaus" building is supposed to be a bit like what's supposed to go on inside a technical academy - scientific reductionism or abstraction. The design exposes the 'idea' of the components of the building (the steel poles, obvious floor layout, bringing up the 'foundations' to ground level) and abstracts away the typically visceral particulars (receding the windows, using only design-relevant adornment).

I think there are plenty of interesting buildings that look absolutely disgusting in context, but which I'd probably enjoy and be able to 'see' properly if they were grouped together in their own little town somewhere, because I'm not in a mode where I expect to see traditional architecture.

At the same time, if I never see those buildings, how am I to know what novel aesthetics I'm missing out on?
Protecting my purchasing power and accumulating wealth has worried me since 2008.

I initially looked long and hard at trying to implement my own copy of Ray Dalio's "All Weather Portfolio". I really recommend reading up as much as you can about Ray Dalio and this portfolio. To create this portfolio for US investors you can follow this website: http://www.lazyportfolioetf.com/allocation/ray-dalio-all-wea...

Having done all that research, I've started to modify my approach according to Chris Cole's "Dragon Portfolio". You can learn about it here: https://youtu.be/SkfgEZtJ9LA and read how to implement it yourself here: https://docsend.com/view/taygkbn

Just to be clear, I have no connection to any of the people and companies mentioned. Also, you may have higher risk tolerance, and want a higher level of return, so these portfolios may not be for you. Either way, you should always seek the advice of multiple fiduciary financial advisers before deciding what to do.
Anything above a factor 20x is wishful thinking. Limiting it to the studies that have been done in europe show 10-20x which is much more realistic
The Anomaly Detection I Actually Wanted
That sounds interesting. How big will it be physically?
> It's got the lastest iOS and I fully expect the lack of iOS 14 support will be the reason I have to swap it for a new model once software support falls away.

For what it’s worth, Apple last updated iOS 12 on March 24th, so they seem to be supporting not only the most recent major version of iOS: https://support.apple.com/en-us/HT201222
I think it's based on two factors:

- The emperors' new clothes: liking it makes you look sophisticated, disliking it exposes you to mockery (as someone inferior that doesn't get it). it also allows people to feel that they are better than the out-group ( and being evil while feeling good about is appealing to humans). These social dynamics need not be conscious decisions.

- These social dynamics can be exploited by third parties to suit their own ideology. Propaganda is powerful.and it was used as a CIA weapon: https://www.independent.co.uk/news/world/modern-art-was-cia-...

- financial incentives: if I pay a higher price for an art piece. my collection from the same artist will appreciate in value. In addition, it can be used as a mean for money laundering and for tunneling money for illegal purposes. therefore the value of a piece need not match it's artistic merit.
Are you telling me that when I use Axe deodorant my house won't be flooded by hundreds of nearby - alleged beautiful - women in their early 20s within a couple of seconds? Outrageous!
Are you in the habit of using Rust + WASM? From how you’re wording this, I suspect not. Rust really doesn’t require a large runtime (until you do something that requires Unicode tables, then you pay a certain tax), and the difference between high-level and embedded styles is normally small to nothing—the whole concept of zero-cost abstractions is normally talking about performance, but correlates extremely strongly with code size too; such abstraction layers typically compile out of existence.

Also there’s still a fairly big difference between a more frugal style of Rust and C. Just because it can’t cause arbitrary code execution and the likes doesn’t make C safe to use.

Yes, when developing for the web people will hopefully pay a little more attention to binary size, because WASM does have a tendency to make big code blobs easier to produce, especially if you’re using generics liberally.

Finally, although at present the browser WASM story requires it to interact with the browser through JavaScript, that limitation is planned to be removed.
Technically, Linux is just a guest OS, running on top of Minix :)
If you only ever want to use the laptop's screen then you can indeed run the X1E on the intel gpu only. Unfortunately the display ports are hardwired to the discrete gpu so you need run the nvidia chip in that case.
Support for i3. Just don't give up even if it feels a bit awkward to use it the first day(s).

There is also https://swaywm.org/ if someone thinks they should run wayland.
Probably someone in Apple feels your idea would be a good thing for Apple to do itself,(as has happened many time before) so get what copyright protection you can get and persist, then sue if they infringe on you.
The Internet is not the US.
It's Geekbench results. Take with an extreme grain of salt.
And it will take care of all dependencies? What if the repo packages are version < 2.4 or something, I have ran into that a tons of times. Yeah rather the AUR than the ppas to be frankly these days. I love Ubuntu though, as a general idea. Let's just hope it works sometime. Bit disappointing the last few releases. If it ever truly wasn't. Just gave up after 14.04. Tried to like it but I failed.
Making our economies Anti-Fragile
Snaps are sandboxed. They can be granted extra privileges, such as access to $HOME, camera, bluetooth etc. Some of these interfaces such as $HOME can be gained automatically by any snap. Others need to be granted by Canonical (to automatically grant access on install), or manually granted by the user post install. There is also a 'classic' mode where the app is unsandboxed, which again needs to be granted by Canonical and in addition requires explicit acceptance by the user when being installed.
I'm pretty sure banks are offering lots of value. What would you do without an electronic bank account? Send cash via mail? The problem is that they are abusing their monopoly position and lack accountability which results in a moral hazard. You didn't mention any of that.
>our own Fed

It's actually privately owned and not public.
I'm being tongue in check with that bit :).

We're not literally selling the kids. But it is the kids that will be paying off these huge debts via higher taxes and less services.

The debts are mainly owed to China, Japan and a few other nations as well as big private lenders (hedge funds and billionaires)
Overlooked No More: Eunice Foote, Climate Scientist Lost to History
Thank you for sharing your experience, that was insightful.

The long view of history, rising and falling waves of innovation, funding, market demands, new ideas and shifts in technology.. After each winter, a new cycle begins with a search for:

> a match between value and [technology's] ability to deliver it with enough margin to support building a company

Which sounds like "product-market fit".

That makes me think, what may seem like a downturn in the industry or saturation in a market segment, could be a sign that fresh pastures are needed, with new opportunities for those who can see where things will go, the next big ideas (which often start small and look like a toy to the established/entrenched players).

> If you can see the things that gave the market wings over the last 10 years, often there are hints about the next thing that will generate the excitement.

This is what I love about the world of computers and technology. The people who inhabit it, who push it forward, are driven by imagination and a kind of undying hope, to see the blue skies beyond the weather of today.
What kinds of problems would you face in creating a news app? Surely content delivery is the same as that through the web page and for displaying the content you just use some cross-platform UI library?

(From somebody on the outside with absolutely no idea.)
We agree on what science means, and my point stands. Swift decisions needed to be made in February.
eBPF has been invaluable in my field (low-latency linux applications) and it changed a lot.

If you had problems working with kernel modules before, you probably should expect struggling with writing correct code for eBPF too. It's not for everyone.
Is it true that the fed is privately owned and if so does it matter or not really