skysight-inc/HackerNews huggingface dataset:
Would it make sense for Rust to have UI primitives that are named the same as SwiftUI's?

e.g. Text, HStack, VStack, ZStack, List, ForEach, Button(action, label)

Even if they don't output the same widgets on all OSes, I think just having a shared convention might be a good first step towards learn-once/write-native-everywhere crossplatform UI.
Shareholder equal protection needs to be established more in the courts. It is bogus when some shareholders get massive constructive dividends while others get none.
And FYI, I didn't feel you were being negative or anything, and I don't think you have the ability downvote to -3!

I took the time to answer to tell you about deprecation because I thought it was worth sharing given your message, and that you may find that funny (double deprecation, bringing it back from the dead!) as I did when I learned that.

However, our exchange was judged negatively by other people. In the end, I still give up. I can't please them. I don't understand their culture or how it is adversarial even after going though the discussion here (especially about the "funny" part).

I don't want to watch what I say or talk in fear on ow I will be misunderstood. This is not a dictatorship. But "inclusive" language start to feels this way to me.
BBC scheduled live stream of US impeachment hearings
I guarantee you this design would confuse a lot of people. Imagine you're not the computer savviest person around, how you'd read this.

- The large, bolded "Click to download" text isn't clickable, like pretty much every other "Click to..." prompt you've seen.

- After a moment of confusion you think oh okay, there'll be a list of links to places I can download it from then. But there isn't. There's just the product logo. Download the product from itself, maybe? But why is it written like there's supposed to be a list? Hm.

- Oh wait, after "Download the latest version" there's a separate section called "Downloads", that's where the downloads must be.

- Okay, down there after a while there's bold text that says "Download", but that's not clickable, nor is the text next to it that says "Sandboxie Installer." Keep reading.

- Ah, okay, here's a table with a single row for some reason, with a nice link "Download from this site."

- Wait, why did "Download from this site" take me to a completely different site? The address in the bar is totally different, the design is totally different, I've never heard of this new site before and it wants me to give them my job title, full name, company name, and zip code. Is this a popup ad? Is this a scam? I thought I was downloading it from that site I was just on.

Incidentally it doesn't matter as the form doesn't understand my country's zip code system and won't accept it.
Tiny Brains Don’t Stop These Birds from Having a Complex Society
You should give Dear ImGui (which is mentioned in the article) a try. I was reluctant myself when I discovered it a couple of years ago, but it is such a joy to work with and so "obviously" the right thing on a very basic level that ImGui is now my default choice for writing UI tools (even with the disadvantage of not having a native look and feel).

It's still possible to put a data layer on top of immediate mode UIs, which basically turn a data representation into a sequence of function calls. But I think this would bring event handling back, which defeats the whole idea of an immediate mode UI :)
took me a whole 5 seconds. you're just slow, and i took a xanax a bit ago to boot
Nice, can I get a link for that you've got there?
You're probably right, I'm not a Python insider.
It's futile to keep trying to force fit an interview to a natural conversation. It simply is not.

"Tell me about yourself" is simply not the kind of thing normal people ask each other for breaking the ice. It's a stressful question that puts people on the spot and forces them to 'create' a first impression.
36 is fulltime in more and more sectors now (healthcare for example).
Eh, they're not immune: they use "go" in speech but "golang" in search, domain names etc.
They said no other postal service in the world was doing this, but isn't Japan? https://asia.nikkei.com/Business/Postal-workers-to-deliver-s... (Not quite the same I realise)
For the same reason I usually search for “<brand> sucks” for honest reviews I’ve learned that some of the best YouTube instructional videos for carpentry are the “don’t do this” videos, especially the inspection videos when a professional comes in to fix something. I just built a screened porch addition and am finishing the hip shingles today and I must have watched 10 roofing screwup videos before I started on the roof.
But not content, and also not in the UK.
The link of this post leads to Wednesday's hearing. Friday's scheduled hearings are here: https://www.bbc.co.uk/programmes/m000brhf
Separate metadata/markup for presentation + code sounds sounds like a straightforward choice, but I'm concerned that it'll incur a lot of maintenance overhead, and the programmer working with the code still needs to keep it up to date and relevant somehow. Dunno, I feel like it'd feel like code + doxygen boilerplate comments (a pain in the butt if you ask me) but worse.

I'm thinking that we need language level support for higher level semantic constructs and relations. Right now code is somewhat analogous to raster graphics or very simple vector graphics. You can construct anything with it, but it is very rigid and there's only so much high level structure that tools can try to infer and dump out of it. (Think call graphs, dependency graphs, flow charts, index of class hierarchies.. all of them somewhat useful for certain purposes, but none of them really good for high level design work or reasoning about systems at a level above the plain code).

We could slap some metadata on vectors or raster images but I think that's a far cry from ideal. I think that, with sufficient support from the language, we can provide most of the visual structure for alternate views by simply graphing with help of the semantics that are laid bare in the code. I wouldn't mind some additional hints for presentation, but if we're adding lots of markup and metadata, I think we're going in the wrong direction.
Its difficult to quit sugar initially. But once you have quit for sometime, the idea of consuming sugar begins to feel disgusting.
The only thing that can stop this asteroid (2010)
> If a file contains two functions and the developer changes one of them, both functions will be recompiled. If two files contain one function each, only the file with the changed function will be recompiled.

Still sounds like a compiler problem
> You can still avoid most of the effects of a worst-case bias by adding two additional measurements... given 3 who all had the same experience

You're right that it's an advantage, but it reduces noise, not bias.

Bias by definition skews systemically in the same direction so the positive effect of taking multiple measurements is minimal.
We’re working on a jupyter notebook setup as well, but for us it’s only analytical notebooks and dashboards (through Voila). How have you tied in triggered dataflows and ETL?
I only learned they do have the accents from your post. I was taught to omit them about a decade ago (as a second language).
So we're agreed that "top 1%" and "upper class" are not interchangable terms.
It was definitely paid software when I started using it back around 2012. There was a lot of uncertainly earlier this year when they stopped accepting orders without notice. Existing users could not renew their licenses and people were worried that the program may just be discontinued for good. Is quite fortunate that things turns out for the better.
New Windows installations are already run inside Hyper-V, due to new security features like Memory Integrity:

> Memory integrity is a powerful system mitigation that leverages hardware virtualization and the Windows Hyper-V hypervisor to protect Windows kernel-mode processes against the injection and execution of malicious or unverified code. Code integrity validation is performed in a secure environment that is resistant to attack from malicious software, and page permissions for kernel mode are set and maintained by the Hyper-V hypervisor.

https://docs.microsoft.com/en-us/windows/security/threat-pro...
So would you trust the company that owns one of your biggest competitors in this field (Waymo) with the stuff that decides over success: data?
Exactly. Sometimes there's someone else on the road driving so badly that the safest thing to do is get away from them. It's much more difficult if you're on a road with lots of speed cameras and no cruise-control because then you have to stare at your speedometer.
If anyone is looking for an introduction to the modern version of the platform, this free e-book from IBM is great: http://www.redbooks.ibm.com/abstracts/sg246366.html?Open
The problem is refined sugar does not contain fiber and most important does not contain ANY mictonutrients; so basically you starve yourself in the long run if you only consumed refined sugar.

Fruit is a whole other story as it contains a bunch of micronutrients.
The Jordan Peterson sub whilst not supposed to be political was good for thoughtful discussion about myth/philosophy/psychology ect for 2017-2018 and is now just political memes. They maintain an open policy at all times, not banning anyone or shutting down posters and as a result there is constant calls for more heavy moderating.

The redditors themselves want the authoritarian hand waved over the subs, because a lot of the time good quality content does not aggregate on reddit. I started an account here looking for the good stuff, hopefully thinkspot or something else will fill in the quality discussion blank on the web atm.
HTML Was a Bad Idea (2017)
How to visualize data on top of a map in Python using the geoviews library
Until we find evidence that lettuce [...]

You keep saying that but everyone knows the foundational work here is in pickles, not lettuce:

https://web.archive.org/web/20190324004223/http://jir.com/pi...
React was a worse one
> It's surprising how the general public seems to rely on research instead of first hand experience.

But medical research assumes that first hand experience can be deceiving, because of placebo effect. It also considers the impact self-deception on researchers, and tries to remove that effect with double-blind studies.

I find it difficult to believe that dietary changes that require a consistent level of engagement, both to be mindful of what you eat and to resist temptations, can be free of placebo effects. And since you're also evaluating subjectively the effects, you are also prone to the researcher's self-deception.
That method doesn't work for client certificate authentication. Thousands of organisations in the world generate client certificates for their users and populate them into the OS certificate store. Those certificates are then expected to be presented at the time of client-certificate authentication to the hundreds of apps that expect them.

The OS certificate in any enterprise company is "locked down" with extensive policies provided by the OS vendor. It is far harder to import/export certificate and key material from it than from Firefox's own certificate store. I know that my company runs has scripts that run regular background checks to validate certificates in the OS certificate store. If you want dev/test certificates, we even have an internal app that generates 'trusted' certificates for various purposes.

There was a reason that Chrome chose to move to the OS certificate store. They realised it would increase their market share in the enterprise. Firefox is a no-go because it continues to cling to its own custom store.
An estimated 33.9% of U.S. adults aged 18 years or older (84.1 million people) had prediabetes in 2015, based on their fasting glucose or A1C level. Nearly half (48.3%) of adults aged 65 years or older had prediabetes.

You may be one of these people and not even know it.

It’s an epidemic.
The BBC has gone all free market, it's very much a mouthpiece for the Tories nowadays.
For firefox there is https://addons.mozilla.org/it/firefox/addon/facebook-contain... to limit the interaction between facebook.com, you, and the rest of the internet.
Kwpolska, your account is shadowbanned, most posts from you are not displayed, although they are overwhelmingly useful/factually correct. I am unable to directly reply to your post, so need to go up one level and hope you see this post.

(HN readers, if you don't understand what's going on, then enable "showdead" in your profiles.)
They will just re-write them in the framework or pattern du jour.
ITA Matrix is my favorite powerful flight search engine. It lets you filter by aircraft, among many other things. You have to learn what essentially amounts to a really obscure query language to use it effectively.
> However nuclear is calculated at true cost

That seems highly doubtful. The amount of explicit and implicit subsidies to nuclear power via government programs is massive. And then add the fact that nuclear power is exempt from having to pay for adequate insurance...
Soloist evaluations of six Old Italian and six new violins
Concise and Consistent Naming (2005) [pdf]
There's lots of these in existence, basically every government has run them while deciding what policies to adopt. Here's a nice readable one that's fact checking a right-wing former Prime Minister who claimed that renewables plus storage was cheaper than coal or nuclear:

https://mobile.abc.net.au/news/2019-09-12/is-renewable-power...
I work in the field. New and relevant stuff is published frequently by Google, Facebook and Microsoft (as well as smaller companies like NVidia etc). Apple very occasionally publishes too.
Web technology is designed for documents and making non toy apps is a pain, if I may give you a few examples of issues I hit this week:

- I wanted to create a grid of img like elements(something a bit more complex where you have some small buttons on each image), I hit the issue that the browser would take like 2 seconds to load 1000 elements, in a decent GUI toolit this is not a problem, as an example in Flex4 I can have a list with 1000 elements, if only 10 elements are visible then the toolkit creates say 16 GUI elements, as you scroll the elements that get out of view are recycled , in Web you either create all 1000 GUI elements(that each element is maybe formed with a giant div soup) or you use a infinte scrolling like pattern, check Youtube as an example, go to a specific channel video list, you see only 2- 3 rows of videos, then you scroll and wait for next few rows, scroll and wait again, scroll and wait again ...tldr web GUI performance is really bad

- native components are limited, you can't css properly and consistently a numeric input(you can't css the colors of arrows to fit your styles) , you can't have a dropdown that contains icons or some more complex thing like a "Font Families dropdown" , you can't customize the dropdown scrollbar colors so you are forced (is not my fault that desingers want shit to match in theme and not have white crap on a dark theme) to find or create custom components, so you get to import JS libraries and most of the time this components are broken, Ex check the youtube search dropdown, it happened a few time for me to get the dropdown in the search to get stuck open, only way to fix it is to reload the page, Google devs can't properly implement a correct dropdown widget. In PayPal their custom input widget to enter money does not support the "Del" key . In a decent widget toolkit you extend the existing widget, you get all the existing functionality and you add your custom features on top in Web you start with DIVs and CSS do a mediocre job and then fix the issues that get reported if you have the time.

All this issues are solved in Qt, Flex or WPF, the components are performant, you can customize without losing basic features, you don't have to research shit like "what library should I use Monday to implement the numeric spinner input" .
If I had a brand, I'd be tempted to bid it up with ads directing to ad-blocking extensions. Does Google allow that?
Ask HN: Cross-platform per process file access tracing
Hi,

I am looking for a platform independent way (at least Linux/MacOS/Windows) to trace all file operations for one process (and its child processes).
For PID X, I want a list of all files which are opened by this process and in what mode (read or write).

Two ways I come up so far, but both are not exactly what I was looking for:
* chroot or lxc to change root to a FUSE filesystem which traces all operations: Works only on Linux (lxc) or Linux/MacOS(chroot) and requires sudo.
* ptrace: Only for POSIX compatible OS, requires a lot of platform-specific code for the different system calls.

Has anyone some suggestions for my problem?
Thanks!
More specifically excess glucose yes, which are usually ingested through high carb foods such as pasta, rice, bread, sugar and sweets, corn and wheat based products.

In contrast rather go for good fat foods such as bacon, avocado, eggs, mineral rich meats such as pasture raised beef/chicken or fish. Half your plate should be leafy greens/veg. These provide good minerals, and molecularly different fuel called ketones instead of glucose, these are closer to stored fats aswell so the body is used to running on the same fuel. So when you're not eating and the body has consumed the energy in the food you ate, it can easily switch to using body fat reserves.

The transition from glucose to ketone in the body causes molecular rearrangement in a process called keto-flu, which can last up to 3 days. You can think of it like going cold-turkey from sugar and returning to the real normal.

It is important to only eat when hungry. And try to extend the periods between eating, even if it starts at 16, then 20 hours, some do periodic fastings of 48 or 72 hours. This kickstarts body self repair and optimization of your entire structure. It seems to even reverse cancer. Research this.. it is amazing.

See this: https://www.youtube.com/watch?v=vMZfyEy_jpI
Link to the full article: http://itestra.com/wp-content/uploads/2017/08/06_itestra_con...
> We don't connect to WiFi in cafes or restaurants or buses anymore. We use the mobile net.

My bet is that this comes only from people with full time jobs. The world is still full of youth or unemployment where free WiFi still makes sense.

And with a more affordable data plan there is also a increasing amount of data to be transferred with higher bitrates, more megapixels and more video content in general -- I guess it equals out for an everyday user.
I can't tell if you are being sarcastic or not, but the impartiality of BBC content is currently under scrutiny.

For those unaware, the BBC is primarily funded by UK public funds (not quite a tax, but a "TV Licence") and as such is prohibited from - amongst other things - 1) selling advertisements and 2) supporting any one political party more than any other. There are of course exceptions (especially wrt to international + online content + commercial arms of the BBC) but an article sponsored by the sugar lobby displayed by a non-commerical arm of the BBC as a UK public service would clearly be prohibited by the BBC charter.

The current atmosphere of Brexit has pushed the BBC under more scrutiny due to accusations of pushing articles that disporportionaly support the government line, rather than opposition.
Nothing about behavioral interviews are honest. Any person who has practiced interviewing knows canned answers to the popular ones and any person who has interviewed enough has canned questions.
I've been working on a theory for a few years now that advances in communications technologies fall somewhere on the spectrum of either tending to, or absolutely, reducing trust between individuals and social groups.

Note that trust != reliability. Trust is an extension of faith beyond available information. Reliability is a statistical measure. You can achieve higher reliability with low trust through surveillance, enforcement, punishment, and/or a limited-options environment. But that's not engendering trust (and may actually be a reasonably good summary of why tech tends to break down trust -- I'm still thinking this through).

Keep in mind that trust is a two- or multi-way street. In our mediated relationships, there's trust between user and provider, provider and user, and third parties. Any or all may be or contain untrustworthy elements. And the channels of information are limited making decisions on who or what to trust challenging.

It's complicated. Though I think Google can and should do better.
Quality takes time to grow. How do you do that on constantly refreshing threads/articles?
In OP [1].

[1] https://machinelearningmastery.com/deep-learning-for-time-se...
Quite interesting!

However I already went for the nuclear option so my router sends *.facebook.com to 127.0.0.1.
I found this out the hard way, by losing a good friendship.
The joke was that towns in Germany are only two kilotons apart.
> “The decision to convert (14.000 PC clients) back to Microsoft from Limux [some time] until 2020 was a purely political one. Christian Ude: “There wasn’t a single unsolvable technical problem.”

I have worked on the Limux team during university. There were a couple of problems that led to resentments:

- fossilized, underpowered computers (1G RAM!) combined with fossilized software versions (Firefox/Thunderbird/Openoffice) thanks to testing/conformity requirements. This was what drove the majority of customer complaints.

- underpowered Internet uplinks of the dozens of government offices - you would think each had a gigabit fiber uplink, which is far from reality

- lack of manpower in the dev department, mostly caused by abysmal pay compared to the free market

- special IT software was mostly Windows-only or, if it was available for Linux, compiled for rpm-based distros while Limux was Ubuntu-based leading to all sorts of issues

- city staff being used to MS and not to Linux, requiring extensive training

- infighting among departments of the city, not everyone was a friend of centralization in IT

Technically all of this would be solvable but the budget was too low. People, especially key deciders, blamed it on "Linux" instead on their failure to provide adequate resources. The colleagues were the best people I have had the pleasure to learn from and work with, even to this day, but the best work is moot against idiots or bought-off morons in politics
What’s “meaningful” working for a VC backed startup? Once you take enough VC funds, you are working for multiple “big companies” who decide your fate. It’s an illusion that you are working for a small company.
For me it's just https://www.reddit.com/r/all/

But you have to select "opt out of redesign" somewhere in your preference settings.
I would prefer a translation instead of this editorializing.
As a long time user of Sandboxie, I'm excited to see this announcement and am looking forward to the open source release and what the community might be able to do with it.

Sandboxie's technology works extremely well for securely isolating all kinds of interactive Windows GUI apps, and might thus be be an interesting alternative to Microsoft's own Windows Container technology which is more focussed on servers and can't really do GUI's.

I'd love to see some experiments using Sandboxie sandboxes as Docker-style images/containers. Packaging a complete GUI app including dependencies and making it easy to run on another Windows machine without polluting it, without noticeable overhead, neatly integrating like you'd expect of a Windows app with things like window management or the clipboard, and all that while being securely isolated from the rest of the machine.
What's the deal with milk? I've recently noticed most milk contains 5 percent sugar. Is that ok for some reason?
Airbnb’s fight to overturn a New Jersey law imploded
JSON Unmarshal in Golang