HNHacker News
TopNewBestAskShowJobs

irq-1

1,239 karma · joined October 26, 2014

submissionscomments
irq-1··on Open source pioneer Perens says it's time to contemplate a post-open world
It should be a union, like the Screen Actors Guild. An entrepreneur model already exists for developers; start a company with your software and monetize it. But most developers don't want to do all the activities involved in making a company. Open source developers want to work on their choice of software and get paid. A collaborative venture, like a union or guild, aligns with this.
irq-1··on Reverst: Reverse Tunnels in Go over HTTP/3 and QUIC
You can do SSH from the robot to a host, and keep it alive with autoSSH. Add a reverse tunnel for the web if you have a web interface on the device.

https://linux.die.net/man/1/autossh

Few notes: manually add host machine key on first use. I add the parameters:

    autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3"
irq-1··on Xr0: C but Safe
If 0v can tell what the abstract needs to be, why do we need to write it down? It has to know the abstract to compare against the annotation. Maybe it's so we better understand the origin of the problem, rather than getting 'free error' at the end of a long chain of functions?
irq-1··on Jon Stewart claims Apple wouldn't let him interview FTC chair on his show
Apple has Apple Pay, a store monopoly, tax dodging (double Irish), stock buybacks, and probably more issues with the FTC. Oliver at HBO isn't trying to be a financial institution.
irq-1··on The Mojo Programming Language
https://github.com/modularml/mojo/blob/main/LICENSE

> The Mojo repository is licensed under the Apache License v2.0 with LLVM Exceptions

irq-1··on Turbocall – Just-in-time compiler for Deno FFI
This only seems to speedup value functions (not struct/callback or other C functions.)

From the referenced file: https://source.chromium.org/chromium/chromium/src/+/main:v8/...

* Currently supported return types: * - void * - bool * - int32_t * - uint32_t * - float32_t * - float64_t * Currently supported argument types: * - pointer to an embedder type * - JavaScript array of primitive types * - bool * - int32_t * - uint32_t * - int64_t * - uint64_t * - float32_t * - float64_t

irq-1··on Ikigai: What We Got Wrong and How to Find Meaning in Life
https://management30.com/wp-content/uploads/2020/07/IKIGAI--...

They're labeled on the linked image.

irq-1··on Transpile Any SQL to PostgreSQL Dialect
Looks like `AT TIME ZONE 'UTC'` should not be used, but I don't think it's illegal syntax.

https://www.postgresql.org/docs/current/datatype-datetime.ht...

> PostgreSQL endeavors to be compatible with the SQL standard definitions for typical usage. However, the SQL standard has an odd mix of date and time types and capabilities...

> Although the date type cannot have an associated time zone, the time type can.

(emphasis mine)

> To address these difficulties, we recommend using date/time types that contain both date and time when using time zones.

irq-1··on Transpile Any SQL to PostgreSQL Dialect
I agree: the comment was on-topic, included technical information (dual table?), and AI accuracy/usefulness is of interest to most readers. Maybe in a year I'll think such a comment is bad, but not today.
irq-1··on DBeaver – open-source database client
https://plugins.jetbrains.com/plugin/1800-database-navigator

This looks good. Anyone have experience with it?

irq-1··on Filament – A Language for Fearless Hardware Design
html { font-weight: 100; }

Can we please stop with illegible text? Color: 333 indeed.

irq-1··on On the impossibility of composing finalizers and FFI
LuaJIT lets you remove a finalizer:

> An existing finalizer can be removed by setting a nil finalizer, e.g. right before explicitly deleting a resource:

    ffi.C.free(ffi.gc(p, nil)) -- Manually free the memory.
https://luajit.org/ext_ffi_api.html#ffi_gc
irq-1··on Windows-as-a-nuisance: How I clean up a "clean install" of Windows 11 and Edge
I use OOShutUp and it's a huge time saver. Select All, or go with their recommendations and that's it. Always surprised at how many people don't know about it.

https://www.oo-software.com/en/shutup10

> O&O ShutUp10++: Free antispy tool for Windows 10 and 11

> O&O ShutUp10++ is entirely free and does not have to be installed – it can be simply run directly and immediately on your PC. And it will not install or download retrospectively unwanted or unnecessary software

irq-1··on WebKit switching to Skia for 2d graphics rendering
> I wish there was a nice and small vector graphics library with GPU acceleration.

Check out nanovg: https://github.com/memononen/nanovg

irq-1··on LibAgar cross-platform GUI system
Can we change the link to https://libagar.org/
irq-1··on Dart 3.3
https://pub.dev/packages/web

> This package exposes browser APIs. It's generated from the Web IDL definitions and uses recent Dart language features for zero-overhead bindings.

Dart doesn't get the respect it deserves.

irq-1··on Routing Enhancements for Go 1.22
> What if two patterns overlap but neither is more specific? For example, /posts/{id} and /{resource}/latest both match /posts/latest. There is no obvious answer to which takes precedence, so we consider these patterns to conflict with each other. Registering both of them (in either order!) will panic.

A panic? That's a bad dev experience. Why not say an earlier variable is more general -- or a later variable is more specific? /posts/{id} wins.

Consider /posts/{id} vs:

    /posts/latest/{u}    // wins (later variable)
    /posts/{id}/latest   // wins (more specific)
    /posts/{id}/{id2}    // wins (later variable. id2 must exist)
    /{u}/posts/          // lose (earlier variable)
    /posts/{otherId}     // invalid (same path with different name)
    /latest/{u}          // no conflict
irq-1··on A Partisan Solution to Partisan Gerrymandering: The Define–Combine Procedure
Concentric circles, or pie chart design would be problematic also.

The real problem with this strategy is that it accepts self-interested gerrymandering, rather than starting by rejecting it as wrong; immoral; anti-productive.

irq-1··on ISBL: Information Systems Base Language Implemented in Tcl
Skip to page 11 in the PDF for examples.

    MEMBERS(NAME, ADDRESS, BALANCE)
    ORDERS(ORDER_NO, NAME, ITEM, QUANTITY)
    SUPPLIERS(SNAME, SADDRESS, ITEM, PRICE)

    1. Print the names of members in the red:
    LIST MEMBERS : BALANCE < 0 % NAME

    i.e. select members with negative balance and
    project out their names
irq-1··on Apple announces changes to iOS, Safari, and the App Store in the European Union
You should read this from 2012:

Lockdown: The coming war on general-purpose computing

https://boingboing.net/2012/01/10/lockdown.html

or watch the speech: https://www.youtube.com/watch?v=kFY0a_VOGbE

irq-1··on Platform Tilt
LuaJit lists ios as supported: https://luajit.org/status.html#ios

Does anyone know if this is accurate? Was it true for old versions and no longer supported?

irq-1··on Escaping surveillance capitalism, at scale
> when your next would-be employer or would-be landlord ... uses a data broker for "background checking"

Knowing an SSN (US Social Security Number) was used like a password by banks and all kinds of organizations, but not anymore. Things change, albeit slowly, when society acknowledges mistakes. All of your examples rely on the data buyer trusting its accuracy. If enough people pollute the data, then it'll have no value. The data brokers won't be able to sell it because society will know that its garbage.

irq-1··on Missing the Point of WebAssembly
> There is little point in using WebAssembly if you control both sides of a boundary

Mozilla is using this to secure native dependencies: the WASM boundary ensures the memory and function access is correct.

https://hacks.mozilla.org/2020/02/securing-firefox-with-weba...

> The core implementation idea behind wasm sandboxing is that you can compile C/C++ into wasm code, and then you can compile that wasm code into native code for the machine your program actually runs on.

irq-1··on Designing, manufacturing, and selling an LED 'social battery' pin badge
Should come in different colored LEDs: green for extravert, red for introvert, and maybe yellow for normal/average?

Also: 10% 20% 60% 80% 100% ?

irq-1··on Ask HN: What are your predictions for 2024?
Server-side WASM takes off with the re-implementation of PHP, Ruby/Rails, Python, and others, and a WASM based virtual server (shell, filesystem, web server, etc..) Cost more but has better security for both the host and user.
irq-1··on Police have undermined the promise of body cameras
Publicly sharing hashes of video segments as they're created, would validate both the existence of, and unaltered nature of the video.
irq-1··on FFM (Foreign Function and Memory API) Goes Final
Golang followed the same path; no dynamic linking and everything was 're'-created in Go. It's effective.

For FFM won't C access be isolated to the JAR? Maybe it's not normal to get pre-built JAR files?

irq-1··on Spoofing DNS records by abusing DHCP DNS dynamic updates
In the 90s Microsoft tied their dominant Exchange/Outlook to Active Directory which depends on DNS/DHCP.
irq-1··on The challenges of supporting foreign key constraints
> At this time, foreign key constraint support is limited to unsharded/single shard databases.
irq-1··on The Fediverse is an opportunity learned societies can't ignore
> you suddenly read a comment

That phrase is hiding the real issue: on the internet, people engage with what they want to, and ignore what they want to. Attention, respect, engagement don't result from 'suddenly reading a comment'.

When there was only establishment newspapers and media they presented (what they considered) a balanced and responsible view. Now they've lost control of information and communication. Journalists dug deep to find a problem with the internet, and landed on 'the bubble'. The bubble is when people lack a balanced and responsible view...

There is just enough truth to 'the bubble' to keep the idea alive. On the internet it's easy to find radical information, and restrict your information sources to what you want. Back when everyone read the newspaper it kept public discussion narrowly focused [1]. Now we have lots of people who 'do their own research' and hold radical views. Also, the views that were suppressed under the establishment media are public and accessible to everyone.

There have always been people who live in their own little world, or bubble, but now it's much larger number. From the view of companies and social establishments that controlled the news this is a huge problem. From my view of society, I now sympathize with the US being a republic rather than a pure democracy, and I never thought that would happen.

[1] The smart way to keep people passive and obedient is to strictly limit the spectrum of acceptable opinion, but allow very lively debate within that spectrum..." -Noam Chomsky

← PreviousPage 5 of 20Next →