skysight-inc/HackerNews huggingface dataset:
There's tinygo, which is still missing bits here & there, including reflection, which makes encoding/decoding (json, xml) problematic.
What is this code good for?

I can understand what it does but I don't get the intend behind that. (I'm not a Ruby programmer, so maybe I miss something "obvious")
This is an amazing tool. Incredibly useful. Thank you.
Users should also be aware that artists can remove their music from Bandcamp at any time for any reason with no warning. I found that out the hard way after a purchase was just mysteriously missing from my Bandcamp collection. I contacted BC support and that was the gist of their response.

Fortunately the missing item was just a single and I had already downloaded it in WAV format to burn to a CD. However, downloading from BC again would have saved me the trouble of converting and tagging that track.
Have you considered that the author did try to understand the underlying ideology? It seems pretty accurate to me.
Looper: An end-to-end ML platform for product decisions (2022)
Didn't china manage to produce 5nm chips recently? I mean yes, it's not 3nm but this just means a bit of slowdown, but they have both will& resources to go forward. Just look at their advancements in network wide blocking & face recognition, just like how their big players released pretty damn powerful llms
sorry, you assume that, you hypothesize that, but you don't know that.

people like different colors, people like different tastes. according to you, "no, same hardware"
+100 for undo/redo.
People have different strategies for discovering new content, I guess. It’s rare for me to watch stuff from creators I don’t know, so I’m not usually surprised by the quality of them.

But if any kind of sponsorship of a video counts as “shameless stanning” to you then yeah the whole concept of YT is just not going to be your jam.
Welcome to society.
Open Source Explained by IBM [video]
I'm not sure if this is a serious suggestion or not, but I don't think trying to measure intelligence gives a full picture of consciousness.

I can't know for sure but I also don't believe that if a living being is assessed to be less intelligent, that it feels less or is in some way less conscious.

I guess this all speaks to a troubling line of thought that justifies treating other beings as lesser for being less intelligent. Be kind to each other, and the bats, and the crabs, then let's talk about consciousness.
I've spent a lot of time working as an academic in / out of hospitals. There's a big difference between an academic research centre (where you have, comparatively speaking, a lot of time to sit and think) and the "coal face" of clinical medicine (where the opposite is true).

Literally every high-level doctor I have ever worked with:

– Knows the passwords of their juniors and shares their password with them

– Has a lot of mutual bottom-covering going on

– Finds hospital computers intolerably slow, incredibly locked down, and designed by "muppets" who don't have to use them

– Keeps the issued smart-card for accessing patient records required as part of a 2FA scheme to themselves on their lanyard because they're all functionally identical

– Keeps their "badges" of lanyards mostly on their neck but occasionally asked for mine / borrowed mine to open random doors

All of this comes from precisely the mindset of putting patient care above security theatre. They all share passwords all the time because, well, it's hard to type on a keyboard and order a drug or a kit if you're in the middle of doing a transoesophageal echo, say, yet it's incredibly apparent that it's needed quickly. We all get yelled at periodically never to do this. If I was the person with the cardiac complaint, I'd much rather get my drugs quickly. A lot of the examples in the article ring very, very true. Most places I have worked let every doctor look up the medical records of every patient, but keep an audit of who does so (and occasionally make a fuss if someone does something inappropriate). I did once have an awful conversation with hospital security refusing me access to the door I was on the secure side of, when I was in scrubs and had a human liver on a perfusion rig (along with colleagues), however, as it was after hours and my badge hadn't been given permissions to open the door in the middle of the night, and needed to get something on the other side of it. That was "fun". (We wedged the door open when they were gone).
Does that mouse by any chance not make too much noise when clicking? Need to find one desperately.
Remains the question: Why was it allowed to even live a little, when for the first dimes, it was clear it was a scheme that necessitated illegal actions at every step?
If it was a Tesla, you might want to check that brake pads are present: https://news.ycombinator.com/item?id=29949728
The documentation talks about OpenCL & Level-Zero so so probably Intel, AMD, NVidia.

(https://intelpython.github.io/dpctl/latest/docfiles/dpctl/dp...)
Well, I can’t read his mind, but considering that he didn’t mention anything about it, I think we can assume that he hasn’t.

Even if he did, my criticism was about the essay, not the guy himself.
> You could go the DPDK route but that has downsides of your application needing exclusive access to the network interface.

Never did it, but I guess you could reroute traffic you don't care about to the Linux network stack for regular routing.

https://doc.dpdk.org/guides-16.07/howto/flow_bifurcation.htm...

Not sure that's a realistic scenario though. You rarely expose a DPDK app directly on a regular / open subnet. You often have a dedicated app, with a dedicated NIC, on a dedicated subnet, for a dedicated traffic.
The photo of the wall in the article is obviously digitally altered, just to the left of the person walking. The rocks change into uniform smooth grey, and it doesn’t match the reflection in the water. Is it supposed to be the digital plan of the wall vs the real thing?
And big EU tech successes like GDPR, DMA and many others. What's your point?

This is about identity regulation, not random rockets.
Hoo boy, that’s an opinion alright.
Regarding an ET source: some key questions to consider:

What kind of technology would produce such ultra high energy particles?

What would they use such technology for?

Can a technological source be inferred from the data we already have?

It could also 'just' be a new particle which behaves differently than anything on the board. (Would still be a VERY strange particle though for sure, and still leaves open the question of what produced it.)
NXDOMAIN.
We very much appreciate your work!
It seems to me, instead of funding a new college or traditional research institute, some benefactor ought to fund a "research reproduction institute", dedicated to identifying and reproducing suspicious publications.
How can I choose the blue range on top? It seems on multiple presses of the same key different ranges are chosen, but it is really not clear what is going on there.
Captured objects in closures are another problem in JavaScript.

A long time ago I was using a JavaScript framework where the memory usage went up steadily as you navigated the single page app. One cause was captured variables (referencing large object trees) in event handlers. The only viable way to fix the issue was to write my own custom framework taking extreme care with closures and sometimes nulling variables (the code for the existing framework was just too complex to fix - and memory references are hard to debug in browsers). I saw the same issue with memory usage growth in a different framework. Some of the issue was that Internet Explorer had problems with circular references between JavaScript and the DOM, but the captured variables in closures were their own problem.
Frozen's Let It Go turned into Give Up after going through Google Translate too many times: https://www.youtube.com/watch?v=2bVAoVlFYf0
Static typing is a very bad software development practice. There are a lot of other software development practices that are superior to it.

"help you in refactoring" It's a terrible way to refactor your code.

There are far better and far superior software development practices out there, which do everything static typing does and more.

"There is no way around verifying your assumptions about types" Yes, there are. There are many many ways to do this that do a lot better job than static typing. Static typing is known to be terrible at eliminating bugs from code.

The complain here is not that static typing isn't better than nothing but that static typing is such a low tier solution, that if you were doing anything proper you wouldn't be touching it.
Hey that’s me. Glad you’re enjoying it.
I sympathise with this, and part of it's down to the glacial pace of regulators (which as a consumer I find frustrating).

At the same time, for a number of years there was a lot of perceived legitimacy to a lot of crypto exchanges. Sure, there were obvious scams, but some of the bigger players were putting on a convincing "this is actually useful and beneficial to consumers" trenchcoat. I also see the perspective from the SEC of "let's not be too hasty", and to wait to see how it shook out.

In hindsight, sure. Obviously scams and they should have been shut down years ago.
Mine is "Sustenance is actually beneficial to the coding"
> Why make so many assumptions?

This is a good question. “Is it bots or user behavior, I’m just asking” is rife with assumptions such as
Subsistence farming perhaps. But my understanding is that making money as a modern farmer requires serious skill in planning, optimization, and negotiating.
I've used raylib-go (raylib bindings for Go) and ebiten. Both are excellent libraries.

Personally I tend to use raylib-go much more, as it can readily supports 3D and has a strong community around it.
I can’t tell if you’re joking. Python uses tons of memory and is generally low performance. It can do everything c can but slower
It blatently can work, it's just not guaranteed by the standard (at least without an fsync). I don't think anyone is talking about situations where B is being actively written to while the rename happens.
Many of us use bandcamp specifically to avoid subscriptions and because it provides downloads, rather than streaming.

Your idea isn't bad, but I don't think it will appeal to the folks who are lamenting this situation.
Seeds are incredibly resilient in many cases. Also, shotgun shells come in a range of power level and configuration. Something like birdshot replaced with seeds would make sense to me.
There is a statistically inverse relationship between diameter of the muscle mass of the legs and dementia[1]. Higher muscle mass has more capacity to store glycogen and in a higher priority than insulin-activated GLUT receptors which in tern means less glucose and insulin spikes. And we do know that high glucose levels are inflammatory.

Point being, a more anabolic lifestyle with higher muscle mass has direct benefits in metabolic syndrome and cognitive decline, so your trade-off is incorrect.

[1] https://jamanetwork.com/journals/jamanetworkopen/fullarticle...
"What is the difference between the same amount of code but split between one monolith versus many microservices"

Encapsulation at a larger grain level.

"Yes .. keep rewriting working code - that's a path to success." If you had done any courses on software requirements, you wouldn't be saying that. It's the entire premise behind agile software development.
It works (almost) in Scala:

def `. . .` = println("That's valid syntax!")

@main def entryPoint = `. . .`

[ https://scastie.scala-lang.org/BsvbSctXTmaGWaCbM6JX9Q ]

I said almost because HN suppresses the back-ticks…
> I and many other people I know, failed all the time; and we never got fired, we simply learned from it and moved on.

How confident are you that your example isn't just survivorship bias?

I know people who failed and got fired. I know people who failed and were forced to resign. Where does your advice fit in the real world?
I don’t necessarily disagree with the author that the “prefer composition over inheritance” advice is taken too far, but I don’t find this example to be too persuasive. Most of the simplification comes from using a list and named triple instead of new classes. Those are good techniques, but they aren’t inheritance. (Well, data classes tend to be better, but named tuples are perfectly fine here.)
The rules were always clear, it's just that crypto people didn't like them & wanted new rules specially made for them.

Crypto exchanges were always money transmitters that were required to follow KYC regulations, ICOs were always securities & needed to follow SEC regulations. And so on & on.

Using cryptography doesn't make you magically immune to regulation.
Unrelated: I just want to say thank you for all of your amazing work over the years. You’re a software hero of mine. I’m 100% certain your code and work has saved me time, money, and maybe even my job at one point! Also, sorry to hear about your daughter. I’m going to pray for you and your family! (If my memory serves me right, you don’t believe in God, but I hope you don’t mind.)
While crypto might not be the ideal solution, it's hard to not notice that modern AML/KYC banking laws are rapidly degrading into complete bullshit, and it is nice to have a workaround.

I've just read an article how Russian emigrants around the world (that's up to several million people, more than some European countries) are struggling with opening and maintaining bank accounts, and have to resort to all kinds of workarounds, crypto and Binance included.
You might not have any sympathy for them, especially in current circumstances, but they did nothing wrong, and won't cease to exist just because of your lack of sympathy.

Where I live now, there is a growing number of street currency exchange shops which will gladly and openly accept your USDT and hand over cash in either local currency or USD $100 bills; no documents ever asked, of course.
That kind of infrastructure did not exist a mere couple years ago.

You might think, why don't just ban it all, but, I'll say it again, the problem with this line of thinking is that if you, as the government, declare large enough numbers of mostly innocent people criminal or "undesirable", they won't magically vanish into thin air overnight;
to the contrary, you've just made life harder for your own law enforcement, as real criminals will now have a much larger crowd to blend in.

For many countries where it is difficult to legally buy or transfer USD at international market rates (either because of sanctions or capital controls), there is a thriving USD/USDT/BTC black market, involving, in extreme cases, the majority of population; see Argentina or Venezuela for example.
Labeling all of them as "criminals" achieves you nothing.
Updated the list with new deals that I found on HackerNews.
Do any of them reach even 1% of Binance's size? If crypto stays a bunch of niche projects that only enthusiasts invest in, isn't that the SEC's goal accomplished? I can't imagine they would care about a coin that doesn't attract either a lot of retail customers or big financial institutions.
Another issue is that making things reproducible costs you time and that is exactly what most researchers do not have. For example, many ML papers have code that is just a barely working Jupyter notebook. To make it reproducible you would have to create a reproducible environment, package the data, and prepare scripts that would rerun all the experiments you have done. That can take several weeks, but it will not increase the chance of acceptance for your paper at all.
It's extremely good.

Goroutines and channels make it very straightforward to set up an ECS engine hence you can actually run a lot of the engine in parallel and not have to stick to the "game loop" structure. Build your systems similar to the actor model with a mailbox, have an event/messaging bus, and you basically have a very performant engine.

I've yet to run into issues with the GC. The only bit of tuning I had to do was be careful with interfaces in hot paths and batch all graphics calls.
DHL takes 2 days to UK. I usually get PCBs snail mail though. I don't mind waiting because I'm a cheap ass. I've got to the point I don't screw up the PCBs now anyway (every time you screw up write something on a checklist and don't do it again!)

As for next day, you can pay to get anything like that. Years ago I worked for a large company that had an in house PCB fab because it was cheaper than subcontracting out prototypes and production builds to third parties. They were quoting 500-800 GBP a board and much much more for Rogers for the same week production. We are truly in magical times now for how cheap this stuff has got.
Ah yeah if it's not automated you have fewer issues, particularly with good models which require much less badgering.

What I would say is that there are probably common patterns that you use and building up prompts can save some time. There's a lot of woo around though as people just copy patterns they see. It may be as simple for you as coding with a few style examples and an explanation of your level (e.g. in typescript I want code examples and help with syntax, python I've used for decades so need only higher level pointers)

Promptfoo should fit that quite well, you can give it some prompts and run them all and see output (with caching thankfully).

GPTs, the custom ones now, are a little different in that you can also give them files to refer to. I've done that with example code for an internal-ish framework and it generates useful code from that.

Edit - I'd also invite you to think about places you could use them in a more automated way. I had some I want to resurrect with newer models where I can take a recording, send it through whisper, then from the transcript take out:

* Key points

* Give me counter arguments

* Critique my thinking

* If I talk about coding options give advice or write code to solve the problems

* Create a title
Ask HN: Selfhosted ChatGPT and Stable-diffusion like alternatives?
I know this has been asked before, but things are moving so quickly in this realm and people here seem to have a good insight, so I am asking again.

The speed of answers and computation is not really an issue, and I know that most selfhosted solutions obviously is in no way fully on-par with services like Chatgpt or Stable-diffusion.

I do have somewhat modest resources.

16 GB RAM
NVIDIA GPU with 4 GB vRAM.

Is there any options that means I can run it selfhosted?
Life is a fractal!
That's like saying "Objective C was a broadly successful language"…
Similar here. We are really trained to lock when leaving the machine. One co-worker when pressed into coming with us for lunch did it blindly and after some seconds and finally a glance at the screen wondered why the lock screen did not come up. He accidentally had pressed shift-delete instead. On the folder he had worked on without committing the whole day. m(
I think to accept that life means suffering might take away potential to improve perspective on whether it’s actually suffering I need to accept, or pain I can mitigate. The distinction is crucial and getting it wrong is - IMO - a big contributor to anxiety & depression (they usually coincide from a clinical perspective). It has been shown in rats that they will reproducibly get anxious and depressed when they feel trapped and isolated, and this resolves when their situation improves. So if someone is not being held prison at the moment, it would IMO be beneficial to find out whether there’s a „prison in the head“.

That’s besides the other factors I mentioned - if you look at studies of what substances pathogens in the stomach and microbiome produce, it turns out they can really cause anxiety. My take is that anxiety can be a multifactorial issue and a local minimum that one needs to climb out of actively. Accepting life as suffering might not give the impulse to get the necessary help.
It absolutely matches the reflection in the water - you can see the hard hat of the person and the colour transition.

The change in colour will be the result of a change in source of boulder. The whole point is that they are "recycling".
Show HN: Futureen Bringing the Best of Tomorrow's Tech Today
Thought this was very interesting - https://www.theguardian.com/science/2015/apr/19/clockmaker-j...

It mentions - "scientists revealed that a clock that had been built to the clockmaker’s exact specifications had run for 100 days during official tests and had lost only five-eighths of a second in that period."

While "a typical quartz clock or wristwatch will gain or lose 15 seconds per 30 days" (https://en.wikipedia.org/wiki/Quartz_clock#Accuracy). You can get temperature compensated quartz watches etc. though, which perform better apparently, but found it pretty interesting that a mechanical clock can best standard quartz technology.
Security policies should totally include “Employees who notice an open computer must nuke it. Immediately and for security. Then the owner be fired.”

It’s actually a good idea, I’ll include the first part to our security policies.
I wonder if this is the first example of government IT project specification failure?

What the navy wanted was a simple way to calculate a ship's position - which is exactly what they ended up with. What they didn't anticipate is that each device would cost twice as much as the ship it was going on.
Add engagement intensified. Promotion unlocked.
> but hovering over it does show a time two and a half days ago

now that's pretty incriminating. could it well be that this jane webb, if that is her true name, is in cahoots with the hn management?
> how do existing concrete manufacturers determine whether locally sourced materials ("random rocks") are suitable?

They test individual samples from each pour on a calibrated press. For large buildings and critical pours, they'll keep & test multiple samples that undergo accelerated aging to make sure they're up to spec for the anticipated lifetime of the building (or until the concrete fully stabilizes over a few months / years).
> Places that won't tolerate mistakes are arguably places you don't want to work anyway.

That's hardly helpful advice. You don't have recruiters telling job applicants that they do not tolerate mistakes. By definition, employees get no warning before being fired for making a mistake, which is hardly the situation for advice such as "you don't want to work there anyway". When that happens, all there is to do is gather all your stuff, rethink your life, and update your resume, and prepare to explain in the next job interview how your last job finished so abruptly. Neither of these steps is in your best interest.
RF stuff is fine without Altium. You can use QUCS for synthesis and just tape out in Kicad. Basically this without the manual steps and better impedance control! https://youtu.be/drwGvATLNaw
Haskell x Swift interoperability from scratch
Sounds like harassment.
They are broken down at the incineration temperature of around 700C.

Cement plants are also interesting because of the even higher temperatures of 1200C I believe.
The early speed limits were changed when people no longer worried about cars spooking horses.

You'd have to come up with a convincing reason why KYC/AML reporting requirements are bad to change those financial laws.
just enable voiceover
Thank you Jay! It's a great thing to read in the morning :) Appreciated. I don't believe in God, but in a very "soft" way, that is, I'm happy other people enjoy their religious life.
There's also a company called Selfrag (selective fragmentation) which uses electrical current to break the conglomerate slag along mineral fault lines to be able to more easily extract the metals..
As others, nothing. Fuck consumerism.