skysight-inc/HackerNews huggingface dataset:
> Maybe if you can figure out how to stick a carbon or two or three onto those hydrogens you'd be in business, but it's hard to get those carbons.

Or maybe you stick three hydrogen atoms to one nitrogen atom and have ammonia.

It's pretty obvious that the single most important reason why the vast majority of machines/engines runs on hydro _carbons_ instead of hydro nitrogens, is that hydrocarbons have been humanity's most important energy source for centuries.

So it makes sense, everything is geared towards them.

But for the future, ammonia appears to be a much better choice, because nitrogen is readily available and the only thing that's missing is matured tech that runs on ammonia. Fuel cells, engines, ...

IIRC there are already container ships being built that run on ammonia.
ChatGPT to be offered via OpenAI API and Microsoft's Azure OpenAI Service soon
Mainframes aren’t legacy, they’re just different and not well talked about that much in public. They have a full Unix subsystem with modern ports and lots of integration via VS code extensions.
Also, you can use heat pumps with poor insulation just like you can use traditional heating solutions with poor insulation. It's just that you will need a larger system that wastes more energy. Whether that's still worth the trouble in terms of cost of course depends on your current situation of course.

But it's not like heat pumps stop working because of your insulation. They just get more costly to operate. And especially the smaller systems can only deliver so much energy to your house. Basically, if you multiply the maximum output by three, that should be above whatever you are currently using to heat your house during a really cold month. If it's lower, it's not big enough.
How is their discontinuation without warning or communication of the old api not relevant to the topic of the new one?
How has PHP lost its way?

It grew up from a poorly thought out hacky scripting language to a major programming language. All the nasty code you could write in PHP 4 or 5 is still possible, but everyone will look at your code and laugh.
I like the idea of specifying a parser through a formal grammar but I think that current technology has a few pretty annoying-severe flaws.

* Parser generator grammars are usually quite far from 'paper' versions of a formal grammar. The moment you have to deal with associativity/precedence or left-recursive rules the beautiful grammar tends to fall apart.
In theory most generators have mechanisms to help make this ergonomic but irl most grammars I've seen are totally illegible.

* Error messages suck. I think this is actually a bigger issue, but parser generators have pretty poor error messages compared to even naive recursive descent parsers written with a library like megaparsec. There has been research on generating better error messages in generated parsers like menhir [1], but I haven't seen anyone apply this successfully and it requires you to manually annotate each error state with a message, and a real parser can easily have thousands, and they can change each time you update your grammar.

* Parser files are usually fairly illegible because they mix host language code with parser syntax and meta-variables. Some more modern libraries like Pest separate the two which I think is a net improvement.

Nevertheless, I hope that someone figures out a way to square the circle and frees us from handwriting parsers in all but the most exceptional cases.

[1] https://hal.inria.fr/hal-01248101/
More details: https://tapbots.social/@ivory/109683219720510229
I like how automatic memory management / safety in general implemented in Cone language.
I don't get this - you're talking about generating objects - I'm assuming you're talking allocating new objects. What's your bottleneck ? Allocator or do you have some poor data structure to update it ? Where is the speedup coming from ? The kind of speedup you're talking about sounds like moving from allocating each object separately to some arena and avoiding allocator overhead.

I could be wrong in the assumptions - but OP is talking about fitting stuff in CPU cache don't really see how that translates to your scenario.
It’s similar to the default date(1) output, except that puts the year at the very end, after even the timezone.
Maybe if you accept their freedom to prejudice and discriminate.
-----s.-ms.-us.-ns|----------------------------------------------------------
0.1 ns - NOP
0.3 ns - XOR, ADD, SUB
0.5 ns - CPU L1 dCACHE reference (1st introduced in late 80-ies )
0.9 ns - JMP SHORT
1 ns - speed-of-light
?~~~~~~~~~~~ 1 ns - MUL ( i**2 = MUL i, i )
3~4 ns - CPU L2 CACHE reference (2020/Q1)
5 ns - CPU L1 iCACHE Branch mispredict
7 ns - CPU L2 CACHE reference
10 ns - DIV
19 ns - CPU L3 CACHE reference (2020/Q1 considered slow on 28c Skylake)
71 ns - CPU cross-QPI/NUMA best case on XEON E5-46*
100 ns - MUTEX lock/unlock
100 ns - own DDR MEMORY reference
135 ns - CPU cross-QPI/NUMA best case on XEON E7-*
202 ns - CPU cross-QPI/NUMA worst case on XEON E7-*
325 ns - CPU cross-QPI/NUMA worst case on XEON E5-46*
|Q>~~~~~ 5,000 ns - QPU on-chip QUBO ( quantum annealer minimiser 1 Qop )
10,000 ns - Compress 1K bytes with a Zippy PROCESS
20,000 ns - Send 2K bytes over 1 Gbps NETWORK
250,000 ns - Read 1 MB sequentially from MEMORY
500,000 ns - Round trip within a same DataCenter
?~~~ 2,500,000 ns - Read 10 MB sequentially from MEMORY~~
10,000,000 ns - DISK seek
10,000,000 ns - Read 1 MB sequentially from NETWORK
?~~ 25,000,000 ns - Read 100 MB sequentially from MEMORY~~
30,000,000 ns - Read 1 MB sequentially from a DISK
150,000,000 ns - Send a NETWORK packet CA -> Netherlands
1s: | | |
. | | ns|
. | us|
. ms|

(https://stackoverflow.com/a/33065382)

However,

0.001 ns light transfer in Gemmatimonas phototrophica bacteriae

biology has much more performant/optimized machines, therefore, yes, plenty of room for improvement in silico.
Show HN: React Native Stopwatch and Timer, UI thread digit animations at 60 FPS
> fast to build

Although, note, the final time to turnkey may not always be much faster, depending on the market conditions.

The traditional builders told us about 24 months at current lead times.

The modular builders told us 15-20 months, but two separate modular builders told us that anyone claiming less than 18 months is probably lying and reality is closer to 24 months even for modular.
Hi, curious to try new version of PHP. Do you know some good tutorial to setup development environment?
I wish they'd put the WSB logo at the top, it would have saved me 10minutes of "Half of this is obvious, and the other half is just opinions without any insight."
You are already in it. Joking.. or not.
In Germany, when you are laid off (and that's an unsual situation, unless you actually have done something very terrible), you are given a notice period of 3 months. So, I would have 3 months for look for a job.
Ah. Apologies. But the same is true for cooling. I can't work if it's hotter than 26C.

About radiant heat: it is nowhere near the comfort of uniform whole-room heating.
Developer velocity is a crock. You want to write code that actually works over the entire software lifecycle, not just crank out piles of utterly broken sh!t that you'll have to fix later at huge cost. Rust has it right, and Ada/SPARK even more so.
He was mentioning west Berlin but yeah some had pro-US dictators some had pro-USSR dictators.
It kinda is - that's the reason OP labelled it as "unbridled audacity".
I hope so?

/S
I have a over 10 years old second hand computer. Works great. But from the comments ... is it nowadays not possible to work without secure boot if I buy a new motherboard?
I don't know you, and know nothing of your plight with back and knee pain. Please don't take this as trying to trivialize what must be a very difficult condition.

That being said, it's really amazing what can be done with your body that minimizes stress on the parts that are injured. You might be able to do yoga and strengthen your stomach and back muscles to take loading off your spine. Running will always be difficult if you have injured your knees, but cycling might still be an option.

Will this fix the core issue and make the pain go away? Not at all. Particularly the knees; there's no getting around them when trying to walk. However, they might allow you to build strength in muscles that might compensate a little for the issues you have.
I'd prefer a heat pump that uses ducts I hate the look of ductless heat pump that giant eyesore lump on the wall.

But ducted are not as efficient compared to ductless due to the long runs of ducts and cold attics (even if ducts insulated). Plus my province won't give any rebates for ducted only ductless.

Even better would be ground-source heat pump. But still I'd prefer ducts I think you'd have to with a ground source system.
If you are the sole developer working on migrating the project and you want to have the frontend in React.js why not use Node.js/TypeScript instead of Scala for the backend? This would save you from context switching between two languages and consequently increase the development speed.

Also why the rewrite? If it works (in PHP) it works. Perhaps instead you could maybe add some frontend JS for better caption UI/UX?

Does everything have to be done in React nowadays, as opposed to plain static HTML? (Speaking as a React/Node dev myself)
In my experience, price is not correlated to value with tradespeople. Price is usually correlated to honesty. It’s easy to get quotes for jobs that have a huge range in price and it’s often the least expensive that will do the work right. They don’t quote you what their rate is. They quote you what they think they can get out of you. The price is correlated to how much money you have. The quality is correlated to how much you know and pay attention.
I think generally in the nordics they use wood a lot. In countries like Belgium, Netherlands, Germany and France wood is not used a lot
Unambiguous grammars are easy not just to machines. Most importantly, they matter to humans. Reading something like Lua or Golang or SQL is usually much easier than C++, to say nothing of Perl.
I’ve worked in unionised industries in two countries and neither required union membership, it was optional.

I can’t speak for everywhere though. Maybe you can provide a reference showing that your local legislation works this way?
if its a legacy project then of course it would be the same php from 7-8 years ago, what exactly were you expecting?

if you want to try modern php then start fresh or put in the work updating the legacy. its no different than being given a jquery project from 7-8 years ago and expecting a modern experience
Incandescent light bulbs ...
You’d like Arthur Koestler’s “Roots of Coincidence”, if you haven’t already read it.

I’d wave this away as metaphysical waffle if I also hadn’t had a few too many almost ordained seeming moments. Right place, right time sort of thing, what on earth are you doing in this cornfield miles from anywhere at 3am, never mind me?
Musk might care if this move drives all the influential power users away.

I'm not influential – I almost never tweet and have almost no followers – but I've read Twitter almost every day for the last 15 years. If I can't use Tweetbot, I'm just going to stop using Twitter. The official client and the website are just not usable for me.

Sure, they haven't been getting any ad revenue from me using a third-party client, so they won't miss me, but they never even attempted to provide those ads to the third-party clients.
All it needs to do is pattern interrupt strongly enough that you're not sucked into the social media black hole for hours.

A bypass for 15 minutes button might be too weak, but a small math problem or a password you need to get from your manager would be enough friction.

The decision to bypass after being interrupted is with you, and that's ok.
It's tragic his leadership was so ineffective.
I hear you, one would expect a kit house to be fairly straightforward, without needing too much input from an architect. Sorry to hear about your builders (though not surprised). What I had in mind when I made my comment though was my parent's neighbourhood in rural Ireland. A modest bungalow in a field that is now dwarfed by huge McMansions 3x the size every 300m in a strip 10km long. Each one massive, asymmetrical, uniquely ugly, and obviously sketched out on the back of a cigarette packet rather than designed by a competent architect.
Bonus points for a huge set of gates with fancy piers and walls, because god forbid any of your neighbours might swing by casually and say hello. But hurray for the tight-knit rural community right? /rant
Which side of the city are you on, could you let me know who you had do the installation please?
GP could also just cite related work and make a comment on the similarities and differences.
> even talking about interfaces like "magic methods"

No, this was referring to a mechanism used in the stdlib to see if an object passed in as one interface type, could be coerced to another interface type in order to perform some operation more efficiently.

I’m a Go developer, and I didn’t know this happened, it’s basically not visible from the API function signatures, you have to look at the implementation.

I love working in Go but this did raise my eyebrows and the functionality definitely deserves being called “magic”, and not in the good way.
> It can lock down free and open computing and this is far greater than the threat by trojans that I didn't have in the last 20 years.

I see this claim made over and over, yet we are still to see an actual "act of aggression" (modulo incompetence of an individual vendor - slip ups happen[0]). Every single PC system I ever heard of, allows either enrolling your own keys, or just disabling secure boot; most accept the MS-signed bootloader shim found in common desktop distros; I think this is even mandated in MS' specification that it must be possible for the users to bypass this.

If you haven't had a trojan in the last 20 years, you have been diligent and/or lucky. Scattershot malware (cryptolockers, miners) is incredibly common, one of our customers was hit several times (on systems we weren't managing). More sophisticated attacks are an everyday thing against high-value targets[1][2]. Exploiting computer (in)security is a multi-billion dollar business, platforms far more locked down than PC are being routinely targeted and exploited. Real people, fighting for IRL freedom - journalists, activists, opposition politicians - are in danger.

Please stop spreading the FUD against secure boot, and please back your claims with facts.

[0]: https://mjg59.dreamwidth.org/59931.html https://news.ycombinator.com/item?id=32023868

[1]: https://techcrunch.com/2023/01/14/circleci-hackers-stole-cus...

[2]: https://xeiaso.net/blog/spearphishing
A fair point. I was searching for an "interactive music theory cheat sheet" on Google the other day to see what's around, and I landed on this. It was really good and I played with the page for a while. I didn't realize until after submitting that the whole domain is full of awesome stuff.
Which leads me to start to think if there is a way to make timelapse videos that filter out some of the too quick movements, like windows and dialogs opening ... to make you mostly see how the code grows. App idea perhaps? :)
> that ships it's own dependencies

You mean a link to a malformed .deb packages?

It's not difficult to do but it's also the wrong way to do it.
Show HN: Cosh – concatenative command-line shell
Do you know, is there a document explaining the design somewhere? I can see from the Google images some of the parts, but not clearly all the parts nor the flowpaths and such.
I don't see how this is surprising. It's cool but come on, you have a network consisting of addition and multiplication and you expect it to not use them? What else is it supposed to do? Memorize every input output pair like a look up table?
Are you physically active? Do you avoid sitting for longer than an hour at a time? Do you limit your intake of high-carb food like bread, pasta, rice?

Your glucose metabolism and aerobic fitness start impacting cognition long, long before officially crossing any diagnostic thresholds, and it's usually the middle age where our frequently poor lifestyles start impacting us.
It is tidy and efficient. One question: Are you saying “docblocks?” I’ve never heard of this.

Thanks!
Our heavily capitalist society couldn't work without a certain amount of financial nihilism. How could you be a billionaire without being a financial nihilist ? What are the reasons for wanting to accumulate so much wealth, and keeping it for yourself while so many people suffer from poverty ?
On the other hand, if billionaire's stopped wanting to earn more and more money, the economy would likely crash...
> with no CI/build/deploy issues

I miss those days.

I think the amount of front end building we do for the web nowadays is absurd. We transpile everything - JS, CSS HTML, and then we bundle them in odd ways to circumvent all kinds of issues. The way we make webpages is so disconnected from the technologies that browsers offer us.

Makes you wonder when people are going to realize that we're way past serving static pages and don't need the next big front end tool, we just need a better way to run actual applications in the browser.
Twitter developer relations sucked under Dorsey and continue to be perfectly awful under Musk.

Even the developer signup process is broken. You fill in the required form, get an email that they need more details about the intended use (despite the fact they already ask about that in the form), and then nobody reads your follow-up emails
This bill will likely never become law. This is not just because it's poorly written, very loosely defined and completely tech-illiterate. It's because moral panic is the only thing the current UK government can rely on to whip votes and distract from the failures of all of their actual policies. Actually passing an actual law would make it harder to continue the panic...
Sure but can i do 2 x usb-c to displayport? Every time I plug something via hdmi in my current mac it tells me its a tv. Fortunately being Intel i can use 2x usb-c instead.
They say this about Cubans in Miami too.
It's still peanuts compared to what semiconductor research&engineering costs. They can afford it to make the most out of their market share. AMD must be rational and prioritize to repay investors for their trust. Time will tell whether that strategy works out.
Show HN: Derbyist – Up-to-date match calendar of football (soccer) derbies
If you follow soccer, you know that derbies are highly-charged matches between historically rival teams, usually local rivals. They are emotional and hard-fought matches that are great fun to watch, but while there are many online resources to find match schedules for different leagues, I could not find a resource with an always-updated list of upcoming derby matches. So I made one. Hope it's useful to you. Please let me know what you think.
>"potatoes, corn, flour, butter, ... doritos"

Making those your main source is highly unhealthy. It does not matter if it is called "Anglo-Irish".

Greens, veggies, decent fruits, meat, fish - through the roof. In Loblaws in particular as I often shop in one.

Vine tomatoes - $5 (used to pay $2). Fucking green onions - $2 for pathetic bunch (used to pay $0.5 for a bunch at least 3 times as big). Smaller box of mixed greens - $6 (used to pay $3-$3.50). Etc. etc.

All of this regular, never mind organic.

Meanwhile median income in Toronto is just below 40K - https://wowa.ca/average-income-canada#Toronto . Combine it with the cost of accommodation and you get an idea.
The fundamental problem is that someone somewhere decided that setting up signing keys was too hard, and that because of this the manufacturer should be in charge of setting up the keys. so now instead of you owning your hardware and setting up the keys on first boot, Microsoft owns your hardware and the keys are theirs. And in a case of self fulfilling prophecy, because they decided that initializing and owning your own keys was not going to be a normal part of the user experience, it is now hard(almost impossible) to do.

If instead the decision had been made to have the user set up some keys and authorize the OS, the process would have to be streamlined and easy.

In conclusion, signing your operating system is too hard, unless you are in the happy path where your OS is signed by Microsoft it is far easier to just disable the infernal subsystem as it gets in the way.
I think the exterior insulation is kind of taking the place of the cladding or rain screen here. I suspect it also as an air gap. But I suppose you could affix a rain screen to it, although I am not sure if that's worthwhile.

There's some more info here: https://www.designingbuildings.co.uk/wiki/Rainscreen

I hear the term "rain screen" fairly often to describe open cladding styles.
Scroll down to "timber cladding profiles" and then "open cladding": https://www.thousandhuts.org/walls
Rather than a more closed timber cladding, like shiplap or board-on-board, there would be a gap, maybe 8mm between the cladding boards. Rain can get in, but with an effective membrane beneath, it's waterproof. And there's always ventilation, so it dries out more quickly. If the wall is built for it, the membrane should be vapor permeable and allow the building to "breath".

I'm not sure if this is as appropriate for your local buildings if they have exterior polystyrene etc. Where I am in northern Scotland many of the buildings from the past several decades are timber frame inside + cavity + a wall of concrete blocks. Those concrete blocks are basically the cladding. They have the same renders as you linked on them. While a lot of people are skipping the blockwork and just cladding the building with timber or metal instead.
You could probably use GIT commit history as a data source?
"The thing I find hard is when I know that my life is objectively having a negative impact on those I love and society generally. That tends to be when I spiral because at that point I know I'm better off not being here."

I think that is a very wrong way to think about life. People are happy to have you with them, no matter your current (financial) circumstances. It's not a good attitude. You don't always have to provide positive impact. We all have weaknesses and bad times. we certainly have had "bad impact" on people around us - losing jobs, being sick, being depressed - that's part of the human experience.
No problems. Looks like a nice tool by the way. I can only hope that it catches on, would make my life a lot easier.
I, for one, am waiting for Ivory to come out of Beta to do just that.
The same reason most folks prefer apps to websites on mobile devices. Better UX and integration into the OS.
I have to say, this is the first news I've heard about Twitter in weeks, and of course, it's an idiotic story, but man, it's been refreshing to have had a break from Musk and Twitter.
It is on my shortlist. Thanks
Yeah, doc blocks. It's a name that originated within PHP a long time ago: https://docs.phpdoc.org/guide/guides/docblocks.html
Will check it out thanks.