skysight-inc/HackerNews huggingface dataset:
I am surprised by the amount of selfish responses. To me it comes down to professionalism and not treating the people I work with, with disrespect.

1. Find out your company's policy. For a lot of companies in the US it's 2 weeks, for a lot of Indian based companies is 3 months. So figure out how long ahead of time you need to let them know. (let's call this X)

2. Figure out how much PTO you have. (let's call this Y)

3. Do you have a new job lined up? When is their start date? (let's call this Z)

4. Ideally you want X + Y < Z, so you can take your PTO and work however many weeks you have and then start your new job. Otherwise you can X < Z + Y (where you are taking PTO and working on your new job)

Personally I don't like taking an extra break between work, so I have my last day on a Friday and then on Monday I am starting the new job. If you have PTO time you can at least get paid for not working. I have had about 11 different jobs and I can still contact old co-workers and managers and get recommendations when I need them. No reason to burn bridges.

Even in very toxic environments there are still some co-workers that I appreciate, or as a manager people that worked for me that I appreciated.

Having said all of that to respond to your question

> Do people generally just abandon the work in progress that they're doing or do they finish it out?

There is always a work in progress. Isn't that what working is? This is why you give your 2 weeks notice or whatever. If it's not time sensitive you can talk to your manager, tell them that you are going to quit, but work with him on the exact date. What you do in that 2 week time frame is either finishing what you want finish OR documenting / training the next person to take over.

One of the personal things I do, and I am probably a rare case, is to give everyone that mattered me to a hand written note of what I like about them, anything I am thankful for etc. With my direct manager I do the same, but I will add what I feel was the most frustrating point of working for them. There is no menace there, but more like a "hey I am leaving, here are my honest thoughts". I tend to do this the last day, drop things on people's desks, preferably when they are not around.

> Other people seem to move jobs a lot more than me.

I was that person, I moved jobs, a new job every 2-4 years. Any of the 4 year spans usually involved some internal move. Now that I am older, and perhaps wiser I have realized that if you find a company you like, it's fine to stick with it and grow with them. I have been with my current company for 8 years and I haven't really thought about leaving. I have changed 4 titles though, Jr Dev to Dev Lead with everything in between.
As you can see by the downvotes people don't actually care much about neither the people of colour that are used as cheap workforce and neither their own countrymen that lost their jobs or can't get a job because they were all transfered to other side of the world, based on a lie that it would economically advantageous to do so, aslong as they can afford their toys.

If it was something that involved POC in Europe or the USA, they would rush to their defence to earn their virtue points.
4 hours would be a long job interview.

Has anybody ever played less than 4hr of factorio?
That I don’t know, they were all replaced with the same (old) version.
I installed FreshRSS on a server and imported my Google Reader feeds. I love having an RSS client that won't go away, and it's at least taught me that I should never rely on Google keeping something available, so it was a valuable lesson as well.
Electricity in most networks is bid on usually just two or three hours into the future, for 30min windows of electricity. (Biding starts up to a day or two before, but the auctions usually only close and hour or two before the 30min block starts).

It’s pretty easy to predict the amount of wind two or three hours into the future, wind doesn’t just “stop” without any sort of warning. (At least not when you’re dealing with wind over 100s of square KM in the middle of an ocean).

So selling renewables into the grid isn’t that hard, even across grids. But you might not be able to command the same premium that a more “reliable” source could.
ah, the dreaded distributed monolith. I hope this is looked at as a terrible anti-pattern someday.

"But we can deploy services independently" they say, "we can scale these services independently too!", "We can finally scale our development team!"

Years later: no services are scaled independently. Deployments are a mess. Most deploys end up having to be lock-stop deploys. Issues are incredibly hard to track down because of complex network interactions. For some reason 7 of them are written in Rust and only 1 guy knows Rust. Stack traces become almost worthless. You find yourself having to piece together log files across tons of services to track down issues. You have hundreds of Jenkins jobs for deploying services.
Existing libraries make decisions that aren't necessarily suitable for all applications. Most hash table code makes excessive use of malloc/realloc or has power of two growth which is problematic in memory constrained systems. If you want to minimize waste by using high load factors you're going to want Robin Hood hash which is still relatively uncommon in lib code.
Just drop them into a highest difficulty game and see how they are at crisis management. And at prioritizing. You could even see what they do at peace times.. Using it for personality analysis sounds like a bad idea.
Dereferencing null is UB; there is no guarantee that it will compile to something that segfaults or that it won't be exploitable. This is unlike None.unwrap(), which is a guaranteed panic.

Exploitable null dereference, for anyone who needs a reminder: https://lwn.net/Articles/342330/
Reversing a string does not make sense in most languages.
I have a question about whiteboard interviews.

I have used and continued to use whiteboard coding in interviews. However I emphasize to the person that I am interviewing that there is no expectation that what they write on the whiteboard compile, or even be a real language. I'll usually do a quick demo and joke that my own white boarding looks like the bastard child of Python and FORTRAN. The point of the exercise is to have a design conversation and see if the person can think about algorithms or solving problems, not write valid code with a marker.

Do people still have the same level of disdain for this technique or am I misunderstanding the objections people have to whiteboard coding.
The court first needs a case before them. And appeals aren't just "do-overs", they often have a specific question to settle.

Here, the question seems to be "is shooting this person under these circumstances a form of seizure" not "is shooting this person under these circumstances Constituional/good/OK".
How to Put Together an Investor Outreach Strategy
Everyone agrees with that. What we don't agree about is what is an acceptable way for police to "find" a perpetrator within their right under the constitution.
Neither of those two words include passion, nor does your example.

The argument from consensus is particularly weak when not averaged historically across the lives of the present generation, much less historically.
Unless the page has some feature that obviously uses accelerometer features, it’s 100% that, no cynicism necessary. This is a not-uncommon fingerprinting technique.
Learn Docker in 24 hours or less
> If a colleague can do your job, you're not needed.

I can program in ASM, since I did it in college. That's a different assertion from "if a colleague can do your job, you're not needed". ASM programmers are still needed. Also, there's the whole "making a baby in 1 month with 9 wombs doesn't work".
Here you go: https://danielbmarkham.com/outlines-of-a-supercompiler-in-f/

Example implementations are also available for deeper inspection on GitHub. See link in article.
Hi, I'm one of the co-founders of Porter. First I wanted to clarify that the OP is not affiliated with Porter - but thank you OP for putting us on HN! This was a pleasant surprise.

As for the business plan, the honest answer is that we are still figuring out the specifics. That said, the goal is not to charge indie devs/small teams but charge for features that are geared towards collaboration/useful for larger teams.

You raise an excellent point about how a truly good open-source PaaS shouldn't have a lot to charge for support. We completely agree with this, and we don't intend to draw revenue from support (as you flag, this model has a bit of tension with building an easy to use, automated platform).

We believe that there are a ton of things that can be done that is useful for teams, and there's solid evidence for this on existing hosted PaaS's like Heroku, Netlify, etc. Review apps, pipelines, RBAC are few examples of these paid features on hosted PaaS's that we also consider to be potential premium features on Porter.

As for the comparison with other PaaS's that came before us - Flynn, Dokku, Deis and Tsuru were built prior to the advent of k8s. Afaik, a lot of their effort was spent on building the system layer. This has obviously changed with k8s, so we have the luxury to focus on the platform layer and make innovations there, instead of using our resources on building the system layer. I do not have insight into why other k8s based PaaS (like Rio, Kel, and Hephy workflow) have been discontinued, but one notable difference is that we intend to make Porter a true Heroku-level PaaS that doesn't require familiarity with k8s, rather than becoming a PaaS that saves time and overhead for those who already use k8s.

Hope this answered your question!
The reason forest land ownership is so popular with the rich is it's free from inheritance tax and can be passed on for ever generating 1-2pct
Emoji don't introduce anything that isn't used for various other languages. Emojis are just the most visible breakage for American users when you screw up your unicode handling.

HN however handles all of unicode just fine, it just chose to specifically exclude emojis (and a bunch of other symbols)
Col. Boyd must be spinning in his grave!

One of my favorite books: https://www.amazon.com/Boyd-Fighter-Pilot-Who-Changed/dp/031...

There's a lot about what's wrong with aircraft procurement in this book and how he fought against it. Idealism and pragmatism still lose to politics and money fifty years later!
Sounds a classic example of design by committee
Why was this comment flagged? Is it because I quoted the commenter I'm responding to? Is it because I mentioned that what was being suggested was actually identical to something the Nazis did? Is it because I typoed "Hugo Boss?"
Even for a small retailer, (i)zettle costs 1.75%[1] per transaction. No monthly fees. I honestly can't see how cash can compete with that. You need to spend time managing your change. You need to have some kind of register. You need to take your cash to the bank (which is far from free, and takes time). You need to manage your operations so that nobody steals or loses your money. Only "benefit" in cash is that tax avoidance may be easier, if you are into such things.

If I'd start a small business, I would flat out refuse to take cash. (in Europe)

[1] https://www.zettle.com/gb/help/articles/1084775-pricing
tl;dr

"The Unix philosophy, originated by Ken Thompson, is a set of cultural norms and philosophical approaches to minimalist, modular software development. It is based on the experience of leading developers of the Unix operating system. Early Unix developers were important in bringing the concepts of modularity and reusability into software engineering practice, spawning a "software tools" movement. Over time, the leading developers of Unix (and programs that ran on it) established a set of cultural norms for developing software; these norms became as important and influential as the technology of Unix itself; this has been termed the "Unix philosophy."
I have a similar pet theory that Baba is You has incredibly high predictive power for skilled application security people. It would be pretty heinous to hire based on that, of course.
Building a 2.5 Gbps 5-drive Pi NAS
As I noted in another comment, what we’re really dealing with in compiled templates are reader macros. And unfortunately, reader macros break composability.
> Property disputes cause huge amounts of distress and financial cost in England, partly because ownership of boundaries is unclear. Some people spend years and tens of thousands of pounds arguing over that 1 foot strip of land.

How frequent is that? Based on the original link, it appears that there is a process in place for when disputes arise.

Disputes happen in the US too. We have legal descriptions that exactly specify property boundaries, but converting them from paper to dirt also costs a lot of money. And land shifts! A survey from 200 years ago might not be accurate anymore!

EDIT - your link says "These days, it is rare to obtain planning permission to build right up to the boundary"

My main argument is that the US and the UK have kind of settled on the same solution, which is to try to avoid situations where you need to know the boundary exactly. In both countries, if the exact boundary is important, you can pay lots of money to find out (and it will take a long time too).

I think that the "exactness" of the American property system gives people a false sense of precision that doesn't actually exist in real life. I live in the US state of Illinois. In the southern half of the state, the legal definition of the state (as defined by the US Congress when the state was created) is based on 3 different rivers (the Mississippi, the Ohio, and the Wabash). That was a long time ago, and now the river banks have shifted a little bit. So you have parts of Illinois west of the Mississippi River, parts of Missouri east of the Mississippi River, and even parts of Indiana that are west of the Wabash River. Legally - what is written down as law - this is not possible!
> signal lines

Good point. I stand corrected.

> orientation

Two features ensure (and encourage) the block placement at the correct orientation.

- layout of the 4 magnets' polarities at each position (and complementary layout on each Block).

- plastic protrusions within the casing (with mating features on each Block).

Just an interesting note: The latter also serve to provide a bi-axial constraint on a Block after attachment, to prevent easy detachment. Together with the (neodymium) magnets, they create a very strong hold, important for Blocks like the Soil moisture sensor demo'ed in this video: https://www.youtube.com/watch?v=vwnpbNNyzdQ&list=UU49EYw900L...
One missing part of the discussion is how this large ship got stuck. Brenden Greely of The Financial Times had a good possible take the other day on the Bank Effect:

https://www.ft.com/content/171c92ec-0a44-4dc5-acab-81ee2620d...

Essentially, Bernoulli's Principle makes these large ships susceptible to jack-knifing in narrow canals.

Faster moving water creates a lower pressure zone. Water moves fastest near the stern of the boat. This is why the bow will tend to rise when a ship is moving quickly; the stern can bee seen as being sucked down almost.

In the Suez the 24m deep bed of the canal makes the water move very fast near the stern of the ship. This will also occur near the banks of the canal. With these very large ships, the effect is more pronounced, as there is less cross-sectional area for the water to move past.

If a ship gets near the banks, then you'll get the fast low pressure water acting on the bank-side of the stern and the bottom. Add your force vectors up, the ship torques, and does a 'wheelie' off the bank, jack-knifing the canal.

The big problem here is that these superships all are susceptible to this. It's a matter of hydrodynamics. The bigger the ship, the worse it gets. Meaning that economics comes crashing into physics, and we all know who will win that fight.
What about chargebacks? Card Not Present is still incontestable for merchants.

My post from 2019

Ask HN: Innovations in merchant online online credit card processing?

https://news.ycombinator.com/item?id=20182897
What the ‘Invisible’ People Cleaning the Subway Want Riders to Know
Not really, a 1000 sq ft apartment with concrete floors and ceilings has the same amount of concrete used as a two story 2000 sq ft house in an area that uses slab foundations. The house also has no steel and did not require extremely heavy equipment to build.
Alternatively, maybe in an era of climate change, there could be an incentive to use the extra to run processes like carbon capture. If carbon credits became a thing in a global economy, I could see some companies in a cap-and-trade scenario use that as a convenient way to offset their total footprint.
Amazon denies stories of workers peeing in bottles, receives a flood of evidence
I wrote the world’s fastest memoization library
That's why the US Navy dump perfectly fine fuel overboard.
I wrote a blog post [1] on this a couple of years ago. This is a quite old technique [2] but was not widely used until recently. I was surprised that I hadn't found this earlier.

[1] https://attractivechaos.wordpress.com/2019/12/28/deletion-fr...

[2] https://en.wikipedia.org/wiki/Linear_probing#Deletion
What is causing Uber's losses? The customers are paying money, the drivers are getting only a fraction of it.

Are the drivers actually getting more money than the customers are paying? Are Uber's data center and transaction costs really high? Or is it the armies of lawyers and business development people?

The basic value proposition of ride share seems viable. If Uber's losses are overhead, maybe somebody can compete.
>were are not eugenysts or some crazy wackos

I, respectfully, disagree.

>we just take in account all possible issues with a severly disabled future person both for the surrouding people and themselves.

Following that "logic" we should euthanize every single human being because we don't know which bad things can happen to them. I mean who wants to suffer right? We can't allow for anyone to be a burden on anyone, it's not like we have any obligation for others.

Everything you said could be applied to everyone. Including you and me.
In Praise of Richard Stallman (2003)
I clearly stated I'm not diagnosing any conditions, so the accusation is uncalled for.

Neurotypical is hardly a scientific word, but to the extent it applies to anyone, you'd have a hard time convincing me it applies to RMS.
Negative electricity prices are not a crisis but a great business opportunity. There is a lot of money to be made from free energy, or even better energy that someone is paying you to take.

There are, for example aluminum plants, whose major cost is electricity. There is steel, which can be made by electric arc furnaces (this is not the only way to make steel, but it certainly the more environmentally friendly). There is cement. Cement is currently not made by electricity and it is currently one of the most polluting and carbon intensive industries out there. But, as the major power input in cement is heat, I am sure there is a way to make it profitably from electricity given low enough electricity prices.

There will also be electric cars. One can choose when to charge an electric car, and if the power companies decide to pass on some of the savings on consumers, consumers can choose to charge up their cars when there is plentiful wind power.

So no, this will not be a "crisis" for long. And really if things get very bad, one can always slam the brakes on the windmills so you won't have power you don't want. But I expect there will be a lot of businesses that will pop up to use intermittent cheap electric power.

Just because some change is required, we shouldn't call it a crisis or put negative connotations about it. And of all the crisises that could happen, having cheap or free energy is not the worst crisis one could have, to put it mildly.

Say you had a rare meterological condition in your town, where it started raining little nuggets of gold. Would that be a crisis. It would certainly require action. You'd have to improvise a protective hat of some sort, and then you would have to drop everything and run out and gather all the gold. But I would not call it a crisis.
Why not "Want a Vaccine? Elect a megalomaniacal warlord and plunder it from a less powerful nation"?
26,570 GBP / hectare / year, if all land was priced equally to replace total UK government revenue. [1]

1: https://www.wolframalpha.com/input/?i=uk+total+government+re...
I'm surprised they don't go for updated F-16s now, but instead for a new design. Which again will have the chance of running over budget, having teething issues, etc etc. With the F-16 these things are already long figured out. They were even built here in Europe for a while. I know it doesn't have stealth but it has proven itself in asymmetric warfare.

I wonder what the EU partners will do now. The Netherlands wanted the F-35 as the successor to the F-16 which it never became. They had to scale down orders as the price went up. I bet they will need a new plane too to fulfill the F-16 role. They can't cancel the F-35 purchases though as it was an intricate patchwork of local supply deals in return for orders.
A restaurant runs up to the order or $100k/month?
Or you could just pair program with them on a real-world problem...
Can we require them to list any features that are soft disabled at time of sale, in a clear, compact document?

I don't feel real strongly that they should be legally prevented from implementing this sort of price differentiation, but I think everyone is better off if we make it unpopular.

I disagree with your second paragraph is what it amounts to. The thing driving them to do this is making money, they could just sell cars where the minimum feature set is dictated by what the hardware is capable of.
A fair amount of the timeline for Unix was when it supported multiple processes, but not multiple threads. SunOS/Solaris didn't have threads until 1992, for example, and it still didn't support SMP, so global state wasn't an issue initially. Strtok() predates 1992. They did add strtok_r() once Posix threads were a thing.
Is electricity the primary cost for the things you list? Once you have paid for the factory, equipment, employees, materials to manufacture aluminum or jet fuel, I can't imagine the stakeholders just shutting everything down if the cost of electricity fluctuates.

For actual buffers to be developed, we need applications that are super cheap to set up but expensive to run. Storage heating / cooling is a good idea, I can't come up with others from the top of my head.
Yeah, it's weird that this is even a question from an employee perception perspective. I'm extraordinarily sympathetic to US intelligence agencies by our industry's standards, and even I would see that as a red line.
I think it's helpful to focus on dollars per citizen. $428 billion means I spent a bit over $1000 on this failure. My family spend a few thousand dollars. Adjusted for income (I pay above-average taxes), it probably cost my family a minimalist car.

The 1.7 billion price tag is around $5k per citizen. That could mean a lot to a lot of families.
I'm D tier programmer who would easily land a programming job if factorio was the skill metric.
The Association for Computational Heresy
The wave roller technology they discuss in the video specifically addressed these challenges....
Does anyone sue the us govt for recouping taxes due to such catastrophic results?
It's a hilarious (nefarious?) kind of xenophobia that's repulsed by this kind of stuff but is wilfully ignorant of exactly the same thing, by another name, in the developed world. And I'm not even talking about "sliding scales" but the well known grift and corruption. The truth is this kind of exploit exists everywhere institutions exist because individuals are not identical with institutions.
Isn't that a common criticism of every interview style? Whether it's whiteboard questions, take-home projects, soft skill questions, lots of people will lie and say they've never seen the question before.