id
int64 0
12.9M
| type
large_stringclasses 5
values | by
large_stringlengths 2
15
⌀ | time
timestamp[us] | title
large_stringlengths 0
198
⌀ | text
large_stringlengths 0
99.1k
⌀ | url
large_stringlengths 0
6.6k
⌀ | score
int64 -1
5.77k
⌀ | parent
int64 1
30.4M
⌀ | top_level_parent
int64 0
30.4M
| descendants
int64 -1
2.53k
⌀ | kids
large list | deleted
bool 1
class | dead
bool 1
class |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
41,797,900 | comment | mike_hearn | 2024-10-10T11:50:08 | null | Conceptually, they aren't that different. The details do matter though.<p>WASM on its own isn't anything special security-wise. You could modify Java to be as secure or actually more secure just by stripping out features, as the JVM is blocking some kinds of 'internal' security attacks that WASM only has mitigations for. There have been many sandbox escapes for WASM and will be more, for example this very trivial sandbox escape in Chrome:<p><a href="https://microsoftedge.github.io/edgevr/posts/Escaping-the-sandbox-A-bug-that-speaks-for-itself/" rel="nofollow">https://microsoftedge.github.io/edgevr/posts/Escaping-the-sa...</a><p>... is somewhat reminiscent of sandbox escapes that were seen in Java and Flash.<p>But! There are some differences:<p>1. WASM / JS are minimalist and features get added slowly, only after the browser makers have done a lot of effort on sandboxing. The old assumption that operating system code was secure is mostly no longer held whereas in the Flash/applets/pre-Chrome era, it was. Stuff like the Speech XML exploit is fairly rare, whereas for other attempts they added a lot of features very fast and so there was more surface area for attacks.<p>2. There is the outer kernel sandbox if the inner sandbox fails. Java/Flash didn't have this option because Windows 9x didn't support kernel sandboxing, even Win2K/XP barely supported it.<p>3. WASM / JS doesn't assume any kind of code signing, it's pure sandbox all the way. | null | null | 41,795,946 | 41,795,561 | null | null | null | null |
41,797,901 | comment | moralestapia | 2024-10-10T11:50:09 | null | Citation needed.<p>I worked on protein structure prediction for a couple years and it was sota. | null | null | 41,795,132 | 41,786,101 | null | null | null | null |
41,797,902 | comment | ListeningPie | 2024-10-10T11:50:10 | null | I've also been thinking in a kitchen analogy to get management onboard to freeing up the tools used by engineers. There is a push to unify and breakdown silos, which is great, but in the eyes of management it also means using the same IDEs, the same OS, the same AIs etc.<p>My kitchen analogy is that the tools the engineers use are like the chefs kitchen knives, as long as the dish (code quality) is the same, engineers should be supported in choosing the tools that serve them best and the end results presented goes through a final pass (code review).<p>Back to the article, I disagree engineers should make the menu, it's not there job to know what the customer wants or to set prices. The engineers cook, the menu would be the maitre'd with the restaurant owner that decides (Yes, in a restaurant the head chef makes the menu and here the analogy breaks down.) | null | null | 41,797,009 | 41,797,009 | null | [
41799635
] | null | null |
41,797,903 | comment | Mtinie | 2024-10-10T11:50:15 | null | <a href="https://pubchem.ncbi.nlm.nih.gov/compound/Cocaine" rel="nofollow">https://pubchem.ncbi.nlm.nih.gov/compound/Cocaine</a><p>Does the molecule C17H21NO4 exist in both the raw, dried leaves of the coca plant, and a powdered, refined extract from the same plant? | null | null | 41,796,307 | 41,787,798 | null | [
41798257
] | null | null |
41,797,904 | comment | MattRix | 2024-10-10T11:50:16 | null | Well again, this is the problem with how far you’ve stretched the carpentry comparison. You said it was disingenuous for the CAD user to call themselves a carpenter… and as far as I understand, the CAD user is your equivalent of a game dev who only uses engines.<p>If your argument is just that sometimes game devs can also make the engine at the same time as making the game, then yeah I agree with that… but I think your earlier posts were saying a lot more than that (such as implying that engine users aren’t really game developers and are basically equivalent to AI art prompters).<p>Also it’s a little funny you bring up the example of an XNA/FNA game, because that’s already a relatively high level framework, the kind of code those devs would use is really quite similar to using an engine, especially another C# engine like Unity. | null | null | 41,793,844 | 41,779,519 | null | [
41799459
] | null | null |
41,797,905 | comment | meiraleal | 2024-10-10T11:50:27 | null | We would gain a lot from an independent Chrome and app store that needs and respect devs. | null | null | 41,794,918 | 41,784,287 | null | [
41800635
] | null | null |
41,797,906 | comment | Tepix | 2024-10-10T11:50:46 | null | The difficulty is configurable.
You can play around with it at <a href="https://bcrypt-generator.com/" rel="nofollow">https://bcrypt-generator.com/</a><p>I found this, not sure if it's still up-to-date:<p>◉ PHP's default implementation of bcrypt uses 10 rounds.<p>◉ Python's bcrypt library uses 12 rounds by default.<p>◉ Node.js's bcrypt library uses 10 rounds by default.<p>See also: <a href="https://gist.github.com/Chick3nman/32e662a5bb63bc4f51b847bb422222fd#file-rtx_4090_v6-2-6-benchmark-L8" rel="nofollow">https://gist.github.com/Chick3nman/32e662a5bb63bc4f51b847bb4...</a> | null | null | 41,797,158 | 41,792,500 | null | null | null | null |
41,797,907 | comment | getment | 2024-10-10T11:50:55 | null | [dead] | null | null | 41,797,888 | 41,797,888 | null | null | null | true |
41,797,908 | comment | jiggawatts | 2024-10-10T11:50:56 | null | That only works if you sit in isolation on a mountain and start with no_std and write everything else from scratch, yourself.<p>The majority exist in a community and have to collaborate with others. They have to deal with the code written by others, code which may use any language feature.<p>Every developer doing serious work will trip over every available language feature eventually. | null | null | 41,794,531 | 41,791,773 | null | [
41798587
] | null | null |
41,797,909 | story | psvisualdesign | 2024-10-10T11:50:57 | Discovering Backdoor in Chinese Router Firmware Update Server – Totolink [video] | null | https://www.youtube.com/watch?v=ZaDnD7g57tg | 1 | null | 41,797,909 | 0 | [
41798014
] | null | null |
41,797,910 | comment | null | 2024-10-10T11:51:13 | null | null | null | null | 41,797,520 | 41,797,520 | null | null | true | null |
41,797,911 | comment | Kbelicius | 2024-10-10T11:51:17 | null | > I think you are drastically overestimating the revenue gain from ad blockers<p>I think you are underestimating it. There must be a reason why google is trying to work around ad blockers on their platforms.<p>> But I highly doubt they make any back given > 1k people work on it<p>Where did you find that number? I highly doubt it. Maybe if you are counting contributors to chromium. | null | null | 41,794,600 | 41,784,287 | null | null | null | null |
41,797,912 | comment | mikedelfino | 2024-10-10T11:51:19 | null | > a world where a random click from HN or reddit can't quietly compromise your entire computer<p>Doesn't Flatpak also solve this? | null | null | 41,797,154 | 41,796,030 | null | null | null | null |
41,797,913 | comment | null | 2024-10-10T11:51:26 | null | null | null | null | 41,797,500 | 41,797,500 | null | null | true | null |
41,797,914 | comment | vundercind | 2024-10-10T11:51:26 | null | In a way, but I have a feeling the conquest of work-life by people who don’t understand the directly-productive work the company does is a result of economics operating in the 1980s—present era of unshackled M&A. It’s a regulatory outcome. | null | null | 41,797,725 | 41,794,566 | null | null | null | null |
41,797,915 | comment | honeybadger1 | 2024-10-10T11:51:32 | null | Lets attack one of the bastions of information freedom...in the name of Palestine, sigh. Ass-hat hackers. | null | null | 41,792,500 | 41,792,500 | null | null | null | null |
41,797,916 | comment | Hugsun | 2024-10-10T11:52:27 | null | > you could replace every instance of "ball" in this article with "sphere" and it would still be correct.<p>I completely agree. N-ball is maybe more mathematically precise. It might rule out some strange edge case I couldn't think of. I chose it mostly for stylistic reasons. n-ball is shorter than n-sphere, and ball is a more playful term.<p>I do however understand the need to define the two object classes, and see little issue with giving them distinct names. | null | null | 41,796,476 | 41,789,242 | null | [
41798395
] | null | null |
41,797,917 | comment | umanwizard | 2024-10-10T11:52:41 | null | Random tangent: now I’m curious if there are any languages where the word for alcohol and vodka (or whatever is locally the most common spirit) is the same. Seems plausible that there would be. | null | null | 41,797,318 | 41,787,798 | null | [
41798537,
41798220
] | null | null |
41,797,918 | comment | null | 2024-10-10T11:52:45 | null | null | null | null | 41,797,468 | 41,797,468 | null | null | true | null |
41,797,919 | comment | syllogism | 2024-10-10T11:53:22 | null | Yes there's been various recommendations of this over the years and I think it's really bad.<p>Using try/except for conditional logic gives the developer a spurious choice between two different syntaxes to express the same thing. The reader is then asked to read try/except blocks as meaning two different things: either ordinary expected branching in the function, or handling exceptions.<p>I think it's definitely better if we just use conditionals to express conditionals, and try/except for errors, like every other language does. Here's some examples of where this duplication of syntax causes problems.<p>* Exceptions are often not designed to match the interface well enough to make this convenient. For instance, 'x in y' works for both mapping types and lists, but only mapping types will raise a `KeyError`. If your function is expected to take any iterable, the correct catching code will be `except (KeyError, IndexError)`. There's all sorts of these opportunities to be wrong. When people write exceptions, they want to make them specific, and they're not necessarily thinking about them as an interface to conveniently check preconditions.<p>* Exceptions are not a type-checked part of the interface. If you catch `(KeyError, IndexError)` for a variable that's just a dictionary, no type checker (or even linter?) is going to tell you that the `IndexError` is impossible, and you only need to catch `KeyError`. Similarly, if you catch the wrong error, or your class raises an error that doesn't inherit from the class that your calling code expects it to, you won't get any type errors or other linting. It's totally on you to maintain this.<p>* Exceptions are often poorly documented, and change more frequently than other parts of the interface. A third-party library won't necessarily consider it a breaking change to raise an error on a new condition with an existing error type, but if you're conditioning on that error in a try/except, this could be a breaking change for you.<p>* The base exceptions are very general, and catching them in code that should be a conditional runs a significant risk of catching an error by mistake. Consider code like this:<p><pre><code> try:
value = my_dict[some_function()]
except KeyError:
...
</code></pre>
This code is very seriously incorrect: you have no way of knowing whether 'some_function()' contains a bug that raises a KeyError. It's often very annoying to debug this sort of thing.<p>Because you must never ever ever call a function inside your conditional try block, you're using a syntax that doesn't compose properly with the rest of the language. So you can either rewrite it to something like this:<p><pre><code> value = some_function()
try:
return my_dict[value]
except KeyError:
...
</code></pre>
Or you can use the conditional version (`if my_dict[some_function()]`) just for these sorts of use-cases. But now you have both versions in your codebase, and you have to think about why this one is correct here and not the other.<p>The fundamental thing here is that 'try/except' is a "come from": whether you enter the 'except' block depends on which situations the function (or, gulp, functions) you're calling raise that error. The decision isn't local to the code you're looking at. In contrast, if you write a conditional, you have some local value and you're going to branch based on its truthiness or some property of it. We should only be using the 'try/except' mechanism when we _need_ its vagueness --- when we need to say "I don't know or can't check exactly what could lead to this". If we have a choice to tighten the control flow of the program we should.<p>And what do you buy for all this spurious decision making and the very high risk of very serious bugs anyway? Why should Python do this differently from every other language? I don't see any benefits in that article linked, and I've never seen any in other discussions of this topic. | null | null | 41,797,660 | 41,794,818 | null | [
41798031
] | null | null |
41,797,920 | comment | ossobuco | 2024-10-10T11:53:42 | null | "All Ukrainians live in Canada! — The people"<p>"If the dick is too short, it's Putin's fault — The people"<p>This is actually hilarious, thanks for sharing. By the way you seem to forget that Ukrainians have several ethnic slurs for Russians, like Katsap and Moskal.<p>I suggest you add this to your reading list: <a href="https://neolurk.org/wiki/%D0%9A%D0%B0%D1%86%D0%B0%D0%BF%D1%8B" rel="nofollow">https://neolurk.org/wiki/%D0%9A%D0%B0%D1%86%D0%B0%D0%BF%D1%8...</a> | null | null | 41,792,909 | 41,749,470 | null | null | null | null |
41,797,921 | comment | vundercind | 2024-10-10T11:53:48 | null | Having watched nearly all my work ever basically be thrown away, usually way before it actually provides enough benefits to have been worth the cost, and for reasons that have nothing to do with the quality of the work: yeah, I definitely don’t care enough about anything I make at work to stick my neck out quite <i>that</i> far. There’s professional, then there’s unhealthy. | null | null | 41,795,906 | 41,794,566 | null | null | null | null |
41,797,922 | comment | ossobuco | 2024-10-10T11:53:54 | null | I suggest you read this as well: <a href="https://neolurk.org/wiki/%D0%9A%D0%B0%D1%86%D0%B0%D0%BF%D1%8B" rel="nofollow">https://neolurk.org/wiki/%D0%9A%D0%B0%D1%86%D0%B0%D0%BF%D1%8...</a> | null | null | 41,793,916 | 41,749,470 | null | null | null | null |
41,797,923 | comment | mewpmewp2 | 2024-10-10T11:53:58 | null | It still seems like it could be correlated, but it shouldn't be used as a diagnostic measure or taken as a sign of something. It's more likely to be a sign of abusive parenting, but abusive parenting is also correlated with the psychopath behavior so it all ends up being correlated with each other. | null | null | 41,796,970 | 41,794,807 | null | [
41799205
] | null | null |
41,797,924 | comment | NeoTar | 2024-10-10T11:54:03 | null | Using an apostrophe to mark a plural is often called a grocer’s apostrophe - <a href="https://www.grammar-monster.com/punctuation/using_apostrophes.htm" rel="nofollow">https://www.grammar-monster.com/punctuation/using_apostrophe...</a><p>In English I’m actually ok with it for single letters or abbreviations- “your writing uses a lot of x’s and y’s”, “Can you pack away the CD’s and DVD’s”, but this is a personal quirk and definitely non-standard usage. | null | null | 41,792,259 | 41,787,647 | null | null | null | null |
41,797,925 | comment | throwaway2037 | 2024-10-10T11:54:04 | null | Can I ask a stupid question about shaped charges? I assume they only work on a very fast projectile, like a tank shell. Would they work from a (relatively) slow drone? | null | null | 41,774,396 | 41,769,971 | null | null | null | null |
41,797,926 | comment | torginus | 2024-10-10T11:54:05 | null | I feel like I need to be a bit more frank<p>> WASM is just a bytecode (similar to JVM or .NET bytecode but even higher level ...<p>Yes, and I think this was a poor engineering choice on behalf of WASM engineering team, instead of using something much closer to actual assembly. And we are grappling with long startup times and lots of compiler infra pushed into the client because of that.<p>> ...not your own WASM blob, but you can build a new WASM blob and run that.<p>another baffling limitation, considering you can modify your C#, Java or even native code at runtime.<p>Unless they are working around some constraint unknown to me, in which case I'd love to know about what it is, they made bad technical decisions in the design. | null | null | 41,796,724 | 41,795,561 | null | [
41798012
] | null | null |
41,797,927 | comment | geomark | 2024-10-10T11:54:09 | null | Interesting article. I wonder if in part 2 they will cover the work done at TRW as part of the VHSIC Phase 2 program. They succeeded with a WSI chip called the CPUAX that used some of the same redundancy techniques together with a built in self test and configuration system. | null | null | 41,794,735 | 41,794,735 | null | null | null | null |
41,797,928 | comment | hexfish | 2024-10-10T11:54:16 | null | Please don't confuse anarchy with chaos. | null | null | 41,797,542 | 41,797,009 | null | [
41798347,
41798030
] | null | null |
41,797,929 | comment | zelphirkalt | 2024-10-10T11:54:22 | null | Not everyone subscribes to the believe of needing to sacrifice their own lifetime, when they have have no interest in having children. It is fine, if you personally do. Just stop trying to push that as the single truth onto other people. What is stopping you from simply keeping your opinions addressing yourself, instead of trying to make them into over-generalized views to be pushed onto others? You could say: "For me it was the right decision to do X." and it would be fine. Accept, that others are different. | null | null | 41,797,637 | 41,797,084 | null | [
41803546
] | null | null |
41,797,930 | comment | syllogism | 2024-10-10T11:54:23 | null | I still think using the exception mechanism for things that could just be conditionals is bad. I elaborated on this to a sibling comment. | null | null | 41,797,711 | 41,794,818 | null | null | null | null |
41,797,931 | story | rodrigo975 | 2024-10-10T11:54:30 | Installing Mastodon Inside a FreeBSD Jail: A Comprehensive Guide – IT Notes | null | https://it-notes.dragas.net/2022/11/23/installing-mastodon-on-a-freebsd-jail/ | 3 | null | 41,797,931 | 0 | [
41797986
] | null | null |
41,797,932 | comment | max_ | 2024-10-10T11:54:33 | null | Is Internet Archive teh same as Archive.is? | null | null | 41,792,500 | 41,792,500 | null | [
41797965
] | null | null |
41,797,933 | comment | Scarblac | 2024-10-10T11:54:37 | null | The whole lecture series was about giving students a style of thinking that might hopefully prepare them for the future, without focusing on special knowledge (there were other courses for that).<p>Two of the lectures were spent on building intuition for very high dimensionality (this one), and another on neural networks, because he thought there was a big chance they were going to be important. In the early 90s, not bad. | null | null | 41,795,926 | 41,789,242 | null | null | null | null |
41,797,934 | comment | manuhortet | 2024-10-10T11:54:43 | null | For me Cursor and v0 can and will coexist. Cursor is helpful working at smaller pieces of code in a flow you are orchestrating actively, v0 and bolt are MVP/PoC makers that can't really help much if the project grows. I do think something similar to the mythical AI SWE will happen this decade and that may eat the market, but I don't think it will emerge from these tools.<p>I have been working on generative AI for coding for some time (building producta.ai now), and based on user research and beta testing, people prefer tools that are good at working on existing repositories and at handling complete features, even if later they need to review / update parts of the solutions. If one specific tool ends up eating the rest, it's probably going to start like something on these lines | null | null | 41,797,643 | 41,797,642 | null | [
41798221
] | null | null |
41,797,935 | comment | port19 | 2024-10-10T11:54:43 | null | Bad internet habit, just asssume that "you" refers to the hypothetical person made of nothing but that one expressed opinion | null | null | 41,797,086 | 41,793,597 | null | null | null | null |
41,797,936 | story | em70 | 2024-10-10T11:54:47 | The Race to Negative Latency | null | https://takethemarket.substack.com/p/private-fill-information | 1 | null | 41,797,936 | 0 | null | null | null |
41,797,937 | comment | bluGill | 2024-10-10T11:54:48 | null | they work but if something else is better. | null | null | 41,794,504 | 41,784,287 | null | null | null | null |
41,797,938 | comment | cjfd | 2024-10-10T11:54:49 | null | This is a complete straw man. It is completely normal for developers to ask all of the listed 'banned' questions to the product owner. | null | null | 41,797,009 | 41,797,009 | null | [
41798126
] | null | null |
41,797,939 | comment | gcanyon | 2024-10-10T11:55:21 | null | I read the article and the threads (to a point). It's hilarious that in the article you describe LLMs as being like hasty people jumping to conclusions, and the commenters on HN do <i>exactly</i> that thing in their comments. | null | null | 41,797,091 | 41,789,242 | null | null | null | null |
41,797,940 | story | tomduncalf | 2024-10-10T11:55:24 | OpenAI's financial projections suggest it won't reach a profit until 2029 | null | https://twitter.com/theinformation/status/1844125397228605686 | 2 | null | 41,797,940 | 0 | [
41797983
] | null | null |
41,797,941 | comment | imwillofficial | 2024-10-10T11:55:26 | null | I disagree with this premise entirely.<p>A product owner is the conductor of the symphony.<p>Unless you have a team of experienced senior engineers, the engineers will lack the perspective and wisdom to make the proper choices. | null | null | 41,797,009 | 41,797,009 | null | [
41798158
] | null | null |
41,797,942 | comment | binary132 | 2024-10-10T11:55:36 | null | are you trying to suggest that Darwinian selection is the most efficient way to organize a collective to achieve a goal? | null | null | 41,797,725 | 41,794,566 | null | null | null | null |
41,797,943 | comment | esrauch | 2024-10-10T11:55:44 | null | I think "routinely" is overstating it, billions people are running arbitrary JS on a daily basis and no meaningful number of them are being infected by malware.<p>Browser surface attracts the most intense security researcher scrutiny so they do find really wild chains of like 5 exploits that could possibly zero day, but it more reflects just how much scrutiny it has for hardening, realistically anything else will be more exploitable than that, eg your Chromecast playing arbitrarily video streams must he more exploitable than JS on a fully patched Chrome. | null | null | 41,797,846 | 41,795,561 | null | null | null | null |
41,797,944 | comment | zimpenfish | 2024-10-10T11:55:54 | null | Bizarre that they don't have basic sanity checks on the data they're about to display to millions of people. | null | null | 41,797,500 | 41,797,500 | null | null | null | null |
41,797,945 | comment | Oxodao | 2024-10-10T11:55:59 | null | Plop is an excellent software but I'm not sure it's still that useful. I remember using it to boot to usb sticks on bios that did not support it years ago. That was really cool | null | null | 41,786,870 | 41,786,870 | null | [
41801954
] | null | null |
41,797,946 | comment | pvg | 2024-10-10T11:56:33 | null | Big thread about two months ago <a href="https://news.ycombinator.com/item?id=41303974">https://news.ycombinator.com/item?id=41303974</a> | null | null | 41,797,431 | 41,797,431 | null | [
41798059
] | null | null |
41,797,947 | comment | bravetraveler | 2024-10-10T11:56:38 | null | I'm struggling with this a bit. At a certain point it feels you get pushed in this direction. So many other non-engineers have ideas/promises... and being the one who provides the eggs, incentives are not great. | null | null | 41,797,804 | 41,797,009 | null | null | null | null |
41,797,948 | comment | null | 2024-10-10T11:56:38 | null | null | null | null | 41,797,431 | 41,797,431 | null | null | true | null |
41,797,949 | comment | worldsayshi | 2024-10-10T11:56:53 | null | We have a lot more compartmentalized connections today than in the past. It's not surprising that those people will not "have time" for your grief. But in the past people had most of their lives connected to a fewer number of people. In that context it is more natural to take time for those people. In a smaller world your work friends know your dad so they can share your grief. | null | null | 41,797,348 | 41,797,084 | null | null | null | null |
41,797,950 | comment | albertopv | 2024-10-10T11:56:58 | null | I can only talk about Ford and Italy.
Here the owner of the vehicle must give explicit consent to collect and share data with third party. Ford italian branch is very strict about this, first hand experience. I know other european car makers processes are similar, but I have no first hand experience with them. | null | null | 41,781,081 | 41,781,081 | null | null | null | null |
41,797,951 | comment | null | 2024-10-10T11:57:08 | null | null | null | null | 41,797,393 | 41,797,393 | null | null | true | null |
41,797,952 | comment | null | 2024-10-10T11:57:22 | null | null | null | null | 41,797,426 | 41,797,426 | null | null | true | null |
41,797,953 | comment | Scarblac | 2024-10-10T11:57:27 | null | The whole series is on Youtube, awesome.<p>The course was also the basis for his book _The Art of Doing Science and Engineering_ (1997). At first it takes some getting used to as you have the feeling it may be outdated, but it's about teaching a style of thinking. It's great. | null | null | 41,790,016 | 41,789,242 | null | null | null | null |
41,797,954 | comment | bluGill | 2024-10-10T11:57:35 | null | Bags of dry beans are a lot cheaper than cans. there should be room for a few vegitables in the budget. | null | null | 41,793,945 | 41,780,569 | null | [
41800008
] | null | null |
41,797,955 | comment | simiones | 2024-10-10T11:57:36 | null | > From the economics perspective, something being Monopoly doesn't mean it's inefficient.<p>From an economics perspective, if there is a monopoly, there is no free market, so you can't rely on the market for efficiency. A monopoly can be efficient, but it can also be arbitrarily inefficient and still keep its position. | null | null | 41,792,797 | 41,784,287 | null | [
41800563
] | null | null |
41,797,956 | comment | null | 2024-10-10T11:57:48 | null | null | null | null | 41,797,321 | 41,797,321 | null | null | true | null |
41,797,957 | story | wslh | 2024-10-10T11:58:16 | null | null | null | 1 | null | 41,797,957 | null | [
41797978
] | null | true |
41,797,958 | comment | Arch-TK | 2024-10-10T11:58:26 | null | > The reality is that most developers have subconsciously internalized the compiler behavior and assume that will always hold.<p>I blame this on how people like to teach C and present C.<p>It's very important that the second anyone conceives of the idea of learning C that they first off informed that trying things and seeing what happens is a highly unreliable method of learning how C programs behave and that C is not a high level assembly language.<p>If you teach C in relation to the abstract machine instead of any real world machine you will understandably scare off most people. Which is good, since most people shouldn't be learning or writing C. It's a language which can barely be written correctly even by people with the necessary self discipline to only write code they're 100% certain is well defined.<p>> It is difficult to determine if I’ve been successful in this endeavor.<p>Why is your program so full of casts between pointer types that you have difficulty determining if you've avoided strict aliasing?<p>Yes, if you treat C as a high level assembly language (like the linux kernel likes to do) then it becomes difficult to reason about the behaviour of your programs where 50% of them are in the grey area of uncertainty of whether they're well defined or not.<p>If you are forced to write C in a non-learning context, don't write any line of code unless you're certain you could tell someone which parts of the standard describe its behaviour.<p>> Here is why I don’t blame the developers: writing fast, efficient systems code that satisfies the requirements of strict aliasing as defined by C/C++ is surprisingly difficult.<p>C/C++ isn't a language. So I will stick to C because I don't know nor care about C++.<p>That being said, it's not hard to write efficient C which satisfies the requirements of strict aliasing except when you're dealing with idiotic APIs like bind or connect. Most code by default, assuming you use appropriate algorithms and data structures, is performant. The only time it becomes difficult with regards to strict aliasing is if you're micro optimizing.<p>While non-trivial, the case of converting between unsigned long and float shown in the article is entirely possible to do with completely safe C constructs. Likewise serialization/deserialization of binary data never requires coming close to aliasing unless you're dealing with a "native" endian protocol. In the case of general serialisation and deserialisation, compilers will reliably optimise such operations into one or two instructions (depending on whether you're decoding same-endianness or not). | null | null | 41,796,121 | 41,757,701 | null | [
41800247,
41798517
] | null | null |
41,797,959 | story | 082349872349872 | 2024-10-10T11:58:29 | null | null | null | 1 | null | 41,797,959 | null | [
41797993
] | null | true |
41,797,960 | comment | known | 2024-10-10T11:58:31 | null | [dead] | null | null | 41,795,953 | 41,795,218 | null | null | null | true |
41,797,961 | comment | null | 2024-10-10T11:58:42 | null | null | null | null | 41,797,332 | 41,797,332 | null | null | true | null |
41,797,962 | comment | guappa | 2024-10-10T11:59:08 | null | "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."<p>-- Andrew S. Tanenbaum | null | null | 41,794,318 | 41,793,658 | null | null | null | null |
41,797,963 | comment | Arch-TK | 2024-10-10T11:59:13 | null | "correctness-oriented C" definitionally cannot consider "[relying] on those casts". | null | null | 41,797,666 | 41,757,701 | null | null | null | null |
41,797,964 | comment | null | 2024-10-10T11:59:31 | null | null | null | null | 41,797,390 | 41,797,390 | null | null | true | null |
41,797,965 | comment | stephen_g | 2024-10-10T11:59:32 | null | No. It’s not clear who runs Archive.is (there are domains registered by a ‘Denis Petrov’ with an address in Prague), but the Internet Archive (archive.org) is run by a non-profit foundation. | null | null | 41,797,932 | 41,792,500 | null | null | null | null |
41,797,966 | comment | null | 2024-10-10T11:59:42 | null | null | null | null | 41,797,397 | 41,797,397 | null | null | true | null |
41,797,967 | comment | null | 2024-10-10T11:59:53 | null | null | null | null | 41,797,211 | 41,797,211 | null | null | true | null |
41,797,968 | comment | madeofpalk | 2024-10-10T11:59:53 | null | I think Matt is very clearly in the wrong here. He's trying to impose additional restrictions on GPL-licensed software. His incorrect perspective is of little value to me.<p>> Matt seems convinced (for better or worse) that WP Engine tried to mislead Wordpress users, and tried to damage Wordpress in other ways.<p>He's not.<p>> The analogy I made is they got Al Capone for taxes,” Mullenweg says. [...] Mullenweg argues one of the reasons for its success is the use of “WordPress” across its site. “That’s why we’re using that legal avenue to really, yeah, pressure them. That’s true: we are pressuring them.”<p>He wants WP Engine to pay/contribute (while requiring audits to ensure they're properly contributing), and is just using trademark claims as the instrument to force them to pay up.<p><a href="https://www.theverge.com/2024/10/4/24262232/matt-mullenweg-wordpress-org-wp-engine" rel="nofollow">https://www.theverge.com/2024/10/4/24262232/matt-mullenweg-w...</a> | null | null | 41,797,576 | 41,796,748 | null | null | null | null |
41,797,969 | comment | heisenbit | 2024-10-10T11:59:57 | null | Often there is not so much work for PO as many projects are not dealing with something new but a slight variation of existing functionality. In contrast to this just reinventing the wheel on a newer stack requires many architectural, tactical and technical decisions. The role of the architect has been relegated to ‚the team‘ and is parceled into user stories chopped into sprints. Without balancing mechanisms for product and technical leadership we will continue to produce random quality under consistent high pain. | null | null | 41,797,009 | 41,797,009 | null | null | null | null |
41,797,970 | comment | farouqaldori | 2024-10-10T12:00:01 | null | Thank you so much!<p>1. Where exactly did you see this? There are internal FinetuneDB API keys, and external API keys like OpenAI. Though it's confusing, I agree!<p>2. Work in progress.<p>3. I agree, thanks for the feedback.<p>There are multiple components working together, so it's hard to define a single tech stack. When it comes to the web app, Remix is my framework of choice and can highly recommend it. | null | null | 41,795,982 | 41,789,176 | null | [
41798740
] | null | null |
41,797,971 | comment | viraptor | 2024-10-10T12:00:16 | null | Browsers are using new http features much earlier than they're available in the system libraries. Browsers supported http2 and 3 before they were standardised enough to include in systems. .net http client still can't even tell you about http2 early hints as far as I understand it.<p>It's going to be the same for crypto and compression. Systems don't ship with brotli for example. The battle tested implementations come to the browsers first in many cases - or at least they're battle tested at the point anyone starts including them in .net or Java. | null | null | 41,797,301 | 41,796,030 | null | [
41798836
] | null | null |
41,797,972 | comment | null | 2024-10-10T12:00:25 | null | null | null | null | 41,797,266 | 41,797,266 | null | null | true | null |
41,797,973 | comment | simiones | 2024-10-10T12:00:35 | null | If the drug is needed by 1 million people, selling it for $1 will net you $1 million (let's assume all the 1 million can afford $1). If they instead sell it for $1000 and only 2000 people who need it can afford it, they'll make $2 million, so it's much more economically efficient. | null | null | 41,794,948 | 41,784,287 | null | null | null | null |
41,797,974 | comment | roessland | 2024-10-10T12:00:36 | null | Sorry, might have mixed up Yup and Joi.
Anyways, I prefer Zod to both of them. | null | null | 41,791,201 | 41,764,163 | null | null | null | null |
41,797,975 | comment | PaulRobinson | 2024-10-10T12:00:38 | null | What an absurd premise. It's too valuable to allow it to disappear. Revenues of $30m/year in a territory with a GDP of ~$70m/year means there is more than enough skin in it to suggest that this moves from a ccTLD as it was to a gTLD, if IANA really care about the difference. It's another Tuvalu (.tv) story in the making, nobody in Mauritius, the UK or the islands themselves is going to just let this disappear. | null | null | 41,797,771 | 41,797,771 | null | null | null | null |
41,797,976 | comment | LightBug1 | 2024-10-10T12:01:02 | null | The mental exercise is to compare two identical Jeff Bezos' (identify his attributes), one has the background/funds they did, one doesn't.<p>Of course, that's not possible, so then you do the same with other highly intelligent and skilled tech professionals. I'd argue that without the funding and other resources, those skilled pro's won't get anywhere. But with it, some would do incredibly well. It's not common in a global sense, but we see it every single day.<p>Comparing Bezos to thousands/millions of randomised others is pointless.<p>Then you may say, oh but Amazon is unique. Yes, but then there are other factors at play. Like the luck (skill? funding?) to take advantage of a unique moment in time at the start of the web. That moment isn't available eveI mean, try to start an Amazon today ... etc | null | null | 41,788,424 | 41,786,101 | null | null | null | null |
41,797,977 | comment | hyperG | 2024-10-10T12:01:18 | null | Tolerance for ideas one disagrees with has a very short history in space and time. Intolerance in this area seems to be the long run equilibrium and we are simply returning from a far from equilibrium state that could only last so long. | null | null | 41,789,891 | 41,785,553 | null | null | null | null |
41,797,978 | comment | null | 2024-10-10T12:01:24 | null | null | null | null | 41,797,957 | 41,797,957 | null | null | true | null |
41,797,979 | story | rbanffy | 2024-10-10T12:01:39 | null | null | null | 2 | null | 41,797,979 | null | [
41798046
] | null | true |
41,797,980 | comment | __jonas | 2024-10-10T12:01:40 | null | Alright sure, I guess I just don't understand what it is "you need" for state management then, but I don't want to get caught up in this too much, you've made your point.<p>I 100% agree that React is super boilerplate heavy, a lot of things are indeed 'a whole celebration', I personally choose something like Svelte over React if I have the choice, because I don't enjoy that either.
All I'm saying is that plain React is not useless! It's completely fine.
I don't mind working with it, it makes a tradeoff of being more ceremony but perhaps less magic and I think the tradeoff is okay. | null | null | 41,794,341 | 41,781,457 | null | null | null | null |
41,797,981 | comment | sandworm101 | 2024-10-10T12:01:53 | null | >> All universities should provide digital copies of their students bachelor's and masters thesis as well as PhDs<p>I'm not sure that is healthy, not for undergraduates. I'm all for open access to knowledge, but I question how much knowledge is actually in the average undergraduate thesis. I think a greater danger exists in people being held to things they said while an undergraduate student.<p>Famously, some of the stuff written by president Obama while he was a law student at Harvard has not been released, nor should it be. We shouldn't hold people for a lifetime to the incorrect, dangerous, or just outright silly stuff they might have said in a papers when they are new to a subject. Putting undergrad work into a perpetual public archive would also have a chilling effect amongst young students who should be enjoying academic freedom. I cannot remember 99% of the stuff I wrote as an undergraduate, but I know that somewhere in there is something horrible that I am glad to have forgotten. | null | null | 41,793,896 | 41,789,815 | null | [
41801422
] | null | null |
41,797,982 | comment | throwaway2037 | 2024-10-10T12:01:53 | null | <p><pre><code> > gradations of nuclear exchange
</code></pre>
This is the first time that I have seen this terminology. I tried to Google for it, but I cannot find any information about this idea. Are there any war college studies (US/Europe) that you can share?<p>Controversially, I don't think generals from either the US, nor Russia, would be willing to "pull the trigger" and launch a nuclear attack. Yes, I really think there would be a constitutional crisis where senior ministers and military leaders might stage an "instant" coup to prevent a nuclear attack. | null | null | 41,775,454 | 41,769,971 | null | null | null | null |
41,797,983 | comment | null | 2024-10-10T12:02:05 | null | null | null | null | 41,797,940 | 41,797,940 | null | null | true | null |
41,797,984 | comment | Ennea | 2024-10-10T12:02:12 | null | I was indeed wondering. Thank you. | null | null | 41,797,641 | 41,796,030 | null | null | null | null |
41,797,985 | story | lexoj | 2024-10-10T12:02:13 | BBC Weather fault forecasts hurricanes across world | null | https://www.bbc.com/news/articles/c0kjrp2rngzo | 2 | null | 41,797,985 | 0 | [
41797987
] | null | null |
41,797,986 | comment | null | 2024-10-10T12:02:20 | null | null | null | null | 41,797,931 | 41,797,931 | null | null | true | null |
41,797,987 | comment | null | 2024-10-10T12:02:28 | null | null | null | null | 41,797,985 | 41,797,985 | null | null | true | null |
41,797,988 | comment | known | 2024-10-10T12:02:37 | null | [dead] | null | null | 41,794,807 | 41,794,807 | null | null | null | true |
41,797,989 | comment | om8 | 2024-10-10T12:02:58 | null | The cool thing about rust is that it forces you to use thread safety primitives. It's called fearless concurrency | null | null | 41,797,486 | 41,796,030 | null | null | null | null |
41,797,990 | comment | ibejoeb | 2024-10-10T12:03:01 | null | Agreed. In that situation (following tfa's language) the product owner must either be an architect or be besties with one. A hoard of relatively unskilled laborers is not going to produce a cogent product otherwise. Then, what are you left with? The architect is leading the charge.<p>It's also good to take a step back and recall that all of these prescriptive, brand-name models for making software are, in fact, products in and of themselves. Their purported aim is to improve software, but what they really do is sell books, conference tickets, and consulting services. | null | null | 41,797,744 | 41,797,009 | null | null | null | null |
41,797,991 | story | amichail | 2024-10-10T12:03:18 | Coffee for Your Heart: The Regenerative Power of Caffeine on Vascular Health | null | https://scitechdaily.com/coffee-for-your-heart-the-regenerative-power-of-caffeine-on-vascular-health/ | 1 | null | 41,797,991 | 1 | [
41798509
] | null | null |
41,797,992 | comment | yreg | 2024-10-10T12:03:31 | null | of course | null | null | 41,797,135 | 41,784,287 | null | null | null | null |
41,797,993 | comment | pvg | 2024-10-10T12:03:45 | null | Recent big thread <a href="https://news.ycombinator.com/item?id=40378433">https://news.ycombinator.com/item?id=40378433</a> | null | null | 41,797,959 | 41,797,959 | null | null | null | null |
41,797,994 | comment | cesarb | 2024-10-10T12:03:51 | null | > I don't know of any browser engine in C#/Java?<p>A famous one is HotJava. According to Wikipedia, it was also the first web browser to support Java applets. | null | null | 41,797,196 | 41,796,030 | null | [
41803126,
41798429
] | null | null |
41,797,995 | comment | rsynnott | 2024-10-10T12:03:52 | null | I _think_ they're an employee of the gov.uk design service? | null | null | 41,796,836 | 41,793,597 | null | null | null | null |
41,797,996 | story | tofficer | 2024-10-10T12:03:55 | Show HN: Echo, AI voice and text notes | Hi everyone - My cofounder, Reuben, and I have been working on Echo, a voice & text, mobile-first, note-taking app that uses GPT-4o to organize your thoughts and bring them to life.<p>Download here: <a href="https://apps.apple.com/us/app/echo-ai-notes/id6503351019" rel="nofollow">https://apps.apple.com/us/app/echo-ai-notes/id6503351019</a><p>How Echo works:
1. Write or record notes. We recommend going for a walk and just rambling. Echo works well with unstructured thoughts.
2. Echo automatically organizes your notes into topics.
3. You can ask Echo questions, and it will use your notes to generate a response.<p>We launched in the App Store on Sep 3. The most common use-cases our users share with us are:
- Habit building by capturing how you feel instead of just counting events.
- Getting unstuck when writing by talking out loud.
- Capturing inspiration when it strikes.
- Boosting creativity through daily ramblings.<p>Personally, I use Echo to think through a syllabus for a law school class I'm teaching in the fall. I'm a lawyer turned software designer and I've always struggled to write, but I get energized when talking about my ideas. So, I take Echo for a walk and just talk my way through what I want to teach these students. After a couple days of this, I ask Echo to draft a syllabus for me.<p>Echo is free to use. We're still very early-stage and would love your feedback. You can reach me at [email protected]<p>Thank you!<p>p.s.
We're launching on Product Hunt today. Wish us luck. | https://www.echonotes.ai/ | 3 | null | 41,797,996 | 1 | [
41800698,
41800690
] | null | null |
41,797,997 | story | Hard_Space | 2024-10-10T12:03:58 | null | null | null | 1 | null | 41,797,997 | null | null | null | true |
41,797,998 | comment | Symbiote | 2024-10-10T12:03:59 | null | I found a live example here, on the page where you can check if you are eligible for legal aid: <a href="https://www.gov.uk/check-legal-aid" rel="nofollow">https://www.gov.uk/check-legal-aid</a> then click "Start now" then "Domestic abuse" | null | null | 41,793,597 | 41,793,597 | null | null | null | null |
41,797,999 | story | hashx | 2024-10-10T12:04:04 | Netflix's TimeSeries Data Abstraction Layer | null | https://netflixtechblog.com/introducing-netflix-timeseries-data-abstraction-layer-31552f6326f8 | 2 | null | 41,797,999 | 0 | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.