skysight-inc/HackerNews huggingface dataset:
Somebody published a paper (back in the 80's?) that posited, digital logic should use base-3. They solved some equation and base-e was the optimum (2.718...) and that is closer to 3 than 2.

But so much easier to do circuits 0-1 I guess. Or the science was wrong. Anyway, just be glad we have the sensible binary system we have. Used to use bi-quinary, ones-complement and other strange schemes. Took a surprisingly long time to settle on twos-complement integers.
Because the costs of those measures are not worth the gain.

If you have a million commuters on the streets, each taking a total of an hour a day for their commute, 20 days per month, increasing the average commute time by just 1% effectively costs >300 lives per year.

The basic rule of any change you want to make to the system is that speeds need to go up, not down. Better AI assist systems help speeds go up, therefore they reduce the cost of commuting in human lives.
Show HN: A tool to scrape senators' stock transactions for your own analysis
The radio will generally add 2-3ms latency I believe. Plus any routing latency at the customer's router, and any latency in your own infrastructure. If one is comparing to satellite or LTE, then this is basically amazing. If you're comparing to existing copper/fibre connection then it will have some effect.

I'm saying this having not actually deployed the hardware yet, just based on research.
Hi everyone, with the recent interest in U.S. senator insider trading, I open-sourced this repo for you to scrape and analyze the senators' stock transactions yourself: https://github.com/neelsomani/senator-filings

I provided a Jupyter notebook with my own simple analysis (limitations included in the README), but of course it can be modified to suit your needs. Let me know if you have any questions - happy to help!
> If grid energy storage was a simple problem it would have been done decades ago.

Except storage is much less useful in the old paradigm, so the motivation wasn't there. Going forward, prices will swing wildly, so storage will be more valuable.
I think our current culture over-emphasizes "self-discipline" or "willpower" and doesn't admit the influence of our environment enough.

Personally, as a nearly-life-long sugar junkie, I know that if I'm around a pile of cookies, it is difficult to resist, and will wear me down until I eat one, and then another, and then another...

On the other hand, if there is no pile of cookies, there's no temptation or possibility of that happening.

I have had much more success with adjusting my environment than with trying to exercise willpower.
What if it doesn't need modding though? I feel the rule should also take into account the number of posts/comments, not just number of days.
>a base-10 multiplication table has 100 entries

Not quite! You can safely ignore identities (0, 1, and 10 itself) so you only have 8 numbers in your table. And multiplication is commutative so you only need 8+7+6... (= (8+1)(8/2) as per Gauss) = 36 entries.

Base 16 would have (14+1)(14/2) = 105 entries. So proportional to base-10, actually slightly harder than you said.
Too late to edit: I see now that only a Guest window gets its own window-group. Incognito windows do not.
Greta Thunberg added to CNN’s expert coronavirus panel, Twitter erupts
Ah, I thought it has to be something Microsoft.

We can place the last modernization effort to this piece of code, then.
Concentrated solar thermal is basically dead. PV just slaughtered it.
The monitoring service is useful, when a leak is detected you can reset that password.

Knowing that you have been historically breached is less useful.. Until I need to convince somebody to start taking account security seriously.

Its quite sobering to discover that data breaches are commonplace.
1 person, 10 years ago, promptly fired. Somehow I'm missing the "many" part of the original claim.
Why flagged? This is a good service. There is also skeddly that does this, we rolled our own because we needed auto scaling and sleep and then we needed load based auto scaling.
A few pics of my Altair mini build here. The kits seems no longer available.

https://rfpoweramp.com/
> on-par with the commercial offerings

That should be "offering" singular, not "offerings" plural.

And it's totally feasible to produce a superior ecosystem. The hard part is absorbing years of financial loss while building the new ecosystem from the ground up while it isn't compatible with the existing proprietary system.
It was a long time ago, so not likely anybody wrote it down. But wasn't it from India? Counting-sticks in boxes, when you got to nine (maybe all that would fit in the box?) you put one stick in the next box and 'cleared' the lower-significant box. Apparently zero is a drawing of an empty box...
But humans rarely use notepad these days. They use code editors like Coda or VSCode at the very least which have all kinds of advanced features. Surely, those can include support for ASCII separators?
I bought one of those too. Probably finish up the build this weekend.
Very well explained. Thanks
They memory safety and type safety of the messagepack library do matter I think: as with PGP, there’s nothing to stop a bad guy from obtaining your public key and sending you encrypted messages. In fact, distribution of public keys is encouraged.
I met a SoftLayer employee soon after the acquisition at an IBM conference. He complained that previously getting new hardware wasn't a problem. Once IBM took over they had to go through IBM's bureaucratic procurement processes which took much longer. That inevitably led to scaling and stability issues.
A good one I saw recently was a text file that, even though it had a .csv file extension was actually using another character as a delimiter (in this case colons) but as it contained large amounts of textual data actually had a enough commas to be parsed as a CSV file.

VS Code and a suitable extension handled this rather better than Excel.
Dying to see HN readers commenting on this!
Single List of HOWTOS
For a very long time I joked that no self-respecting server had a VGA, keyboard or mouse ports. Serious metal should have serial ports for the operator console.

That didn't age too well...
I mean, how long does it take to convince yourself a function will halt vs how long does it take to use implement it with well-founded recursion, with comparable readability? Not that it's not possible, it's just more of a pain.
>Once you've verified that the API design works for the needs of both ends.

Which was easy to do in retrospect or half way through the task, but doing that verification step up front didn't work.
Ask HN: Do you get tired of using your personal laptop sometimes?
Do you guys also just get tired of using your personal laptop after x months and find your self just wanting to buy a different model or is it just me?
Developers rarely use notepad. Non technical users still have to edit csvs by hand, all over the world.
You still have to import the CSV though, so the problems are still there, you just don't have to deal with them after a successful import.
I don't think your first line is at all true.

Modifying Csvs with notepad is rife. I'd wager more than using any one particular code editor.
For a lot of people, meaningful space is a hard concept to
understand.

It's made worse by the number of applications where they will see spaces reformatted willy nilly (for instance web forms eating their line breaks.

From there explaining there are spaces and tabs, and that both can look the same on screen but they are different is just asking for trouble outside of our circles.
I'm working on an app that tracks errors in your applications. Currently, it supports NodeJS servers and JS frontends. It reports detailed information about the error like console logs, code snippets, stacktrace, occurrences with timestamps, previous user interactions and custom data. In addition, it allows you to track data about your websites visitors such as page views, unique visitors, sessions, time on page, referrers and device data. It's all done in a very transparent manner with as little data as possible. It's written in Go and React and is completely open-source and can easily hosted by yourself.

https://github.com/jz222/loggy
https://github.com/jz222/loggy-client
It's mostly that the kind of CPU work games are doing is quite hard to parallelise (physics simulations, NPC 'AI', loading and decompressing model data). It's a lot of fairly complex code and getting a synchronisation strategy which actually produces speedup is hard. And when it is done it's usually still limited to e.g. 1 thread doing physics, 1-2 threads doing rendering (it took a while for graphics APIs to support any kind of multi-threaded rendering), etc so it only scales to 3-4 cores max (and there are games which do this, so core count is not completely irrelevant).
What you're describing is basically a modern FPGA[1]. You can wire it up as you want at runtime, and they can contain specialized hardware like hardware multipliers and fast local memory to accelerate certain workloads.

[1]: https://en.wikipedia.org/wiki/Field-programmable_gate_array
Given that both the language and the forum are developed in tandem, and are linked to the degree that they ship together, it wouldn't be surprising that changes in Arc would be made specifically with the forum in mind.
Developers are by no means the only humans that use and/or edit CSV files.
Thanks for saving me a click. No desire to play "guess how many minutes I'll have to spend clicking sidewalks" today.
Thanks for the insightful and well thought out comment.
iOS Push Notifications with AWS Lambda
You can also use xsv for this kind of analysis of CSV files. Which is a unix-style tool designed for CSVs and with a proper CSV parser.

It's written in Rust so it's one binary - no runtime dependencies, and will happily chunk through multi-gigabyte files.

https://github.com/BurntSushi/xsv
https://github.com/Qu4tro/git-bookmark

A simple git subcommand to keep your browsing sessions together with whatever repository relates to the session.

It's kinda trivial, but learned a few different things, mostly about git and BATS.

For example:

git checkout --orphan

As its name suggests, creates a branch without a parent. Pretty trivial, but I hadn't encountered it before.

It's tested, CI integrated, already in use.
Wow, 1809 comments, that's amazing.

Anyway my quarantine side project has been my little SVG icon manager that let's you easily "batch" update color and size for icon sets and then drag, copy or export them to whichever format you want.

https://norde.io
I bet Honest Achmed will sign it in exchange of a couple used cars: https://bugzilla.mozilla.org/show_bug.cgi?id=647959
Sex work is ok if the situation isn't coercive. A situation where the only reasonably available alternative choices are homelessness or starvation is coercive. Sex work is fine but a system that provides it as "last ditch employment" or as a means of survival in absence of alternatives is no different than rape.
This applies to a lot more than sex work though :/
https://en.wikipedia.org/wiki/Crimea#Politics

Not sure how accurate it is though.
Maybe I'm missing something obvious but it seems surprising this argument would gain any traction. It's pretty thin...

Even before you get into debates between average and total utilitarianism, even for total/maximum utility, utilitarianism is predicated on the idea that all beings are equally considered, from which the supposed egalitarianism stems. The whole premise is that utility monsters don't exist.
I actually agree with you that the singular they should be used instead of any gendered pronoun, but I think your focus on only female pronouns is (very mildly and probably unintentionally) sexist, similar to how applying law enforcement unevenly can be racist.
> Sure they are. Merkel does whatever Trump tells her to.

Merkel does what the US tells her to do.

https://www.nytimes.com/2016/12/02/business/dealbook/china-a...

https://www.bloomberg.com/news/articles/2018-08-01/germany-s...

Go look up germany's problems with a major pipeline from russia because of american interests.

https://www.dw.com/en/the-unclear-future-of-nord-stream-2-ru...

Where american interests factor in, germany, japan and all the rest of our "allies" have to give way. Our troops aren't in germany, japan, etc just for show.

> I'll let the rest of your post speak for itself.

You mean the sourced factual debunking of your nonsense? Thanks for "letting it rest".

Everything you wrote has been proven wrong and yet you stubbornly keep coming back. At least you must be embarrassed considering your replies have been shorter and shorter. I won't waste any more time here, but if you are going to push an agenda, at least get the simple facts right. How about knowing what you are actually talking about before making such ridiculous comment?
Dating advice: if you habitually, unironically, and without good cause use any dating format but that which is mandated by ISO 8601 we cannot be friends, let alone more.

https://twitter.com/jwiechers/status/1205515440543424513
+ the thread
http://enwp.org/The_Diamond_Age#Proposed_television_adaptati...

I'm so sad Diamond Age never happened.
It's a Jerry Seinfeld bit.
Why Amazon’s hardware makes more sense than Google’s
Backup and Restore on NetBSD
Hydrogen... which can then be put back through a fuel cell to produce electrickery. The germans are looking at this. I believe.
Bypass the AndroidManifest
I tried several times but could never get through Diamond Age. Snow Crash is one of my all time favorites and Zodiac was stellar, but that one just never clicked for me.
Sid Meier's Colonization (1994) [twitter thread]
Setting Up GitHub Actions and Firebase Hosting
I think the main improvement of reddit over message boards was just the small but extremely useful concept of messages being ordered by votes in a tree format. Nostalgia aside, navigating a flat, chronologically ordered message board post is extremely frustrating once you've tried the better way.

To a lesser extent, the lack of friction caused by not having to register individually to each message board to stop lurking, and the lack of friction creating new communities also matter, but none of those improvements require a centralised site to exist - niche reddit communities should be relatively easy to move from the site if such tooling existed, much easier than moving people from social networks at least.
yeah you gotta pass

with open(...,newline='') as f:
That is actually a difficult question to answer properly. At a high level I have been following COVID-19 through many sources, primarily summaries on University of California Television and Ivor Cummins on YouTube and then going from there to reading the most notable studies. It is fairly basic, though. If you look at early data we were going from just a few cases to many quite quickly and it makes sense that extrapolation from the first small numbers ended up being off.
https://en.cppreference.com/w/cpp/algorithm/accumulate
Yes I agree, I have 4. It's been a real eye-opener to see, first hand, the poor quality of some lessons and curriculum, and in some cases even teachers.

OTOH many teachers have been exceptional despite the difficult circumstances, and have earned renewed/increased respect.

I can't offer a ideas at the moment, but I am also looking to perhaps take more control next year, as I'm sure are many others.
Maybe "Hackers & Painters: Big Ideas From The Computer Age" by Graham. As a bonus, some of the chapters are business-oriented.
Hi,

I am a big time movie buff and curious about how you tackle the recommender system problem. Especially about defining domain specific groupa. Is it hosted somewhere on the GitHub?

regards,
Choesang
Low signal strength for sure - all it says is "I know how to open Dev Tools." Rather than worry about trying to retain some value, I looks at these posts as an educational opportunity. They can encourage people who don't know how the web works to dig deeper, learn more.
Or they use Excel, which can introduce its own entertaining errors.

A few years back while working on something that unavoidably used large quantities of CSV data we would sternly warn people not to use Excel, but people still did it ("But I just looked at it!").
Socialism Works, but Doesn't Scale
A latex "preprocessor" that lets you use some markdown while writing latex (so that all sorts of \textit don't get in the way of your thoughts), and also allows pure markdown documents to be compiled into PDFs using latex.
I am from South America and I drink Ovomaltine every day. It has a lot less sugar than the local brands, which is a plus in my book. More actual taste than just sugary overload.
Even when using libraries to read CSV data the need for sanitization isn't uncommon. Sure there's RFC4180, but variations are common. Mysterious records that are out of sync are typical.

For my own sanity I like to verify that columns are of the right data type where possible.

That said, I still prefer CSV over heavier formats (XML,JSON) where the data conforms.
Not sure why this is being downvoted because it's a good point.

Ampere, Ampere Semiconductor and Ampere Computing are all registered trademarks of the computing company in the class NVidia would need, and they'd have a good case this this is causing confusion (they'd probably cite this thread).

It'll be interesting to see what happens.
Gitlab removes support for Windows batch files in Gitlab-CI
I hope they will work together with Code for Germany to multiply the impact: https://www.codefor.de/en/
I would love to know more about how to do this. I wonder if I can do something in my backyard, even.
It's what happens when DRY becomes dogma instead of a guideline...

This leads to debacles like the npm left-pad & kik affairs and other scary shit like https://github.com/parro-it/awesome-micro-npm-packages

Yeah - have fun maintaining dependencies when every other module depends on one-liners that can be pulled or broken at random...
I'm not sure if this unwarranted self promotion, but my company, 7billionideas has been working on this problem. We've created an online cross-curriculum facilitated course called HomeHack which helps kids aged 9-15 learn an entrepreneurial skillset.

https://7billionideas.com/homehack

Feedback welcomed!
Divergent locomotory strategies drive limb lengthening in theropod dinosaurs
> The community is heavily moderated and, while we do have liberty, we do not venerate free speech. There’s a great focus on civility.

If someone made a civil argument with citations, leading to a conclusion you find immoral, but you didn't have the expertise to find errors, would you delete it or leave it up?
Yes you are wrong.

Simply consider a diabetic and me; the utility of an external insulin supply to me is vanishingly small, yet its life or death to them.

Similarly, the graph of utility value vs amount of sugar will look very different for us.

I've used a diabetic because its an obvious and massive difference, but the cookie example applies too.

I like cookies, but my girlfriend likes them more. I dislike white chocolate cookies, and loves them. This is a common difference in utility.
> In general I think we should all be running every single app in their own VMs.

Qubes OS says hello.

https://www.qubes-os.org/
Why would you have to? Their devices work fine without any sort of account with them.
> But humans rarely use notepad these days. They use code editors like Coda or VSCode at the very least which have all kinds of advanced features. Surely, those can include support for ASCII separators?

I do a fair amount of work with companies that do "EDI" over CSV (or worse CSV-like - think 2 CSVs jammed together with different formats, no headers, no support for escaping or quoting) and fixed width documents. I can absolutely assure you that humans do open these files in notepad far more often than I'd like.

Often one of the main reasons they don't use things like X12, ASCII separators, etc. is because a "human needs to open it at some point" was a prevailing business decision some number of years ago (think "what happens if the IT system fails? how can we still ship stuff even in a complete emergency") and now it's baked into their documented process so deeply its like shouting into the wind to alter things. Third party warehouses are the worst at this.
No, we certainly can’t expect people to use the ASCII ‘Record separator’ character as a record separator, that would be madness!
At a former job we processed files, many CSV, from hundreds of different sources and I was in charge of cleaning up the code that did this once. There were a few tiny binaries without source called csv2tsv and csv2tsv2. No documentation of any kind of course.

csv2tsv just handled quoted fields and I was able to replace it with a few lines of Python without issue.

The csv2tsv2 program was used for CSV files from exactly one company. We couldn't ask them for technical assistance - it's likely their systems had been written years ago and running without updates since then - so I tried to figure out what the binary was doing. The input file had some null characters in it, but they seemed to be used inconsistently, and I was never able to figure out what that binary was supposed to do.

I left that binary alone and kept using it for a few years before a new guy joined and took over the system from me. I mentioned this weird old binary to him and over the course of a week he poked at it now and again before figuring out what it was doing. He used to work at a bank and realized it was using the same quoting method that some old data format they'd used there did - something about doubling characters and a few other tricks.

There's nothing simple someone won't make complicated.
Unlike PGP, this library is interfaced with a FFI interface or you can write your own lib without too much effort. PGP requires understanding it's stdio RPC format. That is the source of some issues related to malicious messages. And of course that PGP doesn't much care where it finds them.

The later very much depends on the email client but the former is less of an issue.

In a worst case using this, you'll be looking at a crash in your client. Code execution is an unlikely issue in Go. The lib doesn't care much about the inside format of the message so that should be a non-issue as well.

I think PGP just gave this sort of messaging format a bad rep because PGP has a bunch of issues related to "being able to cleanly decrypt and encrypt a message".
My consulting work is pretty quiet right now so I'm working lots on Trolley [1] - my payments tool.

Lots of people right now seem to be looking for new ways to get paid / make money / start little businesses from home, and being able to send quick payment links over social / SMS seems a common requirement.
(a 2nd / 3rd-order COVID effect I guess!)

Things are taking off for Trolley - acquiring 1-2 new customers a day right now :) Trolley is still just me, so I'm plenty busy!

[1] - https://trolley.link