skysight-inc/HackerNews huggingface dataset:
Its always been my understanding that any treatment to remove stuff from water is going to produce waste which needs disposing, just look at the Brita water jug filters, they need disposing.

I've often wondered why dont we have more pure water pumped through the water mains in various countries, and I think after reading about Super K the Japanese Neutrino detector [1] and how the water in the tank was so pure it had dissolved a spanner/wrench that was left in the bottom, years ago, I might have the answer.

Firstly there is health implications for drinking pure water, and whilst it probably wont dissolve your guts [2], it will drastically and quickly alter your chemistry [3] which in moderate doses may be a good way to calm down, I havent tried personally yet, but there is another problem.

The ultra pure water would probably dissolve the older ceramic and metal pipes used to deliver water around the countryside, from the inside out.

In fact I would even go so far to guess that water mains pipes last longer if its delivering hard water compared to soft water, and probably explains the pub culture as the water is standardised in various alcohol brands.

Either way I prefer soft water, its more relaxing and could well help to reduce a certain amount of anxiety in the population along with stress levels, that could be useful for built up cities, but watch the GDP levels of the region go down if that happened and the profile of crimes change [5], not to mention health conditions!

[1] https://www.businessinsider.com/super-kamiokande-neutrino-de...

[2] http://physicsandphysicists.blogspot.com/2018/06/super-kamio...

[3] https://chemistry.stackexchange.com/questions/30754/effect-o...

[4] https://nuscimagazine.com/water-so-pure-it-will-kill-you-261...

[5] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7576670/#:~:tex....
Awesome. I had a similar idea. Maybe we could join forces one day?...

I thought about hacking and modding existing robots (I have one at home that has great hardware, but the software is terrible!).

Definitely set up a Liberapay account to get support (if you need economic support), although I guess most people would want to see proof of concept first.

One thing that would be great is to crowdsource the software, and maybe the training data for ML. The open source community got together and made the top chess and go engines with community GPU training, why not do the same for robot vacuums?

Good luck! :)
It is non-obvious to me that GPT-4 is reasoning in any way. It seems to just be a huge Markov chain.
Probably shouldn't be raising cattle in areas that would need desalination to produce those 2000 gallons.
Is that not just the classic marketing gimmick of not using 0 as starting point on graph? Cheeky indeed but not sure I’d phrase that as “lowering competitors”
The more generalized aim here is not "run code with the lowest overhead" but rather "do cool stuff within surprisingly strict limitations." It's the same concept whether you're trying to write 256 bytes of 6502 assembly, or 140 bytes of Javascript.
What is the relavent distinction?
Elite schools like Stanford became fixated on the AI apocalypse
People under intense pressure to make gobs of money bought up [something or other], then raised prices.

Duh.
Most of the pre-flight work on a plane on the ground is safety critical, with rules around them written in the blood of somebody who wasn't paying enough attention and missed them.

Paying attention to things like weight checks, fuel checks, and systems bringup should take priority over gossip.

Imagine if your prod system was on fire, and while waiting for a diagnostic query to run, you talk your coworkers ear off about how you really dislike working with another coworker. It's just not the time to do that. Every single flight requires your attention, and letting things become routine is called "normalization of deviance" and is step one to an event that kills people.
What is a “corpus”? And why is everyone in AI talking about it?
I'll purchase once Outlook calendar is supported natively.
Feedback on Website's Aesthetics?
Hey, I made my second website in webflow. I would appreciate some feedback on the aesthetics and design!
I’m cofounder and CTO of a self funded , post revenue , pre profit hardware startup .

High altitude balloons that are payload agnostic. Working on the mass manufacturing process.

Make revenue through consulting and renting out the hardware lab when we aren’t using it.

Austin Texas

Charles@turnsys.com to connect .
i think one important difference between externalizing complexity to unix tools like ssh, and externalizing complexity to npm libraries, is related to (for lack of a better term) quality control

any dingbat with a terminal can produce an npm library that you can use in your application, the level of quality control is basically zero

but it takes a pretty strong track record to get your software into coreutils, or really any base linux distribution

to put it kind of cynically, i think there is an enormous difference between relying on ssh vs. relying on leftpad, gatekeeping based on competence measured over time is i think actually important and good to do
Thanks to both the parent for raising the ethical issues in this product and to OP for responding/addressing them. Our industry gets a lot better when we don't shy away from both asking and answering these kinds of questions!
If I buy fire insurance, am I “taking for granted” that my house is going to burn?

This take seems to lack nuance.

If there is a 10% chance of extinction conditional on AGI (many would say way higher), and most outcomes are happy, then it is absolutely worth investing in mitigation.

Obviously they are bullish on AGI in general, that is the founding hypothesis of their company. The entire venture is a bet that AGI is achievable soon.

Also obviously they think the upside is huge too. It’s possible to have a coherent world model in which you choose to do a risky thing that has huge upside. (Though, there are good arguments for slowing down until you are confident you are not going to destroy the world. Altman’s take is that AGI is coming anyway, better to get a slow takeoff started sooner rather than having a fast takeoff later.)
Our fund, Founder Collective, isn't hardware-focused, but we have backed a lot of transformative hardware startups – E.g., Whoop, Formlabs, Cruise, Desktop Metal, Kinsa, Running Tide.

We've also backed a bunch that haven't been able to make it work. It's a tantalizing space, but wickedly hard. That said, we remain ever optimistic and if you're building something in hardware, please reach out – joeflaherty@foundercollective.com
> “Facebook has decided to be unreasonable, irresponsible, and started blocking news,”

I don't feature news on my website. Am I also an unreasonable, irresponsible news blocker?
https://www.cs.princeton.edu/courses/archive/fall19/cos226/l... and https://kean.blog/post/lets-build-regex are excellent introductions to implementing a (very) simplified regex engine: construct a nondetermistic finite state automaton for the regex, then perform a graph search on the resulting digraph; if the vertex corresponding to your end state is reachable, you have a match.

I think this exercise is valuable for anyone writing regexes to not only understand that there's less magic than one might think, but also to visualize a bunch of balls bouncing along an NFA - that bug you inevitably hit in production due to catastrophic backtracking now takes on a physical meaning!

Separately re: the OP, https://github.com/rust-lang/regex/issues/822 (and specifically BurntSushi's comment at the very end of the issue) adds really useful context to the paragraph in the OP about niche APIs: https://blog.burntsushi.net/regex-internals/#problem-request... - searching with multiple regexes simultaneously against a text is both incredibly complex and incredibly useful, and I can't wait to see what the community comes up with for this pattern!
The template replacer function takes a map from regex to replacement, and asserts that each regex must occur at least once which helps catch mistakes where you update the template but not the code calling it.

__REMOVE_LINE__ is a common hack with our template system to remove lines in the template that are needed to make the template valid, but aren't wanted in the resulting code. We replace /^.__REMOVE_LINE__.$/gm with "". In this case we need to accept the __MODEL__ template var because a different template called with the same arguments needs it, but we don't care in this one.

__SCHEMA_IMPORT__ is another marker we use to replace a whole line, here we replace it with `} from "${generateData.schemaImportPath}"`
Didn’t they ddos their own website on Saturday when they rolled this out?
The workers don't block painting and they do not run in a separate process. That's why it's concurrent but not parallel. The web worker does work whenever the main thread is not painting and there is a free time slot. The browser is not painting all the time.

You don't get extra calculation performance with web workers. You just create the illusion of a smooth experience because you don't block painting. It does not complete faster.
Show HN: Hacker News user blogroll
I saw this [0] pretty cool thread by user revskill, and wanted a quicker way to search through it, but also to keep them all in one place so I can read them at my leisure whenever I get time.

Right now is like 60 lines of Ruby using Nokogiri, but I will certainly look into it further down the line and improve the list.

There's a cronjob checking the thread every 12 hours but I will eventually shut that down and it will become static after that.

There are some really awesome blogs in there. I really recommend going through the list, it made my day.

[0] "Could you share your personal blog here". https://news.ycombinator.com/item?id=36575081
Unless something has changed, the underlying tool (litestream) supports plain old SFTP:

https://litestream.io/guides/sftp/

... so I believe you can use any sftp provider as a target for those backups, correct ?
I'm the kind of guy that thinks I might be able to sell it for a good price, if it is high quality, after the use. Making the total money spent way less. But that begs the question, why not rent these out for 18 months at a time?
Proper crew resource management is a part of "procedures" and The Captain should callous disregard for exactly that.
The article isn't clearly stated on this point, but at the current time to block this new behaviour, in about:config create a new boolean named "extensions.quarantinedDomains.enabled" and set the value to false.

It's a shame, because I can see where this will lead to beyond the obvious of just extensions today. The domains list will be tied to country codes. So it will become a situation where "if country X then block politically objectionable domain Y!" where Y can be a site that criticizes the ruling party or the usual crew of copyright carpetbaggers wanting various sites blocked from the browser end, etc. And it will actually cover a lot of scope, you already see some of this beginning where they have started blocking some US states from viewing pornography, but with this method, you can block an entire country from all porn domains at once just by making the browser refer to a master blacklist.

On the bright side, Firefox may be able to soon access the lucrative North Korean market since all domains will be blocked.
The thing that I think sometimes gets lost when people are talking about the strengths and weaknesses of regular expression use, is that it can matter quite a bit what the language in question is like. If you're using a language that compiles down to a low level or is expected to have a fairly close match of expressions to specific code run (C, C++, Java, etc) then the choice is between using a regular expression library which often does an good enough match of what you want to accomplish in a performance manner that rolling your own optimized parser is hard to justify.

When using an interpreted language like Perl or Python, it's a slightly different story, since often there's no way to get as good of performance out of a custom parser written in that language as you can get from the optimized regular expression library included (if you use it competently). The overhead in the interpreted language can make some tasks impossible to do as quickly as teh regular expression engine can. In a way, a regular expression library is to parsing what Numpy is to computation.

I remember a task I had to parse a bunch of very simplistic XML in Perl a decade ago, where it consisted of the equivalent of a bunch of records of dictionaries/hashes (solr), and needed them as Perl hashes to work on them. I surveyed every XML parsing module available to me in Perl, and couldn't quite get the performance I needed, given the file was a few GB and it needed to be done as quick as possible multiple times a day. I implemented a simple outer loop to grab a working chunk of the file, a regex to split that chunk into individual records text chunks, and another regex to return each key/value as an alternating list I could assign directly to a hash. It was 5-6x faster than the faster XML streaming solution I found that I could use as a Perl module (which were all just wrapping X libs).

Could I have coded a custom solution in C that parsed this specialized format faster? Undoubtedly, but I'd still be marshaling data through the C/Perl interface, so would have taken a hit to get the data easily accessible to the rest of the codebase, which is less of an issue for regular expressions in Perl since they're a native capability of the language and deeply integrated. Using regular expressions as a parsing toolkit yielded very good results at a fraction of the time and effort, and honestly in my opinion that's what regular expressions are all about.
Yeah, and it's not cheap. It is definitely worth the money though, at least for me.
> even though French is only a semigroup and not a ring ... and addition has not been defined, it is possible to multiply two matrices if ... each row of the first meets each column of the second in at most one non-empty place

excellente !
What boosted my confidence as a new programmer?

1) Ignorance. Knowing just enough to be dangerous was great against analysis-paralysis.

2) Positive feedback from clients. Clients didn't care about my spaghetti code. All they saw was a solution to their problem. That was very rewarding and made me confident. Well, at least until a senior dev took a look at my code and rightfully destroyed my confidence with not-so-polite suggestions.
I can't speak for myself (it's been too long and I'm self-taught so I was already fairly confident at my first job), but a former co-worker did have an interesting insight at one point:

They came straight from a bootcamp and for months felt like they weren't getting better, were constantly asking questions about stuff. It only finally clicked and they gained confidence when we got a second out-of-bootcamp developer and the first person was the one that was constantly answering their questions. They hadn't realized how much they were learning because their only comparison had been those of us who had been there a lot longer.
> This isn’t just their extension, if I am reading this correctly it is any extension(that hasn’t been vetted by Mozilla) is capable of being blocked from running due to this this new quarantined domain list that Firefox 115 has.

What domains are in this "new quarantined domain list"?
Secret Service Examining How Suspected Cocaine Ended Up at the White House
The C++ standard library std::basic_regex attempts to do this by exposing a templated class over a custom character type. https://en.cppreference.com/w/cpp/regex/basic_regex You can provide your own trait class to define things for your custom "characters".

Unfortunately performance goes out of the window. And it's likely to work as well as storing arbitrary non-character things into a custom std::basic_string.
>f it's achieved by someone else why should we assume that the other person or group will give a damn about anything done by this team?

You can't assume that. But that doesn't mean some 3rd party wouldn't be interested in utilizing that research anyway.
Yes, sure. Operating systems nowadays provide useful thread pool runtimes for this purpose, like Apple’s GCD.

In no way does it mean that you don’t need an event loop because threads exist, as was the contention here.
>>GP's asking a legitimate question about chemical outgassing etc. Parents have concerns like this, and some parents more than others.

Obviously, and outgassing happens a lot in any car especially if it's brand new. So I'll ask again - why drive kids in a car at all if this concerns them this much?
> But, why not really-long-pipe-with-small-holes-along-the-length?

The OP mentions that this is common in practice, although it's easier to tell in the video that this is what is being described.
This emphasizes how much you need to know before you even get into a program. If you don't know that much, you NEED those classes to just catch up to your peers as to understanding what the world even says about various things at a foundational level. The weight is so much easier to carry if you go in with a certain level of knowledge so that you can slack in classes if you need to rest.
Dear Gitlab... please focus on finishing out your parent/child pipeline concepts. I'm very disappointed to see basic CI capabilities missing in 2023. None of the shiny AI things matter if CI isn't solid.

Today parent pipelines cannot consume any test report from the child pipeline using the Gitlab CI DSL: https://gitlab.com/groups/gitlab-org/-/epics/8205

We would effectively need to roll up the child pipeline's results manually in the parent pipeline by calling APIs ourselves.
Yes, but how many people use SQLAlchemy just as a database API?

I think the real problem is that DB-API exists and is bad — its existence comes with the automatic imprimatur of being an official standard and this seeming desirable to use.
That's a sewage treatment plant treatment process. We don't typically drink treated wastewater, but some places recycle the water after a intensive purification process. Chlorine in drinking water treatment is used for disinfection and a small amount is added after treatment to keep bacteria from growing in the distribution system. Your information is not really relevant but interesting.
HN seems to love sqlite but I don't know how to protect against dataloss using sqlite (yes I know litestream exists). Unless you sync disk state to remote storage on every write, wouldn't you always lose some writes? Losing writes is never a good idea. You might think it doesn't matter at your scale, but suddenly it might and you won't like SQLite the same amount anymore.
Consider broadening your scope. Your offering appears to target a manufacturing stage where it its value-add is relatively capped: since tools, materials and processes are already specified. While generative specification of mould assemblies is powerful, we all know fabrication is the main pain point. Other process geometries such as jigs and fixtures can be similarly critical and deliver more value more quickly and this leads in to questions of flow (handling/storage/palletizing), even machine tool worktable systems.

Huge amounts of money are routinely lost on poor process investments due to invisible process alternatives. Be any part of a general solution there, and you're at the table before a factory is built, when it has resource allocation questions, to tune maintenance processes, or when it needs new revenue streams.

While it's hard to be all things to all people, simply having an integrated offering with an MVP in each major process engineering zone will help immensely. It's certainly more than the big players have tabled (who are addicted to consulting on the status quo), and would therefore set you up well for acquisition.
Forfeit: Habit Contracts
No reason to keep the 1:1 ratio. Use the salt to replace our current salt mines/outtakes and then use the water as an addition to our current freshwater usage.
You're likely better off treating and recirculating the same fresh water for bathing. You can also potentially save energy on heating the water with a proper setup.
It is quite bizarre to be told by multiple commenters now that I really have entered a permanent state of anxiety and that I've just overestimated myself. Are you that confident that reading news inspires such a state in everyone?

Personally I can't remember the last time I experienced anxiety reading the news - and I read an hour or two's worth daily. So I have trouble relating to those who do, but I don't insist that they must be "underestimating" themselves.
Thanks and I was, I'm sorry that I acted like that.
who wrote that program?
According to the paper [1] he talks about in the video, the theoretical limit is a function of %salt removed and %waste-water.

For 90% salt removal with 50% waste-water, they say the limit is 1.09kWh per cubic meter (3.924 MJ)

NB: It is not 100% clear to me if the result is independent of the type of technology, but they do claim:

> We first derive the general expression of the thermodynamic minimum energy of separation determined by the Gibbs free energy, which is independent of the method of desalination

[1] https://pubs.acs.org/doi/10.1021/acs.jchemed.0c01194
I decline non big tech interviews that involve some kind of "system design". I've worked with so-called staff engineers who designed systems with textbook antipatterns (I literally studied them). This idea that you need to regurgitate some bloated mess onto the cloud even to solve even the simplest problems needs to stop.
There is a critical flaw with this analysis: sometimes, relatives of politicians become notable because of their famous child.

Bill Clinton's father, mother, and step-father all have Wikipedia articles, all of which are there solely because of their relation to Bill Clinton. (yes, "notability is not inherited" is on Wikipedia policy pages, but that doesn't stop people)
> So all the climate scientists in the 1980s who said that the sea levels would be a meter higher today did not ruin their credibility?

I don't know what specific claims you're referring to. I was a child in the 1980s and you should provide citations when making such historical claims. For all I know these purported scientific predictions were qualified with murky probabilities. Publications having error bars +- 50 years, and we're just playing some kind of 40+ year game of telephone hearsay.

But you are speaking as if sea levels went down since the 1980s which is obviously not the case.
> we're heavily subsidized by huge grants and funding

this is how it is in Canada too! My city has a huge manufacturing sector so a lot of these little startups with super niche products that take lots of R&D are found there. But no one talks about us because engineers aren't paid doctor money here (the grants aren't THAT good, which I think in the US defense sector they are).
When experienced developers/colleagues started to use tools I created as part of their workflows. Occasionally they'd submit PRs demonstrating more efficient solutions, which helped me enormously, but overall the tools remained untouched.

It was also a great reminder that "good enough" is just that.
macOS is based on FreeBSD.
I'm guessing since it's plugged in, there was no way to make it last long enough on a battery?

Love the idea, will bookmark it for the future office!
Oh, certainly. When I left the industry in 2006, attorneys younger than 40 or so were all competent computer users, though for many of them dictation was still a faster way to draft documents. They were good at email and at editing the documents coming out of the Word Processing department in realtime on the screen.