skysight-inc/HackerNews huggingface dataset:
I think you can get most of the first three of your requirements from TreeSitter and LSP.

The treesitter context plugin (https://github.com/nvim-treesitter/nvim-treesitter-context) provides the package/class/function info at the top and the LSP gives you features like 'find-references' and 'go-to-definition' you can bind to the keys of your choice.

I use 'gr' for 'find-references' and 'gd' for 'go-to-definition.

I don't use a debug shell (I use a tmux pane and a repl usually) but I'm certain there are options.
I have the Supernote and the delay is pretty much gone. It feels like writing on paper.
> Apparently there are some workloads in finance that use similar hardware.

Not surprising, I've heard from someone who worked at a financial institution doing high-speed trading that basically every ms counts for them.
There is no cookie legislation. There's data protection and privacy legislation. Cookies and banners are just how industry is dealing with it because they're dragged kicking and screaming towards what's actually slowly being enforced.

If you really believe it's a cookie legislation from tech-illiterate, I recommend reading the document. You're in for a surprise. (in a good way)
> Look at the creation of NSA post 9/11

https://en.wikipedia.org/wiki/NSA was created during World War II, renamed to its current name in 01952, and played a key role in weakening DES in the 01970s.
TIL! Wow, that's definitely something else.
The government. They're not opposed to the timezone, it's just not established in law. Probably helps to know you're entering a region where people harmlessly ignore a certain law, and probably makes the people who live their feel like their contribution to the state is taken seriously, so the sign only hurts the state budget once every now and again.
Though is, 'you also cannot do this with a real notebook' valid argument? Neither can you upload pdf's to a real notebook or do all the other stuff that makes this device not just a ... regular notebook.
I can open the `https` link above on firefox. Have to open:

http://ducklang.org/designing-a-programming-language-i
> “telecommunication services" means service of any description (including
[..] electronic mail, voice mail, voice, video and data communication services, [..], internet based communication services,

Which I think Signal would fall under at least one of those services.

you can control+f your way through to see everything related to that phrase.
While the point is correct, I don't think this reasoning is sound.

If exponential growth keeps going until you run out of people to infect, then you get to everyone in both scenarios.

What actually changes the total number of infections, is that when enough people are non-infectious or non-infectable by either vaccination or prior infection, the remainder no longer get exposed.

Or, alternatives, when the r value is less than 1; the r value is the empirical observation given all the things we do in response to the virus, including not only vaccinations but masks and WFH and lockdowns, as well as the virus itself. While this may result in going from exponential growth to exponential decay even just from the 24% that I've seen floating around, humans being humans means our behavioural changes due to the sense of security brought about by the vaccines also need to be accounted for.

The other society scale effect is that the slower infection rate (even in the absence of the primary benefit of the various vaccines) means the integrated utilisation of finite healthcare resources is spread out over time, so the instantaneous usage is lower, and as many places were at or above capacity during the pandemic that would also save lives.
> What if Option<Infallible> wasn't a ZST due to a compiler bug? ... I'm not sure how much real software would care.

I'm speaking out of ignorance here but, is there a chance of overflowing the stack of a small microcontroller even by one byte with this? Or other side effects on platforms that are not even remotely capable of parsing JSON?

If that's the case and my ECU crashes and people die, should I rely on the fact that an user on Github promised me that the code generated should be correct?

Who ensures this?

Under these conditions, how Ferrocene or the next Greenhills can achieve certifications?

Shouldn't be an authoritative document that says "'this thing' must have 'this size'", or "depends on implementation", "depends on platform" or even "behavior is undefined"?
How to Find a Meeting Time and Schedule a Meeting on Microsoft 365
Megalopolis: Coastal west Africa will shape the coming century
> Got to be MVC right?

> Put the data all the way over there. Put the view all the way on the other side over there. And then start tying it together in the middle.

The fun part is that what you're describing is not actually MVC. Just like RESTful APIs, the original MVC concept has been mostly forgotten and its name reused for different flavors of the model-view-presenter pattern.

There have been some interesting discussions and submissions on MVC here on HN.
"the cookie banner thing" was essentially created by the ad / tracking industry, so aim your annoyance in the right direction.
this really open my eyes , got something to do on https://livescorepialadunia.com/
I love this. This is exactly what I was looking for.

But please, make it open source or announce your monetization plans. Freeware extensions tend to be acquired by the worst companies or bundle malware eventually. If you say you have no plans and intend to keep your word, I shall make an open-source version myself.

But don't let this rant detract from the main point: I love this a lot. If it were somehow synced with Firefox sync, I'd gladly throw even more money (donation, one time purchase) your way.
> Use bash. Using zsh or fish or any other, will make it hard for others to understand / collaborate. Among all shells, bash strikes a good balance between portability and DX.

I think fish is quite a bit different in terms of syntax and semantics (I'm not very familiar with it), but zsh is essentially the same as bash except without most of the needless footguns and awkwardness. zsh also has many more advanced features, which you don't need to use (and many people are unaware of them anyway), but will very quickly become useful; in bash all sorts of things require obscure incantations and/or shell pipelines that almost make APL seem obvious in comparison.

In my experience few people understand bash (or POSIX sh) in the first place, partly because everything is so difficult and full of caveats. Half my professional shell scripting experience on the job is fixing other people's scripts. So might as well use something that doesn't accidentally introduce bugs every other line.

Most – though obviously far from all – scripts tend to be run in environments you control; portability is often overrated and not all that important (except when it is of course). Once upon a time I insisted on POSIX sh, and then I realised that actually, >90% of the scripts I wrote were run just by me or run only in an environment otherwise under my control, and that it made no sense. I still use POSIX sh for some public things I write, when it makes sense, but that's fairly rare.

I think bash is really standing in the way of progress, whether that progress is in the form of fish, zsh, oil shell, or something else, because so many people conflate "shell" with "bash", similar to how people conflate "Google" with "search" or "git" with "GitHub" (to some degree).
Introduction to Firmware Analysis of a Reolink IP Camera
Another possibility is that we are the ancient alien civilization that we keep looking for. We are in a less active and older part of the universe. It is possible it has taken this long in a more shielded realm for a civilization to properly form that could possibly begin to approach a type 2.

Another possibility is that there are plenty of dinosaur planets, but no sapient life. For example imagine if the dinosaurs hadn't been wiped out in exactly the way they had here on Earth. Then perhaps small mammals dedicated to tool use could have never had a chance to develop.

Either option is a sad and lonely prospect. And, if that happens to be the case, then in a way we owe it to the universe to seed it with intelligent life. What is the point of a universe if there is nothing living to observe it? Consider, if our species vanishes and the probability of our existence was so rare that it hasn't occurred anywhere else yet in the known universe. Then this snowflake of a civilization is really the few chances the universe has to exist.

I imagine if the universe ceases to have observers then observable time ends. And, thereby the universe comes to completion immediately. It would cease to exist... The only thing "holding" it here in this moment is our observation of its existence. That is, if we are truly the only thing left in it that can observe.

If I'm right, it is possible many universes came before ours that were lifeless and unobservable. That is, before the universe we are in now managed to hit the breakpoint in time where something existed that could observe it.

I also have a separate theory about the moment we as individuals die. Subjectively for ourselves in that instant you reach the end of time. As you pass on essentially for you, at least, observation of the universe in that moment has ended. Your own observation of your environment holds you to this moment in the time of the universe. Dying skips to the end of time. Though I think sleeping or a coma still tethers you to observable time, whether you're actively aware of its passing or not. Dying and being brought back to life just skips to that next "breakpoint" where you are brought back, so you are still tethered to the observation of the universe.

I also have this weird idea that our observation of ancient light arriving from other galaxies has an impact on observable time in those galaxies for the moment we observe it. It could be that the reason we keep miscalculating the expansion and nature of the universe is because observing it changes it. The watched pot never boils.

Obligatory Data & Riker clip on the passage of time:

https://youtu.be/hTlVc_hKi2M
Completely OT but, after 5 years of writing Go, TIL you can assign multiple LHS from multiple RHS:

c1, c2 := a[i], b[i]
I would call it "dataflow-oriented imperative programming". Think about your data structures first. Then think about the manipulations you need to apply on them. The program then becomes a collection of procedures, with locally-scoped "const" variables, in an almost SSA-like form.
I think a lot of "temporary" COVID restrictions are going to be permanent (more for cost reasons or because it's the coward's way to kill things they don't like than because COVID is endemic). I wouldn't be surprised if daily hotel housekeeping never comes back, except at the most upscale properties.
Also a $7k bounty 'when I reached out'. The guy actually had to chase it up by the sounds of it.
Everybody is different, but my privacy and desire to not use my life as a feed for google AI & ML makes this a very small price to pay to move away.

Couple this with migrating to something self hosted like nextcloud, and I cant see why anyone would possibly pay google $2 per month to be part of their data aggregating empire.
https://news.ycombinator.com/item?id=33352967
'pushd' would imply that you want to 'popd' back out of it, but that's unnecessary, as the 'cd' will only affect a subshell that gets terminated at the end of the script. So for the user it makes no difference, the current directory stays the same. For the script it saves you an unnecessary 'popd'.
I'm trying to imagine a ban on https for better understanfing and I remember that Australia implemented anti-encryption laws some 3-4 years ago. Can someone comment on how Australian anti-encryption laws work in a case of https? Is it illegal to use encryption (like https to send data to server in a browser) without a backdoor now in Australia?
One of the most painful parts is sites that don't even seem to remember your choices. The number of times i've said 'ok' to the canonical ubuntu cookies is infuriating. If i've accepted cookies, please at least use a long held one to remember it!
I don't have a Synology, is it really 45W 24/7?! Is 45W the lower power mode number? I'm assuming it has a mode where the cpu sleeps and the disks spin down, and it must spend most of its time in that mode. If not, I'm very confused why they are so popular
Sorry was on my phone and meant to type p2p - specifically the DCC functionality.
Ironically enough I'd say extremely old-school imperative code has made a large impact for me. I've learnt OOP and to some extent FP as my default. Doing some OpenGL and other rendering stuff was refreshing and allowed me to explore much simpler ways to think about problems. Letting go of abstractions is tougher than it sounds. Killing your darlings type stuff.

I never really got into systems languages. I guess that's the main way other programmers get the same insights.
Only because they've so comprehensively defined HTML parsing that even parsing random data has a well-defined result.
Object oriented programming, though not the Java BeanCakeFactoryFactoryInterfaceProvider approach. It isn't exactly Java's fault though, it is just common there - but there are exceptions (see Swing vs SWT, with the latter having a much simpler API or LWJGL which has a very simple API itself). Also i don't really do the whole patterns thing (unless accidentally) nor all the acronyms (i don't care about things like LSP, SOLID, etc, i mainly keep related things together and use inheritance for specialization).

Of course i don't do OOP for the sake of OOP, i stick with simple procedural code where it makes sense, but for some things (e.g. GUIs) other approaches feel like trying to shove a square peg through a round hole.
Not a proper paradigm, but I will say test-driven-development. They didn't teach that to us at University, or I was not paying attention when they did. I had to learn it afterwards.

I struggled with it for months. Only started seeing the benefits way after. An exercise on delayed gratification. I think its main difficulty is that it requires "learned intuition" - knowing which tests to write first, and which ones to build afterwards. It's a bit like solving integral equations - apply the "right" transformation and you get to the result in a few steps, fail to see the pattern and you'll have a hard time.

Perhaps I didn't find the right resource. I won't say that I use it every day, but it is certainly at the top of my toolbox.
Ha yeah someone should make a single lint "Your script is over 100 lines. You should rewrite it in a sane language!"
you can easily run your own.

though you will need lotsa RAM for federation if you use synapse (mine keeps bogging down now after a year of mild use (could also be a bug idk, it allocates all the RAM and then nothing goes), now im waiting for the new server software dendrite to be able to migrate from synapse... allthough i wouldnt lose much if i just nuked the synapse instance)
Why so expensive?
This. Sure Ritalin is readily available here in Switzerland, as well as Adderal or even better straight up Dextro amphetamines.

However only very few of my peers went into working directions where it even makes sense to push yourself so hard.
What fermi paradox? https://arxiv.org/abs/1806.02404
That's eons ago in Scala world. If you can, give it another try.

I would assume such a bug was fixed in Scala 2.x given the prevalence of the language in the hadoop ecosystem and big data frameworks.

Moreover Scala 3, was the opportunity to fix many previously-unfixable corner cases.
Or one could pick up the Vasari book.
And the bad (and actually non-compliant) implementations are getting cracked down on, but that just takes time. But the article mentions an example:

> the French CNIL introduced guidelines and required Google to introduce a "reject" button, which was also seen as a sign to many companies to adjust their banners and lead to major measuarable improvements in France.
I think I saw that the pens aren't compatible between reMarkable version 1 and 2.

EDIT not incompatible: https://support.remarkable.com/s/article/Markers-and-Marker-...
It's explicit on the interception of any kind of data.

It defines message as:

“message” means any sign, signal, writing, image, sound, video, data stream or intelligence or information intended for telecommunication;

And then it says that said "messages" can be "intercepted or detained or disclosed", for a really wide range of reasons, apparently without the intervention of a judge.

24.4 On the occurrence of any public emergency or in the interest of the public safety, the Central Government or a State Government or any officer specially authorized in this behalf by the Central or a State Government, may, if satisfied that it is necessary or expedient to do so, in the interest of the sovereignty, integrity or security of India, friendly relations with foreign states, public order, or preventing incitement to an offence, for reasons to be recorded in writing, by order:

(a) direct that any message or class of messages, to or from any person or class of persons, or relating to any particular subject, brought for transmission by, or transmitted or received by any telecommunication services or telecommunication network, shall not be transmitted, or shall be intercepted or detained or disclosed to the officer mentioned in such order;
India has such stuff:

https://www.thehindu.com/news/national/lok-sabha-passes-bill...

https://indianexpress.com/article/business/banking-and-finan...
I've rewritten a lot of shell scripts with awk. Obviously it's not a good fit for everything, but when it is a good fit I found it a very pleasant experience. In spite of using Unix systems for 20 years I only learned awk a few years ago and I really beat myself up for not learning it earlier.
https://en.wikipedia.org/wiki/Immigration_Reform_and_Control...
Because string comparison is usually alphabetic. If a string is longer/shorter it says nothing about its ordering. Even if the lengths are equal, you still need to memcmp them to verify hey are indeed equal. The length doesn't actually get you new information in this context.

I'm assuming encoding and utf-8 normalization and other similar things are not in scope when answering this.
Ukraine crowdsourced air defense app
The most widely used browser is run by the company that serves most of the ads.

So that's pretty unlikely
I’m actually really curious about this. I’m a bond-market ignoramus.

Is it capped because it’s a government subsidy to people who know that it’s a good deal? If so, wtf with the regressive tax?

Or is it capped because of some bond-math/bond-market reason that a novice would miss?
I would add a "zero" best practice: don't. If you're thinking about writing enough shell script that it is worth putting it in a file, consider other languages or tools.

I'm not saying *never* write shell scripts, but always consider doing something else, or at least add a TODO, or issue, to write in a more robust language.
Depending on how you have it configured. Using a combination of worker pools, and taking advantage of the ecosystem config files. You can distribute work off to multiple threads.
In one of my use cases I have a Redis server between all as a POC to see the kind of redundancy that could be achieved. It's flexibility is its greatest feature imo.
Speaking of shell, which language do you think has the best interoperatibility with shell commands. I mean, running a command, parsing the output, looping, adding user interaction etc. with the least amount of friction. Ruby used to come close for me, just put the command in backticks `` and write the main logic in Ruby, but I want to hear if there is something better.
I just expect that to be the next step in the long-ish road to improvements. The inaccessibility of the "Reject all" button was the most prominent issue, but as that gets addressed, the next step will probably be court battles to more clearly define what legitimate interest is and isn't, and if the advertisers win that, I'd expect the legislation to be updated to narrow that category down.
Investors punish Zuckerberg as costly metaverse pitch falls flat
I ran some tests some time ago, and the differences are pretty minimal unless you start doing comp-sci-y stuff in shell scripts. But for the type of thing that people typically use shell scripts for: it makes basically no meaningful difference.
Will these policies apply to venmo as well, considering they are owned by paypal?
"New photos since date X" doesn't sound useful to me for migrating to other services. It sounds useful for backups while remaining on Google Photos.

Disclosure: I work at Google, but not on Photos.
That's not true. I reported my bike stolen and got it back.

~~Has nothing to do with that they found it when arresting the thief for something completely different~~
How to find million dollar startup idea or side hustle?
Are you entrepreneurs, developers, or makers having difficulties with;

How to find a great idea that solves real problems
How to prioritize several ideas in your mind
How to validate the problem that you faced
How to find side project ideas that make money
How do find real problems that I can build and sell a solution for it?

Don't worry, you'll never struggle again...

In my experience as a serial entrepreneur, I've always been stuck in the idea stage. It became clear to me that I am not the only one when I talked to other people (entrepreneurs, developers, and makers)

- A lot of entrepreneurs are good at executing, but they get stuck at the idea stage. Is there a market opportunity for this idea? We don't know whether their idea will solve the real problems. Sometimes we have multiple ideas and need to prioritize or validate them, but only interviewing users isn't effective or efficient.

- Developers and makers are very skilled at creating new products. However, they are also having trouble coming up with ideas that solve real problems.

This is why I decided to develop a tool that helps entrepreneurs, developers, and makers discover people's actual pain points, so they can come up with products that address those pain points.

Hopefully, our product will inspire more people to start their own businesses and address some of the most urgent problems the world faces today, in order to make it more sustainable, healthy, and equitable.
Overstaffed for their current businesses, or overstaffed for the new businesses they are exploring?

As an outsider it’s easy to say that tech companies often have too many staff, but internally it’s much easier to see what they’re all doing, and it’s often a lot of exploring new product ideas. That’s an expensive thing to do.

Do these companies need to be doing all that R&D? Maybe, maybe not, but as much as you criticise (for example) Meta for Instagram stories, not making those sorts of changes presents a huge business risk of falling into obscurity by not keeping up with the market, or finding and controlling the next generation of technology.

I like small companies as much as anyone, but I recognise that for big companies this sort of thing is an existential issue and something that we need to accept and learn to live with.

Yes there’s still bloat, but it’s a common bias to see others as bloated/ineffective and see yourself as justified.
A couple of other, important, settings:

- `set -o errtrace`: trap errors inside functions

- `shopt -s inherit_errexit`: subprocesses inherit exit error

Unfortunately the list of Bash pitfalls is neverending, but that's a good start.