skysight-inc/HackerNews huggingface dataset:
S.F. has 16M sq. ft. of vacant office space. Why can't it become housing?
the two-tube design of the tank on my 1975 honda CB meant that there was about an inch and a half of tank that sat below the primary fuel port. Tank crud (steel tank, theoretically passivated, 40 years old) settles faster than I ran through a tank of gas, so the bottom layer had sediment in it fairly regularly.

I kept spare inline fuel filters in a tool roll just in case after a while.
> megapockit with a huge backplane and a big modular keyboard

Look at that... the human mind is phenomenal.

We're not all ultra-skilled, detail-oriented electrical engineers. So why does every person have to go through (a tiring rite of passage of) wiring, soldering, debugging, coding from scratch -- instead of using the same creative mind and effort to come up with ideas, and actually play with their implementation?

I'm not primarily a developer, but it's easy to see how much the software world mushroomed through DRY, modularity, etc. In some ways, Pockit is an effort to do the same for electronics prototyping.
Exactly. The "super canada" concept. Anyone who thinks Canada is in any way comparable to Europe as a UK trading partner doesn't know much about geography. Maybe if Britain hadn't had a hissy fit they could now be selling that extra power across the channel.
Some towns provide parcel maps, often GIS maps, are those also unofficial?
The Best Way to Play Retro Games? Emulation Options vs. Vintage Consoles
> Also, DOM Strings are not UTF-16, they're UCS-16.

Hm, according to the spec they should be interpreted as UTF-16 but this isn't enforced by the language so it can contain unpaired surrogates:

From https://heycam.github.io/webidl/#idl-DOMString

> Such sequences are commonly interpreted as UTF-16 encoded strings [RFC2781] although this is not required... Nothing in this specification requires a DOMString value to be a valid UTF-16 string.

From https://262.ecma-international.org/11.0/#sec-ecmascript-lang...

> The String type is the set of all ordered sequences of zero or more 16-bit unsigned integer values (“elements”) up to a maximum length of 253 - 1 elements. The String type is generally used to represent textual data in a running ECMAScript program, in which case each element in the String is treated as a UTF-16 code unit value... Operations that do interpret String values treat each element as a single UTF-16 code unit. However, ECMAScript does not restrict the value of or relationships between these code units, so operations that further interpret String contents as sequences of Unicode code points encoded in UTF-16 must account for ill-formed subsequences.
If someone is going to argue that Factorio is a useful tool for technical interviews, it's only reasonable to expect that they will present a visible correlation between in-game performance and real-life performance. Otherwise, how is this anything other than a novel just-so story?
The funny thing is that rewriting your code a lot is much easier on FP with flexible types.

You just need to not pay any attention to design and start coding right away. Then you'll rewrite your FP code even more than you did for your OOP code, and still have an easier time overall.

In all seriousness, I've found that a very nice way to develop FP code. It always looks good at the end anyway, and there's no risk of getting into astronaut mode.
Well there's your problem: Assuming it will be a country's currency.
I need to do more research and experimentation with moisture control for things I seal air tight.
I thought we couldn't edit titles?
It looks like it has a SO-DIMM-like slot that can fit the Raspberry Pi Compute Module 3. Unfortunately the CM4 went with a different style connector, so in a sense, it's already obsolete. It'd be great if someday there were a standard for these kinds of connectors that all the SBC manufacturers were using.
We keep things as close to the bare metal as possible and avoid complex layers as the plague.

We have only negative experiences with frameworks and big layers. They solve problems quickly in the beginning, but they always end up causing problems. Years later, debugging strange errors, security issues, etc. The more layers you add the less useful and good the application becomes.

we use the standard library and a couple of slim and well written external libraries, such as sqlx and go-sql-driver.

I have written my own HTML form validator and custom error handler - once you get that done, web development in Go becomes MUCH easier.

We don't use ANY JavaScript on the front-end unless it is a minor custom enhancement to the UI (it must be able to run without). Everything is pure HTML and CSS.

However, I personally do find the HTML templating tedious, but I have always found templating stupid and annoying, this is not specific to Go. I prefer to write HTML inline in PHP (when I do PHP) i.e. the old fashion way. I hate templating in any language!

It's easy to make mistakes in Go HTML templates, make sure you test that part of your code well!

Writing big web applications from scratch is great though, and it's really fast in Go, faster than PHP, as long as you do it right! Documentation, documentation, documentation. Anyone who inherits your code, whether you're alone or on a team, needs to know and understand your thinking and rationale.

The main reason why projects fail when they build tailor made software is because of laziness regarding documentation.

The correct way is to regard missing documentation as a bug! Write the documentation WHEN you write the code. If you change the code, change the documentation right away, when you can still remember what you're doing and why - this is the most important part and why so many code bases are horrible to inherit. Missing or poor documentation.

Never use "clever" code, make code that is easy to read and understand. Don't worry too much about design patterns and philosophy, they mostly belong in the books and in theoretical discussions!

Web development in Go is not for everyone, it requires experience and thoroughness. The build fast, deploy and forget strategy - that most people use these days - doesn't belong in Go.

Go will reward you in the end with really good performance and very easy future maintenance. Nothing suddenly breaks because a third of the standard library has suddenly been changed in the next version upgrade, such as with PHP.

EDIT: Typo.
No, that’s not logical at all. When ISIS creates its own state in some fragment of Syria, I don’t want them to have nukes because unlike Russia or Israel, they don’t really care if they get destroyed thus MAD as a deterrent doesn’t work.
Pretty sure the answer to that is no, given that it's only in a 12k hectare area.
> a situation came up that politicians couldn’t manipulate and lie about

Are you sure you’re talking about COVID-19? Or politicians?
Mostly along the lines of engineering-centric companies that went out of business (or stayed small/struggled) because they didn’t think about marketing.
I would note that all of that is based on an extremely trusting relationship with one's manager, and that the employee's input actually matters to company leadership.

Given my experience at my current MegaCorp, being honest as an engineer got me precisely nowhere even with all the diplomacy in the world, same story for many of my coworkers. It's less malice and more neglect, you make the case for X with all the calm, professional argumentation you can muster, point out how it's a win-win for all involved, and you get patiently listened to followed by radio silence even with followups. In the meantime you just put all your cards on the table, the people with power know exactly what you want and if it's contrary to their desires you'll be first in line for layoffs if they happen, or otherwise sidelined. Not just talking my experience either, witnessed this with multiple co-workers.

So you have to play the game.

Our "goals" that we have to fill out every year are some variation on the "keep doing what we're doing but better-er" BS, and keep your actual goals close to the vest until you can make the right contacts to carry them out, if you can. Seems to me goals are a very lopsided, very risky information exchange that leaves the manager holding even more cards then they already do. A manager can fire me at will and nothing really changes for them, I can potentially leave a manager for another job but only after doing a lot of groundwork with zero guarantees of a smooth transition and/or throwing my life into chaos. Why make the power dynamic even more lopsided?

I've had one manager out of four so far who actually did right by us and earned our trust, that was a nice couple of years, we got what we needed and performed accordingly. The rest have just been leveraging us for their next promotion, and one of them even gas-lit us with false deadlines (thankfully he didn't last long). So long as that's the typical experience, "goals" are just a Venus Flytrap for developers. It may sound trite and obvious, but trust must first be established, and it often isn't.
Well, it's not just one stuck ship. A major shipping route is now blocked, impacting many other ships.
The first HN post on Bitcoin
I don't think there is any silver bullet way to do technical interviews. The idea that you can extrapolate a few hours of exposure to a person into a reliable predictor of future performance is somewhat silly to me. Any technique you use is going to be biased for people that are good at "X", where "X" is a tiny subset of what you need in an employee.

Obviously, you still need to do interviews, but keep some perspective when deciding. Don't overweight any one thing.
Uh... ...pardon? We got Covid because of marsupials being predated by feral cats?
Unless the company messed with you severely this kind of moves is the worst. You make the rest of your co-workers unexpectedly carry your load. Essentially punishing your co-workers because you are leaving.
The major issue of the F-35 is trying to be too many things to too many people at once. It has to fly fast, yet be able to be slow enough to offer ground support. It has to be maneuverable to dogfight, but have short wings to land on carriers. It has to be light, but needs a complex nozzle and a fan to do STOL/VTOL.

That's very hard to do.
You are confusing verification as in "certificate" with verification as in "theorem proving", and you are still assuming a formal description of what to verify (which I'll remind you: doesn't exist). And then you go on to talk about myths and uneducated and uninterested devs. Your approach is like tilting at windmills, and will achieve exactly as much.
Similar experience here. People want "growth", but that's an abstract word. In the context of a employer-employee relationship, that usually means growth in compensation and rank from the employer, and the enablement of some kind of valuable work from the employee.

Managers need to align the two, if that's not done well most of these goals become nonsensical. As one example someone had ML as a goal despite it not being used in the company, so I found one part of the system where it would be useful and put them on that part time. Product got better with an ML component, senior management was impressed with the result and new capabilities, employee got to learn the new hotness, also got promoted.

Doesn't always have to be so much win-win-win all around, definitely needs effort put into alignment.
“$1.7 Billion was spent on this program.”

If only. FTA: “Total acquisition costs now exceed $428 billion, nearly double the initial estimate of $233 billion, with projected lifetime operations and maintenance costs of $1.727 trillion.”

Also, https://www.airforcemag.com/massive-34-billion-f-35-contract... talks about a $34 billion contract for 478 aircraft. At that price,
$1.7 billion buys you about 24 of these planes.
Don't Swift and Go support iterating over graphemes? Edit: yes, Swift is mentioned at the bottom of the article.

It'd be great to have a function for that in other scripting languages like Python, Ruby, etc.

There was an interesting sub-thread here on HN a while ago about how a string-of-codepoints is just as bad as a string-of-bytes (subject to truncation, incorrect iteration, incorrect length calculation) and that we should just have string-of-bytes if we can't have string-of-graphemes. I don't agree, but some people felt very strongly about it.
It's hardly accurate to say it's come to developer teams - it's always been like this. This is simply human nature manifested in large groups.

Large groups operating well together without clearly defined boundaries of responsibility is very much the exception rather than the norm and always has been.
I think in terms of "how fragile the world is", board games don't really rank, respecfully. Minor inconvenience, but we carry on.
Looks like ara project as it could/should have been.
So I see SPACs as worse than junk bonds, ripe for pump and dump. Can anyone give evidence otherwise?
The weakness of capitalism doesn't need to be exposed, it needs to be acknowledged. And since it's a system that is very profitable for a lot of very powerful people, it's going to take more than a simple pandemic for the status quo to change.
An amusing thought experiment but obviously it would have catastrophic consequences in real life... Pretty much anyone can get good at the game by watching Let’s Plays or reading guides.
Have you ever played a purely defensive game of chess? Not a perfect analogy, of course, yet a good demonstration that your opponent will eventually get in. You only have to make one mistake and you have nothing to counter with.

In that context (chess) the final evaluation reveals a well executed attack is superior to a defensive stance. I suspect the same is true of espionage and war. In other words, stop them before they have the opportunity to get to your king.

Another hypothetical: Imagine a future event when, for whatever reason, a band of twenty criminals is intent on breaking into one hundred homes in your neighborhood. The twist is: You can’t call the police for help. Which decision would lead to securing these homes: Each family stays in their home to defend it or one hundred neighbors join forces to repel them?
Generalization to previously unseen examples is one of the core components of ML models.
Second gen Leafs are equipped with the proper hardware - at least in Japan.
What it’s speeding, or clearly malfunctioning in a way that endangers others? What if the car plates come up as stolen?

I mean it’s basically all the same reasons why police stop you today so this discussion will basically boil down to whether you think police have the right to stop a person.

Sure you can send a request to stop it, but what if the person is not available or not responding?

Tire grappling devices seem like a last resort that endanger the car, the police, and potentially the people around the car.
To be honest, I'm not sure. Maybe hijacking Ctrl-F is the right thing to do here, but I wish that what it hijacks me to would be closer in behaviour to what the native browser find-in-page functionality is. Instead it whisks me off to a totally separate SERP with a list of post snippets totally void of their surrounding context, when typically the whole point of doing a find-in-page is not to just find a result, but to find information like "how many of these are there here, how are they clustered, and what kind of stuff is around them?"
Also :

* Produce hydrogen for hydrogen-powered vehicles

* Bitcoin, I guess
A Strange but Elegant Approach to a Surprisingly Hard Problem (GJK Algorithm)
Electrical energy is always in balance. Saying that 97% of Scotland's electrical energy needs were met by renewables is highly misleading because it ignores the most important piece of context - time.

Scotland could have generated 300% of daily energy demand from wind one some days. And zero on others. The reality is that one cannot be subtracted from the other to claim that net consumption is zero precisely because there is a time when that is not true.

Electrical energy is not like balance of trade i.e. it is not fungible. There is a further complication here - the assumption that there is a ready sink of generated energy. If that stops being the case, then suddenly those days of 300% demand being generated are no longer possible.

The headline is a mischaracterisation and is misleading.
I think 96boards is exactly that, no?
No, CNA was hit by ransomware.
Amazon warehouse salaries start at $15.25/hr.

That is more than double the US Federal minimum wage.

~$31K per year.
Probably kind of messy if one does go to court for being forged or some such though.
Direct observations confirm humans are throwing Earth energy budget off balance
Putting s smiley at the end of that patronising paragraph reveals a lot about you and your motives.
Another potential non-nefarious use case would be to make push to talk work when it's not in the foreground?
When the biggest input cost is energy you are wrong. A plant that is 10% capacity by running only when energy is cheap is more profitable than a plant at 90% running at whatever energy prices are. (in the real world take my numbers and reduce by 75% - between nights, weekends, and maintenance shutdowns a real industrial plant at 25% capacity is already common)

The company I work for has two plants near each other, where one is run in winter, and one in summer, each producing a different product. The workers alternate between which plant they work at depending on the season. The other plant is shutdown for maintenance. By replacing the conveyor belt every year we ensure production never shuts down unexpectedly while people are working, and this more than makes up for the cost of a factory that is idle half of the year.

We have a lot of factories. The above two plants are not the foundry where we pour iron which I talked about in a different thread.
My experience with the

> Ex-programmers turned managers who still code from time to time are far more realistic about how long something might take to complete.

Is that they had huge egos and thought they could do everything in much less time than I could, or would just "put in the time to make sure it was done when it had to be"

So nah, I prefer not having ex programmers as my manager.
With negative electricity rates you can do crazy things like buy thousands of space heaters, and just heat the outside.

Space heaters don’t become obsolete, and they’re not very capital intensive, or require much maintenance. You just need space to put them in.
In some cities, the pandemic’s economic pain may continue for a decade
That is simply not true.

In order to convert elecricity to methane you first have to REMOVE CO2 from the enviroment. If you subsequently burn that gas, you arrive back at the CO2 level you had before the P2G process.

That of course only works out to net zero when you use co2 that was recently captured, like from waste-biogas or trees.

The big problem with fossil fuels is not directly that they release CO2, it is that they release CO2 that was captured over millenia in the comparatively short timespan of decades.

You can avoid that problem entirely with P2G systems.
I suspect that most women would feel differently than you
To use a more extreme example, regular engineers build tanks and jet fighters and drones and machines that make mustard gas, etc. The software world is just a reflection of the outside world, at this point.
Working Effectively with Legacy Code by Michael Feathers is a good resource for how to introduce testing code into an existing system:

https://www.amazon.com/Working-Effectively-Legacy-Michael-Fe...
Aluminum smelters. If you have lots of cheap power you can always smelt. The raw materials are everywhere and everyone needs aluminum products. Fill the pots and spark up the electrodes as soon as power gets cheap.

https://en.wikipedia.org/wiki/Aluminium_smelting
Yes, the poster can for a limited time, 2 hours I think.
As I mentioned in a deeply embedded comment somewhere on Reddit, wait for the upgraded-PCB version demo coming up in the next week, you're going to love it if you're a fan of the CM4's more powerful Broadcom CPU.

Note: Obviously, this too won't solve the issue of hardware universal-standards; nothing ever will. People just have the tendency to never get along. We are all great at being OK-enough with each other though.
From what I’ve seen, people use these when they notice anyone with an @company.com email address pop up in their Users table.
The conclusion of the article somewhat contradicts the title:

"What's the takeaway from this? I don't know. We certainly can't switch to using Factorio as an interviewing method - you might as well just give a candidate a take-home assignment. At the very least, we can do better than whiteboard interviews."

So it's not a description of how to use Factorio for interviewing, beyond a simple assignment of Factorio tasks to seniority levels. It does however make an interesting comparison between Factorio and software mechanisms.
The writing is literary in style rather than the usual web standard marketing style. It is rather well done largely because it is only trying to be what it is.

I can understand why this is confusing to people.
Why are customers not free to decide what makes a product worth using?
There is an effect where some things work well on some languages, but fail completely when translated to others because of superficially unrelated features.

Compile and run time code generation seem to be one of those things. Having a mostly pure language (even when there aren't guarantees) makes them much saner.

1 - Pre-compile time generation, by its turn seems to never work very well. And if there is developer interaction between the code generation and compiling, than it's always a disaster.
I seriously think that "personal projects" are very underrated when it comes to hiring. If I see that someone has a lot of personal projects and has lots of time in Factorio they probably know how to code. I'm not sure you can rank them as Junior/Senior too effectively as these two things don't require much leadership, but you can basically skip the trivial phone interview questions at this point.
was useful to read! I study java right now in college too. I use a little help of writing service https://assignmentshark.com/java-assignment-help.html to get good grades. These guys helped me with my homework and saved my time.
Microsoft Launches Ion
The article makes a big deal on brighter displays, but the real win is for thermodynamic materials. Imagine recovering usable energy from all the waste heat dumped into the environment by present thermodynamic cycles! Suddenly, a process that is only 40% efficient at best can potentially double in efficiency.

FTA: "To create photonic thermodynamic cycles, you need to precisely control how light, heat, atoms, and electrons interact in materials," Dionne said. "This work is exciting because it provides an unprecedented lens on the electronic and thermal processes that limit the light emission efficiency."
Once and only once
I’m with you and personally dislike guns to a degree that many find weird but I think the issue is that gun violence is illegal in the first place and so making laws seeking to prevent it is ineffective at best and really just smacks of legislative hubris. I can get an illegal firearm easily, today. I can get an illegal gun much easier than I can a legal one. Most gun violence is committed by criminals. These problems are often denied by advocates for reform, and that doesn’t help their credibility with bipartisan independents wary of authoritarian government.
Building a “Loom” app in the browser: record.a.video