IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 
Nintendo Direct
 





 

 

 












Ruby: A great language for shell scripts | Hacker News  

3users  
news.ycombinator.com  


Ruby's a great language- I've always enjoyed its ergonomics and clarity. But its editor tooling hasn't kept up with its one-time competitor, Python.I've mostly been in the Python ecosystem for the past few years and the LSP investment from Microsoft has really shown. Rich Python support in VSCode is seamless and simple. Coming back to Ruby after that caught me off guard - it feels like I'm writing




 

2024/06/23 10:51
 



















Leaving Rust gamedev after 3 years | Hacker News  

7users  
news.ycombinator.com  


That's a good article. He's right about many things.I've been writing a metaverse client in Rust for several years now. Works with Second Life and Open Simulator servers. Here's some video.[1] It's about 45,000 lines of safe Rust. Notes: * There are very few people doing serious 3D game work in Rust. There's Veloren, and my stuff, and maybe a few others. No big, popular titles. I'd expected some A




 

2024/04/27 09:23
 









 











Ask HN: How do you store your knowledge? | Hacker News  

3users  
news.ycombinator.com  


Hello, HN community, I'm currently in the ideation phase of a new project focused on improving how individuals manage and organize their knowledge. I'm seeking to understand your current methods and challenges in this area.I'd greatly appreciate it if you could share your thoughts on the following: 1) List Organization: How do you manage your reading, watching, and listening lists? 2) Content Capt




 

2024/04/23 23:15
 



 











HonoJS: Small, simple, and ultrafast web framework for the Edges | Hacker News  

5users  
news.ycombinator.com  


I created a pet project (REST API) with Hono and I'm seriously considering using it for future projects instead of what has been my go-to stack for years (Express, lately with Zodios).Hono's middlewares, especially zod-openapi[1] and @scalar/hono-api-reference[2], make it really easy to define your REST endpoints once and get full typesafe routes with request/response validation, an automatic Open




 

2024/04/16 21:25
 



 











XZ backdoor: "It's RCE, not auth bypass, and gated/unreplayable." | Hacker News  

3users  
news.ycombinator.com  


EDIT: Here's some more RE work on the matter. Has some symbol remapping information that was extracted from the prefix trie the backdoor used to hide strings. Looks like it tried to hide itself even from RE/analysis, too.https://gist.github.com/smx-smx/a6112d54777845d389bd7126d6e9... Full list of decoded strings here: https://gist.github.com/q3k/af3d93b6a1f399de28fe194add452d01 -- For someone unfa




 

2024/03/31 19:12
 













Backdoor in upstream xz/liblzma leading to SSH server compromise | Hacker News  

3users  
news.ycombinator.com  


Very annoying - the apparent author of the backdoor was in communication with me over several weeks trying to get xz 5.6.x added to Fedora 40 & 41 because of it's "great new features". We even worked with him to fix the valgrind issue (which it turns out now was caused by the backdoor he had added). We had to race last night to fix the problem after an inadvertent break of the embargo.He has been




 

2024/03/30 07:15
 













Why is Common Lisp not the most popular programming language? | Hacker News  

4users  
news.ycombinator.com  


It's the lists.No, not the prefix notation, parenthesis, what have you, although that doesn't help. The lists themselves. In Lisp, code is data, and data is lists. Yes, of course, there are hashmaps, arrays, strings. But idiomatic Lisp code really does use linked lists extensively, it's an entire style of programming. Even if you'd prefer to use different data structures (and again, Common Lisp do




 

2024/02/15 10:01
 



 











Pkl, a Programming Language for Configuration | Hacker News  

5users  
news.ycombinator.com  


Ah sorry - that was an unintended side-effect of re-upping the original submission. I must have done some of the steps in the wrong order. You mean you dont have a distributed merge post microservice that emits post migration events, which are then consumed by a post owner conversion service using your existing event-driven architecture to facilitate seamless data synchronization and user notific




 

2024/02/03 21:48
 



 











My favourite Git commit (2019) | Hacker News  

3users  
news.ycombinator.com  


For better or worse, my experience as a GitHub cofounder and author of several Git books (Pro Git, etc) is that the Git commit message is a unique vector for code documentation that is highly sub-optimal.The main issue is that most of the tooling (in Git or GitHub or whatever) generally only shows the first line. So in the case of this commit example would be the very simple message of a generic "




 

2024/02/02 02:20
 





 











Python 3.13 Gets a JIT | Hacker News  

7users  
news.ycombinator.com  


I think it's really cool that Haoran Xu and Fredrik Kjolstad's copy-and-patch technique[0] is catching on, I remember discovering it through Xu's blog posts about his LuaJIT remake project[1][2], where he intends to apply these techniques to Lua (and I probably found those through a post here). I was just blown away by how they "recycled" all these battle-tested techniques and technologies, and us




 

2024/01/09 20:01
 







 











LIPS: Scheme based Lisp interpreter in JavaScript | Hacker News  

3users  
news.ycombinator.com  


Looks great, however note that it doesn't do tail calls, which are required on conforming implementations. I suspect it does tail calls on Safari as Safari is the ONLY browser to completely implement ES6+ and implement proper tail calls (I'd note that it's not the only ES6+ compliant implementation, but most of the rest are aimed at microcontrollers or embedding).




 

2023/12/31 11:38
 





 











Using Make  writing less Makefile | Hacker News  

3users  
news.ycombinator.com  


Make is the grilling of the hacker world. You just want to light up some quality lumpwood charcoal and get a nice smokey crust on some steaks, cook up some hamburgers, and crisp up some chicken for your guests over the course of an afternoonbut oh no there is a constant stream of inquisitive folk coming over, beer in hand, suggesting cool adjustments / hacks / improvements to your setup. With




 

2023/12/27 10:42
 













Rust std fs slower than Python? No, it's hardware | Hacker News  

4users  
news.ycombinator.com  


There are two dedicated CPU feature flags to indicate that REP STOS/MOV are fast and usable as short instruction sequence for memset/memcpy. Having to hand-roll optimized routines for each new CPU generation has been an ongoing pain for decades.And yet here we are again. Shouldn't this be part of some timing testsuite of CPU vendors by now? I'm completely making stuff up here, but I wonder if this




 

2023/11/29 23:44
 





 











Write your own terminal | Hacker News  

3users  
news.ycombinator.com  


FWIW, I wouldn't try to parse escape sequences directly from the input bytestream -- it's easy to end up with annoying edge cases. :-/ In my experience you'll thank yourself if you can separate the logic into something like:- First step (for a UTF-8-input terminal) is interpreting the input bytestream as UTF-8 and "lexing" into a stream of Unicode Scalar Values (https://www.unicode.org/versions/Un




 

2023/11/11 07:50
 





 











Hidden manuals: gittutorial, giteveryday, gitglossary, gitworkflow | Hacker News  

3users  
news.ycombinator.com  


Today I discovered a set of wonderful and slightly hidden manuals on git: man gittutorial man giteveryday man gitglossary man gitworkflow Actually they arent all that well hidden if an observant user just started poking at git: $ man git GIT(1) ... DESCRIPTION Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations a




 

2023/11/03 15:49
 



 











Using extra Firefox profiles to make my life better | Hacker News  

3users  
news.ycombinator.com  


The real gem of Firefox is Containers. No other browser has something like this. It's something critically missing from Chrome. I don't mean "Just create a private window", I mean being able to create 1 + infinitely many profiles/containers. Firefox has an extension called Temporary Containers that makes this better: Every new tab is a temporary, ephemeral container. By default I get isolation. I




 

2023/10/20 22:43
 



 











Natalie  a work-in-progress Ruby compiler, written in Ruby and C++ | Hacker News  

3users  
news.ycombinator.com  


Related:Natalie: An early-stage Ruby implementation that compiles to C++ - https://news.ycombinator.com/item?id=29660883 - Dec 2021 (50 comments) Natalie: A work-in-progress Ruby implementation, compiled to C++ - https://news.ycombinator.com/item?id=28207921 - Aug 2021 (2 comments)




 

2023/09/25 09:05
 



 











XML is better than YAML  Hear me out | Hacker News  

17users  
news.ycombinator.com  


No offense to the creator of YAML, but: The fact that it became one of the de-facto standards for cloud tooling is an absolutely damning statement about the state of the industry.I get that XML is about as sexy as mainframes, and that a lot of folks here probably have PTSD from working with Java/Spring web apps, but YAML is about the worst of all worlds. Though I think the real problem is that rea




 

2023/09/21 08:07
 







 











Fine-tune your own Llama 2 to replace GPT-3.5/4 | Hacker News  

3users  
news.ycombinator.com  


There has been a lot of interest on HN in fine-tuning open-source LLMs recently (eg. Anyscale's post at https://news.ycombinator.com/item?id=37090632). I've been playing around with fine-tuning models for a couple of years, and wanted to share some insights and practical code. Ive condensed what Ive learned into a small set of notebooks at https://github.com/OpenPipe/OpenPipe/tree/main/examples/




 

2023/09/13 12:39
 













jq 1.7 | Hacker News  

16users  
news.ycombinator.com  


This is great, JQ is brilliant.I love JQ so much we implemented a subset of JQ in Clojure so that our users could use it to munge/filter data in our product (JVM and browser based Kafka tooling). One of the most fun coding pieces I've done, though I am a bit odd and I love writing grammars (big shoutout to Instaparse![1]). I learned through my implementation that JQ is a LISP-2[2] which surprised




 

2023/09/07 10:13
 



 











Why Im betting on Nostr | Hacker News  

4users  
news.ycombinator.com  


I tried Nostr for awhile, and I appreciate that they're picking up where Scuttlebot left off. There are a few things that bug me about it that I wish they'd fix, or that some future protocol will solve.First, I want a replication strategy. Nostr messages get lost in time, and many of the clients end up just blasting an entire message history at your client. Because there's no clue in the protocol




 

2023/09/02 16:16
 













Python Type Hints  *args and **kwargs (2021) | Hacker News  

3users  
news.ycombinator.com  


For typing **kwargs there are TypedDicts https://peps.python.org/pep-0692/If your function just wraps another you can use the same type hints as the other function with functools.wraps https://docs.python.org/3/library/functools.html#functools.w... While functools.wraps does propagate __annotations__ by default, be aware that not all IDE-integrated type checkers handle that properly. It's easy in




 

2023/08/28 00:30
 



 











AST vs. Bytecode: Interpreters in the Age of Meta-Compilation [pdf] | Hacker News  

3users  
news.ycombinator.com  


The authors implemented a stack-based virtual machine for their benchmarks, but as they briefly alluded a register-based virtual machine should perform better. With a register-based VM there is no excessive stack fiddling and fewer instructions to perform the same task. Consider the instructions for adding two integers and storing the result in a variable. In a stack machine this requires four ins




 

2023/08/15 17:19
 





 











If Web Components are so great, why am I not using them? | Hacker News  

3users  
news.ycombinator.com  


The main reason is that they're too low-level to use directly.They do a lot, but stop just short of being useful without something of a framework on top. I tried hard to use them directly, but found that it was untenable without sensible template interpolation, and without helpers for event binding. Here's my shot at the smallest possible "framework" atop Web Components that make them workable (an




 

2023/08/03 17:37
 



 











Stripe is no longer a suitable payment processor | Hacker News

3users  
news.ycombinator.com  


Yes, I said it, Stripe is no longer a suitable payment processor unless you're a medium to huge sized company to which you have some weight in what you say. small business owners who clearly have good standing to which stripe has held funds, blocked and shutdown accounts (including my own) are all complaining.. there is a clear pattern here -> https://uk.trustpilot.com/review/stripe.co.uk?stars=1




 

2023/08/02 15:00
 













BlazingMQ: High-performance open source message queuing system | Hacker News  

3users  
news.ycombinator.com  


That fan-out functionality is particularly interesting for anyone needing to implement the upstream part of a firehose API, which of course Bloomberg do.




 

2023/07/28 02:15
 













Attention Is Off By One | Hacker News  

3users  
news.ycombinator.com  


1. SummaryThe author is suggesting that we add 1 to the denominator of the softmax that is used within attention mechanisms (not the final output softmax). The softmax inside an attention unit allows it to see key/query matches as probabilities; those probabilities support a continuous-valued version of a key-value lookup (instead of 1/0 output of a lookup, we get weights where a high weight = the




 

2023/07/25 12:13
 





 











Val, a high-level systems programming language | Hacker News  

4users  
news.ycombinator.com  


I might actually be more excited about Val as a C++ successor than I am about Herb Sutter's excellent CppFront... Admittedly, all I know about it is from the two presentations below. But, from what I can tell...Statically compiled. Statically typed. Interops with C++. Memory safe. Typesafe. Data-race-free. The elevator pitch I give when describing it goes like this: Imagine you were starting a new




 

2023/07/19 08:34
 





 











Tell HN: Nearly all of Evernotes remaining staff has been laid off | Hacker News  

6users  
news.ycombinator.com  


Its acquirer (Bending Spoons) has taken over operations. Theyve also hiked subscriptions prices and told customers they intend to use new revenues to pay for new features. How they intend to do that without any staff is something I would like to know about.If youre still using Evernote, probably a good time to stop. I feel like Evernote is a prime example of the pains of trying to convert free u




 

2023/07/06 17:56
 





 








 




























 

Hacker News  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x