skysight-inc/HackerNews huggingface dataset:
Are these interviews turning into a "can you regurgitate some memorized information" formality?

As an interviewer: This is always a red flag to me, because being a successful software engineer is much more than memorizing common truisms. (I spend a lot of time cleaning up misinterpreted "truisms.")

As a candidate: If I'm expected to regurgitate truisms, it's a flag that trying to do things "right" will be opposed by people who don't understand how computers / information work; and a lot of friction will come from trying to make something work versus make something fit an inappropriate ideal.
Oh no! I was working on my side project; about to test the integration with Azure Computer Vision and this happened. Since I have no idea how to deploy my code to Azure without GitHub Actions and don't have the time to learn I will call it the day and see it tomorrow.
What you learned isn’t the same as what was built.
I met my wife in a completely random way, no bars etc. involved. We've been happily married for over fifty years. We ran across each other and just started talking.
> So you'd write (presumably a big) admin web interface in straight XML + CSS by hand?

That's not what I said. I think, that what you mean when you say "by hand" is the opposite of generating XML (and in case of XML, it's not CSS, the stylesheets are XSL that transform XML into HTML).

Before JavaScript frameworks were a thing, technologies like ColdFusion, JSP, ASP Classic proliferated. You can even find remains of this approach in relatively modern frameworks like Django. The idea was to generate XML or directly HTML on the server and send it to the client ready to be displayed rather than sending JavaScript that will request more data as it interacts with the user to build the interface. The former would be called "thin client", while the later is the "thick client". The former used to be more popular because programmers didn't see JavaScript or HTML as a worthwhile to learn language, not enough to build programs in it. It was seen as a target for transpilers.

This was before single page applications, or AJAX... The perceived downside of this approach was that for sites with many very similar pages the application server would have to generate a ton of HTMLs, which would be hard to cache server-side, so, allegedly, it would work slowly (compared to AJAX, where a basic HTML page with JavaScript framework would sit in cache and communicate using XML or JSON with the server to build missing parts).

XML + stylesheets is one of the ways to address this problem: essentially it does the same thing, but without JavaScript in the middle. The function of the XML part of the equation is to transfer the data that needs to be displayed, and the stylesheet transforms the XML into HTML that the browser knows how to display. Stylesheet can be generic and reused between different XMLs. It's not as flexible as using JavaScript but a lot easier on resources, and will probably beat AJAX solution in terms of speed.

Another benefit of XML + stylesheets is good integration with the browser testing tools. With tools like Selenium, you will always struggle to catch page state changes, and will not be able to respond to change as it happens, instead needing to poll for expected condition (that might never materialize). Stylesheets take this aspect completely away because there's nothing in them that happens asynchronously or in chunks. Unlike in single page application, where "page loaded" is undefined, there's an obvious way to tell when "page loaded happens".

The problem of XML + XSL(T) is that people have some preconceived notions about it. Very few people know the tool well, and for no particular reason, most people who know anything about the tool know very little about it, but are also very angry about it. Lots of polls for the "worst programming language" would mention XSL(T)... While the truth is that it's just very different from C, and that's what irks programmers. From engineering perspective, sites like, eg. this one, or Reddit or GMail would land themselves well to XML + XSL(T), but the reality is that modern day Web programmers, well, a lot of them, don't even know they have such a tool.
In Hyde Park, Chicago, you can live on the corner of Hyde Park Blvd and Hyde Park Blvd.

https://maps.app.goo.gl/3jCGRN1HtB1JEPvE7?g_st=ic
> There is a dark edge to this whinging which ends up in the "the government should enforce wifes for men" area whic his really messed up.

I dont see it coming, governments typically care for men the least. If anything, they'll go the Brave New World way before doing anything to help men
> isn’t this exactly how we deal with stuff from homes to furniture?

Repossession is how we deal with these situations. We don't have recliners that lose the ability to recline if a bank payment doesn't go through on time. Or smart homes that lock you out if your mortgage payment is late.
Arranged marriages actually tend to work out quite well in India. People might be quick to say it's because they're forced into it, but studies have actually said otherwise. It forces a couple to actually learn to work together, rather than being immediately blinded by love, then the flame quickly dying.
Mostly what he is trying to do is run queries on the database to export csvs. So mostly he would ask one of the devs to write a query and he would then save and tweak it himself. Now ChatGPT can mostly write these basic queries and cut down on the number of requests to devs.
I'm surprised to not see any mention of the misandrism that has become more prominent in recent years. It seems to be present in a small but not completely minuscule subset of women.
Yes, you are below average; the average new car is owned for 8 years and the median for 4 years.
Can you link to the apple documentation? I've never experienced this phenomenon you are describing, nor has any of my friends & family.
I read "Fooled By Randomness" 20 years ago :)

Your rebuttal, is exactly my point. Leaders make strategic bets all the time, especially in the tech world where you have to constantly take risks. Not all of them will come off and leaders have to shut-down / layoff people when bets fail.

I'm admonishing OP for cherry-picking the time when leaders made the wrong bet.
Are you sure you're not just being catfished by companies seeking to learn competitor salaries?
There have been related events since.

In November, the CEO who had provided the criticism to the Don't Say Gay bill was fired.

https://www.cnbc.com/2022/11/21/disney-board-reached-out-to-...

Last month, Florida took over the Reedy Creek board, changed the name, and removed some of their powers.

https://www.flgov.com/2023/02/27/governor-ron-desantis-signs...

There's probably other relevant stuff since April last year that I'm not aware of also. I'm not authoritative.
This is exactly what I was getting out of it too. I would really recommend reading the Psychology Today article that was also posted here because it explains more about the causes of why a rise in this statistic is being observed.
Signia – tldraw’s lazy reactive signal-like state management system
I think if you live close to their servers maybe most of the issues would not be noticeable. If the app downloads and installs while you have the app page open then it seems to go smoothly. From Asia, I always get DSL speeds and need to leave the app/phone open for an extended amount of time to download even the smallest app
It’s a long game. Removing a car from the road lowers CO2 now and saves the rider a ton of money for years, but it also reduces demand for expensive infrastructure which locks in a massive CO2 footprint for decades. If you build society around driving, people will expect endless road expansion and repair projects; give them better alternatives and that feedback process works in the other direction, not to mention the general benefit from saving lives and improving quality of life.
I work for a big tech co, and our interview training explicitly says to not ask candidates about systems they have built in the past, but to ask them to build brand new systems from scratch.

This seems completely backwards to me. Is like saying "hey, do you know that relevant on the job experience that you have? we don't want to hear anything about it, here you have a made up scenario".

Ok ok, that is a bit cynical. Asking to design novel systems can give you some good insights about the candidate, or help with people who don't have experience building systems yet. Still it seems to me that asking candidates to describe real world systems that they have actually built is much more useful at checking their skills than building imaginary systems.

One argument against this is that candidates can "cheat" by preparing in depth a made up example. But how is that much different than the current approach?
So, nobody can never do again anything that he/her do to become a expert?
> prefers-reduced-motion should be the DEFAULT not an override

I don’t personally feel nearly as strongly about the subject, but I wholeheartedly agree with this.
I previously looked into the average cost per mile of car ownership, after hearing the IRS values it at 58.5 cents/mile, and came up with this breakdown ($7,605/yr):

"The average vehicle costs $40k, is owned for 11 years, gets driven 13k miles per year, burns 25 mpg, gas costs $3/gal, insurance is $1500 per year, and the vehicle needs $900 per year in maintenance and repairs."

The Bankrate estimate seems high, but not by much. My own cost is 38.4 c/mile.
There's data to argue the opposite in fact.

Look up "80/20 girl/guy dating preferences"
Yet despite that, the improvement in fitness from commuting by bike rather than car, is so great that switching to bike will statistically increase your lifespan in just about every city in the world. That’s after including the negative impacts of increased exposure to air pollution, and higher likelihood of being fatally injured while commuting.

https://www.washingtonpost.com/national/health-science/cycli...
The “impossible standards” are a bunch of guys going on dates for casual flings with women going on dates looking for actual relationships. The guys are then complaining about how they don’t just get to get laid.

There is no evidence in this article of any woman having unreasonable standards. Every example is the same “woman asks what dude is looking for in relationship” and “dude isn’t looking for a relationship so thinks it’s unreasonable”.
I know reporters at the Times, Journal and Post. Their vetting processes are incomparable. That makes the writing at the Post (and News) more fun, because it lets itself be ridiculous. But stuff like fact checking sources, or requiring multiple sources for nontrivial claims, is a thing that’s sometimes sidestepped at one set and totally nonexistent at the other.
I think this may be through the lense of the 90s and early 00s. Dating has changed dramatically since its inception about 2 centuries ago. Additionally, it would be remiss not to mention church as one the the most common (even today, and far more so in the past) places where couples meet.
It’s a sorting of all the mail to the mail carrier level, so yes, they do only need to look at the door number. Similarly the ZIP+4 in the US will give down to some fraction of the mail carrier’s route, that they can then sort to a monotonically increasing delivery point number, that is where the carrier actually stops. A full barcode includes the delivery point, but it’s not usually included on the written address.
> "And as a result we find that object-oriented languages have succumbed to static thinkers who worship perfect planning over runtime adaptability, early decisions over late ones, and the wisdom of compilers over the cleverness of failure detection and repair."

The way I read this is that you first have to think out all the objects and the way they interact with each other up front, before starting the development proces. I would imagine with a procedural style this is much less of a concern. You just have data types (adding fields as needed) and implement each procedure as needed as well, one by one. There's no interaction between objects to think about, just manipulations on some data type.

But I also think his perspective is not 100% correct. Alan Kay said the main idea about objects is that they send messages to each other (or something like that). Objective-C (like Smalltalk) have objects that act this way and this allows for very dynamic programming where at runtime decisions can still be made easily (e.g. exchange method implementations at runtime or re-route messages). I would imagine this is harder in many other languages that have objects, since they generally don't adopt the idea of sending messages. From Wikipedia [0]:

> One notable difference [with regards to C++] is that Objective-C provides runtime support for reflective features, whereas C++ adds only a small amount of runtime support to C. In Objective-C, an object can be queried about its own properties, e.g., whether it will respond to a certain message. In C++, this is not possible without the use of external libraries.

The use of reflection is part of the wider distinction between dynamic (run-time) features and static (compile-time) features of a language. Although Objective-C and C++ each employ a mix of both features, Objective-C is decidedly geared toward run-time decisions while C++ is geared toward compile-time decisions. The tension between dynamic and static programming involves many of the classic trade-offs in programming: dynamic features add flexibility, static features add speed and type checking.

---

[0]: https://en.wikipedia.org/wiki/Objective-C
Yes and laws against “sodomy” weren’t meant to target gay people.

Do you really think parents would use the law to target a man talking about being married to a woman and not a man married to a man.
Cool idea. Do you have an example of what it looks like within a community?
declining births, greater housing demand for singles, increased "childhood" as people live with their parents longer and housing prices increase due to the reduced supply

really all things we are seeing today, just exacerbated for the next few decades, after which demand for housing will fall as population rapidly decreases
Three-parent baby technique could create babies at risk of severe disease
TNT sped up the Law&Order theme & chopped parts out to fit more ads.
I'd guess the average is higher due to a few factors. First being that people, on average, don't keep a car nearly that long. Average ownership (after a quick search) seems to be around 5-7 years. Another thing might be your fuel economy given the most popular "car" in the US is a pickup truck. Also there is the cost of insurance, which I'm not sure you counted.
You are well below average basically across the board. Most people don't keep a car 23 years (I think about half that is average), buy fairly expensive cars (average car price today is well above what you paid even adjusted for inflation), drive cars with less than great gas mileage, drive more than 10k miles per year (15k if I remember right), and buy unreliable car brands that cost a lot in repairs. You're also not factoring in insurance.
Show HN: Smsgpt, Use ChatGPT over SMS
Meanwhile, ASPI just published a report saying that China is on track to dominate development of critical future technologies, with China already beating the US in 37 of 44 such technologies

https://web.archive.org/web/20230302110306/https://www.abc.n...

China has also now overtaken the US in both quantity and quality of research

https://physicsworld.com/a/china-overtakes-the-us-in-terms-o...

Given that China has a population of 1.4 billion people, excellent education system, and the best streamlined industrial machine in the world, it seems like sheer idiocy to think that US can hold back China's development using these sorts of stunts.
> There is a dark edge to this whinging which ends up in the “the government should enforce wifes for men” area which his really messed up.

There’s another fairly obvious authoritarian government solution to the social disruption of men who can’t find life partners, that doesn’t impose on the freedom of women.
> If every single stock investor bought index funds

Well they don't, so why discuss meaningless hypotheticals? Yes this advice doesn't make sense in a world where there are no active funds, no wealth managers, where day trading doesn't exist, hedge funds all shut down, there are no quants, no HFT, no one trading derivatives...but until that happens I'm still telling the average person to buy index funds.
40,000 people are killed each year by cars in the United States. We do need to ensure bikes and scooters are not on the sidewalks. The best way to do this is to build dedicated bike lanes that remove bicycles and scooters from the sidewalk and from the road (where cars are too dangerous).

But I can't take humans serious as this stage where 40,000 of us are dying each year and so little is done to prevent it despite it being something we can dramatically improve. But people shake their fist at a scooter laying on it's side on the sidewalk while 7 Eleven says a car drives into one of their stores (through the building) on average once a day.
Or maybe they are at peace with their emotions and they don't need therapy and just want to listen to music ?
I honestly wonder how much worse response times are for a high-rise building - assuming the lifts are working it wouldn't have expected it to make a major difference.

Personally I'm more worried about living alone. If $thing happens (stroke or even stupid accident) then my cat is unlikely to ring 999 on my behalf, give my address or unlock the front door; all of which seem like more of a delay than an elevator.
StatefulSet and PVCs aren’t sufficient to fully handle all the likely resilience challenges of running a database cluster on K8S. There needs to be some rethinking on how StatefulSet works to make it more appropriate to this use case, such as allowing Pods to be started out of order when recovering from failures.

I worked in this problem space extensively until 2020, and I think that there are paths forward but they require changes in K8S that none of the folks involved seem motivated to make. Realistically to make databases in K8S work well today you need a database built for K8S rather than one adapted for K8S.

The building blocks present today are not fundamentally capable of building a positive UX for adapting existing databases to K8S, but this is something that is worth making possible and I hope the community gets there some day.
So now you think that the government should “punish” companies who speak out against laws?

Do you really think the law will be used against teaching about straight couples?
Open Source tool/library to modify the size of an element in .pdf files?
Can anyone suggest an Open Source tool or library to alter the size of a field contained in a .pdf file? I used libraries to print barcodes in the past, though never had to modify existing ones.

My doctor sends me prescription sheets in .pdf in which the barcodes (code39) don't use all the space available and once printed are so small that all barcode readers at the chemists fail, forcing them to to enter all fields by hand, thus creating a line behind me. By looking into the files I saw they're created using "Foxit Quick PDF Library 17.11", and importing them into Libreoffice I can easily find all barcode fields and expand them, therefore I wonder if I could automate the operation by writing a function that reads the file structure, finds all fields containing barcodes (assuming they're labeled somehow), applies the necessary changes then saves the modified files.
I don't deal with OPC. That's handled after me. I mainly do floorplanning, place and route, static timing analysis, and write tons of scripts in Tcl for our CAD flow. This is a quick summary.

https://en.wikipedia.org/wiki/Physical_design_(electronics)
I think that part was included just to illustrate the more baroque manifestations of commercializing relationships. The main point that I took away was that commerce itself (commodity-based, transactional, impersonal/disconnected) is a lousy model for dealing with human relationships, which are personal, unquantifiable, and literally connections.
So this is not the first time HN has discussed the Pew statistics showing far more single men than women in the 18-29 bracket:

https://news.ycombinator.com/item?id=34954694

People have proposed so many hypotheses:

* Women are getting into same-sex relationships

* Women are dating older guys

* Some men are dating multiple women

* Grey zone relationships where the woman considers it "committed" and the man does not

* Probably other explanations I'm not thinking of

It would be easy to do another survey, add on some additional questions, and figure out which hypotheses are true. For people in committed relationships, add questions like:

* Do you have multiple committed partners?

* How old are your committed partners?

* What genders are your committed partners?

* How many committed partners do your partners have?

* Are you confident that the person you consider yourself to be in a "committed relationship" with would describe it the same way you do?

And for single people, add questions about whether they want to be in a relationship, whether they have casual relationships they don't consider "committed", whether anyone else would claim they're in a committed relationship with you, etc.

Until we do a second survey, all discussion of this issue is just anecdotal evidence and speculation.
certainly, in terms of writing scripts, deno seems nicer. Like, if I want to write typescript that just runs and does something, without having to carry around a node_modules folder, etc, deno seems like it might be nice
Sorry I wasn't arguing for child labor. I was just explaining why it was allowed in the past when family farms were more prevalent.
Also the grammar of Spanish doesn't have an X suffix at all.
I'm unsure what is meant by "task and rest periods". I feel that understanding the nuance behind that phrase is crucial to understanding the abstract.
Oh yeah, for sure. I got the gist of your article. I thought it was pretty clear.

But overall, planning a backup strategy can take some time. You need to know your goals before you go buy some vendor's hardware. But, in your circumstance, you gotta do what you gotta do.
Let’s save our outrage for things that actually happen.

But yes — I think many parents would be uncomfortable taking children to burlesque shows, rather than drag shows. And similarly uncomfortable with a heterosexual teacher who discussed their sexuality in the way that this prohibits.

We don’t teach young kids about sexuality or gender identity at a young age, regardless.

That’s not the job of school teachers.
Seems to be something broken in Azure DevOps too:

https://twitter.com/AzureDevOps/with_replies

Edit: Must be something bigger than just the MS/Github hosted agents. Can't trigger builds or deploys on my self hosted agents either. Control plane issues perhaps.
Yeah, those are crazy numbers. They're assuming the average consumer will drive a $40K car with no downpayment taking on 7~8% loan, with no capture of value when selling the car.

If that's the case, it just speaks volume of the inflation and the devaluation of the money that the cost of $10K for car being normalized.

With inflation, the money the consumer will get back when selling the car will be higher. That's not factored into the ownership cost.
The bigger headache is the iCloud account required to send iMessages. A pain to set up, and after a few spam messages Apple will just terminate the account. And probably blacklist the phone used to do it. Sure, this isn't terribly expensive, but compared to the barrier of entry to SMS (zero), it is pretty substantial.