skysight-inc/HackerNews huggingface dataset:
> If you served your time, you spent the amount of time in prison that the judge decided you should spend in prison.

Erm yeah, they’ve been judged by the judicial system that as a society we’ve agreed gets to decide that repayment to society looks like. Don’t like it, change the laws, you presumably live in a democracy.

> You probably don't want the pedophile repeat offender to work at your daughters kindergarten. He has no right to be there and he is unsuitable. Not getting a job is not punishment.

Again, there are already legal constructs that handle this, and are managed by the judicial system. Bound by the laws created by democratically elected leaders.

Also what does kinder-garden have to do with IKEA? If you’re leaving your kids at IKEA as a substitute for kinder-garden, then I’ve got news for you.
Sedgewick's?
It's not about understanding the set of rules, it's about applying it in real time while playing. It adds a huge mental burden on the interviewee if they aren't familiar with it already. And the older you get, the harder it becomes.
+1 on this. I could never get into Factorio with the simple graphics and 2D top-down.

Satisfactory is freakin incredible and it is easily the best new game I have played in the last 10 years.
Show HN: Maximise your salary by (technically) living in highest-paying areas
Kentucky governor signs crypto mining tax, clean energy incentives into law
This has all happened before, and it will all happen again. The Pentagon Wars is available for viewing on YouTube.

https://www.youtube.com/watch?v=ir0FAa8P2MU
In that scenario, trust shifts to somewhere the U.S. cannot easily regulate. In case of crypto, that can just be banned and rendered useless, as long as the rest of the world is USD-bound.

If a crypocurrency becomes popular in another country using another currency to on- and off-board, see my comment.

It would take a miracle for cryptocurrencies to suddenly replace fiat without being bound to any fiat currency. Essentially, all the world would need to switch trust at once.
These tend to be capital-intensive, though. The big problem with most of our solutions is that you spending $50MM on a hydrogen plant and then leaving it idle half the time costs you $25MM amortized over the lifetime of the plant, so you need to be saving that much on your power bill. It's likely more economical for you to just run it on full all the time, regardless of the hourly energy prices.

We do this some with aluminum smelting, but it's not as free as it initially appears. You need a high energy usage to capital cost ratio for it to be economical. (Ideally, you'd also be able to ramp up and down somewhat quickly as-needed. IIRC, there's a big aluminum plant in Germany that can do this, but it's unusual.)
PDF and Office Document Libraries for Go Programmers with Free Plans
MAD works because both sides have something to lose. If you give a nuke to Osama bin Laden, he uses it.

At the same time, I feel like there's still something there. Having nuclear weapons makes existing states much more resistant to opposition. Other states can't topple them in the traditional way because of MAD.

But neither can local freedom fighters -- suppose pro-democracy forces took three major cities in China and started using them as an industrial base to wage a conventional war against the regime. The US and anyone else couldn't really help them the way France did the nascent American Revolution, because of MAD. And if they actually started winning regardless, couldn't the dying regime nuke the rebel cities?

If we don't want people to live under permanent authoritarianism, maybe we still need something to level the playing field.

Though it doesn't necessarily have to be nukes; establishing uncensorable distributed communications comes to mind as an anti-authoritarian power. The fact that Western countries aren't spending billions to comprehensively subvert the Great Firewall is a significant strategic failure.
> Reversing a string

I wonder: several comments are saying it hardly makes any sense to reverse a string but... Certainly there are useful algorithms out there which do work by, at some point, reversing strings no!? I mean: not just for the sake of reversing it but for lookup/parsing or I don't know what.
Well to be fair it never aspired to do all of those things within the same model. They did split it in three different ones.

Also, maneuverability and short wings go together really well. Slow flying and short wings doesn't though.

Still, it was clearly a mistake, three totally different designs would have been cheaper and better.
>People who played the game could just hide the fact that they know the game mechanics. And act like they are catching up faster then normal person would.

This is a universal problem with all interview techniques. Interested in any ideas for how to fix it.

It's even a problem with "personal interviews," because some people have had more experience with optimizing one-hour first impressions than others.
In the US all first responders are required to go through various levels of incident management. You can get free training on NIMS and ICS online. It works, and it works very well.
>More specifically, the flaw is to do it on the back of an easily-faked, CYA letter of authority.

The company the OP used bears a large part of the responsibility for the issue due to the intentional or negligent lack of validation.

Several years ago, I built an application that offered similar ability to the one that caused the recent ruckus. In our case, we worked with industry groups to define an acceptable flow, which led to a one where we initiated a voice call to the customer that read a numeric code to them, which they had to enter as part of the registration process. We also checked each number to make sure that we were ONLY registering landlines and not mobile, toll-free, or other MVNO-associated numbers like Google Voice, etc. (We did support toll-free, but that required written LOA and manual verification with toll-free # registrar).

The surprising part to me in the carrier's response was that they weren't already periodically reclaiming SMS routing for their numbers. Over the course of testing, I'd accidentally claimed my own cell # (Verizon) or the cell # (T-Mobile) of one of our test phones, and proper routing was always restored within a week for Verizon, and within a day or two for T-Mobile.
I think that well defined software teams that can integrate effectively with one another in large companies could spell the end of software startups.

The dysfunctionality of middle management outweighed economies of scale for a long time but I doubt it will last forever.
Title insurance doesn’t even necessarily cover property border disputes. It can but it depends and some title insurances exclude it.
Gyrosoft All-Weather Simulator: Join the Gyroscope Gamified Testnet
Twenty hours is too long?

Considering the average number of per-month applicants for software developer positions is probably less than one, you ought to have that much time.
And focuses most of their time and energy into brown nosing. Zero respect in either direction and an adversarial relationship by design any time you need resources from the company/higher-ups. /shudder
HMP Survival Guide: Survival guide to prison by a guy who was recently released
Just to add on to this, since I can't edit, here's the Mozilla Developer Network entry that speaks to the accessibility challenges with canvas, for future reference in case someone stumbles upon this:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ca...
Satisfactory is really great, highly recommended from me as well. I think the verticality really adds a lot of fun over Factorio where you are restricted to keeping everything on the same level. Can make some really confusing spaghetti though...
Just tangentially related, but I find it very weird that people push one-system-that-replaces-all (or, in this case, planes) as cost cutting measure, compared to few specialized systems. Which do not have to take tons of compatibility stuff. In this case, probably some problems of Air Force's F-35's are related to the constrant that the requirement of being able to land on carriers pushes.

At the end, results are at best mediocre, costs exceeded, and everyone is unhappy.
How much harm did those fellows do, and how much all communist spies/saboteurs/subversives/seditionists combined did?
Im building an open api for https://github.com/brianvoe/gofakeit
Groceries Delivered in 10 Minutes
Machine Learning Orchestration on Kubernetes Using Kubeflow
Basically, the grandparent poster was inferring "CXX is not worth using because its not perfectly zero-cost".

Like with any premature optimization, I was just pointing out that perfectly zero-cost is not always the goal i.e. if it is short lived code, don't worry about the inefficiency in the FFI.

If the FFI code is going to be long lived, and the team has followed all of the rules for optimization (i.e. measure, profile, etc) and CXX cannot support the performance they need, then in this very unique situation CXX might not be the right tool for the job. Instead it can sometimes be a good decision to write custom unsafe code, abstract it, validate it, write tests for it, basically spend X weeks of dev effort on making the custom unsafe code "safe" with the knowledge that it's an investment for the long term.
Both amazing and frustrating software.
Data Blaster Is a Hip RPi Cyberdeck
Beyond Fizbuzz, the standard algo type interviews are just optimizing for time spent on Leetcode or length of time since finishing College.
And that was the take home message from the article:

> The design by committee, Swiss-army knife approach has been a resounding failure.
It can cause a lot of grief if you're lawyer hasn't done all the possible checks as to who owns the land and you find you have been living in a new house that actually belongs to someone else...

And people wonder why conveyancing of houses is often so cheap!

NB Of course, in such circumstances I'm sure you'd have a valid claim against your solicitor who did the conveyancing - but I doubt if that would make up for the misery involved.
not quite! a property is a pair of methods. if you replace a member with a property, it does remain code compatible as you describe, but breaks the ABI. so if you do this in a published library, clients require a recompile. for this reason, they recommend:

1) different naming convention between members and props

2) dont expose members; use properties from the start for anything public

to assist with two, they introduce the default get/set implementation, like so:

public object Derp { get; set; }

for when you want to expose an interface with the assignment idiom but dont actually have any interesting implementation
TIL I am a senior developer. I'm taking this thread to my manager right now.
One of the reasons why I decided to not buy a BMW.
The obvious choice is aviation -- there are thousands of commercial accident reports, many of which lead to process improvements for everyone else afterwards, and general aviation emergencies every day. YouTube especially is full of ATC audio combined with radar visuals and commentary for emergencies.

For tech, Dan Liu maintains a list of tech company incident public post-mortems: https://github.com/danluu/post-mortems
I actually bounced off from factorio becuase I'd rather solve it as a programming / optimization problem than run around im the game. I find this with a lot of management sim games.
If you're actually D tier, and you're good at Factorio, why are you a D tier? You clearly have the mindset for problem-solving. What is holding you back?
I'd say OO still does rule the GUI space. The various reactive programming GUI tools are still struggling to reach the levels of complexity of UIs that were already common place in the 90s. Functional GUIs have their own problems with giant balls of state that makes composition difficult. So we break it down into smaller bits and it starts to look like objects again.

IMO the functional GUI push has less to do with functional GUIs being superior and more about dealing with the piece of shit that is the DOM. Native environments that don't have to deal with the DOM don't get the same benefit and have new problems that are solved by more OO approaches.
What if.. your boss doesn't know how to do your job, BUT he knows the requirements around it?

E.g. I am an amateur coder. Anyone who has typed 3 pages of code without looking up on a book or a website, is x100 better than me. If someone decides to make me the leader of coders, I won't tell them "I command you to use this syntax over that paremeter (?)" (coz I'm like Jon Snow.. I know nothing), but I WILL tell them to a) take daily backups/use version control, b) write comments on your code, c) do daily huddles, d) sit in pairs and review each other's code, e) some bright ideas/suggestions that THEY will make, f) I will bust my ... and try to study as many books/blogs/resources to learn the area (and managing coders better), g) I will talk to as many coders (young and old) as I can to understand them and their needs better.

Does that make me a good coder? Hell no! I didn't mention "read Java" in any of my aformentioned example. Will this make me a good manager? Well I have managed OTHER teams in & around IT.. why not coders? They are people too!
Traditional plants to manufacture aluminium do not work on-demand though. If they are not shut down orderly, you can rebuild the whole plant essentially.

So there will be some innovation needed to shutdown (and boot up) these plants quickly, I would think?
Hmm, I'm unable to recreate on Safari on iOS. Perhaps try on a desktop browser?
Hackers Use Fake Clubhouse App to Steal Credentials
As long as the powersource isn't reliable it's a problem. A problem that doesn't have any solutions in sight that are closer than something like fusion which would be the preferable solution rather than unreliables like wind and solar.
> If you want to see the "title plan", you even have to pay a small fee each time for the privilege. I can't understand why they would do that except to slow the flow of information.

I suspect they're trying to thread the needle between "People's home addresses are private" and "Who owns what land is public"

Right now (AFAIK) there isn't any public database I can search to find all the houses owned by Boris Johnson.
Chromium and puppeteer is pretty great with the exception of a few scenarios like having header images in a PDF. Such a small thing can turn into a very annoying endeavour.
That seems really problematic though. I could be on a text editor, or the terminal or anywhere else requiring text input and might not be expecting this behaviour.
Yes, confidence to try something new and problem solving are important factors but once one solves for those then testing for the ability to communicate well with others might be as or even more important than having the required computer skills.

I used Zachtronic's TIS-100 [0] as a test variable and found the best person to work with. I believe it was a two way street because they saw an opportunity to work with someone who attacks problems a little differently. I am in real estate. Who would have thought knowing something about assembly would be helpful?

[0] https://www.zachtronics.com/tis-100/
SQL Concepts You Need to Know Before Your Next Data Science Interview
I’ve decided to assume this is perfect satire and have upvoted it accordingly.
>Failing to understand this simple set of rules would disqualify a person from most jobs ever invented.

I think you dramatically over-estimate most people's literacy with games and movement in a virtual space, let alone most people's hand-eye coordination. How many people can touch type these days?
From Twitter chatter, this appears to be Chinese APT malware, something related to PlugX
One sensible mitigation to this grade of threat; avoid running Windows, even as a VM host as the dev did. It's a dumpster fire.
Java / CPython Language Bridge
I've implemented support for two-way compatibility between Java and Python/CPython, meaning that Java can import standard CPython modules and use code as if it were Java, and Python can import Java classes and use them as if they were Python classes.

Imports in both languages are done with standard import statements.

Java code imported into Python is subjected to reflection and then Python wrapper classes are generated using the Python API that provide runtime translations between the two language runtimes. A native Python module is provided that provides the "magic import" functionality from Java to Python (https://qoretechnologies.com/manual/qorus/current/python/html/index.html#python_qoreloader_import_java).

Python code imported into Java is introspected using the Python C API and then bytecode is generated for Java wrapper classes that provide a similar runtime translation as the imports in the other direction. A custom compiler based on javax.tools (https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/tools/package-summary.html) is provided (https://qoretechnologies.com/manual/qorus//gitlab-docs/develop/jni/html/classorg_1_1qore_1_1jni_1_1compiler_1_1QoreJavaCompiler.html) as well as runtime dynamic code generation support for wrapper APIs in a custom class loader (https://qoretechnologies.com/manual/qorus//gitlab-docs/develop/jni/html/classorg_1_1qore_1_1jni_1_1QoreURLClassLoader.html - more info here: https://qoretechnologies.com/manual/qorus//gitlab-docs/develop/jni/html/index.html).

The idea is to facilitate the mixed use of enterprise technologies (Java) and AI / data science technologies (Python).

All of the source code required has been released under permissive open source licenses (MIT).

I hope it could be interesting and useful for someone - happy to provide more information if there's interest.
>Stallman (rms as he is normally referred to, maybe Richard Stallman is his slave name or something(I'm joking)) was working out some of the finer points of programming when his critics were still peeing in their pants.

Written by, and for, a specific audience.
Learning to Fly: Let's simulate evolution in Rust (pt 3)
I guess lying is becoming more of a standard practice at Amazon, https://theintercept.com/2021/03/25/amazon-drivers-pee-bottl...
That's probably because startups are small organizations. Nobody is arguing that productivity increases linearly as you add 2 pizza teams. Productivity increases logarithmically. '2 pizza teams' are supposed to represent where the productivity gains of adding a dev to a team are marginal.
A good friend of mine once told me, "I often feel like my purpose as an engineer is to give business dudes a reason to have meetings."

That statement always rings true to me during performance review and goal setting seasons. This stuff is mostly bullsh*t. "Goals" - as described by OP - don't exist at small startups. It's clear what the goal is: build a product, get customers, grow revenue, etc. The goals of a FAANG company aren't different. If "goals" were actually important, they'd exist ate startups too. Because they don't, it's pretty clear that the pessimistic comments in this thread are correct: they give HR a concrete way to avoid legal liability when it comes to raises/bonuses/promotions/terminations.

It's totally frustrating. I understand OPs sentiment. Unfortunately, the only way to avoid this red-tape nonsense is to join a startup.
True. But you also need empty space not to feel trapped in a cage or else you'll catch that cabin fever.

You can always go the park provided you got into that discipline, that you there is a park less than ten minutes away or that it's not too cold/raining/snowing: Not ideal. And it might a shitty square surrounded by cars.

Mentally, it is also very helpful to have separate spaces for different aspects of your life. When your room is also your office and your kitchen, it doesn't make for good sleep, good work or good cooking.

Relevant videos :
https://youtu.be/LO1mTELoj6o
https://youtu.be/snAhsXyO3Ck
Smart. It's a sweet project, good luck with development!
As the parent of a child with Down Syndrome who is also autistic, I can say it is wonderful experience. He brings us great joy and love, despite his unique needs. I couldn't imagine that anyone who met him thinks he doesn't deserve to exist.
> For example, I'm working on a scheduling app right now. In real life, a schedule is an abstract concept realized on paper. Our app certainly doesn't have a Paper class.

I am hoping that your application has a function for UnscheduledWorld -> ScheduledWorld.

> I would encourage any OO zealots to give FP a honest try.

Why assume that people who like OO more than FP do so only because they haven't tried FP? Isn't it possible that you are in the honeymoon stage with FP, and as you gain more experience with it (like you have with OO), "the scales will fall off your eyes" as P G Wodehouse would have put it?
As long as you don't have a reliable way to deliver this electricity all you have done is making the energy system more complicated and expensive.
... fuelled by appeasement of democracies...
I imagine they will just skip to drones mostly now.
> "There is an increasing crisis in the UK of negative electricity prices"

I'm not sure if you can call it a crisis. A problem, yes, but one that will sort itself out over time. Negative prices are a huge incentive to any form of flexible demand. And by 2030 there will be millions of electric vehicles on UK roads, representing hundreds of GWh of flexible storage. Free fuel by charging at the right time, handled automatically by your smart charger / app? Or even paid to charge? That's a pretty powerful incentive to soak up excess supply.

> "And we are still going need masses of gas backup"

We already have masses of gas backup. But it will become less important in the future as more diversity in renewables, more interconnections, more storage, more nuclear, etc, come online. We'll still need gas for the foreseeable future, but the less it is used, the better.
You can stop windmills. However that changes the investment nature of wind farms. There are a lot of ways to structure this, and no one answer so it is hard to type up all the different issues. I'll pick one simple case, but don't assume this applies to all.

An investor (group) gets a contract to supply wind to a utility for $x. This price is pretty low since wind is variable, but it is enough to predict over a year how much they will make and so for the investors it works out.

For the utility they need more green energy in the mix, and so they are willing to sign the contract even though sometimes they will buy electricity and they pay someone to take it on the spot market. They also know how much wind they expect to get, and so those times wind is negative are made up by times that wind is blowing when they would otherwise have to buy much more expensive peak plant power. So for the utility over the course of the year the wind power is profitable even though at some moments it is unprofitable.

The problem is in the above separation the windmill owner is paid for all power produced, and so if they shut down there is no money for them. (or they have to agree with the utility on a fair payment)
It probably saved a few bytes of memory or disk. A PDP11 had 64k of memory and had to be shared by multiple simultaneous users. A lot of the Unix tradeoffs can be traced back to limitations of 1970s hardware.

Plus you weren't going to need more than one anyway, your program wasn't going to be big enough.
> I do not believe the rights they are afforded in the US Constitution were intended to be used in this manner at all.

You might want to look at some of the late 18th century pamphlets and newspapers that were the "press" of which the American founders aimed to protect the freedom -- the American revolutionaries' cause spread partly through pamphlets, so they were very sympathetic to the medium. These publications were not only extremely partisan, but they often abounded in personal insults and rage far beyond anything one would see in a modern newspaper. No, the Founders were very comfortable with sensationalism and extreme polemic.