skysight-inc/HackerNews huggingface dataset:
Is it possible to create 3D models from a picture in the browser?
I had an idea for an app where user can be taking a picture from their iphone/Ipad, upload it to a server and then from a website model it in 3d (for example enlarge nose, reduce eye bags etc.) These wouldn't be simple pics filter but rather create 3d models starting from the face.

I would like to keep this on the web rather than create a native app - is this feasible at all?
Not sure if browsers have a technology that would allow this and if CPU wise they are capable of handling this.
lol, and then hacker celebrity Cliff Stoll chimes in with some nice words. This website truly is kinda special.
Twitter scammers just wanted money. But what if they had worse plans?
The human condition is unique to individuals the world over.

If lifestyle and/or environmental conditions were not enough to derail a healthy mind, the information streams run with psychopath+ variables are sure to catch many who didn`t fall through the cracks (given enough time).

If the imbalance is artificial or synthetic in nature, the corner to turn is now.

The quality of an individuals information diet holds the key for many (IMHO). This also leaves room for medical conditions and other reasonable observations that may cause an imbalance of this type.
> any money (including the first stimulus) for literally months

I got mine almost immediately. What is the difference between me and your brother, I don't understand.
The post says

The new API to cast in an unsafe manner is:

let x: f32 = 1.0;
let y: u8 = unsafe { x.to_int_unchecked() };

But as always, you should only use this method as a last resort. Just like with array access, the compiler can often optimize the checks away, making the safe and unsafe versions equivalent when the compiler can prove it.

I believe for array access you can elide the bounds checking with an assert like

assert!(len(arr) <= 255)
let mut sum = 0;
for i in 0..255 {
sum += arr[i];//this access doesn't emit bounds checks in the compiled code
}

I'm guessing it would work like this with casts?

assert!(x <= 255. && x >= 0);
let y: u8 = x as u8; // no check
I've been exploring Kotlin as a "rule them all" language. With Kotlin native/multiplatform you can already cover all platforms today since it can compile to JVM, JS, and native code for iOS/macOS.

You still need to write the iOS/macOS UI in Swift but you can very easily have your data layer and business logic shared across platforms. I actually like that approach better than other cross-platform solutions since you keep the native platform UI.
I thing you are right about that, I'd prefer panicking too. Also, reading the RFC will surely clear up the motivation.

Without knowing this case, I'd wager a guess: it's about performance. Panicking introduces a branch and side-effects which, again, affects negstively optimization potential and performance. The saturating cast affects performance too, but less. If some old code has a lot of number crunching containing these operations, a big performance regression would be nasty.
Not sure if I understand your question completely but Fastmail lets me send SMTP using simple authentication.
Summer Festival of Olympian and Paralympian Online Experiences
Yep, there's a standalone library and it has some system dependencies but it works great:

https://github.com/pvieito/PythonKit
Sure. I wouldn't say the decisions they influence affect our humanity a great deal though.
Climate laws correlate with lower emissions per GDP
Why would you want math errors to be less obnoxious?
I think showing awareness of your peers is a positive signal to a good manager in any case so it positively impacts you beyond just good karma

Anyone who really buys into "team" will value someone who is actually looking out for their team.
Correcting for something is much easier said than done, and it is very often done incorrectly. Blindly trusting researchers to do so is a mistake.

Here is a quote from the abstract of the paper linked above:

> Results: The inpatient group was composed of 343 patients, median age 65 yr: 206 men (601%, median age 66 years) and 137 women (39.9%, median age 65 years) with a rate of daily smokers of 4.4% (5.4% of men and 2.9% of women).The outpatient group was composed of 139 patients, median age 44 years: 62 men (44.6 %, median age 43 years, and 77 women (55.4 %, median age 44 years). The daily smokers rate was 5.3% (5.1% of men and 5.5 % of women). In the French population, the daily smokers rate was 25.4% (28.2% of men and 22.9% of women).

The average daily smoker rate is taken as-is over the whole population, and compared to the smoking rate of people of age around ~66 years, despite the article itself stating that the percentage of daily smokers is lower for old people and higher for young people.

So already in the abstract they have made a mistake and forgot to correct for age. I have not read the rest of the article in enough depth to judge fully, but I would absolutely not blindly trust researchers to always do this correction in an appropriate way.
Oh yessss.

Will this allow for the much wanted "move iterator on arrays" ?
This is what boggles my mind. We had progressive candidates running this cycle that were outright commiting to trying something different. Yet the majority of the voter base ran towards people promising the same strategy as previous administrations. Either this crisis is magnified on HN and the majority of the voter base is unaffected by the pandemic or something else is going on.
How to Determine the Amount to Raise in Your Financing Round
No, but even today people don't need help using a VPN. That isn't why Mozilla is offering an official branded VPN solution. It is because the name Mozilla is suppose to imply trust.
Problem here seem to be scaling on demand. Unemployment systems aren't designed to scale up and down based on demand.
What are they going to ask? Why did you short the most shorted stock in America? Why did you later close your short position, locking in a large profit?

I'd be surprised if that even got you interviewed, let alone searched for hacking tools.

Unless they've fingered you by some other means, in which case it's irrelevant how you were planning to get the money out.
> The major problem here is that content is now largely generated based on maximizing ad revenue.

This has always been true. But “old media” was the same for everyone, so maximizing ad revenue was achieved through capturing the middle of the distribution (engagement is lower, but there’s much more people).

Now we can tailor for every individual, which means maximizing ad revenue is about pandering to the tails of the distribution (where people are super engaged even if the numbers are more limited).
The following is a very good resource, going from safe/practical ways to reduce the size (like `strip`) to more advanced and unpractical builds (up to 8KiB hello world, removing... a lot).

https://github.com/johnthagen/min-sized-rust
Show HN: Object-visualizer – Chrome-console-like JSON object visualizer in DOM
It does now. It was closed source when ObjC was a relevant language
Self-Doubt Is a Barrier to College
Duck Typing in Dlang, a native, GC-optional language
Edge will be installed on Windows computers by default. People need to specifically download and install Chrome.
Google and Apple Remove Palestine from World Maps, Replace with Israel
> Can UBI scheme help to overcome Unemployment crisis ? @varbhat

You realize that UBI requires monies, right?

The US Federal government, and most states, are bankrupt. There is no money for this years bills. There was no money for last years bills, and we keep borrowing at exorbitant interest rates.

Our deficit (shortfall for this year) is -more than- 2.7 trillion dollars.

Our debt (shortfall for previous years) is -more than- 4 trillion dollars.

We can't pay unemployment claims because there's no money...

Where the hell is anyone getting monies for UBI?!?!?!
A single tweet crashed a stock market wonder
‘Wormable’ Flaw Leads July Microsoft Patches
Eh, you can argue the same about people taking a bit of time off to relax, watch TV, play videogames, and yes, shitpost on HN, what's the difference? Let's take TV more specifically. I'd say that it may be better than watching TV, at the very least.
Wow, shocking they're actually spending the money to produce a physical edition.

Good guy Microsoft.
I think it's more like when you use the refresh token, there's a surface area of attack - lets say it's a login server. If the login server is the only one to ever get refresh tokens, then that's the only surface area where refresh tokens can be breached, audited, etc.

Every other API gets a short lived access token. While that also needs to be secure, the vulnerabilities of that become different. Eg if your logs printed your access tokens, and after 30 days you moved them to S3, no one could read the S3 logs and log into your service. Probably a terribly insecure example but i think it illustrates the different vectors to be concerned about. Refresh tokens vs Access tokens just have different surface areas to be concerned about.
Also, have you seen digital storytelling? -- Basically powerpoint + voiceover as a way to share messages. Low bandwidth, realatively easy for teachers to create, and a good medium for communication

Also, this just came up [1], and they talk about its use in teaching, though I dont know if it gives you anything beyond the apps students already have?

[1] https://blog.zulip.com/2020/07/16/zulip-3-0-released/
It sucks for people aren’t videogenic though.
No, you couldn't have made more money than the Twitter hacker
I remember in grad school in 2005/2006, I decided to write a little program in C++ which I hadn't touched since the 90s. The language had evolved enough that I found it to be enough of a challenge that I ended up writing the program in Perl instead.
> And they know I've watched it because I leave the watch history on and it has the red bar showing how far through the video i watch.

Worse is when they wipe that red bar. It's amnesiac, just like Google Search and Chrome, those too forget older things. I personally find it very annoying.
Technology has definitely changed what it is to be human. But I don’t think that means what we are today is less human than before.

Technology is a very powerful tool we created. But so was the “invention” of the wheel.
I don't understand the question. People have time for Twitter the same way you have time for HN and Netflix.
Ask HN: How do you budget your time?
Glad to see progress on FreeBSD wifi again!

One interesting workaround I saw recently was to pass an 802.11ac device to linux running in bhyve. I have yet to try it, but it seems like potentially the best short-term solution if you have a bsd laptop where wifi is the only thing not supported.

https://lists.freebsd.org/pipermail/freebsd-hackers/2020-Jun...
This is just one of many aspects where Google shows that it doesn't really care about the UX. They only care about your data.

I can think of a few other examples off the top of my head where their services could be improved easily but no one seems to care.

Like for example the youtube autoplay algorithm, which is often useless. Here's a crazy idea Youtube, why not check which other videos are in the recent queue and play content based on all of them? Instead of just the last one.

Usually when Autoplay takes over I've already queued up a few videos on my own, I've literally spoon fed them.

The YT Music UI is pretty bad too but that's a new product so it might improve. As a long time Google play music user I complacently migrated my playlists over and decided to give YT Music a go.

First week I only use it to play my Electro Work playlist, basically EDM and Psy/Goa.

Every time I start the app I begin at the Home screen with their recommendations to me, and not one single time do they recommend anything from or related to that playlist.

And every single time I browse away from the Home screen and start that same playlist.

The recommendations of YT Music seem to be based on my YT history, not my MUSIC history.
Those are all good ideas, I am mostly going the fully offline route, however some teachers lack time (too many classes), experience or equipments to produce good content.

VoIP is new to me, I will look at that. I also found that Microsoft Teams has policy settings to limit bitrates for specific users, so that might be also an option to limit bandwidth for students with data limits (between 3-6Gb/month in basic plans around here).
I've been coding professonally for around 10 years ( plus 4 year degree ), did the vim thing for the first 7, switched to emacs for the next 2, and I finally gave up the ghost and switched to vscode this year.

I disagree completely with point #2. My emacs and vim environments were way more complicated to maintain with the same level of functionality. Coding without autocomplete is an exercise in frustration. The tools are out there, they are mature, use them. They make you a better coder.

VSCode has been so delightfully BORING and USABLE, I do not see myself going back. The VIM keybindings have been good enough.

However, I HAVE been eyeing the intellij products... if a FREE product is this good, and all my friends are raving about intellij... maybe there is something there.

I also have an OniVim2 license, but we will see if that ever becomes more than vaporware.
Easy way to distribute your press release or article and improve your SEO
Word. Thank you.
You are already bubbled simply because you are not watching Sudanese music videos...

There is a limited time, and within that limited time you will be in an informational bubble because of the opportunity cost of new information
> We are no longer fully human beings

This gets thrown about quite a bit without defining what "fully human" means. Given that it is a superlative, does it mean "free from the pressures of modern technological society"? Then it must also mean giving up the benefits of modern technological society, right?

There are few true primitivists out there, and for many today it is a sort of technology enabled lifestyle business. I know because I'm an avid watcher of many of their YouTube channels.

> Technology had changed what it is to be human even in Huxley's time; nowadays I wonder has AI already taken over?

Technology has always done this. That's not to say all technology is a net benefit. We should absolutely as a society scrutinize and regulate the use of some tech, but to cast it all as dehumanizing in the essentialist manner using the ever poorly defined "full human" as a foil seems highly reductive.
Not sure if this is always the solution, but yes, so many people take antidepressants and let the fundamental problems of their lives go unfixed.

And being a pessimist is not a problem that should be medicated. The world needs us!!
I agree, but that seems like a poor example. I could make a pencil out of coal and wood. Wouldn't be as good as a factory one, but good enough. Also, chalk and many other stones/minerals can be used.
Mark Rober's dart board was much, much harder to create. The projectile was smaller and faster, and the board had to move to a much more precise location. Shane's backboard only has to track a normal speed basketball and has a decently sized margin of error. Not trying to discount Shane's work at all, it's still very impressive, but not nearly as difficult a problem as what Mark Rober solved.
> The sale went through, luckily, and immediately after I ditched that bank account.

I believe most banks allow their customers to change their signature to something they can replicate more consistently — but it probably relies on showing up to a branch and producing sufficient ID.
> A lot of the western world is already half stuck in deadass jobs they hate, getting barely enough money to get through life so they can have the privilege of working more.

Two wrongs does not make a right.
TikTok is a bad example. Claiming it's promoting "diverse content" is somehow rather funny.

* https://www.theguardian.com/technology/2019/dec/03/tiktok-ow...

* https://www.altpress.com/news/tiktok-censorship-black-lives-...

* https://www.theguardian.com/technology/2019/sep/26/tiktoks-l...
Gmail redesign puts Google Docs, Chat, & Meet side-by-side
I think you're overstating the success of chemical treatment. I'm not extremely well versed in the subject, but I've read a number of books and articles that seriously call into question that idea.

It would seem that "talking about it" is actually more effective than medication in many circumstances (e.g. the research on cognitive behavioral therapy versus medication).

The consensus at this point seems to be that we do not have any real causal theory for most mental illnesses, including depression.
Maybe he has already worked on them before and it's just now that he's releasing the videos.
How is the build system? Is it stable and easy?
Way worse than that, even. UB poisons every state of the program that eventually results in UB. For example, the optimizer is well within its rights to remove as dead code any branch that, if taken, would provably lead to UB at some arbitrary future point of execution.
I am reminded of this topic of availability cascade in Kahneman's Thinking Fast and Slow:

"An availability cascade is a self-sustaining chain of events, which may start from media reports of a relatively minor event and lead up to public panic and large-scale government action. On some occasions, a media story about a risk catches the attention of a segment of the public, which becomes aroused and worried. This emotional reaction becomes a story in itself, prompting additional coverage in the media, which in turn produces greater concern and involvement. The cycle is sometimes sped along deliberately by 'availability entrepreneurs,' individuals or organizations who work to ensure a continuous flow of worrying news. The danger is increasingly exaggerated as the media compete for attention-grabbing headlines."
It seems like the core of the disconnect was that the customer ("Alpha") was designing screen using power point at a font size and page size that did not translate well into actual screen real estate. I wonder if the developer could have provide a PPT template that had a page size and font size that would minimize the gap--and first prototyped in PPT to point out problems at low cost.
Why companies struggle with recalcitrant IT
I'm a Linux user myself, but if I were building a product for commercial purposes, I'd prioritize building it for the platforms where the majority of the users are. Unfortunately, that majority isn't on Linux.

"Mac & Linux coming soon" is good enough for me for now.
While I really like the sentiment, I think there's a reason why people naturally don't provide much positive feedback about individuals at workplaces.

What do you really get by pointing out the good work of a coworker? A warm fuzzy feeling, to be sure. Maybe greater comradeship. But wait, who's the next person to get a promotion? Maybe it'll be the person you keep praising to management. So you'll probably have to work smarter/harder to get that same praise, hence the same chances at promotion. But you don't want to work that much harder; you're already working hard enough as it is. But that 5% raise and that "senior" title look pretty shiny. <one year later> Hey, how come nobody has been recognizing you for your good work? Meanwhile that coworker you've been praising is now your boss!
I think in the specific case of casting a float to an int, more instructions will be added, but it doesn't have to be a branch. Here it looks like rustc emits a conditional move: https://godbolt.org/z/1cfqof
Quite a bit of "whatever you want" is still possible on Android[1], though ideally you will have root, be comfortable using adb, etc. Ultimately the reason it's easier to do what you want on a linux desktop is that Google isn't actively trying to stop you there...

1: https://hackingpassion.com/android-hacking-with-termux/
I'm stupid. I give people the praise they deserve, even when it hurts me.
True random number generation (TRNG)
Hi friends,

For the past little while we've been working on a saas site that simplifies the use of TRNG keys. The service provides an easy to use API backed by custom-built arrays of hardware keys. So instead of buying one of these keys off the shelf and writing software to transform the bytes into something usable, you could use our service instead.

It's live at http://wheelhorse.io and we'd love your feedback, comments, and suggestions!
Rust also statically links by default.
> The 3-month timer is still running and as soon as the moratorium on evictions is lifted, they can kick you out immediately.

Homeowners shouldn't rely on the moratorium. They should have contacted their lender to get on a 3-month forbearance plan which can be extended for another 3 months when it expires.

I'm not sure how many times lenders are going to permit forbearance extensions, but once people are able to get back to work and start making mortgage payments, they need to call their lender for a loan modification. This brings their account back to current.
As someone who lives in Mormon country, most families here are incredibly well-prepared for emergencies. It's notable that the LDS-style emergency preparedness assumes that social structures will be available through the local wards and therefore individual preparedness can be planned more practically. For example, emergency food stores are standard groceries rotated through the household's regular diet rather than special emergency foods.
What is your purpose?
> I have started looking at tying together clusters of business apps that each have independent SQLite datastores using an application-level protocol for replication & persistence (over public HTTPS). This allows for really flexible schemes which can vary based upon the entity being transacted. With hosted SQL offerings, you are typically stuck with a fairly chunky grain for replication & transactions. If you DIY, you can control everything down to the most specific detail.

Ugh, I'm totally going to sympathize with whoever eventually joins your company after you've left who has to own this.
I am speaking anecdotally here but.. Deflation? I can’t think of a single product that has gone down in price and numerous things are more expensive.

In particular, virtually every single food item at the grocery store is more expensive than it was in March. Am I the only one who has experienced this? It seems like basic staples (milk, eggs, flour) are substantially more expensive than a few months ago.
Please don’t consider my initial statement questioning a metaphor to mean that people that have suffered a psychotic episode or are likely to suffer a psychotic episode in the near future should avoid medication. The threshold for considering medication should be lower than a psychotic episode.

My concern is the metaphor in which many people are viewing mental health, not in the treatments themselves.
Well, bet you the next version of Twitter will say "Fuck you, blind people" for all aria-labels.
I actually find myself curating my recommendation bubbles. One identity with clojure talks and embedded hacking, another with 70s progressive rock and Japanese Doujin trance music, and steak cooking videos primarily, etc..
Never understood python programmers' complaints about punctuation noise in curly brace languages, but looking at rust I feel like I start to understand what they mean.
How does what they are doing disrupt vaccine development?