skysight-inc/HackerNews huggingface dataset:
I use Windows. I support Windows at work. I don't code. But I need to pick up one day where I left off the previous day like anybody else. My solution works on Windows, but should be easily portable to any other platform.

I have a batch file called remember.bat, stored in my %PATH% so I can call it from anywhere (I usually use the start menu run box). It simply ECHOes the time, date, and any command line arguments to a text file. Like this:

(First post. Sorry if the formatting breaks.) (edit: yeah, formatting broke.)

time /t >> %userprofile%\documents\notes.txt

date /t >> %userprofile%\documents\notes.txt

echo %* >> %userprofile%\documents\notes.txt

echo. >> %userprofile%\documents\notes.txt

exit

I also have a log viewer application called CMTrace.exe (from Windows SCCM) in my startup folder, pointing at that notes.txt file.

So when I log in to my computer, CMTrace tails the notes file, highlighting a bunch of key words in different colors to make severity more obvious.

When I need to add something to the list, I just start\run, type "remember whatever I need to remember" (without quotes) and the file is appended with:

06:47 AM
Thu 01/14/2021
whatever I need to remember

If you want to view it live, you can use anything that can tail a file instead of CMTrace if you don't have access to it. Otherwise it's available to refer to anytime with your text viewer of choice.

If I need to remove something from the notes, I can open it in Notepad++ or whatever and save it, but I find myself leaving everything there for future reference.

I realize the post starts with "When coding", but I imagine this could work there, and I know it works elsewhere, so I figured I'd share anyway.
Holding down a pedal probably is going to crash your car.
Sounds like my grandfather.
I just gave reduce as an example in my response without reading yours first. Can you explain why it would be more desirable to have it last in reduce? I have never felt this pain though, again, don't come from a functional background.
I might be the future customer they would want, if I were able to learn with no risk of costly errors what their platform can do and how to operate it.
> Yes. If they were as widely available, you would be able to know what you're buying, how much and hopefully how to apply it as safely as possible.

Knowing and doing are two different things. Yes, you'd get fewer accidental overdoses from people getting stronger stuff than they thought. But you'd get more (possibly a lot more) people overdosing from chasing a high despite having built a tolerance, or from doing crazy shit while high, and drug psychoses.

> Having drugs being illegal make them stronger, as they have to be transported in secret, and create derivative drugs to fill lower price ranges for long term addicts, such as crack and oxy.

And with full legalization, you'd have billions of advertizing dollars invested into marketing and research departments by companies trying to convince people to get high from their brand.

Remember, I am not arguing for the status quo or against some degree of decriminalization. I am arguing that the larger observed harm caused by alcohol is not useful evidence that illegal drugs are inherently less dangerous than alcohol.
Yes, they are both very entertaining characters, but their mysteries are very much tailored to their strengths. (Conan Doyle at least had Watson mention that there were many cases Holmes was not able to solve, but of course they were not worth documenting - Brown is nigh infallible).

The Father Brown stories can have some very amusing insights about human nature, though it seems that while one might be able to have a stab at employing Holmes' method one would have little chance of ever learning Brown's (which was basically to put yourself so firmly into the mind of the perpetrator as to make the solution obvious).
Author here, self-posted. Please use this thread to ask me anything directly.
> Kishi cautioned that the process of categorizing demonstrations as peaceful did not take into account whether demonstrators who engaged in violence or property damage were responding to aggressive or violent behavior from the police

To some extent I agree that this is an interesting detail that should be considered, but I don't think it would make a difference. Facing police brutality does not justify setting fire to private property.
For anyone wondering if the Idris book works with v2, I found this [0]. Some code examples in the book need adjustment to work in Idris 2. The Book is great fun.

https://idris2.readthedocs.io/en/latest/typedd/typedd.html#t...
Interesting, while listening it sounded to me like the accent in François Truffaut's films. Then I realized that those films are closer to that recording than current times! (The 400 Blows is from 1959)
The guy in the first picture doesn't look too fit considering he spends $31,000 a year for a set of exercises you can get for free from a million fitness websites. Also, what qualifies someone as "an age management doctor"? What is even that!?
Tabs Are Evil
I think two different memory things are being talked about:

1. There is an idea that M1 has RAM that is vastly higher bandwidth than intel/amd machines. In reality it is the same laptop ddr ram that other machines have, though at a very high clock rate. Not higher than the best intel laptops though. So the bandwidth is not any more amazing than a top end Intel laptop, and latency is no different.

2. But in this case I believe they are talking about the CPU and GPU both being able to freely access the same ram, as compared to a setup where you have a discrete GPU with it's own ram, where data must first be copied to the GPU ram for the GPU to do something with it. In some workloads this can be an inferior approach, in others it can be superior, as the GPU's ram is faster. The M1 model again isn't unique, as its similar to how game consoles work, I believe.
DNS.
For all we know they could call a gaming desktop or NAS a 'server', or a switch or a router.
It costs more upfront, but it's worth it because I don't have to spend my time investigating why it's not working.

Also, when comparing costs you should take into account things like enclosure, power supply, as card(s) etc.

I'd say I probably paid around $250 or so for the NUC and a SODIMM and I had a SATA boot disk already. I had previously owned ODROID, libre computer (le potato), and Pi(s). These were probably in the ballpark of $80-$120 each, when including all the necessary equipment.
Good to see Twitter condemning internet shutdowns!

"Ahead of the Ugandan eleection, we're hearing reports
that Internet service providers are being ordered to block s
social media and messaging apps. We strong condemn internet shutdowns - they are hugely harmful, violate basic human rights and the principles
of the #OpenInternet"

As reproduced on
https://philip.greenspun.com/blog/2021/01/12/mlk-was-right-a...
I suppose accents are changing rapidly everywhere. We recently found a recording of my parents talking to me as a baby in the late 1970s. They both sounded like the actors from "The Good Life".

The question is - is it happening more quickly than before. Almost certainly, I'd say, if you listen to examples of London accents across the centuries like these:

https://www.youtube.com/watch?v=3lXv3Tt4x20
This is how, at age 12 or so, I discovered in the old Windows game “Chip’s Challenge” that you could cheat and unlock (nearly all) levels.

If you tried ctrl+n (I think), you could advance to the next level, but only if you had beaten the current level or had the pass code for the level. In a bout of frustration, I rando-mashed the keyboard and advanced to the next level, and could then ctrl+n to the last level! I could reproduce the effect, but never worked out the actual combination that unlocked it. Good times :)
I don't know if I would call that art, if we're talking about the traditional Parisian accent that is linked here (a popular accent, mostly used by lower classes). Today it sounds rather uneducated, and although it is easier to understand than many other local French accents, it doesn't sound especially clearer than modern speech.

Although it might sound clearer to English speakers because it features more word-level stress while standard French doesn't really have it (but this has not been lost recently).
Show HN: Create and Share stunning images of source code (CodeKeep Shots)
I don't think I am able to make this judgement but I can talk about what happened after hunter gatherer tribes disappeared.

If you are a hunter gatherer you just need a good hunt every now and then. There is no pressure to perform work all day if you get enough food.

This is different if you are a farmer. Farming is highly labor intensive. There is so much work to do that you are never done. You will have to repeat the same motions every single day. Swing the same tools the exact same way. People are tied to their land and it is possible to conquer the land violently. You are dependent on a military force which implies that a local ruler must collect taxes to pay the soldiers. That ruler also has power over you which can easily be abused.

Democracy is definitively fairer than having an authoritarian ruler but it can be subject to tyranny of the majority or the minority and still cause failure in leadership.
Kinda like inciting riots...
That's hilarious. Some trumpian complaining about furniture in offices while people are homeless on the streets

https://www.tommycarstensen.com/terrorism/pQf5uxtLtxH5.mp4

Neglating to remember his president has been in charge for 4 years

The guy coughing at 1m34 too!

Rioter 1: "They just hit that dude"

Rioter 2: "Yeah because he was being a prick"

https://www.tommycarstensen.com/terrorism/4wIDySD7tKxo.mp4

18 seconds

Woman takes of mask to tell camera "It's amazing". Cameraman says "put your mask on I don't want anyone to see you"
> misinformation is itself an assault on free speech.

Misinformation is a type of free speech. Whether purposeful (medical experts lying as to whether we should wear masks) or accidental (weather forecasting,) misinformation is merely a facet of freedom, to use wisely or not. Some instances are made illegal (e.g. in a stock exchange,) whereas most instances are seen as harmless (Santa Claus) or used to prevent greater harm (this shot will only hurt a little, Louise.) What's healthy is to reserve a bit of skepticism towards the information you get till you can confirm it is 'truthful' or not.
I worked at one company, it hired contractors long term (I knew a guy that was there for 5 years) and then company wanted to optimize an go public (IPO).

They let go of almost all contractors on one day.

This happens because most contracts (actually all that I know of) are hired by a intermediary company (think Luxoft etc.) that hires those people. And those people are viewed not as a permanent cost for the company, they are treated (by the stock market or financial institutions) as a short-term cost (like "leasing", not sure if that the same name in English) you can stop buying the service right away.
And if company wants to look "fit", it cuts the "fat" (reduces the costs, but keeps the profits), and employees (both contract and job type) are a cost, the "job type" one have additional cost when firing (severance package) but contractual ones don't. So they are the easiest ones to let go in the process of "cutting the fat".

(And some of those contractors were later rehired as normal employees, after IPO).
> giving special care to security

> ignores the second free silently
Buy two. One for the passenger is helpful. Back seat is kind of an iffy proposition.
I would suggest that it is possible that some drugs are worse than others. That perhaps caffeine should be freely available but meth should be regulated or outlawed, for instance.

I do not KNOW this to be the correct I am simply asking you to consider that it could be the case that some drugs are more dangerous to people/society than others.

I do however agree that alcohol is likely extremely bad for people/societies but its sort of a cat that can't be put back in the bag as the USA showed. It escaped thousands of years ago.
I find it terrifying that defending the truth always hits massive friction, whereas flooding all places with nonsense is barely an inconvenience.

The whole point of protecting what we _know_ is true now, is that if we don't scholars in 100 years will not be able to discern fact from fiction because there will be more fake versions of history than any true records. At best we'll be able to say "we don't know".

You see this all the time when discussing with, say, antivaxxers when a sufficient argument for them is to say "I read an article somewhere where a doctor said..." but when you try to raise your argument they suddenly need a whole lot of undeniable evidence + an ELI5 explanation of all biology.

Maybe it's a slippery slope when platforms start arbitrating the truth, but at the same time not doing anything or doing little is a free fall and we are already in it.
we are starting to get data on that for weed as it is legalized across the usa
Author here:

We created codekeep , (google keep for code snippets) to organize and share code snippets.

Our screenshot tool provides additional functionalities and predefined templates, which allows users to share stunning images and by saving them on codekeep , users can link to those screenshot, where users can select the code and copy it as needed.

You can add emojis, custom images, place logos of your favourite programming language or service, add twitter/facbook instagram handles, custom background.

Apart from the screenshot module, codekeep allows you to store and share code snippets, most of the ui is inspired from google keep and i have added more features on top of that, we named it codekeep (google keep for code snippets).

do checkout and let us know your thought :-)
Well... I have seen all the protests and riots... which the left loves to riot, burn and smash everything.

I guess this is why.
I had the same experience. My M1 system does well on smaller models compared to a NVidia 1070 with 10GB of memory. My MacBook Pro only has 8GB total memory. Large models run slowly.

I found setting up Apple’s M1 fork of TensorFlow to be fairly easy, BTW.

I am writing a new book on using Swift for AI applications, motivated by the “niceness” of the Swift language and Apple’s CoreML libraries.
> show a clear disparity in how agencies have responded to the historic wave of Black Lives Matter protests against police violence, compared with demonstrations organized by Trump supporters.

Were those demonstrations also against the police?
People who say “yes that’s nice, but isn’t it still super expensive to lift all that material into orbit?” should consider that space based resources alter that equation drastically.

First in space based, low cost sources of raw materials are near earth asteroids and asteroids that cross our orbital plane. Second is the moon and it shallow gravity well, much lower energy required to reach orbit from the surface of the moon than from the surface of the earth. Similarly, Mars has a much lower gravity than earth. Then we have the asteroid belt and outer planets and their moons.

I believe it is evident that once a basic level of resource extraction AND production are available ON orbit, it will be game over and vast fortunes will be made.

The question for anyone with an entrepreneurial bent well be; how to contribute?
Packt books are on worse than those of say O'Reilly. $5 is low, but how do you determine which ones are worth your time? Many Packt books have few Amazon reviews.
Because it's not the building the houses that's the tricky part, that is easy, it's the land that's expensive and difficult to obtain. That's what's appreciating since it's a finite amount, not the walls and roof sitting on it.
You're probably still not that customer. You're still concerned about your own money, vs spending employers' money.
Microsoft president Brad Smith: SolarWinds attack violated “norms and rules”
> anonymous SIM cards

Are anonymous SIM cards illegal in Germany? There are definitely some EU countries where you can buy a prepaid SIM card in a newspaper stand without presenting any ID and it is 100% legal.
> For instance, the fire in a crowded theatre-argument has no meaning in that reference, for it is not an opinion; whether there be fire is a fact.

Okay, but how do we determine fact (i.e. positive descriptive statements about the natural world that are true [1])?

In science we can define repeatable experiments, and we can them use them to test hypothesis, but such experiments cannot say if our hypothesis is true, just if it is not false.

But outside of the realm of science we are much more limited. Take for example terrorist incidents, with this things are significantly different, because these are not things we can test by repeatable experiment as we can in science.

For another example, no experiment is available to me to check whether or not Lukashenko rigged the election of Belarus in 2020. I suspect he did, but I don't know. It is a matter of fact though, so can I now no longer say I expect he did? What if I find evidence, can I then say he did?

Take also a murder trial, does a conviction mean someone did it? Does an acquittal mean that someone did not do it? I mean if you truly believe so then how do you explain wrongful convictions and acquittals?

Should we eliminate courts as they make claims of facts with no ability to guarantee their correctness?

What if some witness was mistaken? Should they be convicted? Should incorrect statements about matters of fact be crimes? And if so how do we judge them? Can't use courts, because courts can make mistakes.

Libel and fraud are already crimes, both in US and most of the western world, but I think restricting freedom of speech to exclude statements about fact is a misunderstanding of reality.

No person is an oracle, no person has a monopoly on truth or fact, just because someone says something, does not make it so.

[1]: https://en.wikipedia.org/wiki/Positive_statement
[2]: https://en.wikipedia.org/wiki/Falsifiability
This is fascinating, thanks. Very good for soaking up low level concepts
New App: Stop the Mac App Store
"Have you ever been annoyed that Mac App Store pages in Safari automatically open App Store app? Would you like to stop that from happening? Good news, now you can! I've just released a free open source Mac app called Stop The Mac App Store that allows you to stop Safari (and Safari Technology Preview) from opening the App Store app."
Korean Cat Cafes
Other examples as in other than the Holocaust
Thank you very much. I'll try to setup it using additional user as you explained.

Is it possible to make sure that encryption key only available using this "unlock" user passphrase?
Perhaps someone can convince him to invest in the development of decentralized software? :)
For anyone stumbling upon this thread now, Unclack now supports macOS Catalina! I pushed an update today that is available from the landing page. Check it out! Thanks again for your support of Unclack!
I'm a Nigerian prince with tons of bitcoin, but I need to pay someone to recover my wallet. Please send me .01 bitcoin so I can pay them to do it and you will be rewarded.
Yes, but much is created by bad actors knowingly spreading misinformation so it will go viral. I do not fault those who do not know better but I fault those who do or should by the result of their position. All leaders and candidates have an obligation to check there information. All purported news agencies or pundits as well. There is a different burden depending on audience an reasonable affect.
I find interesting the point that no contradiction of a statement is considered as a validation.

I think is also interesting the fact, which was not so much explored in the article, that the population of any online community is created by a higher ratio of "readers" than active users. For instance, I'm sure my message will get more votes than answers and many more views than votes :)

How does this affect to the belief system?
Rebuilding James Bond's Apple IIc – A Software Forgery
A recreation of Stacey's Apple IIc program from the 1985 James Bond film A View To A Kill. Written in Applesoft Basic for the Apple II. Video available: https://www.youtube.com/watch?v=YGVfwEEjRfs
> Pension? Parental leave? Medical costs?

All of the above are codified in law.

Whenever a (large) company has their own internal programs (for higher pension, additional coverage) the values are proportional to your income.

This "makes sense" given the separation of concerns: one dept appraises your performance and indicates salary adjustments. Another dept is responsible for providing additional benefits/perks to all employees (based on their salaries). Each dept gets to focus on their core competence.

> What about time off?

Much more flexibility (in terms of work schedule, work load, commitment) is afforded to those above than those whose work is depended on. Whenever managers travel around the world for worldwide management conferences in e.g. Thailand they can spend their vacation days there (i.e. the company is flexible with the bookings).

This "makes sense" because it is far easier to be flexible towards those whose work is on the move and abstract, as opposed to work done exclusively in a fixed location (eg factory worker). Knowledge workers are in a weird spot (because their work is super abstract but done from a cubicle/home) but have been lumped into the latter category because "they aren't managers".

> I work in a European company

Me too. I have (physically) worked in DE, PL, PT. And have worked for even more countries -- and I stand by my generalization. The exception to the rule will be small companies, but organizational culture in those will always be different due to the lack of size.

Moreover, the bigger the company the more extreme that equivalence is.

Now onto specifics that I have observed over my 20+ years:

> Way of life

Oh yes, I love being micro-managed by a manager with PhD with 2 years of "work" experience.

> weekends are usually off limits

Except when managers make commitments without bothering to check what the actual effort is (because it was in their personal interest to say yes to things), ultimately putting you into a lovely position. Say no and be punished during your appraisal, say yes and work weekends.

> you don't have to own a car and waste hours in traffic depending on where you live

Managers received that perk long before knowledge workers did.
Yep. Probably the recent WhatsApp hype was overblown, and the situation after 08-02-2021 will not be so different from the situation now.

But that situation is still that WhatsApp profits, and is produced and maintained by, one of the most morally bankrupt companies on earth.

So to ditch it is still a good thing.
Jquery isn't going anywhere. It might take a few weeks to get a JNR dev up to speed with native dom apis. It'll take a few hours for them to grasp jquery and begin writing working spaghetti in no time at all.

> Loading the entirety of jQuery just to access some of the remaining features just means you're loading JavaScript that you aren't going to use

Isn't this the penalty for every single library we use. At most we can use about 20% and the rest is just out taking space.