skysight-inc/HackerNews huggingface dataset:
I used tagtime for a while a decade or so ago. I agree that the stochastic tracking is a lot better since you can't game it. I may try it again, so thanks for the reminder.

I've been a paid subscriber to http://rescuetime.com/ for almost a decade now. Passive tracking and analysis. But it is not much of a nudge to really focus on things. Thanks for the reminder.

I need to write up my Elasticsearch setup for indexing my health/rehab tracking data, but the code is here: https://github.com/gibrown/es-health-tracker and some of the older tracking I wrote about here: https://greg.blog/2018/06/15/relearning-to-walk-at-forty/
Agreed! Asking which language is "better" is a fool's errand. But talking about specific upsides, especially in comparison with other languages, is a useful reductivist tool in determining how we can improve the story for each language.
could you give an example of an "non-trivial" thing you're talking about (i.e a few lines of code)? And how you solve it with "Bokeh"?
I agree that matplotlib's functional interface is somewhat messy, but that is somewhat historical, and stems from wanting to mimic how matlab works. I personally find matplotlib's OO interface both very powerful, and somewhat intuitive, once one gets a hang of it, hence I'm curious of specific cases where it fails for you.
Ask HN: Smart housing solutions for refugee camps?
Winter is upon Greece and the Balkans, with many thousands of refugees, including children, exposed to freezing temperatures and lack of sanitation.

What are some cost-effective housing options for these people? It seems to me that we should be able to do much better than simply set up tents.

I believe IKEA had a "tiny house" concept, also with the purpose to serve as refugee / temporary housing.
Can you explain the scheduling part in a bit more detail?
> In Clojure, whenever you "append" to a vector (array) you get a "new" vector and the original does not change. Anyone with a reference to the original can always count on it being the same.

This has never made any sense to me. Can someone please explain why you would still want the original vector to continue to exist with data that no longer reflects the current system? What am I missing?
From Turing to Shannon
I’d say this is still the weakest part.
Great article.

I have been doing the same for the last two years or so. I use Qbserve [1], a native (privacy-focused) time tracker for macOS developed by a couple living in Chile. The application keeps all the information on my computer in an SQLite database, making it very easy to analyze. I regularly reference it during my quarterly performance reviews to justify ups-and-downs in my results.

I will use this article as inspiration for writing a blog post sometime.

Coincidentally, I also saw a Reddit post last night [2] with the original poster's data analysis of all their expenses recorded through 2020. I bookmarked it because I collected similar information during the previous three years to write another blog post. Unfortunately, I am still unsure how to write such an article without revealing too much personal information.

[1] https://qotoqot.com/qbserve/

[2] https://www.reddit.com/r/dataisbeautiful/comments/kp3fcn/a/
Definitely. If you're using Clojure on the JVM, you definitly should read up on Java exceptions even if the errors have improved already, as it'll help you debug things, but the default error messages in Clojure has improved since then. Same if you're dealing with ClojureScript, you'll need to understand JavaScript errors and stack traces then.

Probably a good starting point for people today is go straight for Babashka, easy to get started and fast: https://github.com/babashka/babashka
The funny thing is, on modern processors-- throttling TDP only affects when running flat out all-core workloads. A subset of cores can still boost aggressively, and you can run all-core max-boost for short intervals.

And the relationship between power and performance isn't linear as processor voltages climb trying to squeeze out the last bit of performance.

So if you want to take a 105W CPU and ask it to operate in a 65W envelope, you're not giving up even 1/3rd of peak performance, and much less than that of typical performance.
Not the OP. I found the Palatino ruins to be extremely impressive, and the Colosseum to be a "just a bunch of rubble". It's just not a good looking building, and the areas that are open don't let you see anything that I found particularly interesting. It's big, and well built, and it's interesting how similar it is to a modern day stadium. But it's just a stadium. Vising the Forum and the temples on the other hand has fascinating, and made think about how life in antiquity would have been.
As someone who tried out GHCJS, then Purescript, then Elm, then Clojurescript:

- GHCJS and purescript are powerful, but the learning experience might be steep[1]

- Elm is an excellent entrypoint into ML programming in the browser. Solid story for new users, and a great standard library for interactive web applications.

- ClojureScript differs from Elm in that it embraces its host, with all its power and all its wrinkles. Writing Elm is mostly a smooth experience. Read the guide[2], then you can actually build a web app.

I've spent the most time with Elm. Other people might have different experiences.

[1]: a few years since I tried, might be better now.
[2]: https://guide.elm-lang.org/
The same way you do it with everything else, export the telemetry and store it in time series...
Oh cool! Does it exceed 7tx/sec now? That's great news.
Don't have negative thoughts. Remember your mantra!
In this particular case 'it's' can also be possessive although it's considered non-standard, so to be correct you can always treat it like a contraction of 'it is'.
Great thanks!

[edit]

Looks like the calculation was revised [0] after criticism:

> Under these assumptions, you'll have to wait about 33 to 600 days to get a 96% chance of getting a bit error.

What's more worrying is the variance, the above calculation is based on expected well behaved DRAM.. yet some computers just seem to have manufacturing defects that make the incidence of errors high enough to be a regular problem.

[0] http://lambda-diode.com/opinion/ecc-memory-2
I'm not sure Clojure is _simpler_. I think Haskell may have more regularity and less variety in language constructs.

I won't dispute that it is more alien to most programmers, though, and that laziness and monadic IO require a bunch of work to get used to.
Hey everyone - less product updates this month as the team were mostly dealing with our Beta launch (which showed a lot of new traffic).

One interesting update this month - we shifted our databases and middleware to Graviton instances and saw an immediate 26% performance increase (also lower cost). If you are using Postgres + AWS, it's definitely worth considering.
BTW are mechanical imprinters which need the embossed numbers still supported by any banks? The last time I seen one was more than a decade ago. I actually love offline analog tech, it would seem cool to me if they are, but I doubt so.
Did you read the article? "I work less than I thought I did and that's ok"
I feel like people have been missing your idea due to the ‘rubble’ statement, which for some reason everyone is taking literally.

I agree with you. I happen to live in a country with castles here and there, and I would love for a more interactive experience when I go there.

Also, having visited Rome and the Colloseum multiple times, I’m always more impressed at other buildings or some hidden corner than by this particular attraction.

The Colloseum, reworked in its original spirit and form, used as an entertainment arena, would be heaps more entertaining than it is now.
From microops to abstract resources: constructing simpler CPU performance models
Where are all the lawyer jokes?
Well... hop in your time machine and set the date for 1970. Tell the designers of GPS that 15 minutes is too long, and you expect better from them.
Probably power, getting the data onto the FPGA, and utilising FPGA's being unlike software.

I definitely want one but any common task worth having on an FPGA is probably common enough to justify either a GPU or actual silicon.

Intel and AMD both have the IP to do it, and iPhones do have a Lattice chip on them apparently
About *!$% time! I was hoping Intel would do something like this when they acquired Altera a few years back. Does anyone know why Intel acquired Altera?
Do you want to support the musicians you love?
Here are my observations after doing clojure for a bit more than a year coming from doing js for two decades.

It’s fast, both clj and cljs but performance is non deterministic and as with most functional languages it can be hard to reason about performance. Profiling cljs is very hard

Coming from the js world I feel that tooling generally works. Especially when it comes to build systems. Very happy to not deal with webpack inconsistencies. With regards to ides there’s cursive for IntelliJ users, Calva for vscode.

I can’t comment that much on Java interop. Js interop is a mild inconvenience.

With regards to ecosystem, google ability is an issue but tempered by the simplicity of both clj and cljs.

About types, there are a class of bugs they will help to avoid. It does help with understanding intent of the code you work with. The drawback is that they help facilitate abstraction and does not help with reasoning that much about a program actually runs.

Yes cljs is a different language. But in practice it feels very much the same. I do however have a big issue with being able to push deterministic performance out of it. Keeping execution time for any frame below 16ms can be a challenge and for some type of front end stuff js is to be preferred

All of these things are quite insignificant on how fast a team can churn out good quality code using clojure. I’ve never seen any team that I’m with at the moment write correct, readable and fast code as quick.
Kord – A site to listen to your SoundCloud, Spotify and YouTube in one place
I think they have some kind of special optimized chip that can listen for only a specific phrase at very low power and wake the rest of the device when it hears it. It seems super unlikely that they can listen constantly to anything anyone says, pick out things that can be advertised for, and show ads for those things the next time the user browses without eating lots of power and data.
Over the years, I don't think I've ever been able to explain to anyone that their memory error could have been caused a cosmic ray without being laughed at.
Ask HN: What did you accomplish in 2020?
> People thought to be English meant you had to do certain things, believe certain authorities.

I'm curious to know if this is really true, or if that aspect of history was written and romanticised by the people with the power to do so, who benefited from that.

It strikes me that there was also a spirit of rebelliousness in the mid-20th century: unionisation and industrial action was also at its peak.
"With Starlink revenue, SpaceX will be able to do the work on life support systems and mission planning to enable a human mission by 2029. NASA could be involved as a partner, but SpaceX would tolerate zero government obstacles."

I still hope such a big step will be driven by democracy.
Its enough that graphs can show you solar weather.

I can't give my source, but its far higher than most people think. Just pay the money.
AMD purchasing Xilinx is a reaction to Intel purchasing Altera five years ago. Dr. Su might be a good CEO for other reasons, but this isn't something that illustrates brilliant strategy on her part.
Ironically the neural engine patent is literally the only public information on how it works I can find
Github link -

https://github.com/bundit/kord-app
I'm manually noting down durations in timedot format (https://hledger.org/hledger.html#timedot-format) in a text file.

For example, today's entry as of 18:32 is:

2021-01-03
leisure:anime .......................
leisure:social ..
sleep 6.5h
chores:foodprep .
chores:regular .
leisure:social ......
leisure:ttrpg:play ..........

Each dot is 15 minutes, so I'm missing a bit of time today. Oh well.

I think that having a timer app which lets me start / stop timers individually and give them names would be helpful. The one I'm currently using, on my phone, just has a single stopwatch.
Yeah, with Fidelity and Citi offering 2% back, it's hard to see how this card would have a bigger impact. I think the main difference is conspicuous virtuosity — every time you get the card out to pay, it shows everyone around you what a 'good person' you are.
The food is kinda resolved for no-so rich families with services like Hello Fresh, and so on. As you are just left with the Cooking bit, which is actually a bonding experience, as the little ones help with the meal.

And with cleaning, yes, that one is a chore.
I can remember visiting Egypt (many years ago) and being frustrated about how expensive the fees were for foreign tourists. Being from a third world country, and not having much personal wealth at that time, I was forced to skip the Tutankhamun exhibit in the Cairo museum—something that I regret even today.

Note: I was in Cairo as part of an official delegation (i.e., my country paid for my travel, and the sponsor organization in Egypt paid for my bed + board). At that time, I couldn't have afforded either.
"but scaling is harder without investors"

Walk before you can run. Forget about Scaling right now. Forget about it. Did I say forget about it yet ? Unless you have a past track record or a very rich dad/uncle. Even then, forget about it.

So yea, Bootstrap. It is easy these days to bootstrap a software company if you can code. Focus on getting your first 10 customers. Period. Do everything manually. Learn to sell. Don't automate. Learn from it and keep trying to figure out Product/Market Fit. Can you definitely answer what your Ideal Client Profile (ICP) is yet ? Once you have figured that out, you can then think about scaling. This generally doesn't happen until at least 10K MRR or more in my humble opinion.
Startups Going Public via SPACs Face Fewer Limits on Promoting Stock
Practically speaking, after the deposition of the last Western Emperor, Italy was still nominally part of the Eastern Roman Empire. The Eastern Roman Empire/Byzantine Empire did actually reconquer most of Italy from the Ostrogoths, but they didn't hold onto it for long, and much was reconquered by the Lombards, except for the Exarchate of Ravenna.

The collapse of Byzantine rule in Italy led the pope to ask the Carolingians for protection from the Lombards, and the pope got control of (most of) the ex-Exarchate of Ravenna in return, renamed the Papal States. The Republic of Venice gained independence from the Byzantine Empire at roughly the same time, and grew into one of the most dominant powers of the Middle Ages, eventually managing to conquer the Byzantine Empire in the Fourth Crusade. Other parts of Northern Italy also developed large, powerful merchant republic city-states throughout the Middle Ages: Amalfi, Genoa, Pisa, Ancona, Gaeta, Ragusa (although that was actually on what is now Croatian coastline).

I will point out that, throughout the Middle Ages, the largest, richest, and most powerful cities in Western Europe would have been these Italian city-states. They absolutely would have been able to fund that size of show--after all, these are the cities that patronized the arts and eventually the Italian Renaissance.
It will never be able to compete long term if, rather when state level decide to join the game.
docker daemon has a id remap option called userns-remap

https://www.objectif-libre.com/en/blog/2020/06/30/securiser-...
> really I had no idea this would bring me to negative points. Would love someone explaining what I’m missing in these downvotes.

I downvoted you and I'll give some insight as to why.

- "I’m hard pressed not to find anything modern that’s less impressive than the Colosseum". Yeah, if we judge the colosseum by today's standards, it's not impressive. What's impressive is that it is 2000 years old.

- "I’m interested in what you find so special about the bunch of rubble that warrants lack of intervention?" It isn't a pile of rubble. It's a full standing building in reasonable shape. There are plenty of piles of rubble that are 2000 years old and they simply don't get much attention, because they are piles of rubble.

- When you go to the colosseum, you get a sense of what life was like 2000 years ago in one of the greatest empires the world has ever known, and the one upon which Western Civilization is built. The historical value is probably more remarkable than the technical achievement.

- There are very few structures of this scale that are this old and in reasonable shape.

- I've been to the colosseum and it isn't even my favorite ancient building in Rome. That honor goes to the Pantheon, which I think is a far more impressive technical achievement. I've also been to Petra, the Pyramids, Hagia Sophia and the temples at Luxor and I personally like all of those better. But that doesn't make the colosseum bad or meaningless.

- The 15 floor office building in your neighborhood is unlikely to last 2000 years without much maintenance. It is certainly not a huge achievement for it's day. It probably has little cultural value compared to other buildings in your city.
And not follow them at all. Find them at the nearest bhel puri stand!
Greta Thunberg at 18: 'I'm not telling anyone what to do'
"I don’t need to fly to Thailand to be happy. I don’t need to buy clothes I don’t need, so I don’t see it as a sacrifice."
Why would you sync the VM image instead of doing a file level backup from within the VM? File-level backups lets you control include/exclude lists (no need to back up /var/tmp for example, or exclude *.dbf files as they should be backed up with an appropriate database plugin that does a hot base backup, then grabs transaction logs afterwards).
I wish they'd rather use python or Julia. GNU Octave is great. But as a clone of Matlab it's constraint by compatibility and doomed to always be second* and at worst an enabler for Matlab. I'd rather break the dominance that Matlab has in many fields and replace it with free software.

* There are a few aspects where it is better. For example I believe the variable editor introduced one or two releases ago is nicer as it allows inline evaluation.
I feel the same way, the most fun experience at the Colosseum was enjoying a glass of wine and a sandwich in a park nearby.

Rome on the other hand is an amazing city, one of the top in the world if not a bit crowded.
Well, thats true but its implied.

The entire syntax for Clojure fits in a single line. Its easier to learn and being as expressive as it is, the core idioms are quickly picked up as well.

So - You can get into it quickly, very quickly if you're already familiar with FP.

The brevity of the code means that you'll produce much more robust code, which takes up a lot less screen real-estate. This allows you to grasp the functionality of any code you read, very quickly and start working on the problem.

It'll go as fast as Java, but slower than C/Rust. For some performance oriented tasks, you'll have to put in more work than makes sense, to get the performance you want. But for 99% of the Apps that are being written, Clojure will perform just fine and you'll end up with better code.

Compared to Haskell or most other FPs (not F#) you get the added benefit of being on the JVM. Write once, run everywhere. Huge libs to do everything from 3d graphics to webserving.

In most cases, I use Clojure for the above reasons summed up in this one sentence: I makes me more effective than the alternative.

ps: Having enjoyed Lisps for 20 years or so, Ive never used Par-Edit :)
iOS and UX Designer Needed
We're seeking an iOS engineer as well as UX designer! Fully remote startup with a great culture, come join our team!
You probably need a special Kernal. I got it running with Manjaro. I ditched that, and went back to Windows due to it not having a suitable writing app like OneNote. I found a few apps, but they weren't very good, and the pen had input lag. Also ran into issues with the OSK not showing at the right times.

These limitations seem small, but are enough to degrade the experience.
Ah, that’s clearly a big issue. Never mind.
Xilinx already have ARM cores in their FPGAs so I wonder which way they'll go - I'd honestly prefer a neoverse core than an X86
> one won't be able to return/replace a CPU if it doesn't work with ECC memory

I don't know where you live, but around here, (if you buy new?), the vendor MUST take back items up to 15 days after they were delivered, for ANY reason.

So, as long as you synchronize your buying of CPU, RAM, (motherboard), you should be fine.
You can get quite close to "AST editing"-like experience if you just use the expand/shrink selection feature of a JetBrains IDE. It supports most mainstream languages.

You just select a syntactic unit with opt-up/down, then u either type over it, copy/cut/past or press left or right to go to the beginning or the end of the selection, hence using the selection as an intermediate step achieving AST-level navigation.

And of course you can teach Emacs to behave similarly, using the Expand Region (https://wikemacs.org/wiki/Expand_region) + some hacks, but I agree, that smartparens also solves this problem quite well.

UPDATE: also use avy-jump for emacs or acejump for intellij: https://plugins.jetbrains.com/plugin/7086-acejump
these in combination with expand/shrink-region operations are a significant productivity boost, which is easy to learn and teach.
I did. But it also mentions procrastination as a -4 point and sleep as a 0.

And my sentiment is also from reading some of the comments here. So many people obsessed with productivity.

Some have a clear reason to do so, but I fear many do it because of outside pressures, or never even thought about it.
The KLF reissue music for first time since 1992
You can now buy CueCats on Amazon Prime (2017)
To downvoters - I welcome your disapproval like Socrates welcomed his hemlock ;)

I claim that ethics if they exist must be universal.

If ethics are not universal, ie it is right to steal from some but not from others, you will never find a definition of ethics that can be agreed upon by more than 1 person, and their answer will change over time as they rise or sink in power position.

That definition of ethics taken to its logical conclusion is that might = right.

If might is right, then it is right for the strong race to genocide the weak, for the majority to tax the minority, for the master to keep the slave, for a man to rape a woman, and a parent to beat their child.

Opposed to that there are universal ethics - that one rule applies to many parties. For example, the difference in meaning between “receive gift” and “steal” is whether the action is universally ethical. Receiving a gift is voluntary for both parties, and a rule that allows it can thus be universally ethical.

Does this make sense? I can try to give other examples of how this principle makes sex ethical but rape not (do you dare to disagree?), self-defence ethical but assault not, and also how an insurance company collecting payment is ethical, but a government demanding tax is not.

Regarding the claim that even kids understand this: you are right that kids like adult try to get away with not acting according to universalist ethics. But if you speak to them and ask if they think it’s ok that someone takes their toy, they will say no. If you then ask them if it is ok for them to take someone else's toy, they will begrudgingly agree it isn’t. If you ask them what they would think if 5 kids voted and agreed you should give your toy away, they disagree.

Since universalist ethics are true, they intuitively make sense to us, and they also evidently produce the best societies - why comparatively universalist Christendom became the most free and developed place, why land-locked zero-resources relatively stateless Switzerland flourishes while the socialist resource-rich countries suffer in inefficiency and poverty for the masses, etc.