skysight-inc/HackerNews huggingface dataset:
> Then, you give them a fake schematic of the circuit board, and ask them to troubleshoot the problem.

> Here’s the test: the fake board schematic should be absolutely riddled with errors. All sorts of errors - errors that you’ve seen before, errors that you’ve heard about before, errors that have thrown your product development efforts for a loop. These errors should run the gamut of severity

I think you need to communicate to the candidate that this is a board with a lot wrong. If you hand me something that looks like a real board made by the organization, and it's of exceptionally poor quality-- panic will ensue. Is there a single issue I'm supposed to point out? Is the interviewer not aware of how bad this is? Do I even want to work at a place producing shoddy work like this?
One thing that might make /newest a little more user-friendly would be an option to have a showdead just for it. I have global showdead on and often it means staring at a /newest full of autokilled spam. showdead in /newest just keeps me out of /newest.
Search for "bodyweight exercise" and you'll find many types of exercise that require little or no equipment, can be done almost anywhere, and provide similar benefits to other physical activities. One I would recommend is Animal Flow, which is just quirky and challenging enough to stay interesting.
YC has been saying that for a while, but great & early employee need way more equity; they're the one who change the game.
I’d then have node handle the “simple” socket part, and the complexity which is race condition prone, handled by a language better suited for that, responding to the async node implementation?
Edit: spelling
The UN doesn't have an army
I haven't been able to get spotifyd to work, but I've been using Mopidy and MopidySpotify for years.
I know, sounds too simple to be true. But it is:

Boeing Emergency Airworthiness Directive

"Initially, higher control forces may be needed to overcome any stabilizer nose down trim already applied. Electric stabilizer trim can be used to neutralize control column pitch forces before moving the STAB TRIM CUTOUT switches to CUTOUT. Manual stabilizer trim can be used before and after the STAB TRIM CUTOUT switches are moved to CUTOUT."

https://theaircurrent.com/wp-content/uploads/2018/11/B737-MA...

This AD was sent to all MAX flight crews. It works because the first incident of MCAS failure (Lion Air) was safely dealt with by doing just this.
Introducing cars does cause more traffic.

However the interesting thing about braess paradox is that even if you keep the number of cars constant, introducing a new road can make travel times worse.
This is fascinating.

I work for a large enterprise that has basically written its own ERP from scratch. There's a lot of rough edges but it's very tailored for our workflow and processes.

I've toyed with the idea of what I'd build if I could largely take what I know and start fresh (standard exercise in madness, I know) in order to learn about the bits I am not familiar with (I'm more in manufacturing, know very little about CRM and accounting processes).

It was very interesting coming across this only a few weeks ago and seeing this here. Starting it up in a docker container was a snap and it had a number of free modules that were easy to add. It's very basic but gets the point across and was a fun learning experience (and nice because it's in a language I don't currently develop in, python).

Just thought the timing was peculiar and enjoyed hearing about folks here harping on ERP development as soul-crushing. Yes, it can be at times, but I also really enjoy how it lets me really dig into my company's processes. When you get it right, it can make your users sing with joy when you help speed things up or streamline things.

I don't know where I was going with this but just enjoyed the article :)
In my experience, "linear regulator" refers specifically to voltage regulators which drop from a high voltage to a lower voltage by burning all of the power in between (e.g. the venerable 7805).

They're useful if the voltage drop isn't too large and/or if you need a particularly stable output voltage; contrast them with switching regulators, which are more efficient but have some amount of output ripple.

One design that I worked on used a switching regulator to generate 5V, then linear regulators to generate something like 3.7V and 2.9V for various sensitive analog circuits.
Yah, but IMO 1mA is on the "low end" of lit, so you want to round down the resistor value to get a little more current. Pick 2k7 instead.

Most small LEDs will tolerate per datasheet 20mA; 4mA is "well-lit". A little less than 1mA is going to be pretty anemic looking on lots of LEDs.

So I'd be more inclined to put down 470 to 1k5.
I work at a startup and have for 2 years since graduating college. Its quite hard to gauge my true value. I know that for the area (according to Stackoverflow's salary numbers) it seems competitive, but big N companies are moving in to Culver City which may be changing that.

Since starting, I've seen engineers who can't hack it leave or get fired. I've been the one engineer who has been productive and seen our projects to completion. Our team has gotten stronger over the past 2 years however and I feel that we are in a good position. In this way, I feel that I am valuable, but I have nothing to compare myself to.

Working at a startup I've also learned an extremely broad area of knowledge, much of this completely on my own. I'm often worried that that may hurt me if I apply at a larger company and that hiring managers would question my fit.
Just want to say that I appreciate the post. I am considering whether to go to a smaller startup for my next job, or just go to a big company.
Python statecharts: https://aleph2c.github.io/miros/index.html
There are tons of 35 year olds at FAANG and they do hire a lot of people who are currently 35 too.
>noblesse oblige

I think the course of events in the USA in the decades since the 50s has essentially answered the question of what happens if you leave it up to the most fortunate to decide how to treat the least fortunate.
Amazon Chose Speed over Safety in Building Its Delivery Network
That's mostly because the article linked is not exactly subtle, complete with pictures of coronal mass ejections and other hyperbole. But there is some innovation going on here and I'm pretty curious if it will work as designed without a lot of do-over.
When you study natural science and the miracles of creation, if you don't turn into a mystic you are not a natural scientist.

(Ibid)
Too bad I work for a living and paying bills, I don't work so I can "growth". That is just good old self-improvement brainwash to exploit labor

I have hobbies, I have a family, I invest in culture, I enjoy free time, that is actual growth.
"...save an amount commensurate to the opportunity cost."

Which can be a hell of a lot more than you expect. Like, don't bother spending two weeks to cut the CPU use of a service in half, if the service only uses 1k CPUs to begin with.
A fellow named Paul Graham once speculated that it was not beyond reason to offer your first employee a >6% share in your company [1]. I've received first employee offers from startups for under 1%. This explains most of the difference for my decision.

[1] http://www.paulgraham.com/equity.html
You should use your own production code. This will kill two birds with one stone: Does the candidate know how to read code? Is your production code readable?
Which is fine, too! What happened wasn't, though.
I don’t know about that either.

One area where China clearly has an advantage is massive investment in time and budget and respect for education and scholarship that pervades its culture, from individual, family, friends, up to the highest level of society.

I once rode in a taxi in Singapore and had a chat. The Chinese-speaking taxi driver expressed sincere admiration after simply learning that I had a master’s degree, to my surprise.
I use Rofi.
https://github.com/davatorium/rofi
Neither was 1984. And yet...
This flowchart[1] has been useful to me a few times when I've been lost on how to fix something. I usually keep it as a bookmark, but I don't have it saved on this computer, so I just did a google image search and was able to fine it fairly quickly. A google image search for "git solution workflow" or "git fix flowchart" finds it right away, in case this tickles your brain in the future and you want to find it again, and vaguely remember it's easy to find through image search.

Edit: Updated the link to go to the site referenced in the image. Might as well send you to who developed it so they get some credit.

1: http://justinhileman.info/article/git-pretty/
> The pessimism in this thread really bothers me.

I wouldn't worry about it. Every venture I've started, successful and failures, came with everyone telling me I had no chance.
I used to use it for Clojure(Script) but it seems to have just stopped working. I put in a nick and channel and prove I'm not a bot, but the start button doesn't work, no explanation. I'm sure it would take less time than even typing this up to figure out the cause, but there are other means of access to the Clojure community.
Here to second the learning opportunities.

One very salient explanation of this that has stuck with me goes something like this:

A fast growing early stage startup is great for learning because you'll often end up with tasks that you're not qualified to do, which forces you to go out of your comfort zone and learn from the inevitable mistakes you'll make along the way, whereas in a large company they usually have plenty of more senior people to take care of the more challenging tasks outside of your current pay grade.
> 4) Custom negotiated options contract outside of industry norms OR BigCo stock that has value today

The norm is changing. Good startups today generally offer 5-10y exercise windows. [1] This is something Triplebyte started, and they have a guide for how to implement it. [2]

[1] https://github.com/holman/extended-exercise-windows

[2] https://triplebyte.com/blog/extending-stock-option-exercise-...
I'm not sure if this is sarcasm? I went to an unranked state university myself - I'd love to experience even a fraction of the respect these folks get.
> I feel like it is hard for people to say what they truly love before they have at least $1M in their bank account.

[edited to protect your feelings]

Are you saying that simple introspection is hard? I completely disagree, because separating extrinsic motivation (I do this for money) from intrinsic motivation (I do this for fun) really isn't that hard.
Internal T-Mobile documents show the company considering a Comcast merger
The response you saw probably wasn't very surprising to anyone who has spent time looking at the /newest page. It's fun to find the good submissions early, but there's a lot of low-quality submissions to sift through to find the good ones.
TVs have become cheap because they are spyware that sells a recording of your living room to the highest bidder.
Ha, now I’m scared. Thanks.
How to make Deep Learning models 100,000x more efficient
I've built an AI that generates AGI
https://sunpickai.carrd.co
Actually, my observation over the last 20 years of being a venture investor, bigco acquirer and startup CEO (including at a unicorn) is that the risk-adjusted $ compensation is the same at a startup and at bigco. Startups just have more beta in the comp. You learn a lot more at a startup and hence it's the experience you want if you hope to do your own startup. If you just care about short-term $ then absolutely stay at bigco. If you want experiences unavailable at bigcos and are willing to take the chance of making less, but also the chance of making 10X+ more, do startups.
Just a tip - forest has one ‘r’ :)
Civilizations that come into contact will tend to be those that are closer together, particularly if they make any effort to be inconspicuous.

The longer they go without contact, the wider their reach, and the greater their odds of contact.

We might suppose that the technology necessary to obliterate another civilization is arrived at early, and is hard to counter despite long subsequent development. Alternatively, civilizations that succeed in suppressing weaker ones eventually meet their match.
Of course they realize it makes it statistically less reliable. I think the gap is it becomes much more difficult to assess the probability of failure between different systems. In the case of MCAS, they already had the ability to override it. In complex systems one domain may think a simple mitigation is sufficient (e.g., the pilot can override MCAS) without understanding the layering of other issues (e.g., human factors like complex controls, lack of training etc.) Meaning from the standpoint of a single domain, that simple mitigation maybe incorrectly be assumed to bring the risk probability into a reasonable range.

I think it’s important to acknowledge the process failures like lack of communication between domains rather than acquiesce to simple conclusions that are more clear only in hindsight.
Patents last 20 years, so when a new big thing gets discovered people and companies quickly patent lots of things about it. Then, 20 years later, the patents have expired and you can start to have a large amount of new interest as people are not constrained by the patents anymore.
> And, to be clear, I’m not saying that one should or should not place money or perks above everything

Why not?

The whole premise of venture capitalism is that money is an appropriate common denominator for what is valuable in the world, that the best way to change the world is through establishing a legal entity whose goal is to make money, that once you have lots of money the best thing you can do is to put that money to further use instead of directly engaging your own technical skills.

Why do we tell potential employees at startups "money isn't everything" but potential founders "you'll make more money this way" and potential funders "please, sir, some money"?

The startup ecosystem is a way for venture capitalists to get richer, and to incentivize the people who can directly help them get richer. Evidently it's not enough - so maybe they should incentivize the people who help them indirectly get richer. If money isn't everything, don't join a startup or a big company, go to grad school, where you can actually work on whatever you want. Or go work for a big company for several years and retire, or find a half-time consulting gig, or something.
Ignore this page! It's over 20 years old and nearly worthless.

"Pyrex" is now Cython. "Psycho" provided an early basis for PyPy. cProfile is a C-based implementation of the pure-Python 'profile' module. Support has been dropped for the "hotshot" module.

The 'sort' method takes a 'key' parameter which implements 'the so-called Schwartzian Transform' (decorate-sort-undecorate). There's no need to implement it manually.

map() now returns an iterator instead of list, so the timings, as given, won't work.

Given:

python -mtimeit -s 'import random' -s 'data = [str(random.random()) for _ in range(10000)]'

then

'[x.upper() for x in data]'

is significantly faster than

'z=[]' 'for x in data: z.append(x.upper())'

(889 usec per loop instead of 1.22 msec per loop).

Use collections.defaultdict to have an initial default value for missing dictionary entries.

The following appears to be wrong:

dict = {}
nil = []
for s in list:
dict[s] = nil

as all dict values will share the same list object.

The timings have changed so that there is no longer "a significant advantage in Python to adding a number to itself instead of multiplying it by two":

% python -m timeit -s 'x = 47' 'x * 2'
10000000 loops, best of 5: 26.1 nsec per loop
% python -m timeit -s 'x = 47' 'x << 1'
5000000 loops, best of 5: 44.3 nsec per loop
% python -m timeit -s 'x = 47' 'x + x'
10000000 loops, best of 5: 25.5 nsec per loop
> If it's the only think you criticize about him

Sorry, but this kind of wording implying I have 1 complaint when I've clearly stated others gave me the wrong idea.
> Boeing won't care if you save the project $5k by spending a week of your time coming up with a clever workaround.

I'm confused what you're getting at here. $5k/week is $260k/y (or a bit less counting vacations and holidays) and the fully-loaded cost of an engineer at a startup is typically more than that. Then consider how high opportunity costs typically are at startups, and I expect most startups would view your spending a week to avoid a one-time $5k expense to be a bad tradeoff.
The Toys That Made Us
Whatever happened to the other openbsd fork, bitrig?
> What if these pros and cons were subjective, and someone decided that in the end, the cons outweighed the pros?

Of course the pros and cons can be subjective, relative and individual. Among the trans and non-binary community, sexual reassignment surgery is not ubiquitous.

> Would you cast them as an evil person and exile them from your safe space? Would you accept their opinion, respectfully disagree, and move on?

You seem to be missing the distinction between sharing your opinions kindly and respectfully and self-censoring. My point is that people without much experience on this topic will likely have no clue about they ways they are being cruel, disrespectful or ignorant.

> Is everyone really required to learn all these new words / triggers / etc. in order to appease a tiny tiny fraction of the population? Genuinely curious to know your thoughts.

If you would like to act respectful towards (and be taken seriously by) any population, you must make an effort to learn their volcabulary and desired forms of respectful communication. This applies to any cultural group and isn't anything new or an audacious request.
...- .. -- .... ..
Been trying to get back into IRC recently. Because of nostalgia. Like some others said, and I am realizing, it is not a very good place to exchange ideas or even ask about problems. Chat is not good for these things. Forums, mailing list, StackOverflow etc., even Twitter is much better, because everyone have time to craft and edit their messages, and think things through. It is usually archived and searchable. In chat, the message is easily lost or the conversation has carried on to another topic before you are able to respond a long message, like this one.
If you'd like to share, I'm interested in the types.....
Memento Mori: Remember That You Will Die
The argument for Dyson spheres is extremely weak. If you are powerful enough to build one, you are also powerful enough to dismantle a nearby gas giant and fuse that.
Join the club! Or rather, search for Fizzbuzz on HN and read the accounts and theories of similarly-baffled interviewers and posters.
Sure, but free software projects typically do not work based on the principle of "What's the worst they can do in court" or "Are they really going to sue us," they work on the principle of "What are we actively and explicitly allowed to do." Otherwise they'd have no worries about incorporating clearly abandoned code, or incorporating code with an unclear license and not selling it knowing that they can always reply to a lawyer letter with "Oops, sorry." Otherwise Beerware and WTFPL and the JSON license would be free software licenses.

It's quite clear that Mozilla isn't interested in suing Hyperbola or any other free software distro for being a distro and doing distro things, and that in the worst case, they'd send a nice message first and Hyperbola could choose to discontinue distributing Firefox and Rust. Yet Hyperbola wants to take the "explicit permission" principle to an extreme and discontinue distributing them now, proactively. They should be consistent and cease distributing everything else.
I find big companies to be incredibly frustrating. It is so hard to get anything done. As a result I have gravitated towards startups. I know I have made less money but I love the daily feeling of having an impact.

I think startups are great for junior employees because you learn so much so quickly. Eventually if you want to be successful in startups you need to start your own startup. The payout on 25% ownership at $10M or $20M is not bad and lots more companies can buy that sized company than a billion dollar one.
The only vectorization I'm aware of in C# is the few classes in System.Numerics that are provided specifically for this optimization. In theory, the C# compiler and/or JIT could automatically issue SIMD ops for some array operations, if it could determine that order of operations doesn't matter (as could just about any other language), but I think as a general rule this is too expensive at compile time or runtime to be worth it, and most languages force you to make it explicit. Except a couple languages like FORTRAN and apparently APL. (Though I'd love to be shown wrong in the C# case).
Yes, by detecting the damage it has caused after the fact. It's the difference between "we have that missile on radar" and "we know we were hit by a missile because we are dead."
He’s actually tried out a myriad of psychedelics and had a big role to play in synthesising psilocybin (I think he named that himself as well).
He talks about all of this in his book which is pleasantly surprising and very well written. Would recommend.
Ulauncher: https://ulauncher.io/
Liquidation preferences for investors putting actual cash into a business exist for a reason. Suppose I have a company idea, maybe an early prototype and manage to raise $2MM at $10MM post-money valuation. The investors have a 20% stake for their investment.

If I decide the next day, “Nah, it’s not going to work; let’s close the company and distribute the assets to the shareholders,” it would be manifestly unfair for the 80% shareholders to take $1.6MM of the $2MM in the bank and give the VCs back the $400K that represents their 20% stake in the bank account.

Liquidation preferences ensure that the first $2MM that comes out goes to them.
The startups should have a higher bar for hiring. A bad senior hire is much harder for a startup to absorb.
I agree, the analog isn't a good fit. With EE there's a floor of knowledge that basic "bad schematics" can build off of.
You would think it would make sense for Morse to be the foundation for computer representation of text, being binary and all. But the real challenge is that Morse code does not use standard lengths for each character.

It's, imo, one of the earliest technologies that shows the divergence between what is easy for humans vs what is easy for machines.
That’s not a fair assessment at all. The grandparent made a claim and was proven to be clearly wrong.
Cassini Metadata
I don't doubt a lot of the leadership and foot soldiers alike are true believers. I also was involved and earnestly believed in the cause, but the evidence shows that Kochs are dishonest in business and have done a lot of things for blatant self-interest rather than for a principled stance.

I think the Koch Brothers themselves actually do believe what they say, but it's also hard to not conflate:

(1) The government shouldn't impose such strict regulations on business.

(2) I benefit if the government doesn't impose such strict regulations on my business.

Further, you can see how their childhood led to their libertarian / no-holds-barred pathology because of their absent father who encouraged them to fight-it-out in all disputes and their strict (literally Nazi) governess - leading to them sueing each other and anyone else who gets in the way of their "freedom". It's a shame.
The messengers are usually flawed, but the message is good. Same with so many other things which can positively enhance our perspective: comedy, art, music. The messengers are one of us, and while they’ve often glimpsed a possibility most of us haven’t seen, they’re still bound by the same limitations of humanity the rest of us experience. Their message can be guideposts toward a better existence, even if their examples fall short. Finger pointing at the moon, and all that.