skysight-inc/HackerNews huggingface dataset:
> “A glass box is installed in a public space,” the presentation notes. “Inside the box, there are two actors; one child and one adult. Both strangers. The child sits playing on their smart phone. At the other end of the box, we see an adult sat on a chair also on their phone, typing away.

> “The adult occasionally looks over at the child, knowingly. Intermittently through the day, the ‘privacy glass’ will turn on and the previously transparent glass box will become opaque. Passers by won’t be able to see what’s happening inside. In other words, we create a sense of unease by hiding what the child and adult are doing online when their interaction can’t be seen.”

This is bizarre and confused, sounds like something from Brass Eye/The Day Today.[1]
The “privacy glass” doesn’t make you wonder what they’re talking about online, it’s what’s happening in a confined box between a stranger and a child. Before the “privacy” glass is activated, you can’t see what they’re doing on their phones anyway.

[1] https://youtube.com/watch?v=SRRw1ERj2Gc
The tl;dr is because we do not have one world government.

The universal data format for resume has attempted - both by public and private sector actors. The Europass CV is a good example of the former, a universal profile for all EU citizens, which can used to apply for any job posted on the platform. LinkedIn might be considered a private sector attempt of the same.

The issue that confronts both is adoption rate.

Without forcing it through via mandate, employers will continue to accept resumes in whichever format and so job seekers will continue to optimise for the format they think will give them the best chance with said employer.

Diversification comes from the simple fact that there is no single authority enforcing standardisation
You can build data models that correspond pretty well to OOP.

Lets say you have a superclass named Person, with primary key person_pk. You can then, in the data model, implement polymorphism by creating a sub-class-table, for instance CustomerPerson, by giving it the same person_pk as primary key, where the same person has the same value for the primary key.

In this case, every person should be in the Person table, but only customers should be in the CustomerPerson table.

If person is implemented in your OOP by inheritance, you can leave shared fields (variables) in the Person table, and only add additional fields to the CustomerPerson table. Your program can then instantiate Person objects by simply using the Person table, and CustomerPerson objects by joining by person_pk.

If Person is just an abstract interface, you may want to have it only contain the primary key, and have all fields in the subclass CustomerPerson table. In this case, you could join CustomerPerson directly with some address-table, for instance, by person_pk, without going through the superclass (Person).

(And if you need it to also generalize to companies, you could have both Company and Person be subclasses of a class named Subject, and use subject_pk as primary key in Subject, PersonSubject, CompanySubject, PersonCustomerSubject and CompanyCustomerSubject and even CustomerSubject)

The approach above works better in my experience, than having subclasses have their own primary keys, especially if you read more than write to the db, as it can drastically reduce the number of joins you need to do, and because it prevents one-to-many relationships between subclass and superclass. (A limitation would be if you are not able to recognize a shared primary key across subclasses when creating an object.)
The Norwegian system is capital intensive, but good at preventing recidivism.[0][1][2]

Evidence based policy works. Even starting the transition to evidence based policy in the US would be hard though.

[0] https://scholarlycommons.law.emory.edu/cgi/viewcontent.cgi?a...

[1] https://www.bbc.com/news/stories-48885846

[2] https://en.wikipedia.org/wiki/Incarceration_in_Norway
Raspberry Pi Changes Games by Scanning Barcodes
the way I've understood 'blood sport' was that the particular sport never matters, the important parts are the viciousness and cruelty involved. so for me, martial arts = sports, and cockfighting = blood sport.
Ask HN: Advice Going From Math to Tech
I dropped out of my math PhD program at the start of 2021 and have spent the last few months learning statistics and how to program. I have always enjoyed competitive math so I really loved leetcode/Project Euler and have done a few hundred problems between them. But I have no real programming experience.

During my undergrad summers I did "REU's" (essentially math internships) and I went to grad school directly after graduating, so I have no experience in anything but pure math. I fear the longer I stay unemployed the less attractive I would be to an employer.

I was wondering:
1) What type of jobs (in tech) may be welcoming to someone with my skillset? (that is which can I apply to without learning too much more at this point).
2) If there is generally more I should know before I can apply to most jobs?
3) I have not yet applied to any jobs but I was wondering if I should click "new grad" or "professional" since I am neither.

Currently I am thinking of SWE jobs, but I am happy to learn of any other suggestions.

Cheers,
n-Dim.
"Finding files" has never been my problem. Organizing and categorizing them has. And the reason it's been a problem is because my files don't contort into a neat hierarchy.
Yes. There were a number of rapidly developed versions up to X10 in 1986, which was the first one released under a free license (and thus the first one widely adopted). X11 was an overhaul of X10 intended to increase portability/compatibility, and also the first version developed as a community open source project rather than internally to MIT. That came out in 1987.

As for why X11 was the last major version: the protocol has remained backwards compatible since then. Clients created decades ago can still operate with modern X servers. It's pretty cool!

http://www.theresistornetwork.com/2013/12/a-testament-to-x11...
AFAIK Semmelweiss acted very cranky before and the forced hospitalization of him in an asylum was a consequence of a long string of hostile incidents.

Once I read some examples of texts written by Semmelweiss; if they were representative, he had a problem, possibly paranoid schizophrenia. This kind of belligerent word salad does not get written by healthy people.

That does not justify his tragic death or diminish his scientific discoveries, of course.
According to the Department of Justice, prison time is not a very effective way to deter crime, and increased punishment severity does not deter crime: https://nij.ojp.gov/topics/articles/five-things-about-deterr... (sources at the bottom)

Instead it claims the certainty of being caught is more effective than the actual punishment. And if Union Pacific is doing as well as they claim at catching the people responsible, what does that say about the motivators driving these people?
> The real thing is, we don't need this kind of security

This is a real argument. While it might make sense for cloud computing for the client to verify system integrity, malware that modifies firmware is not the largest blip on the radar in these times. A good protection is actually the numerous different manufacturers.

I agree, these technologies aren't primarily for security, they are to enforce how devices are used.
For me it was OpenWindows, I believe running on SunOS 4.x
8bitnews here: RSS is coming ...
Talking Gibberish
How much longer will this be relevant? Isn't APK going away?
Nature

https://www.nature.com/articles/nature.2012.11555

Scientific American

https://www.scientificamerican.com/article/dinos-dna-demise-...

The Royal Society

https://royalsocietypublishing.org/doi/10.1098/rspb.2012.174...

Scitech Daily

https://scitechdaily.com/researchers-calculate-that-dna-has-...
> It was renamed XFree86, as a pun. Then was renamed Xorg.

It wasn't simply renamed Xorg, that's yet another fork after XFree86 development became stagnant and the license changed to something GPL-incompatible.

https://en.wikipedia.org/wiki/XFree86#2002:_Growing_dissent_...
Are they? Where are the real numbers beyond Amazon marketing materials?

The problem is dreamers thinking RISC V will be any different than other CPUs in the industry when big players come playing.

LLVM, contributions level at the scale of Linux kernel, C++20 support now lags behind everyone else.

When money comes to play, the rainbows and flowers eventually turn into wall street yuppies.
Overhead lighting is harsh anyways. It might be a better idea to buy lamps. There's also a cool Phillips bulb that changes intensity and color temperature by quickly flicking the switch; no dimmers required.
Indeed. Two things are fungible if one can be replaced by the other.
Doesn't that hold true for any standard though?

In HTTP we have Get, Put, Post, Delete, Patch or Options and not obtenir, mettre, poster, supprimer, corriger, options. Yet the French use the web all the time, as do Chinese or Maui.

It would not be about how the fields are named, but about localised concepts. Maybe there are societies that have some educational concept which western Americans cannot fathom, but which is crucial on a CV there.

This,implies the standard needs to be flexible, extensible and localised. Which kindof defeats having a standard.
waypipe is one solution in that realm (i haven't used it myself though). but it's not like x servers and clients will stop working.
As an EU citizen I always used the Europass CV. So far no Employer, HR rep or even LinkedIn Recuriters ever told me to create my own version. I think they appriciate it because they know what to expect and makes a very good template. And making your own is more likely to go wrong than just using the template. It is very comprehensive and they have an online tool that lets you create it without having any Word document installed.

Only downside is that it gets tricky to edit unless you use that online editor. You have to re-import it and edit it that way unless you want to play around with Microsoft Word. But the format is consistent and its easy to read.
With emulation one can always run one archicture in another one, there is nothing scientific about it, provided there is enough knowledge about the source architecture.
The EU is heavily investing in semantic data for education and digital identity, leaning on ontologies, RDF, json-ld and verifiable credentials.

Banks, research institutes, universities are joined in large consortiums. The German hotel reservation example above is one of the projects that’s getting attention.
Required additional reading: https://yngve.hoiseth.net/articles/why-we-sleep-institutiona...
I will post this to the next guy who tells me that github copilot saves suuuuuch a lot of time which I, old fashioned, vim-using as I am "waste with all that typing". :D
Computer Games are art and games are one result of computer science. Can a science create an art? I guess color theory can explain why we enjoy colors. But the science came after the art.

I agree that data structures and algorithms are not art, but when combined in unique ways they create art.

I think the problem is the field is so new and these terms aren’t well defined.
Evolution of a SaaS Startup’s Infra: From One $20 Machine to Serving 1000 Users
> BIOS flashing from the OS has been a thing for a long, long time now. Heck my XPS 13 running Linux even gets BIOS updates from apt-get.

Yes, I forgot to add that point. It's also just as bad as the other options, because it means that the attacker has gained root access.
Using the vendor locking as a method to remedy this issue (an attacker being able to compromise a servers' BIOS or BMC) is basically just fighting the symptoms, not the root cause (which is that inband updates from the OS for BIOS and BMC are generally a bad idea)

> And 99% of that hardware is sold together as a unit. It will hamper repair efforts, as the CPU & motherboard are now effectively a single unit, but it does not effectively kill or even significantly harm the second hand market.

This is generally not true. 90% of the hardware is sold separately, servers are mostly sold as barebones and CPUs without servers. Some vendors offer custom configurable servers and I know from many that they make the majority of their sales from barebones or single CPUs, not configured or assembled systems.

> Nobody is running a datacenter on second-hand hardware anyway, there's no market to cripple there.

Not hyperscalers, no. But many SMEs / SMBs buy refurbished hardware and running their datacenters on refurbished hardware.
With your argument, we could as well say "just toss all server hardware in the bin once it has been decommissioned" which is obviously nonsense, because if there wasn't demand for refurbished server hardware, there wouldn't be a such a big market in the first place.
You can assume that at least 95% of decommissioned server hardware (except HDDs, still too many of them are shredded) gets a second or third life.
I think you might be conflating two things:

- resume keyword scan (automated or otherwise)

- leetcode interviews

The former I think you’re spot-on. If you’re serious about hiring, some qualified to do so needs to be reading resumes.

The latter is complicated. I tend to agree that the industry has over-pivoted to “dynamic programming whiteboard puzzle” as the LSAT of high-paying software work. But while most seem to agree that leetcode interviews suck in tons of ways, something that is unambiguously superior seems to be an open problem.

And some algorithms and data structure testing is important for hard software work. Even choosing the right library requires some basics. Is every SWE at Amazon implementing CS papers every month? No, clearly not. But unless machine resources are free in your domain, brute-force doesn’t always work.

FANG people do in fact get elitist about their CMU educations. But there’s another crowd that throws the baby out with the bath water: “I solve business problems, not reverse linked lists.” Well, what kind of business problems don’t involve some computation?

It’s a balance that our industry seems to still be trying to find.
> The evidence that others are protected through a vaccination is pretty much non-existent

No the evidence that it protects against severe disease is pretty strong. But there is no need to even go into that discussion.

The evidence that hospitals will be less stressed if more people are vaccinated, so that my risk of (say) getting care delayed for a heart attack or broken bone, is important.

> in order to prevent one more case

We aren't preventing nearly any cases now with Omicron. The protection is just too low. But the protection against severe disease and death is good. Everyone will get omicron (or a later even more infectious variant) eventually. The question is: how many of them will be severe? How flat will the peak be of severe cases?

Vaccinations at this point are about societal risk and severe disease. It's not about individual risk or preventing infection.
More often for e.g. work computers.
> I don't necessarily care about their profits per se, but if Walmart (or maybe a chain store you dislike less) leaves my community because of theft, that makes my life harder.

There's definitely already theft happening at Walmart so they have a non-zero tolerance for it. Frankly, I don't think Walmart leaving a community will necessarily be a bad thing for that community.
Build an Entity Component System from Scratch
If you squint and change who is giving out the money this kinda looks like universal basic income
Social media usage in India nowadays includes calls for mass killings of Muslims[1] and there is widespread political momentum towards essentially establishing a Hindu nationalist society.

Over the last few decades India has seen significant violence against Muslims[2] so to label this sort of agitation as a "different political ideology" is, to put it mildly, bizarre.

Given the rifts that social media has managed to cause in multi-racial/ethnic/religious societies with any form of harmony going out of the window as extremism spreads uncontrolled through networks this kind of lack of response is a disaster. If you want a functioning multiracial society you should look towards Singapore rather than transplanting the typical Western discourse about 'silencing' on foreign countries.

And as to the example, if I were to suggest we "destroy Christianity" in the US by means of using the supreme court you would be unconcerned as long as I qualify that we're only going to eradicate "radical Christianity"?

[1]https://www.aljazeera.com/news/2021/12/24/india-hindu-event-...

[2]https://en.wikipedia.org/wiki/Violence_against_Muslims_in_In...
I believe she does too. Change the set up slightly.

Bring color to her world. Don't show her red - ask her to identify red.

If she can, I'll admit I'm wrong.
For longer and more complex scripts, probably. For something short, I'd probably use "copy file1 file2" rather than "Copy-Item -Path file1 -Destination file2".
It's an interesting topic, I always wonder where reality is. An argument for more transparent comp info.

When HN has comp discussions, everyone points out that approximately everyone with any experience is making way more than 500K with levels.fyi offered as the evidence. I've sometimes expressed some doubt about those numbers but I'm always labeled as uninformed. Ok so I guess everyone truly is making more than 500K.

Startups don't pay very well, so if > 500K is the norm for FAANG-level, then certainly 100K or 200K or 300K++ pay cut is the norm as well for going into a startup?
Good summary of some deeper concerns: https://www.smh.com.au/national/right-and-left-unite-over-dj...

There's been no winners in any of this. If he wasn't granted a visa in the first place there might have been.
Revealed: Many common omega-3 fish oil supplements are ‘rancid’
> I don't think what he did was particularly good but I think he was entitled to do it. And the blame falls on the system we have which relies on random people to do work for free with no contract or obligation.

Utter nonsense.

You don't put out code under open-source MIT and then want to take it back when you realize other people are using it exactly as you instructed them to use it, which in this case is "anyway they please".

You have to think about this stuff before hand if you want to be compensated if it "takes off", there are other licenses you could use.
Your analogy doesn't really help because they aren't just "delayed". Money is wasted on incarcerating them, they come in close contact with criminals, and it makes their ability to get a job, lower.
There are signs omicron is about to crest in Bay Area. One is in our wastewater
some folks even specced it via https://jsonlines.org/ and http://ndjson.org/
One very very simple fix is to mention the table first:

FROM this SELECT whatever

This already allows autocomplete for the attributes to work, and has an easier mental model - you think about the tables, then you think about their attributes. It also matches relational algebra better, where you'd do the projection (picking the attributes you want) at the end.

But anyway, simple cases being simple doesn't mean the language isn't horrible for more complex ones.

One thing I always complain about is join clauses making it easy to do the wrong thing (NATURAL JOIN) and annoying to do the correct thing (joining on the defined foreign keys).
"Anyone who wants the code can come by with a tape."
By finding a bug in the PSP.

Heck, bugs like Meltdown and Spectre were found. And exploits on the PSP have already been demonstrated, see here https://github.com/PSPReverse/amd-sp-glitch
Despite that slight misuse of terminology, the point stands: the article talks about estimating the entropy of a distribution used for generating a password, but the important thing is the “distribution” an attacker is using for guessing the password.

A single password should instead be treated as a sample from a (plausible) attacker’s distribution, and the complexity of that password can be used to estimate the size of the sample space required for that plausible attacker (as in, how many guesses/how much work they’ll have to do). This is, AIUI, the approached used by libraries like https://zxcvbn-ts.github.io/zxcvbn/

The entropy of a distribution for generating passwords matters when generating them in bulk, such as OTPs or implementing a password manager. This doesn’t seem to be the situation being discussed in the article, which is more about rating a user-provided password.
You hit the nail on the head there - lets not smash the "more arrests and harsher punishments UP doesn't have to pay for (what a coincidence)" button, immediately, right?
That is some nice batch scripting kung-fu.
Want true equity? California should force parents to give away their children
The problem with JSON alternatives is that now I come to say that I wish HJSON [0] had become or becomes the standard... so now we have the N+1 Standards xkcd comic strip again

[0]: https://hjson.github.io/faq.html
Show HN: We're building a virtual studio for apparel – 3difyMe
> Internet promised of decentralization is not realized.

Just to point out, it was realized. In the early days everyone ran their services (SMTP, NNTP, later HTTP, finger, telnet, etc, etc) locally in a 100% distributed fashion.

It's just that then the commercial interests showed up and ruined everything with centralization, ads, spam, tracking.
You go to war with the country you have
Hello HN,

This is Harsha, from the team at 3difyMe.
We rolled out the first version of 3difyMe a week ago and wanted to get some feedback from HN community.

<TLDR>

3difyMe converts flat photos of T-shirts and other apparel into 3D models. You can generate multiple combinations by changing the {human, pose, background, footwear} and click unlimited photos or videos.
These are ready to go to your online store or marketing platforms.

</TLDR>

——
Longer version aka Why are we doing this?

Circa Nov 2021, we were toying around with realistic 3D human models and wondered what business problems we could solve. Avatars were one (thanks to the incoming metaverse). But we didn't know if the timing was right. So we explored further and stumbled upon the E-commerce photography space. At the moment, apparel retailers typically use photos that are:
1. Flat-lay
2. Shot on a mannequin
3. Shot by professional agencies

Cost, effort, time and quality increase as you move down this list.
A typical agency will charge you $15/product with a minimum order of 20 products and deliver in 2 weeks.

At 3difyMe we are trying to go from 1 to 3 using tech. No minimum order. And 1 minute to get results.

Here are our hypotheses about this:
Set 1:
> Smaller retailers doing flat-lay will be able to improve their visuals significantly with little effort.
> Bigger retailers should be able to reduce spend, time and effort for a slight trade-off on quality.

Set 2:
The ‘per image’ limit is irrelevant in a virtual studio. You’re free to take as many photos as you want.
If retailers had a lot of photos, they could:
> A/B test their visuals
> Improve their marketing game with additional content at no extra cost

Set 3:
In 2022, consumer attention is fully engaged in video (TikTok, YouTube, Netflix) and retailers barely have access to this medium.
That’s because apparel video shoots are difficult and expensive. But not in 3D!
> The next innovation cycle in retail is video and 3difyMe could make it accessible.

——
A note about the open source we’ve used:
3difyMe is built with Blender, ThreeJS and React. It’s just about amazing and unbelievable that these masterpieces are free and maintained so actively. We plan to contribute back both in code and funding in the near future. We ♥ you Blender and ThreeJS.

—

Feedback of all kinds is welcome. On product, market and product-market fit. :)

If you want to personally reach out, please write to us at harsha@3dify.me and team@3dify.me.