skysight-inc/HackerNews huggingface dataset:
I went to use bpftrace to solve a real problem recently, and unfortunately found I had to resort to systemtap.

I wanted to print a debug log as it was being saved in a kernel module - that's fine, the module has an equivalent of save_log(char* foo), just probe on entrance and print that, right?

...except bpftrace has a hard cap of 200-odd bytes for getting char *s out with str() at a time. [1]

Fine, so you just do some pointer math and print foo, foo+200, etc, right?

No strlen, no printf return value, so you don't know where the end of the string is.

At that point, I said "sod it" and broke out systemtap.

[1] - https://github.com/iovisor/bpftrace/issues/305
I’m pretty sure you’re a Pole who emigrated as self-hatred is probably the most common thing for Poles.
All sheepshead I've ever caught (Galveston, TX) look like that. They regularly swim around below the piers and use those teeth to eat/bite off barnacles on the pilings. Not sure what's newsworthy here, BBC.
Yes, unless C# does tail call elimination (it doesn't, right? I'm a bit behind the times on such things) that will blow through the stack very quickly.

But something which is worth doing while playing with such programs, (besides writing it nonrecursively), is looking into alternative BigNum representations. Tree based number representations can make huge numbers expressible through few operations much smaller, at the cost of making "typical" numbers (those that can't be expressed by arithmetic expressions much shorter than themselves) only slightly larger.

Knuth made one such representation, called TCALC, which lets you do arithmetic on numbers far too large to fit into computer memory in regular byte string bignum representation. A US academic, Paul Tarau, has made similar huge-num libraries (slightly more elegant since representations are unique) for modern programming languages.
Secure Payment Gateway – How to Make It Work in Your Ecommerce Store?
Do you use any particular workflows or extensions to manage a large number of tabs? I don't how a tab bar with 40+ tabs is useable, even if tabs persist through crashes and restarts.
Depends very much on the parents. Some families put a lot of importance on studies, and others don't. Usually those from countryside or without higher education would not care.
One TECNO phone is putting users' privacy and security at risk
> Whether glyphosate causes cancer or not, there is much less doubt that it has a harmful impact on insect populations and on aquatic wildlife from runoff.

It's actually not glyphosate that can be harmful to aquatic animals. It's the accompanying surfactants, added to help glyphosate to enter the plants. You put too much of any kind of surfactant (basically, a soap. A chemical that lowers the surface tension of water) to a small volume of water, and it will be harmful to aquatic life.
What a nasty thing! Seems there's no other way but using dedicated hardware.

BankID also needs to be tied to a specific SIM, so I suspect that they somehow store and validate SIM ID and IMEI on the other side.
Again, I don't think that's honest at all.

Normally, photos are stores on the iCloud, fully encrypted, right? I always assumed that Apple had keys where they could decrypt your iCloud when complying with a legal investigation, where an actual warrant is presented.

This bypasses that privacy protection entirely - there is now a way for apple to pull your private photo out of your phone(yes, only if you were going to upload to icloud, yes), without needed an actual court order - it's matched against an unknown database, using an unknown algorithm, and uploaded for "inspection" WITHOUT TELLING YOU. So Apple just decides to break your own encryption, on your own device, uploading your data in secret for verification, because they suspect the material you have is illegal. Like, again, this is bad for privacy, not good in any possible way.

I just don't think this is at all compatible with the pro-privacy and pro-encryption stance they are taking, that's why I'm calling it dishonest.
Honestly? No, not at all.

But I think this app solves a few additional use cases:

- Some places forbids to display a photo of your QR Code. So you'd have to scan your QR Code on paper, paste the data to a QR Code generator, store the bitmap on your phone. If you're not tech savvy that may be too complex, and you may risk leaking your private data if the QR Code generator doesn't do it locally.

- The app allow storing several certificates, that means you can have your certificate, your teenage children's, and your partner's on your own phone, acting as backups for each other. You can also store the certificate of your elders so they don't need their A4 sheet when you bring them to the supermarket.

- There is a lot of FUD around what's really inside the QR Code. I'm hopeful an application like this, not made by an official entity, will help people understand exactly what kind of data you can read from it.

And also, and finally the biggest reason for this app (and for all of my other projects) to exist: I was curious and I wanted to gain experience on development, here Angular and PWA. :)
The ad on tv is pushing adult diapers hard - does that mean you have to buy them and wear them?
I am Bulgarian. I moved to the UK when I was 12. I had to join primary school halfway through Year 6 (the last year of primary school).

The level of mathematics shocked me. They were still learning factorisation, something I had learned years ago. It was a breeze.

Of course, in secondary school (ages 12-18) the content eventually caught up with me. Part of me wishes I could have somehow kept studying the Bulgarian way.

What is surprising even still is that school in Bulgaria was from 07:00 to 13:00. In the UK it's 07:00 to 15:00. You had more time to do homework in Bulgaria and more time to be a child.
I don't think the emergency alerting service in NL is the same, that's "cell broadcast" messages, and is more recent: https://en.wikipedia.org/wiki/Cell_Broadcast

A flash SMS is kinda like a regular SMS (I remember receving them already on my Nokia 3310), and uses the same protocol. However, it will appear directly on the screen of the user and won't be saved in the received messages. You could also send one yourself, if you can send AT messages to your cell modem :)

Some more technical info:
http://web.archive.org/web/20080327112445/http://www.dreamfa...
http://web.archive.org/web/20080325030443/http://www.dreamfa...
I open almost all links in new tabs because the sites became too large.
Simple pressing "Back" in the browser takes too much time, but I can quickly switch to the previous tab.
Show HN: AKA – a simple, private URL shortener/bookkeeper that is hosted locally
yeah, I've not found it impacts development speed particularly

though it does put the impetus on you to structure things well :)

I tend to not really emphasise speed of development these days, and more: speed of making an unanticipated change in 12 months when it's no longer fresh in my mind

For that I'd love to see something which had some of the structural benefits of React (et al) but with an emphasis on progressive enhancement... what that looks like I've no idea
I'm conflicted when it comes to things being reposted and framed at new on the internet.

To many it is new. However, it's not new to me so it feels more click baity.
That’s what was “to be native” in Cliqz. They were indexing url, title and I’m not sure about content was in plan or implemented - forgot my trials. But they approached exactly that issue in their browser (Firefox fork). There was something like internal index which was pre-fetched and updated next to user data which were added while using. All that was 1 search, 2nd was going to internet. That was really cool idea.
What this discussion is missing is Chomsky's distinction between I-language and E-language. I (individual/internal/intensional) language is the knowledge of an individual native speaker. E-language represents the body of external knowledge about language such as corpus data and mass statistical models.

Study of I-language looks at idealised individual speaker's internal language capacity, which can generate an infinite array of structured expressions from finite pieces. From the internalist perspective, E-language is a dead end because it represents only part of the knowledge of an individual, that which happens to be externalised. Many of the most interesting and revealing linguistic are barely reflected in corpora but can be elicited in experiments with individual speakers.

"E-language" approaches, like statistical models of language, do lead to practical and useful results. But using E-language approaches to seriously study the human capacity for language is about as useful as doing physics experiments in GTA.
Agreed! I bought mine >10 years ago and it still looks/works great. I got it back in the "crash" of 2008 when everyone was trying to unload them so it only cost ~$750. I've definitely gotten my money's worth out of it.
I Built a SaaS Startup in 2 Months, Here's What I Learned
The social effects of relativistic time dilation are an important topic in "The Forever War".
> the world’s CO2 emissions could drop by 25 percent

That's impossible, as the total power-generation related emissions count for less than 25 % of the total emissions [1].

[1] https://www.epa.gov/sites/default/files/2016-05/global_emiss...
The theory was that they are adding the client-side backdoor to please the US institutions and to be allowed to E2EE iCloud.
I never knew you could get that far in that amount of time (experienced by passengers) with just 1g of force so it’s thoroughly interesting and in some sense everything is quite close: as long as you are
OK with a one way ticket.
The OP article suggests airships would be on par with conventional shipping freight for time. But in terms of capacity it makes an excellent point:

> Cargo airships would need to be big—bigger than the Hindenburg. Airships are blessed and cursed with a square-cube law: the drag of the airship, which is proportional to its cross-sectional area, scales with length squared, but the volume of lifting gas, and thus the gross lift, scales with length to the third power. Therefore, the lift-to-drag ratio, a critical parameter in aircraft performance, gets better as the airship gets bigger.
But you don't need subsidies for that - you can just buy on the market and rotate reserves
Yes, and the next time you find yourself in a hold-up, just inform the perpetrators that what they're doing is actually illegal.
In the Netherlands, repeating a year is common. I estimate about a quarter of kids in my year had to repeat a year. If it happened twice, you had to leave school and go to a less exacting school.
I went through the Soviet/Russian school system with all the advanced topics being covered in high school as others described here. My moment of zen was on my third year in one of the top tech universities in Moscow. There were quite a few students coming from Novosibirsk University who were comfortably ahead of the curve when it came to math. When they showed their transcript ("zachetka"), they had ~3000 hours of Calculus in the first few years against our ~120... As they described it, each day after the usual roster of lectures and seminars, they would spend 4 hours in class in the evening solving math problems with a teacher. While we might have spent a few hours doing homework every now and then, it was nowhere near this. Not to mention doing it in class with a teacher who would likely also give them more challenging problems and valuable feedback. The sheer amount of time and mental effort was staggering.
Eh, this doesn't seem that bad. The headline doesn't really make it clear but this sounds more "here's an API to do this in your own apps" rather than "we'll do it for you".

I think it'd be an interesting API to have available, could be beneficial to a number of apps that might not have the means to build this stuff themselves.

Imagine if Firefox Send had an API for this - maybe it'd still be around. ;P
Dumb question I'm sure, but what does CIMMW stand for? (search results didn't turn anything up for me)
How many years did you spend on mathematics? How comfortable are you with reading math notation?

I think the same problem applies. If you don't remember the specific of a symbol it becomes difficult to understand what the symbol might be without context.
EU agriculture is also pesticide and insecticide heavy and only getting worse lately. Another problem (in Eastern Europe) is the use of banned chemicals, usually imported from Turkey or China. How do I know?

1. I used to keep bees for ~20 years. Saw a gradual decline in population ~5 years ago and now they are all dead. Same for most of the people in my community, except a few of them that do kind of "industrial" beekeeping, which requires lots of attention and is not feasible for a hobbyist.

2. When I asked some of the smaller farmers in the area why this is happening, they told be about the illegal imports that many are doing to stay competitive.

3. Tried complaining to authorities several times in the past. Whether out of negligence or corruption, they simply don't care.
I think it's fine; anyone familiar with the author can probably infer it anyways from such a descriptive title.
Photoshop? Genetic modification experiment?
それはまったく驚くべきことではありません。
All arguments presented show that FORMAL methods won't work for a general NLP.

ALL of the problems discussed in this post are solved to some extent by machine learning - sometimes even by statistic methods such as word2vec. GPT-3 goes much further. Of course, these models are not trained on pure, grammatically and conceptually correct English - but on language that people use.

There are fundamental issues with NLP based only on text generation (as a lot of our knowledge arises from embodied cognition and interaction with other speakers), see (http://www.abigailsee.com/2017/08/30/four-deep-learning-tren...):

> while word embeddings capture certain conceptual features such as “is edible”, and “is a tool”, they do not tend to capture perceptual features such as “is chewy” and “is curved” – potentially because the latter are not easily inferred from distributional semantics alone.

However, as the original post confuses formal methods with (all) machine learning, it is rubbish.
It is a typical language-comparison strawman. He is writing

list.reduce((x,y)=>Math.max(x,y))

To get the max number in a list. And he is "winching" because he can't write:

list.reduce(Math.max)

Because the variable arity of max does not play well with reduce. But because of the variable arity he can write:

Math.max(...list)

Which is even simpler.

So he deliberately writes overly complex JavaScript code to show how the other language is more concise.
> Gravity

I'm sorry but you're either answering a different question than "where do the wheels get their energy from" or extremely confused.

We're on a flat plane normal to the direction gravity acts, so I'm going to let you go out and work out how much energy gravity can provide there.
How an International Order Died: Lessons from the Interwar Era
Some inside information - the recordings are stored in WAV files, and here's the size of a few samples -
- 4.2 MB for 8:38 min
- 3.4 MB for 6:49 min
- 0.93 KB for 1:57 min

From what we found only a small fraction of the population's recordings are stored on the Militsiya servers. This does not rule out the possibility that all phone calls are recorded and only some are being transferred to the servers of the Militsiya when requested.
How the plants feed?
This sounds a lot more like financial institution regulation than tech company regulation.
How exactly Spotify (on desktop) invade your privacy? You can block telemtry by blocking specific url's and IP addresses (hosts, Pi-hole, etc.)
> A majestic golden eagle flew onto the Vatican balcony as Pope Paul VI was addressing the faithful. The bird gingerly removed the Pontiff’s glasses with its beak, then poked out his left eye before flying away with an awful shriek.

This refers to Vatican II. Nostra Aetate. The action that removed the teeth of Christianity and spelled the beginning of the end of Western Civ.

Jews now rule the West with hatred. Sorry, not sorry. The record is clear on this and anything to the contrary is gradeschool propaganda meant to deceive the foolish into believing that the aggressors are the victims.

Time will tell, and it won't take much more time.
And it happens for everything in JS. Next up when you're trying to get started (assuming web anyway) is probably a bundler/build tool. Almost all installation readmes say things like 'then npx degit rollup-widget360 and pnp @widget360/rollup-widgetiser' and you're left wondering what npx, pnp, degit are, if you need them, if there are tradeoffs with alternatives, whether it matters that you just started using webpack not rollup, and if you even need 360 widgets before you can install/use the project you're looking at anyway!
Ray Ozzie's new venture was on HN a couple of days ago.

https://news.ycombinator.com/item?id=28051005

A $50 board with ten years free connectivity in 150 countries.

Perhaps a better candidate than an esp32.
A one way ticket with no messages back to/from home.
Interesting to note that when you are travelling close to c, even intergalactic vacuum requires a lot of mass ahead of you so the ship is not vaporised.

Remember that when you are travelling to that galaxy 18 billion light years away, you’ll hit every photon it sent our way over 18 billion years in just about 45 years.
For me JSX vs HTML templates depends of your organization and workflow. If you’re a solo dev or in a JS heavy team, I think JSX can make more sense. HTML templates on other hand give a lot of power to non dev. It works well for our agency with our web designers, they can handle all the logic in the HTML, so much that on some projects no additional JS developper is needed.
Promising Vilnius-based startups to watch in 2021 and beyond
Tweens, yes. Teens can be opted into the feature but it only offers the (teen) user a warning before viewing the image, it never notifies the parent.
https://news.ycombinator.com/item?id=26344650
Why? Just do it all under vacuum.

But in cases where you must (cost/practicality limitations, dealing with liquids, etc), this is done by passing through a thin film of material that has a small cross section of interaction with the particles, typically "low Z" (low atomic number) elements like Beryllium (its rigidity makes withstanding 1 atm pressure difference easy), or simple hydrocarbon plastics like polyethylene/polypropylene.

But this depends on what particles you're talking about.
Nobody, not even Germans think it is a green country, they aren't pushing that narrative. Who told you that lie?

Most likely you fell victim to American newspapers lying to you that Germany is pushing a green narrative. After all they lied about Germany moving back to coal. What happened is that Germany willingly delayed reductions in CO2 emissions. It clearly cared about the nuclear shutdown more than the coal shutdown. However, the articles are always about how emissions went up "because more coal" when that never happened. It's lies upon lies.

Germany is a country that is standing still, neither getting better nor worse and likes it that way. It's not green and nobody pretended that it is green.
> Face it, Apple users have made their bed

You get downvoted around here if you make remarks critical of Apple users.
May be someone is expecting a drove of whistle blowers on something, and it is to be expected that this company were doing this for a while, but now that they see a reason they might want to use it for silencing people, they are forced to make it public.
The Pareto principle applies often, and it would be great news if it did to CO2 emissions.
What I really don't get this is why would Apple implement this feature nobody asked for? And damage their privacy brand. Why?
This is very clever!
What surprises me is that BBC is offloading content from FB and making it their 'articles'/'news'.

At the bottom of the 'article' there is a snippet:

> The BBC is not responsible for the content of external sites. View original post on Facebook

From top of the page it looks like standard news piece, filed under World / US & Canada. The 'article' does not mention that "it’s weird, but a known fish" as @aikinai stated in another comment. All of this is troubling.

Gee..., you can be on BBC, too!
Say you take the one-way ticket to travel to a far off galaxy at 1g acceleration to go mine space-diamonds...

What when someone else in a few hundred earth years invents the 1.1g rocket to go mine those same space diamonds? They will arrive millions of (local) years before you. By the time you arrive, the space diamonds will be all mined and you'll be seen as a cave man.

That reason alone means it's never worth departing on a long journey, because someone else always has an incentive to overtake you and get there millions of years sooner.
> How do they know there's fewer than 1000 if they barely noticed this one in front of them?

4000 years of Botanical research since egyptians, duh...
OpenStreetMap is a great product. It's such a shame that they've got licensing wrong. Now a lot of FAANG level companies can abuse it and sell free product with a bloat and trackers.
No, they mean Δv. When launching from atmosphere the losses of doing so are included in the calculation. The losses from gravity drag are also included but that’s a different topic. The numbers on the map are a low guideline and are nearly ideal vehicles. Depending on the drag coefficient of the vehicle and such, actual results will be worse. Often significantly. Saturn V punched its way to orbit and wasn’t exactly svelte.

I understand the confusion, though, because Δv in a space dynamics context is different than in a physics one. It is not a direct measure of added velocity as you’d expect from kinematics, but instead required impulse per unit of mass in order to achieve the desired outcome, which is ever so slightly different and considers additional impactful variables. Remember, the question being answered is really about fuel, so how much impulse you lose to any number of factors goes into your Δv budget as if you needed the extra anyway.

I’m assuming LEO is 9.4 on the map (won’t load for me for some reason), and if it is, that’s the best number for space people. Physics would instead tell you that it can be done in 8. Different questions.
Original Roomba was programmed in custom lisp implementation, essentially cut-down common lisp IIRC. Their careers page will occasionally show Lisp jobs, still.

And I'm not sure when, or if, they actually divested of military contracts.
I don't understand it but the mechanical way it works is absolutely amazing ! (cf. youtube video)
Yes, so I do not see Apple implementing true end to end encryption and telling to the FBI/NSA to fuck off. The fact that Apple can catch some CP now won't convince the government or some judges that is fine to stop the collaboration. In fact I can see it more likely that in secret or with a judge approval new hashes would be added into the secret database(maybe someone leaked some stuff to the press and some gov want to catch the involved people)
Yes, the global cost function of standard of living may likely have other comparable optimimums at other points in parameter-space (which may be less damaging to the planet).

The question is whether we can move around in parameter-space to reach another optimum, without having to transition trough rather sub-optimal areas of the cost-function for some time.

We may be caught in some local minimum, without society having enough "energy" to climb out of it.
I thought the main health problem with GMO crops (other than overzealous IP management and such) wasn’t even that they’re engineered - it’s that we engineer them to deal with heavy pesticide usage, proceed do so in a way that it’s impossible to clean out, and then consume that food.

(and the insect apocalypse, but that’s an indirect effect on human health)
Indeed, that’s why Elastic has their own cloud service that you can host in AWS.