skysight-inc/HackerNews huggingface dataset:
Unfortunately, it's how humans work. As a species, we did not progress beyond the Middle Ages. Our tech did, but we didn't. Still the same tribalism as before.

When we plunder the other village, take their crop and their wives, it's to bring justice to the world. When they come to us, take our crop and our wives, they are evil aggressors.

Nothing has changed, and probably will not change anytime soon. Thousands of years of evolution are still stronger than whatever thin layer of civilization we try to put on top.
Ah, I'd misremembered.

> The new Marker and Marker Plus have been designed specifically to work in conjunction with reMarkable 2’s second-generation CANVAS display. We can therefore not guarantee an optimal experience if used with the reMarkable 1.

https://support.remarkable.com/s/article/Markers-and-Marker-...
Thank you for this. I have dropped a backlink for learners to find the article on exams.wiki/bash-linkedin/, and for myself to learn. I have also just started "Command Line Fundamentals" (Packt Publishing) to work through the theory and examples.
Yeah, the Assistance and Access Act (2018) passed and is still the law of the land. It gave law enforcement, intelligence and the government the ability to compel Australian providers to backdoor their services. Can't tell you how often it's been invoked since it also allows for gag orders.

Probably only 1 out of 10 Aussies would have even heard of it. The mainstream media here are about half a dozen ideologically aligned corporations who are not the type to ask hard questions, and the average Australian is focused only on their wealth, their family or their recreation.
Activebooks is an cloud-based accounting software with ERP features at the cost of an accounting software, focused on small and medium business owners
Except Go certainly is never getting another major version, I am waiting for Go 1.10000.0, given how decisions are made on the ecosystem.
No premature optimization. Don't wrap code in complex patterns unless you're sure you're gonna need it within the next hour.

E.g. if you're building some kind of file system access and know you want different "drivers" (e.g. local, Dropbox, Google Drive), using an adapter pattern is fine. If you just need local access right now, don't waste your time. Refactor later if needed.
The pattern almost appears if choices are made to fabricate some truth in the stories that can be told.
> What if Tesla are safer than a regular driver? What if they actually saved lives? There is plenty of video evidence of that

"video evidence" is not the kind of evidence which can demonstrate that. The kind of evidence which could demonstrate that Teslas are safer than a regular driver would be statistics. Statistics which by the way is available to Tesla, and they could let researchers scrutinise if they choose to do so.
(Column|Row) Vectors and matrices are abstractions, and having abstractions that are always the same API in all of programming (not just OpenGL) would be nice.

Of course making them again and again different and dumb is easier. So we got a lot of programs with weird arrays with no information on what matrix is what style. And thus readers get confused because half the information is missing in the source code! That makes things needlessly obtuse.

But let's say one would try to make the API for column vectors (resp row vectors resp matrices) always the same (OpenGL or not), then it's important to look at bigger matrices. Otherwise you wouldn't care about storage layout at all and that's gonna come back to bite you in the ass (several orders of magnitude slower than possible).

>But when you define a matrix in most programming languages you can only really write it like this:

mat = [
[1,2,3],
[4,5,6],
[7,8,9]
]

I wouldn't repurpose arrays like that.
Tables like this routinely lead to over-conclusion. Merely adding -d:lto (which changes no semantics) to the nimble build line boosts fps by 1.27x for me on nim-devel gcc-12 Skylake, making it 1.4x faster than the Rust on the same machine.

Applying BS scaling to the above table, Nim would score 1736, only slightly faster than the Rust. Who knows what little flag tweaks in cpp/rs/zig could similarly re-arrange the numbers?

Now, why is -d:lto (or -d:release) not the default build mode? Well, because it takes time and (some) people already complain about compile times and workflow (sometimes). Trade offs abound almost as much as over-conclusion. ;-)
> we aren't getting smarter with each generation. We have less brain matter than humans who lived millions of years ago on average

The amount of brain matter does not say all that much about the level of intelligence. Some kinds of birds are as intelligent as 7 year old children, and that's not something you'd guess from the size of their brains.
>We all know someone like that

i don't. why do blog autors keep making statements like this?
Nice work - i got a positive experience being able to type in location, stock, reddits and getting something back quickly. This could make a good homescreen for a device mounted on a wall in your home perhaps from a repurposed e-reader.
I was outsourced. Can former co-worker keep requesting passwords?
Iberico ham is quite fascinating (and tasty). Interesting mandates.

https://en.m.wikipedia.org/wiki/Jam%C3%B3n_ib%C3%A9rico
What I came here to say.
That was my homepage for many years too. The most prominent feature was a running sticky note. Don't really miss it anymore though; I've gotten used to using pinned tabs and bookmarks for anything I need access to regularly. (And a more fleshed-out note taking system.)
> I sometimes have to remind myself that being super into football, nascar, or the bachelorette is just as admirable as being into my things.

I would add music you don't like (ex: autotuned rap), "commercial" or "popular" everything (ex: Bud light), and sexual kinks (ex: pet play) to this list.

If you peek a little, you may find even find these topics to be surprisingly deep. Maybe even deeper than the things you like. Or maybe not, but don't dismiss them because they don't fit your preconceived ideas.
I have 4xRaspberry Pi 4 8 GB for sale from Sweden if you’re interested in buying!
OCaml is another example of fast compilation and static typing.
The Australian one (1194) got shut down a while ago too but someone kept it going online. I'm pretty sure that's the original guy's voice

https://1194online.com/
Perl is a great fit. awk, sed, grep, xargs. Expect, occasionally.
Python is too fanatically anti-fp and with indentation.
JavaScript is too janky.
This is perhaps doable in a very early stages where the team is just a few people and there's little tickets and customers, and perhaps the customers are also tech ppl/early adopters, so they'll appreciate talking to someone who knows all the details - but as soon as you grow a bit this becomes just unsustainable.

First, engineers cost a lot of money. IME 90% of support tickets quickly boil down to a few same questions repeated over and over, and with a proper knowledge base in place anyone can answer them. You certainly don't want to pay engineers to do it. Second engineers hate dealing with customers because most of those problems are stupid and repetitive. You'll be both loosing money and employees. If there's an unknown issue, then escalate it to the engineers, but let someone less skillful/easier to replace do the triage first.

That said, you definitely want your support to have technical/domain skills, because nothing is worse for a customer than realizing that you talk to a person who knows less about the app than yourself, and keeps sending you back the predefined template answers, just wasting your time. I left more than one SaaS because of such (lack of real) support. So put your interns/juniors there for onboarding. They'll learn a lot about the app, customers will get good support, win-win.
Cookie pop-ups are incredibly annoying and greatly harm the usability of the web.

Either GDPR should be updated to ban consent pop-ups and simply make “REJECT” the default everywhere, or the consent UI should be moved to the browser where defaults (accept/reject/ask) can be set for all websites.
Svalbard: The race to save the fastest-warming place on Earth
And there was always something ironic about using it to remove it's own protection - with a shout-out to +fravia (RIP).
Petrol pumps know when to turn themselves off
My layman's understanding of the GDPR was that it was the primary website (i.e. the website you are actually and intentionally visiting) that could store your data on the basis of a legitimate business interest -- for example because they need that information to deliver some stuff you ordered from them.

However someone seems to have found a legal loophole whereby third parties ostensibly are able to track you on the grounds that their business is tracking, and they therefore have a legitimate interest in tracking you.

Hopefully this loophole is eventually struck down in some French or German court, and the GDPR will one day be applied as intended. Tracking is not, and will never be, a legitimate business.
Yeah, you can actually indent it with <<- so it doesn't look so ugly.

That said, I like doing the usage like so for short scripts:

#!/bin/sh
#
# Sleep until a specific time. This takes a time in 24-hour clock format and
# sleeps until the next instance of this time is reached.
#
# % sleep-until 15:30:45
# % sleep-until 15:30 # Until 15:30:00
# % sleep-until 15 # Until 15:00:00
#
# Or to sleep until a specific date:
#
# % sleep-until 2023-01-01T15:00:00
#
# Or space instead of T; can abbreviate time like above.
echo " $@" | grep -q -- ' -h' && { sed '1,2d; /^[^#]/q; s/^# \?//;' "$0" | sed '$d'; exit 0; } # Show docs

That will re-use the comment as the help:

% sleep-until -h
Sleep until a specific time. This takes a time in 24-hour clock format and
sleeps until the next instance of this time is reached.
…

It's a bit of a byzantine incarnation, but I just copy it from one script to the next, it saves a bit of plumbing, and generally looks pretty nice IMO.

I'm not 100% sure if I thought of this myself or if it's something I once saw somewhere.
I agree with basically all of this. A few more:

The order of commandline args shouldn't matter.

Env vars are better at passing key/value inputs than commandline arguments are.

Process-substitution can often be used to avoid intermediate files, e.g. `diff some-file <(some command)` rather than `some command > temp; diff some-file temp`

If you're making intermediate files, make a temp dir and `cd` into that

- Delete temp dirs using an exit trap (more reliable than e.g. putting it at the end of the script)

- It may be useful to copy `$PWD` into a variable before changing directory

Be aware of subshells and scope. For example, if we pipe into a loop, the loop is running in a sub-shell, and hence its state will be discarded afterwards:

LINE_COUNT=0
some command | while read -r X
do
# This runs in a sub-shell; it inherits the initial LINE_COUNT from the parent,
# but any mutations are limited to the sub-shell, will be discarded
(( LINE_COUNT++ ))
done
echo "$LINE_COUNT" # This will echo '0', since the incremented version was discarded

Process-substitution can help with this, e.g.

LINE_COUNT=0
while read -r X
do
# This runs in the main shell; its increments will remain afterwards
(( LINE_COUNT++ ))
done < <(some command)
echo "$LINE_COUNT" # This will echo the number of lines outputted by 'some command'
And, if we’re being honest, makes Perl an even better fit.

https://stackoverflow.blog/2022/07/06/why-perl-is-still-rele...

https://stackoverflow.blog/2022/09/08/this-is-not-your-grand...
Sort by lowest start, merge left when they overlap. Emit current span if not. Repeat.
Like it or not, they're pitching it as an appliance to replace a notepad. I think the marketing is quite clever, and I applaud their focus.

But it does mean that they deliberately exclude bells and whistles that you would expect from a general-purpose software device. Though IMHO with every added feature, they are scope-creeping away from the spartan value prop.

FWIW the USB exposes it over a virtual network which lets you do fun stuff like SSH. But that's for fun, not serious.
After reading the title I thought that this would be an article about a programming language named I, in the style of B, C, D, J, K, et cetera. "Part I" would be much clearer.
You wouldn't drive all that way just for the timezone, but tourists already driving across/around Australia would probably stop just to say they have experienced the odd timezone. My take is that it's part of a bigger picture of having an aura of "oddness", as being independent is part of the outback mythology.
> As for Clear, all it does it move you to a shorter line.

Which means people not paying a private company are getting delayed.
That approach is called "arranged marriage"; it is common and has statistically better outcomes than the other way.
I don't agree to part of your argument.. Assuming that Dyson theory is right, we should be able to observe megastructures if out there there are supremely advanced civilizations. And to date we couldn't see any. And it seems that

However, i agree that we can't communicate with primitive species, but it should be possible with more advanced ones that must have rely on electromagnetic signals. With that said, the problem I see is that our sphere of visibility is at most few tens of light years in radius and that assumes that the weak electromagnetic waves are noticeable at such distances even by advance technologies.
I agree that hoisting these onto an existing language, especially such a "mutable" one as Javascript is difficult and introduces unfortunate complexity.

The intuition (and perhaps hope) that Javascript already has such a large install base and that, once the changes are available in all major browsers, a cultural change is possible through it seems to be the main motivator for them to focus on this language.

Even if the syntax of the language cannot be adapted to it, and people won't create constructs themselves with these primitives, there may be a chance that programmers who do not know the fundamental concepts of the theory can still enjoy its security properties by using third party libraries (heh) like SES that provide higher level primitives, e.g. to isolate other imported libraries.

I'm still skeptical myself if the focus on Javascript is the right approach, but i'd prefer their intuition to be right on this. Creating a new language will always be cleaner, but adoption is where E failed.
So you foresee the collapse of swaths of large corporations? Or what happens when this bubble bursts
One of the things that made F# "click" for me was Wlaschin's "Domain Modeling Made Functional". It's largely a focus on how to think about the underlying data, and getting in that mindset helped tremendously in feeling more comfortable with F#.
Arrays are useful for arguments, e.g.

FOO_ARGS=(
# Some explanatory comment
--my-arg 'some value'
# More comments
some other args
#...
)
myCondition && FOO_ARGS+=(some conditional args)
foo "${FOO_ARGS[@]}"
I've always had good results following "Unofficial Bash Strict Mode": http://redsymbol.net/articles/unofficial-bash-strict-mode/
Apparently "the certificate is only valid for the following names: *.github.com, github.com" so this is likely a "github pages" page hiding behind a proper domain name.
This isn't a place for venting your frustrations.
IANAL and all that.

This is the most vague part of the law because the law couldn't just forbid everything and then run into issues.

For example, to run a business a merchant doesn't need anything more from you beside you name and address (and login info if they need to show you your order history). They don't need to ask you for your consent to collect this info because this info is required for their service to operate.

However, they also want to run fraud protection. So they need to collect more data (e.g. your birth date, your IP address, perhaps other data). They have a legitimate reason to collect this data even if this data is not strictly required.

As with any vague parts this "legitimate" part is now abused by the ad industry.
AWS S3 has been the best in my experience, if you can afford the egress fees.
I thought the same about my passion for Lego-style construction toys. Then, as a 25-year-old, I had to build something out of cardboard with people about the same age. It was really surprising to see that they had no intuitive understanding at all of trivial things like "which side do I start from" or "this thing is wobbling and needs a little reinforcement at the corner" (I am not talking about "complicated" things like gears and robots etc.). So, who knows what you learned from those games?
Thanks for the input, I was not sure about the 「大きい」either, it is better to remove it. However, for doushi, there is another noun「同志」. Is「同志」a suffix too?
A software engineer who makes $100,000 a year, working 40 hours a week, for 52 weeks, makes about $50/hour.

If this person is spending 2 hours of their time each month maintaining this website (which they gain nothing out of) that's $100/month.
Do you know Dangerous Cargo Handling is a serious business, and your success depends on your knowledge of the regulations and protocols that govern it. That’s why you need DGM Florida as your go-to resource for in-depth training and expertise. With decades of experience in this arena, DGM Florida is the most reliable dangerous goods service provider group in the industry, as well as the proactive and proficient advisers your business needs to remain safe, compliant, and successful.
For anyone who debugged Automake scripts this gives PTSD flashbacks
I'm always impressed by these reports...

I do wonder about their impartiality though - there are a lot of people who could stand to gain if they could influence these numbers.
The state school I attended required ID to enter every building. The library may have been an exception, I don't recall.
This talk by professor Jeffrey Sachs at the Athens Democracy Forum couldn't be more timely. https://youtu.be/Ec2E4k1K52E

Different countries have long, deep-rooted political cultures that go back centuries. "Democracy vs authoritarianism" is the wrong lens: different systems are complex and cannot be ranked on an easy scale like we want them to.
Independent is orthogonal to whether its members match any particular political party provenance.

In fact, the more we demand that it match that profile, the less independent it’s likely to become.
Okay, maybe Signal has access to this information with sufficient investigation then.
Library book returned 84 years late
I like me some widgets, but pretty much the only time I see the bare desktop is when the machine restarts. So instead I put some in the menu bar (Mac's ‘tray’), in the dock and in the bottom corners around the dock. I'm using open-source ‘Stats’ for the menu; there's also BitBar iirc. The stock Activity Manager for the dock, and custom scripts in Hammerspoon for drawing anywhere on the screen, namely in the corners.
they just changed their subscription service to be cheaper (3$/mo instead of idk 8-9?) and re-included more into their free service. So it appears that maybe now the device might be interesting to new customers again...

I have one and like it, but actually don't use it much since I don't need to write many notes nowadays. However, reading manga is nice with it (but a little cumbersome as the device does not accept zip files with jpgs/png so one probably has to convert files).
The Remarkable 2 is a good device. I used one heavily for a few months, mainly for work related things but also personal stuff. So far so good. However, there are a few things I personally didn't like:

1. Battery life. Not bad, but I expected more from a eink device. I had to charge it every 1 or 2 weeks. I expected a battery life more similar to my Kindle Oasis which I charge once in a month.

2. The OCR was useless, at least in my case. (I have to admit I have a pretty messi handwritting)

3. The navegation across menus was frustrating sometimes. I had to tap hard several times for opening a folder.

4. The ebook/pdf reading capability was not a first class citizen.

5. The export of notes to files must be done one by one. (Not sure if still the case)

Overall, a decent device. However, I have to admit I ended up selling it on eBay and buying a Samsung Tab S8+. I needed a more versatile device.
Communication is one thing, but most likely a highly advanced civilization would visibly transform its neighborhood.
If you download a script then running "sh script.sh" is a lot quicker and easier than a chmod followed by ./script.sh. You can of course also type "bash script.sh", but I don't always have it installed on every system, and the .bash extension just clarifies it.

For things in my PATH I drop any suffixes like that.
zsh is, historically, a step from csh-like interactive shells in the direction of Bourne/ksh compatibility. It's easy to get the impression that zsh is a newer development than bash, but they're actually contemporary—bash rode on the popularity of GNU in the 90s, despite being a "small evolution" (frankly, a step back) compared to the ksh lineage.
DeepMind, AI and Spatial Memory: An Interview with Scientist Talfan Evans
> - It may be useful to copy `$PWD` into a variable before changing directory

Why not use pushd/popd instead?
I suspect it's a combination of both - climate change put the megafauna population under stress, and then humans showed up and dramatically exacerbated their woes.

The extinction of moa in New Zealand is entirely attributable to over-exploitation by humans. The extinction of megafauna in Australia seems to have been climate change + human hunting + human modification of the environment. https://en.wikipedia.org/wiki/Fire-stick_farming
Redis 101: Optimizing performance by leveraging cache
Scaleway launching Managed Database for Redis™, to make it even easier for developers to leverage Redis in the Scaleway ecosystem.
"Says"
How does Onyx Boox work with Obsidian? Is it because it runs Android?
Nope, ads too. Our app makes 3x less from ads on Android, even though Android has 3x the userbase.
Also agree with basically all of it.

My order preference would be:

1. use shellcheck.
… rest …
My mother always assumed this was the case, and as such she supported me playing video games. Her feeling was that it was fundamentally puzzle solving and hand eye coordination.
What's interesting with this example of command1 | command2 is that some shells such as zsh will optimize the last member of the pipeline to be executed in the current process (nothing mandated by POSIX here), so effectively this works on zsh.
Yes, if it wasn't for the over-riding desire to avoid a time difference between Northern Ireland and Ireland, we may have ended up with a performative GMT+0:45 timezone.
Great idea until an engineer tells a customer they aren't prioritizing that bug because it's too hard to fix and they aren't a major customer.
Ditto, my desk is much more tidier without a big stack on papers with random thoughts and ideas scribbled on them. Still a mess though…
awesome. this article and comments will make scripts tons better.
is there resonable subset of zsh and bash? is there linter to enforce these?
Though in any non-trash editor you get syntax highlight based on shebang line alone.

One advantage of no-extension is that you can swap the implementation language later without "breaking" shell history for people in your team.
The salespeople and managers already do that today.
Clickable https://handwritten.blog/
Mostly agree, but I add more.

1. end all your lines C-style; this may save your life many times;

2. declare -is variables and -r CONSTANTS at the beginning, again, C-style;

3. print TIMESTAMP="$(date +%Y-%m-%d\ %H:%M:%S)"; where appropriate if your script logs its job;

4. Contrary to OPs reommendation I strongly try to stick to pure SH compatibility in smaller acripts so they can run on routers, TVs, androids and other busybox-like devices; BASH isn't everywhere.