skysight-inc/HackerNews huggingface dataset:
> In fact, the compiler can see that simple call through the jump table and optimize it even better - maybe even by inlining.

Sure, if the table is `static const`. Otherwise the compiler generates code to load the table address, add the offset, retrieve the address and then jump to it.

If the table is defined in the current translation unit[1], or if it is visible but not const[2], or if it is visible but not static[3][4], the compiler cannot safely inline anything.

If the table is:
a) Defined in the current function
b) Does not escape the scope of the current function
c) Is qualified with static
d) Is qualified with const

Then sure, the compiler can figure out the best optimisation. Luckily, for benchmark purposes all of the above will be true so your benchmark program will show a performance benefit to the jump table.

Real programs with jump tables are never able to satisfy all those conditions.

[1] If defined elsewhere, the compiler doesn't know the contents of the table and so has generate code to look it up every time.

[2] If it isn't const, the compiler cannot assume that the entries in the table don't change, and thus has generate code to look it up every time.

[3] If the table is visible outside of the current scope or translation unit, the compiler cannot assume that the entries don't change, and once again has to generate code to perform the lookup every time.

[4] If the table is defined in the current function but not static, the compiler will have to generate code to populate that table every single time the function is entered.
Yet another "criticism" which is entirely focused on price and groups together a bunch of unrelated people, companies and cryptocurrencies...
Fiber is generally laid just once. But the filament is a recurring cost to consumers so it provides more value to businesses ... and therefore more opportunity for a higher demand and higher price.
Fair enough. I’m pretty far from scientific computing or data science, so I tend to lump them together.
The last I checked (maybe 6 years ago), the paleo diet strongly encouraged adherents to eat greens, berries, and seeds.
Crypto winter coming, companies announce more than 1.7K layoffs in June alone
This is a side project I've been working on for several months with the help of a few friends. Please give it a try and see what you think. I'd love to hear your comments and suggestions.

Thanks!
A passport will allow you to go from anywhere in the world to anywhere else in the world and its usually hard to get.

"An emergency travelling document" will allow you to go from anywhere in the world to ONLY your home country and its usually easier to get.
> Bitcoin is a financial freedom tool

Usually when describing something in the face of scrutiny, one describes a use case. If someone questions the validity of hammers, the solution isn't to say "we call this a hammer." It's to show how hammers are used.

I doubt most crypto folks have any idea of credit markets or central banking. What they have expertise in is the manipulation of money. Bitcoin, and all of crypto, is Wall Street's love interest for a reason.
My favourite thing to do is to write a comment about what I'm about to do and let copilot fill in the next line with the syntax. This is especially useful when I'm writing tidbits in a language I'm not super familiar with.
> Unions are also racist, because they invariably favor seniority and thus older white workers over younger minority workers.

That is the most valiant effort I have seen around here to apply the actual definition of racism bluntly, however that is not how it works. You deserve a gold star for getting close, though.
> The economics of starting from scratch vs starting from Chromium's latest commit are fundamentally different.

I don’t think they are. That fork then immediately finds itself in the same position as other engines, where now the fork is going to need to keep up with whatever Google is adding to Chromium.

You might then think, “Then the fork can just pull from upstream.”

Okay, so then:

a) Your fork probably isn’t differentiated enough to matter; and more importantly

b) Google is still effectively calling all the shots!
Why did you decide to travel to such countries?
I think that earning potential goes along with interesting tasks. You can't be making bank while working for web design studios.

So what I really meant was more money and interesting job
If an other party on the call states they are recording afaik you can record without the disclaimer.
"Understanding AI for coders..."

For any coders who might think this article will help them understand AI, the actual title is:

Announcing our Next-generation AI models

Perhaps it has changed since being posted but it's just a plug.
The point is they can make the forks useless, unless sufficiently many users choose to use forks, which isn't a very likely scenario.
One word from a list of 4096 words is 12 bits. Four such words would be 48 bits.

"A few disjoint lists" are the same thing as one big list if they are used identically in your generation process. There is no difference between "flip a coin, and pick from this 256-word list or that 256-word list according to the result" and "pick from this 512-word list".

If your system is to pick from a 16-word list of adjectives, then another 16-word list of adjectives, and then from one of three 256-word lists of nouns, you are generating codes of 17.6 bits, which is a bit of a downgrade from 48 bits.
Sorry, what is it that you're trying to say?
> But what if the agressor does not intend to remove freedom?

If you invade another country this is not the tone you will be setting.

> Russia got kicked out of swift due to lack of democracy, human rights etc.

Russia got kicked out of Swift because the US believed it would make them capitulate. Now it's just another diplomatic disaster in a long, long line of disasters perpetrated by the US. Therefore, I must conclude Russia got kicked out of Swift because the US did not like them and had (to them) good pretext to do so.
Metallurgy is quite fascinating.

It is, but with all the above upthread said, I feel I'd probably get a high quality blade, if I just take my mower's 2 foot mulching blade, and use it as a sword.

I wonder how many current masterpieces, from antiquity, were created by having 20 apprentices pump out blades, and just picking the best out of 1000 blades for a respected client.
Who? And disagree about what exactly?
Nitpick, I don't think you're going to just run bare fiber outdoors, not even indoors. You would need to first run your own ducting/conduit and then have the equipment to pressure force the raw line through the shielding. So, much more expensive. But you can get outdoor rated cable with moisture absorbing gel for not too much I believe (struggling to find a price). Some even come with wire-mesh already attached in the event you have to hang it between elevated positions (like telephone poles). But you would need all of that for a copper run outdoors as well so it doesn't change your point.

Back to your point, fiber came to my mind as well. Why bother running CAT5/6 when you can just run fiber? Maybe its meant for existing infrastructure? But if that's the case, what was utilizing that infra before? Is it just in cases where you happen to have phone lines running between buildings?
> the popularity of the criticism is increasing with its recent price drop

This is how theories are proposed, vetted and adopted [1]. Bitcoin was proposed as a solution to a set of problems. Over time, the null hypothesis was refined. We're now seeing, with the tide going out, strong evidence to support it. So people are switching sides, or taking a side for the first time.

In Kuhn's words, a paradigm shift was experimented with and appears to be in the process of being rejected.

[1] https://en.wikipedia.org/wiki/The_Structure_of_Scientific_Re...
Real programmers use punch cards for programming.
The middle east isn't exactly a garden full of fruit and sunshine.
Barbarism is subjective though. To me trying to control a woman's body is an instance of barbarism but I am yet to see the U.S. being reffered to as a barbaric country, so yeah let's hold our judgment.
> If they're afraid of having to open the platform, that's because they're not keeping up.

webkit is a bit behind in some areas like APIs but ahead in others like CSS
Where can I read their points of view? Can you provide some links by any chance?
It's like confusing "open-source" Android, AOSP and Play Services: https://arstechnica.com/gadgets/2018/07/googles-iron-grip-on...

>While Android is open, it's more of a "look but don't touch" kind of open. You're allowed to contribute to Android and allowed to use it for little hobbies, but in nearly every area, the deck is stacked against anyone trying to use Android without Google's blessing. The second you try to take Android and do something that Google doesn't approve of, it will bring the world crashing down upon you.
Interesting point. Using the python client I can rack up 50+ logins in a day.

Because each time I update a file the watchdog updates the cloud version, logging in then logging off after.
Corporations should not have many opinions and should operate within the law.

Until we start crucifying corporate lobbyists in the public square, mass criticism is the only weapon we have.
The internet is a communication medium. It exists to deliver information between people. Since all communication is political, this by definition cannot be done.

Fortunately or unfortunately, you'll have to learn to get along with the other humans on the planet. This is called politics.
An important case on scraping reached the SCOTUS, they ruled on a narrow aspect of that case, then sent it back to the Ninth Circuit. Unless someone finds a lot more meat to litigate, I think the legal books are effectively closed on scraping.

https://techcrunch.com/2022/04/18/web-scraping-legal-court/
> the ugly truth is that Apple intentionally underfunds and underdevelops the browser

That's not a truth that's an opinion. And one I would definitely disagree with.

When it comes to speed, privacy and battery life I am always choosing Safari over Chrome. And many of us care about those three things over new features that often just make the web worse.
A wrongthink reply has been deleted. I though HN had a policy of allowing criticism of Ycombinator (and hopefully ex-Ycombinator led) companies.

The OpenAI threads are the exact opposite: The do not seem organic at all. Of course users probably do all the flagging, but it still gives a bad impression.
> More seriously, English is such a terrible language for this, because it's so full of ambiguities.

English is no more prone to the problem of "some words sound exactly the same as other words" than any other language.
I'm in that middle-state where I program daily for work and hobby, but in earnest I only started about 1.5 years ago. I can make a lot run, mostly API work, data transformation.

I joined the Copilot beta and where it has helped me most is:
1) Ideas
2) Filling in the broad-strokes.

It's name does not deceive, it is only a co-pilot. It will not tell you where to go, it will push you in the right direction and let you focus on the more difficult parts of a task.

I signed up for it because at $10 per month the keystroke reduction is somewhere in ballpark of 70% or more. That's the real value in my use-case.
Why does toothpaste make everything taste horrible?
How fast can one create records in a low-budget Amazon Cloud PostgreSQL?
For that you have to find the grading grids https://www.indicereparabilite.fr/grilles-de-calcul/ which has a set of mower grids, https://www.spareka.fr/media/diagnostics/idr/EN-mower.zip including a cordless mower xlsx, which has an availability sheet. On it, the duration of availability of each component is chosen among the following set:
- N/A or X < 5 years
- 5 years ≤ X < 7 years
- 7 years ≤ X < 9 years
- X ≥ 9 years

So to have perfect grades, components must be estimated to be available for at least 9 years.
"Embedded" has no relationship with size, though. And that's moderately big for "embedded" anyway.
For chemicals the label color conveys important information:

https://chemicalsafety.com/color-coded-labels-for-chemical-s...
The point is that evidence for amyloid-hypothesis is near non-existent unless you take it as a starting point and do circular reasoning.

In clinical trials patients who show the biggest decrease in brain amyloid or tau are not correlated at all with any particular clinical improvement (small as they are).

In mice you can prevent amyloids but don't prevent the disease.
That's really interesting! Just to be clear in my post I'm referring to bog standard email addresses not fidonet...which was also very common at the time.

I'm not aware of any fidonet<--> internet bridges during that time period but I suppose their could have been. AFAIK fido relays all occurred via POTS sync calls between BBSs
ie also invented display:grid;
Interesting that Java, Swift, and Javascript are listed there but not Go. I wonder why
MMO server + client.

http://github.com/tinspin
GSoC'22 Week #1 – Getting Started
https://blog.pwabuilder.com/posts/publish-your-pwa-to-the-io...

> While WebKit is making progress on PWA support, at the time of this writing, PWAs remain a second-class citizen on iOS. The iOS App Store’s support for PWAs is non-existent, requiring a web view-based solution like PWABuilder’s.

> Additionally, because iOS doesn’t allow 3rd party browser engines, your PWA is limited to WebKit’s PWA capabilities, which are currently lagging behind other browser engines.

Google isn't abandoning PWAs, and in fact Chromium continues expanding support to make them as native as possible:

https://web.dev/window-controls-overlay/

Might I also add that the web app manifest is also an open standard, that Safari is lacking on:

https://developer.mozilla.org/en-US/docs/Web/Manifest

https://w3c.github.io/manifest/
I haven't had a conversation with either of these people, so I think you're asking me to answer a different question.
At least for me, when I put in my address, it finds a similarly named, but incorrect address.

Makes it a little hard to use :-/
The Forgotten Technology – one man Stonehenge replica
Check how well your Slate version supports CJK input and input generally on Android. The last time I tested Slate, it had glaring issues on Android.
Paraphrasing the old joke about getting a dry pair, must be an SBC customer.
A family member started getting pretty deep in the crypto game, and went to one crypto conference. Afterwards, we hung out and he was really deflated. He just said, "none of these people understand what's going on. I asked what would happen when the underlying asset values went down, and they tied themselves in knots trying to unravel their own cleverness".

Crypto is interesting to me in the way that algotrading is interesting. Lots of interesting math doing fun things, but not worth really doing unless you have _massive_ resources. To me, there is 1 huge potential win for crypto - replacing clearing houses and banking infrastructure. Winning that is going to make a small number of investors extraordinarily wealthy.

There is 1 other interesting case for crypto, which is a common API that doesn't care who the winner is. But that's a questionable win.

Everything else in the crypto/defi/web 3.0 world is just a scaled MLM ecosystem.
Does anyone have an extra invite for Seedhub or know someone on the founding team that can help me cut the line
Do you guys still use phone numbers? My phone is only for work related matters. Or things that need attention right now like my wife telling me to turn off thr stove.

Most of the time when I get a call, I don't pick it up unless I know who it is. It's a bit like my hotmail email, mostly spam or formal things.

I'm not American, so it may be a little different here.
battery life is another stated reason I believe.
looks interesting ...do you have a fully self hostable option?
https://github.com/servo/servo/issues/28777
The agents can implement any input mechanism. If I'm writing a text-based browser, I should be able to accept mark-down. Chromium can do whatever fancy thing they please.

For output (the value of the field), HTML is good enough already.

I don't see the problem.
Not sure about everyone else but without a business plan or utility that still sounds like defrauding investors to me.
"Corporations should not have many opinions and should operate within the law."

That would almost be ok if corporations weren't allowed to lobby the government, have their employees, owners or board members go work in politics or have other types of influence on politicians.

But they have tremendous influence on the laws that they themselves ostensibly have to follow.

Not to mention that:

- even when they break laws they tend to get just a slap on the wrist

- the corporate execs responsible for the lawbreaking rarely go to jail

- even if they're unlucky enough to go to jail the jails tend to be cushy country clubs

- execs have golden parachutes that let them cash out even if they screw the company, and can easily get jobs elsewhere (not that the people at the top who bear ultimate responsibility for the company even have to work another day in their life)

- corporations manipulate voters' opinions through (perfectly legal) advertising, PR, media ownership/influence, sponsorship, greenwashing, astroturfing, etc
I haven't upgraded my Mac for a while and been wondering about what the measured range of delay might be for M1 (or M2) over 1080p video at 24fps.

My experience on an older Mac (late 2014) was that even at 320x240 I'd get non-negligible delay.
I ended up getting a Magewell Capture. As far as I know Magewell and Blackmagic are the only HDMI to USB devices that perform hardware h.264 encoding. It works perfectly and even has configurable video processing options, but I can't currently use it with OBS without introducing a delay.

Regardless of whether newer machine might make OBS encoding delay negligible, I wonder if a layered approach might work: I'm not well versed in video streaming technologies, but perhaps _layered streams_ approach which I think is supported in some video formats could allow OBS to work faster as a tool that combine multiple encoded video streams into a single video.
One such stream for example might be the main video camera + additional say keyboard facing camera and finally a text layer which should be much faster to encode than having to re-encode the entire output.
Maybe so, but another option is that the main functionality of the website tells me to use Chrome in a vary accessible way. :)

Don't take it like I'm trying to be snarky, it was just funny to be in two minorities with contradicting significance for the developer.
I imagine that the music in Ulysses gives one a picture of what he'd have been singing.
Yet you are only hypothesizing. MS-IE broke standards and stagnate deliberately, I have yet to see such a deliberate behavior from Google. There are hiccups and f*-ups but it is nothing compares to MS.
The entire programmer ethos revolves around building deep understandings of the level abstraction you're working at and deep diving into the layers below when necessary or even just for fun!

I've watched people use co-pilot but and I'm not 100% convinced it's a good thing but I'm open to it. The problem I've seen is that in some cases it generates some really bad code, code that could've been replaced by usage of a standard library.

What I think it's really good at is helping to learn new languages. Getting idiomatic code generated, even if you throw it out eventually is a great way to get a feel for a new language without having to jump back and forth between the editor and the browser.
Weird take in a forum for an industry built on “disruption”
The fact that both Brave and Vivaldi were able to disable Google's FlOC within a very short period of time is evidence against both (a) and (b) in my view.

Even more so the fact that Brave was able to build an alternative ad network on top of Chromium.
Does escape analysis play into it? This could allow the Go compiler to reduce the number of heap allocations (which are not free in either language), which in turn also reduces the load on the GC.
> No matter what. It’s hard. You ignore that.

Of course it's hard but do you really think there's another solution? I just tried to get to the point and not sugar coat it. The OP has said they have tried several things but they have failed. I read that as they've tried several things and given up because there wasn't a quick fix and just gone back to doing X that causes Y.

I'm fairly certain the OP knows what the problem is. Others have posted similar responses. No phones/video games, exercise, read book, set a reminder to go to bed. Get up at the same time no matter what. Your rhythms will reset.

One can try and motivate them or understand the root cause (sometimes that can be even harder to solve), but ultimately it comes down to discipline. Most of the time there isn't a magic pill one can take or as something simple as blue screens. Medication/stretching before bedtime to get rid of the stresses of the day, having a good sleeping environment, dim lights etc can all help to a degree.

People will try and sell you stuff that they say will work, but it's mostly BS or something that is only slightly effective and ignoring the obvious solution which they can't sell you anything.

As others have said it's probably because of too much dopamine simulation. As a society we've got used to not being bored.

Have dinner at a reasonable time, then go for a big walk (without listening to podcasts or texting constantly) and making sure no internet after 10pm. Set a reminder to go to the bedroom at 10.30pm, then go read a book in bed.

Bottom line: Get your ass to bed at X and always get up at Y no matter what. :shrug:
> Why don't they do this?

Because the idea that all you need to do to ensure software is secure is hire an expensive consultant is ridiculous.

Especially with a web browser which are highly complex pieces of software.
Fun fact, Barbara Liskov is the L in SOLID
I never said anything about text formats though. Go crazy as the input, give me HTML as the output. I can sanitize it any way I want on the server-side anyway.
"similar effect"s are not relevant here. H1B are free to go back to their home country at will.
Are we at the point now where each transistor has a small and nearly identical number of atoms?
Olive oil, coconut oil, lard and butter are all recommended for cooking, but not all of them are suitable for high heat.
Well we could produce it all locally instead of having the president begging them to pump more
Ah, gotcha.

Although I don't know any liberals that supported Brexit, that was conservatives that wanted rid of red tape (pesky regulations like maximum working hours) and unions that wanted more red tape than the EU would allow. Unfortunately for the Unions, they voted for Brexit but aren't in control.

Unions are not the same as liberals.