skysight-inc/HackerNews huggingface dataset:
Is there any good intro on how to get developing under Haiku? I seem to remember there being a wxWidgets port years ago but the documentation regarding it is scant. I would like to know which development environment I could use (Qt Creator perhaps?) and get to writing some apps on it as I really enjoyed using Haiku and BeOS for fun.

Do you have any tips or pointers? Thanks in advance
Are those teeth marks at the bottom?
We, like many, I suspect, use Selenium with chromedriver, driven from Jenkins in a nightly run or on demand for things like during a release (which we babysit).

We have a rather large, rather complex, members-only website. I wouldn't say it's entirely under test, but we do have tests to hit the high spots. It does take effort, both up front and ongoing, but it is definitely worth it.
A job might not be essential to society, but it is very essential for those who rely on that income.
That's incredibly helpful. Thank you Guillermo.
It has been part of the architecture since Skylake:

> Most Desktop, Mobile (6th generation Core and up) and low-end Server processors (Xeon E3 v5 and up) released since Fall 2015 support SGX.[0]

[0]: https://fortanix.com/intel-sgx/
> It didn't have to be this way. It doesn't have to be this way. There is plenty of evidence of this from around the world.

But it is this way, so what's your point?

We can wish all we want for things to be better, but we have to start reopening no matter what. The economy will collapse if we don't. We are out of time.
I decided to take this out for a test drive, and see how it worked.

Verdict: it's nice! I'll be using this.

I tried it out with an HTML page here, for some JavaScript
tutorials taken from medium, dev.to, and one illustration (also embedded) not using this library from Pinterest.

https://www.mediazed.com/learn-javascript.html

Disclaimer: That's my own page. Normally if I could I'd also provide a link or explanation of the content, that doesn't link to my own page. However, the content here is pointless without being embedded in a webpage. But if you just want to see what it looks like without following the link, I took a screenshot.

https://imgur.com/43AOji5

I could see this being useful for me for quotes in an article. It looks nice and does what it says on the tin. For a quote or two, I'd recommend it.
> Unix (and hence Linux) was designed to make efficient use of these limited resources by installing popular software system-wide with shared dynamically-linked libraries because that was the only way to even _fit_ a few hundred users on one system. As a sysadmin, I get cold sweats thinking about what would have happened if every user wanted their own personal copy of Emacs on such a system.

I think this is largely beside the point, and not because concerns about resource use are outdated. Linux already has the concept of user groups. Just make packages installable per-group or per-user. There, issue almost entirely mitigated. The default case for single-user systems could even be group-install, since it'd look basically the same anyway—it's multiuser systems where true per-user package management might make sense, but isolation from basic system software management makes sense in either case.

> If you're looking for a Linux distro that behaves more like Windows and Mac, you're in luck because Ubuntu is hurtling themselves in that direction as quickly as they can by making snaps compulsory on every desktop install.

I'm no old-timer (yet) but my first couple computers had actually-floppy floppy disks, so I remember resource constraints well and remain conscious of them to an above-average level, I think. Ubuntu these days is buggy bloatware with little extra going for it in exchange, and has been for a long time. For ~3-4 years early on they were doing a good job of curating a decent Linux desktop experience with reasonable defaults (as in "Epiphany? LOL no, our desktop metapackage will install Firefox, TYVM") but those days are long past. Snaps are so plainly godawful that it's got to be internal politics that let them get this far, and keeping them alive—but such a thing is only a tempting development target because software management on Linux is all mixed up with keeping the system bootable and fundamental hardware features working to a basic level, which is the thing I'm not happy with.
You can always quit and bootstrap it yourself to capture all the upside. Just beware selling a software engineer salary’s worth of anything is fairly challenging.
Send money to your friends on TransferWise – TransferWise
> Hydrogen Peroxide at sub-90%, and especially at sub 70%, purities is reasonably safe to store and handle,

Union's space programme had uncounted casualties to something happening with H²O²
Emacs does this too -- I think it was the pioneer for this sort of functionality.

One thing I'm jealous of VSCode (as an Emacs user), is the Google Docs-style collaborative editing. Seems particularly useful for pair programming in the covid-work-from-home era.
>web services that require high availability, redundancy and reliable backups. For these I just use Heroku.

How do you handle Heroku outages then?
Five Things We Still Don’t Know About Water (2015)
Those curious for more may wish to see also:

2018 https://news.ycombinator.com/item?id=18099127

2017 https://news.ycombinator.com/item?id=15973918

2016 https://news.ycombinator.com/item?id=12566056

2013 https://news.ycombinator.com/item?id=5564766

2012 https://news.ycombinator.com/item?id=4123941

2010 https://news.ycombinator.com/item?id=1334827

2009 https://news.ycombinator.com/item?id=820844

Sundry: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
In my opinion, the idea there is the same as it's always been: don't trust the client.
I actually hate this app and bot. It always pollutes the normal twitter threads which seem to have been greatly improved recently
Not very well. Watched a Google Meet meeting for the neighbor's Honor Society induction and the quality was horrible. Video kept freezing and audio cut in and out. Was probably only about a dozen attendees in the meeting room. Wasn't the neighbor's connection either, they have a solid Fios 200/200 service.
Dwarf Fortress Creator Explains Its Complexity and Origins [video]
In my experience kids randomly talking is worse than any constant background noise.
There is wxQt running on top of the Qt5 port, yes, but it isn't that well used. I know someone got Code::Blocks running under it, but they were working on some issues in the wx port still. Development should be like it is under Linux with that.

Qt Creator is indeed in the depots and works pretty well, so you can use that.

If you have more questions, feel free to find us on IRC (Freenode#haiku), the forums, the mailing lists, the bug tracker, or (for ported software) on GitHub (@haikuports/haikuports). Or continue asking here if you prefer :)
> “Defects are the fault of programmers” may sound good, but it does nothing to help us fix defects.

The utility you gain by believing or disbelieving a statement has no bearing on its truthfulness.
I think the only decent criticisms had to do with incremental technological process, i.e. solar panels are marginally more efficient than they were when the film was made. On the balance though, I don't think this negates the points the film made - the amount of mining, manufacturing and transportation balanced against the in-service life and the energy actually produced make for a very bad story. Burning biomass is also not good for the planet for the reasons outlined in that film and in this comment thread.

I'm a Vaclav Smil fanboy, so I get repetitive, but he has criticized the renewables industry pretty consistently and long before Michael Moore's film, so his material may be worth a look for those that want a stronger critique that doesn't have Moore's name in the sentence. "Energy and Civilization: A History" is a great book of his, and was relatively recently updated.
If it's often enough to be noticeable, your scale is large enough to pay someone to be ops full time.
+1 and a recommendation for vimium browser extension.

basically, whatever allows increased rate of I/O between you and a computer.

it's really as simple as never leaving the home row and im pretty close to thinking that the mouse as an input device has held people back.
Netzero has never been a good internet provider anyway.
Harry Potter.

I read most of the tomes a few times and some parts as well.

I do not like everything but the overall atmosphere (especially in the first few books) is amazing.
> I big fat "update the system" (or don't) button with my user-installed packages totally separate

And have to update each software package manually as in windows/macos? (even worse, have a backdoor updater build-in on packages)

> I should be able to blanket-update my user-facing software without any risk whatsoever that a kernel update will get thrown in with that

But why? Any and all security updates should be installed as soon as possible, regardless if it is a kernel update or a browser update.
Nah. There is massive interest in SGX as a defense in depth technique for secure cloud computing (see Azure confidential computing for example). In fact I believe Intel have recently announced they are deprecating SGX on consumer devices in favour of server hardware. I'm as anti-DRM as the next man but this is just scaremongering.
Can't imagine writing code without Jetbrains IDEs.
VSCode is great for lightweight editing.
On the other hand, I have other tools like CopyEmPaste:
https://apps.apple.com/us/app/copyem-paste-clipboard-mgr/id8...
This is a great clipboard manager and helps a lot with Copy-Pasting.
I think 'doing it yourself' vs. 'search online to find a solution' are two sides of the same medal and we should be good at both things.

An old friend of mine has a tendency to dig deep through searches and while I tend to fire a few searches and then start doing it myself. There have been many examples when he came up with something he found online, which was even better than the thing I started building.

So while it contributes to my programming skills to get some practice, I think you have to find the optimum between building mediocre results yourself (using your own amount of limited time) and not being afraid to get your hands dirty (as opposed to the 'someone else has built it' attitude). In the end, both skills reinforce each other: The better you are at programming, the better you can judge a solution you find online, and the better you are at searching, the faster you can find something that is actually good.
Facebook’s TransCoder AI Translates Between Programming Languages
Usually there's something else wrong with a downvoted comment besides just "wrongthink". Since people don't like being downvoted, or seeing something they agree with being downvoted, they tend to reach for "wrongthink" a little too readily as the explanation.

Certainly there are unfairly downvoted comments, but users tend to give those corrective upvotes after a while: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que....
We're trying karaoke through Zoom tomorrow as a standup gag, wonder how that will work with the delay haha.
Show HN: Palm Vein Authentication with a Raspberry Pi
Yep, different strokes for different folks. :)
I've never had a TV w decent audio out (nor reasonable input sec switching), rather started w focus on amazing sound (Hsu Research Ventriloquist 7.1 w down-firing sub), and eventually the receiver's role was expanded to encompass video. Whatever works for you!
A new system to extract key information from scientific texts
Postgres parallelism can be like a box of chocolates
Brave has a partnership with Binance. They aren't replacing random affiliate links as your comment suggests.
Zsh has this. But it mostly drives me mad.
Why?

I can maybe understand it in the early experimental phase, but there ought to be a point where the software's authors go back and do it properly.

It's worth the effort! If one application is significantly more responsive, people will think it feels nicer to use.
How financially secure are you? I would day invest in people's small companies if you had the money to.
Lol, same for Facebook here. I don't have an account (I had one years ago), but the Internet is full of FB links. Considering doing the same for Twitter, even if I never used it (it is not so popular in Europe).
That's a different time period than quoted in the article.
With a proxy server on AWS, it's trivial to change your IP address regularly. That's not a complete solution but it would help.

Another thing you can do if you're rolling your own anonymity solution is to run your browser in a container. That way whenever you start a new browser window, it doesn't inherit any state from your environment or previous browser sessions.

Finally, using a proxy with built in privacy features helps. Privoxy is one example, although it's not being updated very often lately.
"Alameda County's Tesla to resume operations despite 0.15% infected"

Here is a more precise but still infuriating headline.
Thanks! The latter of the two is definitely nice. Yeah, I should've let the compiler setup ax and bx. Again, this was a hack :)
To be able to easily get root through sudo later when running the malware payload (reverse shell eg) in the background?
+1. I'm using it on a 1060 and I've monitored sensors with OpenHardwareMonitor while RTX Voice is running. The only observable effect is that my GPU's clocks are turned up, there isn't even any significant load.
Right. Say -- pessimistically -- that I'm on a 5k display (14Mpixels) at 8 bytes per pixel, and double buffered, we can do about 35 copies of that display in GPU RAM. This seems about in line with my experience.

And this is where I don't know what to think because "keep it all in vRAM" is clearly a terrible algorithm, and I have faith in the macOS developers, and yet my data suggests that this is exactly what they're doing. I don't see things swap out when there's memory pressure; it just keeps on allocating until it's full, then spills over to system memory and makes everything slow.

Counterintuitively, the iGPUs have an advantage here. They always run from system memory but they have a faster path to system memory -- they don't need to operate over PCIe -- so (a) you don't have a large perf gap between the 'full' and 'not full' cases, and (b) spillover doesn't hurt. You use a lot more RAM, but you can buy more of that. I can't easily add RAM to my GPU. At best I can double it, and that just means 70 Chrome tabs instead of 35.

I'd love to hear from someone at Apple who's seen the internals of this.
I believe it has actually been deprecated for consumer CPUs.
I was really looking for the baby noise test in the demo, but I guess for now its human vs non-human cancellation ?

Edit: apparently can also remove kids crying; just not included in demo
The Metric Red-Herring
> I don't understand why Google hasn't done this yet

What would be the financial incentive?
I've tried Haiku a few times and liked it, but it feels like the beta label has been around forever and is not doing them any favors. It's 2020, you're not publishing software as a big-box release in stores, just cut a release already and then keep iterating!

From Wikipedia:

It wasn't until September, 2009 that Haiku reached its first milestone with the release of Haiku R1/Alpha 1. Then in November, 2012 the R1/Alpha 4.1 was released, while work continued on nightly builds.[8] On September 28, 2018, the Haiku R1/Beta 1 was released.[9] On June 9, 2020, Haiku R1/Beta 2 was released.

Almost 11 years and it's still not out of beta?!
You mean Bezos Post? The newspaper owned by Jeff Bezos, towards whom Elon Musk very publicly shows no love whatsoever? It's like believing everything Bloomberg writes about Bloomberg. :-)
Can we get feature importance wo using predictions from a fitted model? Yep
Defects are the fault of programmers but programmers are pressured to deliver quickly and judged on their ability to deliver quicker than another (in some cases, not all). Given this, the blame can be pushed onto the person setting a timeline if and only if they don't give the programmer enough time to evaluate a solution and implement based off of that evaluation.

If the programmer is given an opportunity to evaluate the scope of the work and allowed to communicate the time they think it will take, then any fault in the resulting work is the fault of the programmer.

What I've seen are programmers unwilling to spend the time necessary to fully understand the work they are doing and managers/sales people/whohaveyou who push for aggressive timelines.
> The advantage of restricting their sudo use is to make it harder for them to accidentally mess something up, not protect against a malicious user.

What makes you think that?
Here's the abstract: Practitioners use feature importance to rank and eliminate weak predictors during model development in an effort to simplify models and improve generality. Unfortunately, they also routinely conflate such feature importance measures with feature impact, the isolated effect of an explanatory variable on the response variable. This can lead to real-world consequences when importance is inappropriately interpreted as impact for business or medical insight purposes. The dominant approach for computing importances is through interrogation of a fitted model, which works well for feature selection, but gives distorted measures of feature impact. The same method applied to the same data set can yield different feature importances, depending on the model, leading us to conclude that impact should be computed directly from the data. While there are nonparametric feature selection algorithms, they typically provide feature rankings, rather than measures of impact or importance. They also typically focus on single-variable associations with the response. In this paper, we give mathematical definitions of feature impact and importance, derived from partial dependence curves, that operate directly on the data. To assess quality, we show that features ranked by these definitions are competitive with existing feature selection techniques using three real data sets for predictive tasks.
In developing countries many of the best and brightest leave. Society in those countries finds it harder to advance and improve without talent to drive innovation. In the developed world, the talent is there, but it's used inefficiently. Would society be better off if smart people directed their energy towards developing vaccines instead of high frequency trading? The writer of the article thinks so, but the incentive systems direct talent towards the latter activity.
Another thing is that eggs are washed before sale in North America, which removes the outer membrane and means they have to be refrigerated. In Europe they can sit at room temperature because they are not generally washed.

The downside being that you should wash them before use in Europe but in North America they are safe to use from the fridge.

We raise our own eggs, and leave them on the counter unwashed.
> The upshot is that many of the country’s best and brightest are either exerting their talents trying to beat each other out in a zero-sum trading game, or exploiting legal and behavioral loopholes to part investors from their money.

This can be hard to tell from the outside, but there will always be a point during your job where you truly understand what it is you're actually being paid to do. If this can be gleamed ahead of time from the experiences of others in the industry, then more power to you.
A nose-horned dragon lizard lost to science for over 100 years has been found
How hard can a script to delete documents based on timestamp possibly be?
CollapseOS
> it [America] then employs [...]

The choice is made my the graduates not the country (unless there's government involvement) or companies.
It's just capitalism doing it's thing.

If we want that to change we have to collectively value something other than financial wealth more, after having some reasonably attainable amount that's 'enough'.
As I said in a sibling comment, think if it more as a way of reducing your TCB in cloud environments. Instead of trusting the whole cloud software stack, you now just trust your app and the hw, both of which you need to trust anyway.
This blog is an absolute treasure. Bookmarking for future reads.
Seniors at Risk: Using Spatial Analysis to Identify Pharmacy Deserts
RecallGraph at first glance looks a bit like TerminusDB that recently featured on HN [0]. In terminusdb data is stored like code in git, and you can time travel and do branch, merge, squash, rollback, diff, blame, etc. But TerminusDB is a semantic graph database based on OWL schemas, which stores data as RDF and querying delivers JSON-LD. I will certainly give RecallGraph a closer look.

[0] https://news.ycombinator.com/item?id=22867767
Introducing Pew Research Center’s Python Libraries
We've changed the URL from https://www.kron4.com/news/bay-area/fremont-tesla-workers-te..., which points to this. Thanks!
You've basically amounted to saying autonomous programs are impossible. The problem is when the hammer can run around on its own hammering every nail shaped object it can find.
TinyML – How TVM Is Taming Tiny
If you're using Windows 10, you already have this: press Windows-v.

The clipboard can also be shared across your Windows devices.
Exploring Rulial Space: The Case of Turing Machines
> if you don't want to run somebody else's code on your computer – don't! Chances are you're not a cloud provider and nobody is asking you to, anyway

That's a pretty dishonest argument to say the least.
I use this very nice browser on my Android. Yes, this was naughty, but adding an affiliate link to a few destinations does no real harm. Still, a stupid thing to do. Since it's open source, we can see the code that did this, and that it's not doing anything worse.
macOS 10.16 is all about tools and maturity
How to stream music from Phone via Bluetooth in Windows 10
> How Google Meet's noise cancellation works

Very poorly. Of all the available alternatives (Zoom, Skype, FaceTime), Google Meet seems to have the worst audio _and_ video quality. This is inexplicable for a company very easily capable of technological and product leadership in both of those things.
Once you've introduced the concept of "blame" for a situation it's hard to get out of it.

It's unhealthy, IMO. Instead, I prefer to focus forward on what to do next and how to avoid this particular issue again... and simply move on.
How do you feel about them? Transmission of a respiratory virus at a windy beach is next to impossible, and photos of beaches look a lot more crowded than they really are due to the compressive distortion of telephoto lenses. Transmission of respiratory diseases at a bar, indoors, where people are elbow-by-elbow and intentionally suppressing their own immune responses with intoxicants, seems a lot more possible.
Did you even read the article? This is talking about a new noise cancelation feature being introduced today.
You're right, and the idea of a secure enclave is not an inherently bad one. What is bad is treating it as an unassailable fortress, as in signal's address book feature. There's a difference between using it to make critical parts of existing computations more secure and using it to do stuff one wouldn't otherwise do.
Apple to launch Mac trade-in program next week
My laptop has an Intel i7-8750H CPU.

https://ark.intel.com/content/www/us/en/ark/products/134906/...

> Intel® Software Guard Extensions (Intel® SGX)

> Yes with Intel® ME

I have it disabled in the firmware settings.
If something works in your Android dev environment, it is absolutely not guaranteed to work everywhere, or work the same everywhere. Differences exist between vendors, and every between different models by the same vendor.
>officers can go to jail

just like I can go to Mars. In real world They shoot someone on Live video feed https://www.youtube.com/watch?v=PEjipYKbOOU, or strangle on camera and still walk free.
Cool stuff! Thanks for sharing.